01 / 20

Advanced
Differentiation

Master implicit differentiation, parametric derivatives, and higher-order derivatives for IB Mathematics HL.

IB Mathematics: AI HL

Why Advanced Differentiation?

Not every relationship between variables can be written as \( y = f(x) \). Many real-world curves, from circles to planetary orbits, are defined implicitly or parametrically. Advanced differentiation gives us the tools to find rates of change in these situations.

Implicit
Equations like \( x^2 + y^2 = 25 \) where \( y \) isn't isolated.
Parametric
Curves defined as \( x = f(t),\; y = g(t) \) using a parameter \( t \).
Higher Order
Second and third derivatives: \( \frac{d^2y}{dx^2} \) for concavity and acceleration.

What Is Implicit Differentiation?

When a curve is defined by an equation involving both \( x \) and \( y \) but \( y \) is not explicitly solved in terms of \( x \), we differentiate both sides with respect to \( x \) and treat \( y \) as a function of \( x \).

Visualising Implicit Curves

x y (3, 4) 5 −5 5 −5
\( x^2 + y^2 = 25 \)
slope = −3/4

What Is Parametric Differentiation?

A parametric curve expresses both \( x \) and \( y \) as functions of a third variable (the parameter), usually \( t \). To find \( \frac{dy}{dx} \), we use the chain rule:

This is sometimes called the parametric chain rule. It converts the rate of change with respect to the parameter into the rate of change of \( y \) with respect to \( x \).

Higher-Order Derivatives

The second derivative \( \frac{d^2y}{dx^2} \) tells us about concavity and acceleration. For parametric curves:

Explicit vs Implicit vs Parametric

Explicit Implicit Parametric
Form \( y = f(x) \) \( F(x,y) = 0 \) \( x = f(t),\; y = g(t) \)
Differentiate Directly Both sides, chain rule on \( y \) Each w.r.t. \( t \), then divide
Result \( \frac{dy}{dx} = f'(x) \) \( \frac{dy}{dx} \) in terms of \( x,y \) \( \frac{dy}{dx} \) in terms of \( t \)
Example \( y = x^3 \) \( x^2 + y^2 = 1 \) \( x = \cos t,\; y = \sin t \)

The Core Formulas

1
Implicit: Differentiate both sides w.r.t. \( x \). For any \( y \)-term, apply chain rule: \( \frac{d}{dx}[y^n] = ny^{n-1}\frac{dy}{dx} \). Then solve for \( \frac{dy}{dx} \).
2
Parametric first derivative: \( \frac{dy}{dx} = \frac{dy/dt}{dx/dt} \)
3
Parametric second derivative: \( \frac{d^2y}{dx^2} = \frac{\frac{d}{dt}\!\left(\frac{dy}{dx}\right)}{\frac{dx}{dt}} \)
4
Higher-order explicit: \( f''(x) = \frac{d}{dx}[f'(x)] \), and so on for \( f'''(x), f^{(4)}(x), \ldots \)

How to Apply: Step by Step

1
Identify the type: Is the equation explicit, implicit, or parametric?
2
Differentiate: Apply the appropriate rule. For implicit: differentiate every term w.r.t. \( x \), attaching \( \frac{dy}{dx} \) to \( y \)-terms. For parametric: find \( \frac{dx}{dt} \) and \( \frac{dy}{dt} \) separately.
3
Solve / Simplify: Isolate \( \frac{dy}{dx} \). For parametric, divide the two derivatives.
4
Evaluate: Substitute the given point or parameter value if required.
5
Second derivative? Differentiate \( \frac{dy}{dx} \) again using the correct formula for the type.

Example 1: Implicit Differentiation

1
Differentiate both sides w.r.t. \( x \):
\( 3x^2 + 3y^2\,\frac{dy}{dx} = 6y + 6x\,\frac{dy}{dx} \)
2
Collect \( \frac{dy}{dx} \) terms on one side:
\( 3y^2\,\frac{dy}{dx} - 6x\,\frac{dy}{dx} = 6y - 3x^2 \)
3
Factor and solve:
\( \frac{dy}{dx}(3y^2 - 6x) = 6y - 3x^2 \)

Example 2: Parametric Derivatives

1
\( \frac{dx}{dt} = 2t \), \quad \( \frac{dy}{dt} = 3t^2 - 3 \)
2
First derivative: \( \frac{dy}{dx} = \frac{3t^2 - 3}{2t} = \frac{3(t^2-1)}{2t} \)
3
Second derivative: Let \( u = \frac{dy}{dx} = \frac{3t^2 - 3}{2t} \). Then \( \frac{du}{dt} = \frac{3}{2} + \frac{3}{2t^2} = \frac{3(t^2+1)}{2t^2} \).
4
So \( \frac{d^2y}{dx^2} = \frac{du/dt}{dx/dt} = \frac{3(t^2+1)}{2t^2} \cdot \frac{1}{2t} = \frac{3(t^2+1)}{4t^3} \).

Visualising the Parametric Curve

Example 3: Second Derivative Implicitly

1
From Slide 2: \( \frac{dy}{dx} = -\frac{x}{y} \).
2
Differentiate again using the quotient rule:
\( \frac{d^2y}{dx^2} = -\frac{y \cdot 1 - x \cdot \frac{dy}{dx}}{y^2} \)
3
Substitute \( \frac{dy}{dx} = -\frac{x}{y} \):
\( = -\frac{y + \frac{x^2}{y}}{y^2} = -\frac{y^2 + x^2}{y^3} \)
4
Since \( x^2 + y^2 = 25 \): \( \frac{d^2y}{dx^2} = -\frac{25}{y^3} \)

Common Mistakes

✕ Forgetting the Chain Rule
When differentiating \( y^2 \), writing \( 2y \) instead of \( 2y\,\frac{dy}{dx} \). Every \( y \)-term needs the chain rule factor.
✕ Wrong Second Derivative Formula
Computing \( \frac{d^2y}{dx^2} = \frac{d^2y/dt^2}{d^2x/dt^2} \) for parametric curves. The correct formula divides by \( \frac{dx}{dt} \), not \( \frac{d^2x}{dt^2} \).
✕ Not Substituting Back
Leaving \( \frac{dy}{dx} \) in the implicit second derivative. You must replace it with the expression found in step 1 to get a clean answer.

Summary of Techniques

Technique Formula Key Note
Implicit \( \frac{dy}{dx} \) Differentiate, solve for \( \frac{dy}{dx} \) Chain rule on every \( y \)-term
Parametric \( \frac{dy}{dx} \) \( \frac{dy/dt}{dx/dt} \) Requires \( \frac{dx}{dt} \neq 0 \)
Parametric \( \frac{d^2y}{dx^2} \) \( \frac{d/dt(dy/dx)}{dx/dt} \) Do NOT use \( \frac{d^2y/dt^2}{d^2x/dt^2} \)
Implicit \( \frac{d^2y}{dx^2} \) Differentiate \( \frac{dy}{dx} \) w.r.t. \( x \) Substitute first derivative back in

Question 1 of 5

Given the curve \( x^2 + xy + y^2 = 7 \), what is \( \frac{dy}{dx} \)?

Question 2 of 5

A curve is defined parametrically by \( x = 3t^2 \) and \( y = 2t^3 \). What is \( \frac{dy}{dx} \)?

Question 3 of 5

For the parametric curve \( x = t^2 - 1,\; y = t^3 - 3t \), what is \( \frac{d^2y}{dx^2} \) at \( t = 2 \)?

Question 4 of 5

If \( \sin(xy) = x \), what is \( \frac{dy}{dx} \) in terms of \( x \) and \( y \)?

Question 5 of 5

For the circle \( x^2 + y^2 = r^2 \), the second derivative \( \frac{d^2y}{dx^2} \) equals: