๐ŸŒ€ Implicit and Parametric Differentiation

A Level Maths Year 2 ยท Differentiation

Level 3 · Ages 17–18

← Back to topic overview
1 Differentiating Parametric Equations

A curve given parametrically has $x$ and $y$ each written in terms of a third variable, the parameter $t$. You do not need to find the Cartesian equation to get the gradient โ€” the chain rule does it directly.

Parametric differentiation
$\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{\mathrm{d}y}{\mathrm{d}t} \times \dfrac{\mathrm{d}t}{\mathrm{d}x} = \dfrac{\;\dfrac{\mathrm{d}y}{\mathrm{d}t}\;}{\;\dfrac{\mathrm{d}x}{\mathrm{d}t}\;}$
The answer is in terms of $t$. To find the gradient at a point, first find the value of $t$ that gives that point, then substitute it.
Worked Example 1 โ€” A tangent to a parametric curve

A curve has parametric equations $x = t^2$, $y = 2t$. Find the equation of the tangent at the point where $t = 2$.

โ‘ $\dfrac{\mathrm{d}x}{\mathrm{d}t} = 2t$, $\dfrac{\mathrm{d}y}{\mathrm{d}t} = 2$, so $\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{2}{2t} = \dfrac1t$.
โ‘กAt $t = 2$: the point is $(4, 4)$ and the gradient is $\dfrac12$.
โ‘ขTangent: $y - 4 = \tfrac12(x - 4)$, i.e. $y = \tfrac12 x + 2$.
Worked Example 2 โ€” A normal to an ellipse

The ellipse $x = 3\cos t$, $y = 2\sin t$. Find the equation of the normal at the point where $t = \dfrac{\pi}{4}$.

โ‘ $\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{2\cos t}{-3\sin t} = -\dfrac{2}{3}\cot t$.
โ‘กAt $t = \dfrac{\pi}{4}$: point $\left(\dfrac{3\sqrt2}{2}, \sqrt2\right)$, tangent gradient $-\dfrac23$, so normal gradient $\dfrac32$.
โ‘ข$y - \sqrt2 = \dfrac32\left(x - \dfrac{3\sqrt2}{2}\right) \Rightarrow y = \dfrac32 x - \dfrac{9\sqrt2}{4} + \sqrt2 = \dfrac32 x - \dfrac{5\sqrt2}{4}$.
2 Stationary Points and Vertical Tangents
ConditionMeaning
$\dfrac{\mathrm{d}y}{\mathrm{d}t} = 0$ (with $\dfrac{\mathrm{d}x}{\mathrm{d}t} \neq 0$)$\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0$: a stationary point (horizontal tangent)
$\dfrac{\mathrm{d}x}{\mathrm{d}t} = 0$ (with $\dfrac{\mathrm{d}y}{\mathrm{d}t} \neq 0$)Gradient undefined: a vertical tangent
Worked Example 3 โ€” A looped curve

A curve has parametric equations $x = t^2 + 1$, $y = t^3 - 3t$. Find the stationary points and the point where the tangent is vertical.

โ‘ $\dfrac{\mathrm{d}x}{\mathrm{d}t} = 2t$, $\dfrac{\mathrm{d}y}{\mathrm{d}t} = 3t^2 - 3$, so $\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{3(t^2 - 1)}{2t}$.
โ‘กStationary: $t^2 = 1$, so $t = \pm1$. $t = 1$ gives $(2, -2)$; $t = -1$ gives $(2, 2)$.
โ‘ขVertical tangent: $\dfrac{\mathrm{d}x}{\mathrm{d}t} = 0$ at $t = 0$, giving $(1, 0)$.
x y 1 2 3 4 5 โˆ’2 2 (2, 2) t = โˆ’1 (2, โˆ’2) t = 1 vertical tangent at (1, 0), t = 0 x = tยฒ + 1, y = tยณ โˆ’ 3t
3 Implicit Differentiation

Some curves, such as $x^2 + 3xy + y^2 = 11$, are given by an equation that mixes $x$ and $y$ and cannot easily be rearranged into $y = \ldots$. These are implicit equations. We differentiate every term with respect to $x$, treating $y$ as an (unknown) function of $x$.

The key results (chain rule and product rule)
$\dfrac{\mathrm{d}}{\mathrm{d}x}\big(y^n\big) = ny^{n-1}\dfrac{\mathrm{d}y}{\mathrm{d}x}$     $\dfrac{\mathrm{d}}{\mathrm{d}x}\big(xy\big) = x\dfrac{\mathrm{d}y}{\mathrm{d}x} + y$     $\dfrac{\mathrm{d}}{\mathrm{d}x}\big(\mathrm{f}(y)\big) = \mathrm{f}'(y)\dfrac{\mathrm{d}y}{\mathrm{d}x}$
  1. Differentiate every term on both sides with respect to $x$. Each time you differentiate something in $y$, multiply by $\dfrac{\mathrm{d}y}{\mathrm{d}x}$.
  2. Collect the $\dfrac{\mathrm{d}y}{\mathrm{d}x}$ terms on one side and factorise.
  3. Divide to make $\dfrac{\mathrm{d}y}{\mathrm{d}x}$ the subject. (Often it is quicker to substitute the point's coordinates before rearranging.)
Worked Example 4 โ€” A tangent to a circle

Find the equation of the tangent to $x^2 + y^2 = 25$ at $(3, 4)$.

โ‘ $2x + 2y\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0 \Rightarrow \dfrac{\mathrm{d}y}{\mathrm{d}x} = -\dfrac{x}{y}$.
โ‘กAt $(3, 4)$: gradient $-\dfrac34$.
โ‘ข$y - 4 = -\tfrac34(x - 3) \Rightarrow 4y - 16 = -3x + 9 \Rightarrow 3x + 4y = 25$.
Check with geometry: the radius to $(3, 4)$ has gradient $\tfrac43$, and the tangent is perpendicular to it: $\tfrac43 \times \left(-\tfrac34\right) = -1$ โœ“
Worked Example 5 โ€” An $xy$ term and a normal

A curve has equation $x^2 + 3xy + y^2 = 11$. Find the equation of the normal at $(1, 2)$ in the form $ax + by + c = 0$.

โ‘ Check: $1 + 6 + 4 = 11$ โœ“
โ‘กDifferentiate: $2x + \left(3x\dfrac{\mathrm{d}y}{\mathrm{d}x} + 3y\right) + 2y\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0$.
โ‘ข$\dfrac{\mathrm{d}y}{\mathrm{d}x}(3x + 2y) = -(2x + 3y) \Rightarrow \dfrac{\mathrm{d}y}{\mathrm{d}x} = -\dfrac{2x + 3y}{3x + 2y}$.
โ‘ฃAt $(1, 2)$: $-\dfrac{8}{7}$. Normal gradient $\dfrac78$.
โ‘ค$y - 2 = \tfrac78(x - 1) \Rightarrow 8y - 16 = 7x - 7 \Rightarrow 7x - 8y + 9 = 0$.
The $3xy$ term is a product. Writing its derivative as $3\dfrac{\mathrm{d}y}{\mathrm{d}x}$ or $3y$ alone is the most common error in this topic.
Worked Example 6 โ€” Stationary points of an implicit curve

Find the coordinates of the stationary points on the curve $x^2 - xy + y^2 = 12$.

โ‘ $2x - \left(x\dfrac{\mathrm{d}y}{\mathrm{d}x} + y\right) + 2y\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0 \Rightarrow \dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{y - 2x}{2y - x}$.
โ‘กStationary when the numerator is zero: $y = 2x$.
โ‘ขSubstitute into the curve: $x^2 - 2x^2 + 4x^2 = 12 \Rightarrow 3x^2 = 12 \Rightarrow x = \pm 2$.
โ‘ฃStationary points $(2, 4)$ and $(-2, -4)$.
Setting $\frac{\mathrm{d}y}{\mathrm{d}x} = 0$ gives a relationship between $x$ and $y$, not the points. You must substitute back into the original equation.
Worked Example 7 โ€” Using logarithms: differentiating $a^x$ again

Use implicit differentiation to show that if $y = a^x$ then $\dfrac{\mathrm{d}y}{\mathrm{d}x} = a^x\ln a$.

โ‘ Take logs: $\ln y = x\ln a$.
โ‘กDifferentiate implicitly: $\dfrac1y\dfrac{\mathrm{d}y}{\mathrm{d}x} = \ln a$.
โ‘ข$\dfrac{\mathrm{d}y}{\mathrm{d}x} = y\ln a = a^x\ln a$. $\blacksquare$
4 Quick Reference

Parametric

$\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{\mathrm{d}y/\mathrm{d}t}{\mathrm{d}x/\mathrm{d}t}$, in terms of $t$.

Find $t$ first

Work out the parameter value at the point before substituting.

Horizontal tangent

$\dfrac{\mathrm{d}y}{\mathrm{d}t} = 0$

Vertical tangent

$\dfrac{\mathrm{d}x}{\mathrm{d}t} = 0$

$y^n$

$\to ny^{n-1}\dfrac{\mathrm{d}y}{\mathrm{d}x}$

$xy$

$\to x\dfrac{\mathrm{d}y}{\mathrm{d}x} + y$ (product rule)

Constants

Differentiate to $0$ โ€” the right-hand side often vanishes.

Implicit stationary points

Numerator $= 0$, then substitute back into the curve.

Normal

Gradient $-1 \div$ tangent gradient.

5 Practice Questions
Question 1

Find $\dfrac{\mathrm{d}y}{\mathrm{d}x}$ in terms of $t$ for $x = 2t + 1$, $y = t^2$.

โ–ถ Show solution

$\dfrac{\mathrm{d}x}{\mathrm{d}t} = 2$, $\dfrac{\mathrm{d}y}{\mathrm{d}t} = 2t$, so $\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{2t}{2} = t$.

Question 2

Find the equation of the tangent to $x = t^3$, $y = t^2$ at the point where $t = 2$.

โ–ถ Show solution

$\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{2t}{3t^2} = \dfrac{2}{3t}$; at $t = 2$ this is $\dfrac13$. The point is $(8, 4)$.

$y - 4 = \tfrac13(x - 8) \Rightarrow y = \tfrac13 x + \tfrac43$.

Question 3

Find the equation of the tangent to $x^2 + y^2 = 13$ at $(2, -3)$, in the form $ax + by + c = 0$.

โ–ถ Show solution

$\dfrac{\mathrm{d}y}{\mathrm{d}x} = -\dfrac{x}{y} = -\dfrac{2}{-3} = \dfrac23$.

$y + 3 = \tfrac23(x - 2) \Rightarrow 3y + 9 = 2x - 4 \Rightarrow 2x - 3y - 13 = 0$.

Question 4

A curve has equation $y^3 + x^2y = 10$. Find the gradient at $(1, 2)$.

โ–ถ Show solution

Check: $8 + 2 = 10$ โœ“

$3y^2\dfrac{\mathrm{d}y}{\mathrm{d}x} + \left(x^2\dfrac{\mathrm{d}y}{\mathrm{d}x} + 2xy\right) = 0 \Rightarrow \dfrac{\mathrm{d}y}{\mathrm{d}x} = -\dfrac{2xy}{3y^2 + x^2}$.

At $(1, 2)$: $-\dfrac{4}{13}$.

Question 5

A curve has parametric equations $x = 4\sin t$, $y = \cos 2t$. Show that $\dfrac{\mathrm{d}y}{\mathrm{d}x} = -\sin t$, and verify by finding the Cartesian equation.

โ–ถ Show solution

$\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{-2\sin 2t}{4\cos t} = \dfrac{-4\sin t\cos t}{4\cos t} = -\sin t$.

Cartesian: $y = \cos 2t = 1 - 2\sin^2 t = 1 - 2\left(\dfrac{x}{4}\right)^2 = 1 - \dfrac{x^2}{8}$.

Then $\dfrac{\mathrm{d}y}{\mathrm{d}x} = -\dfrac{x}{4} = -\dfrac{4\sin t}{4} = -\sin t$ โœ“

Question 6

Find the equation of the normal to the curve $x = \ln t$, $y = t^2 - 2$ at the point where $t = 1$.

โ–ถ Show solution

$\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{2t}{1/t} = 2t^2$; at $t = 1$ the gradient is $2$ and the point is $(0, -1)$.

Normal gradient $-\tfrac12$: $y = -\tfrac12 x - 1$.

Question 7

Find the stationary points of the curve $x = t^2$, $y = t^3 - 12t$.

โ–ถ Show solution

$\dfrac{\mathrm{d}y}{\mathrm{d}t} = 3t^2 - 12 = 0 \Rightarrow t = \pm 2$ (and $\dfrac{\mathrm{d}x}{\mathrm{d}t} = 2t \neq 0$ there).

$t = 2$: $(4, -16)$.  $t = -2$: $(4, 16)$.

Question 8

Find the exact coordinates of the stationary points on the curve $x^2 + 2xy + 2y^2 = 8$.

โ–ถ Show solution

$2x + 2x\dfrac{\mathrm{d}y}{\mathrm{d}x} + 2y + 4y\dfrac{\mathrm{d}y}{\mathrm{d}x} = 0 \Rightarrow \dfrac{\mathrm{d}y}{\mathrm{d}x} = -\dfrac{x + y}{x + 2y}$.

Stationary when $y = -x$. Substitute: $x^2 - 2x^2 + 2x^2 = 8 \Rightarrow x^2 = 8 \Rightarrow x = \pm 2\sqrt2$.

Points $\left(2\sqrt2, -2\sqrt2\right)$ and $\left(-2\sqrt2, 2\sqrt2\right)$.

Question 9

By taking logarithms, show that if $y = x^x$ (for $x > 0$) then $\dfrac{\mathrm{d}y}{\mathrm{d}x} = x^x(1 + \ln x)$, and find the exact $x$-coordinate of the stationary point.

โ–ถ Show solution

$\ln y = x\ln x$. Differentiate: $\dfrac1y\dfrac{\mathrm{d}y}{\mathrm{d}x} = \ln x + x \cdot \dfrac1x = \ln x + 1$.

So $\dfrac{\mathrm{d}y}{\mathrm{d}x} = x^x(1 + \ln x)$.

$x^x > 0$, so stationary when $\ln x = -1$: $x = \mathrm{e}^{-1} = \dfrac{1}{\mathrm{e}}$.

Question 10

A curve $C$ has parametric equations $x = 2\cos t$, $y = \sin 2t$, $\;0 \leqslant t < 2\pi$.

(a) Show that $\dfrac{\mathrm{d}y}{\mathrm{d}x} = -\dfrac{\cos 2t}{\sin t}$.
(b) Find the coordinates of the four stationary points.
(c) Find the equation of the tangent at the point where $t = \dfrac{\pi}{6}$.
(d) Show that the Cartesian equation of $C$ is $y^2 = x^2\left(1 - \dfrac{x^2}{4}\right)$.

โ–ถ Show solution

(a) $\dfrac{\mathrm{d}x}{\mathrm{d}t} = -2\sin t$, $\dfrac{\mathrm{d}y}{\mathrm{d}t} = 2\cos 2t$, so $\dfrac{\mathrm{d}y}{\mathrm{d}x} = \dfrac{2\cos 2t}{-2\sin t} = -\dfrac{\cos 2t}{\sin t}$.

(b) $\cos 2t = 0$ with $0 \leqslant 2t < 4\pi$: $2t = \tfrac{\pi}{2}, \tfrac{3\pi}{2}, \tfrac{5\pi}{2}, \tfrac{7\pi}{2}$, so $t = \tfrac{\pi}{4}, \tfrac{3\pi}{4}, \tfrac{5\pi}{4}, \tfrac{7\pi}{4}$ ($\sin t \neq 0$ at each).

Points: $\left(\sqrt2, 1\right)$, $\left(-\sqrt2, -1\right)$, $\left(-\sqrt2, 1\right)$, $\left(\sqrt2, -1\right)$.

(c) At $t = \tfrac{\pi}{6}$: $x = \sqrt3$, $y = \sin\tfrac{\pi}{3} = \tfrac{\sqrt3}{2}$, gradient $-\dfrac{\cos(\pi/3)}{\sin(\pi/6)} = -\dfrac{1/2}{1/2} = -1$.

$y - \tfrac{\sqrt3}{2} = -(x - \sqrt3) \Rightarrow y = -x + \tfrac{3\sqrt3}{2}$.

(d) $y = 2\sin t\cos t = x\sin t$, so $y^2 = x^2\sin^2 t = x^2(1 - \cos^2 t) = x^2\left(1 - \dfrac{x^2}{4}\right)$ since $\cos t = \dfrac{x}{2}$.

Implicit and Parametric Differentiation · A Level Maths Year 2 · Created with MathJax