A-level Mathematics

7.9 Implicit and parametric differentiation — Learn

Prerequisites: the chain rule and the product rule from Section 7.7; differentiating sin⁡t\sin t and cos⁡t\cos t; the equation of a circle from Chapter 3.

By the end of this section you can: differentiate a relation written implicitly in xx and yy; find dydx\dfrac{dy}{dx} from a relation such as x2+y2=25x^2 + y^2 = 25; find the equation of a tangent to a curve given implicitly; and differentiate a curve given parametrically using dydx=dy/dtdx/dt\dfrac{dy}{dx} = \dfrac{dy/dt}{dx/dt}.

1. Differentiating an implicit relation

So far every curve has been written as $y = $ something. Some curves are easier to write as a relation between xx and yy, such as x2+y2=25x^2 + y^2 = 25.

When yy depends on xx, differentiate both sides with respect to xx. Every time you differentiate a yy-term, the chain rule adds a factor of dydx\dfrac{dy}{dx}.

ddx(y2)=2ydydx.\frac{d}{dx}\left(y^2\right) = 2y\frac{dy}{dx}.

The derivative of x2x^2 is 2x2x, as usual.

Example 1. Find dydx\dfrac{dy}{dx} for the circle x2+y2=25x^2 + y^2 = 25.

Differentiate both sides:

2x+2ydydx=0.2x + 2y\frac{dy}{dx} = 0.

Solve for the derivative:

2ydydx=−2x,dydx=−xy.2y\frac{dy}{dx} = -2x, \qquad \frac{dy}{dx} = -\frac{x}{y}.

The gradient depends on both coordinates, not on xx alone.

Example 2. Find dydx\dfrac{dy}{dx} for x2+3xy−y2=5x^2 + 3xy - y^2 = 5.

The middle term is a product, so it needs the product rule. Differentiate each term with respect to xx:

2x+3(y+xdydx)−2ydydx=0.2x + 3\left(y + x\frac{dy}{dx}\right) - 2y\frac{dy}{dx} = 0.

Collect the dydx\dfrac{dy}{dx} terms on one side:

2x+3y+dydx(3x−2y)=0.2x + 3y + \frac{dy}{dx}(3x - 2y) = 0.

Therefore

dydx=−2x+3y3x−2y=2x+3y2y−3x.\frac{dy}{dx} = -\frac{2x + 3y}{3x - 2y} = \frac{2x + 3y}{2y - 3x}.

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

From Example 1, dydx=−xy\dfrac{dy}{dx} = -\dfrac{x}{y}. At (3,4)(3, 4) the gradient is

m=−34.m = -\frac{3}{4}.

The tangent through (3,4)(3, 4) is

y−4=−34(x−3),y=−34x+254.y - 4 = -\tfrac{3}{4}(x - 3), \qquad y = -\tfrac{3}{4}x + \tfrac{25}{4}.

2. Differentiating a parametric curve

Sometimes xx and yy are each written in terms of a third variable, called a parameter. For example,

x=t2,y=t3.x = t^2, \qquad y = t^3.

The gradient is still dydx\dfrac{dy}{dx}, and the chain rule connects the three derivatives:

dydx=dydt÷dxdt=dy/dtdx/dt.\frac{dy}{dx} = \frac{dy}{dt} \div \frac{dx}{dt} = \frac{dy/dt}{dx/dt}.

Example 4. Find dydx\dfrac{dy}{dx} for x=t2x = t^2, y=t3y = t^3.

Differentiate each with respect to tt:

dxdt=2t,dydt=3t2.\frac{dx}{dt} = 2t, \qquad \frac{dy}{dt} = 3t^2.

Then

dydx=3t22t=3t2.\frac{dy}{dx} = \frac{3t^2}{2t} = \frac{3t}{2}.

Example 5. Find dydx\dfrac{dy}{dx} for x=2cos⁡tx = 2\cos t, y=3sin⁡ty = 3\sin t.

dxdt=−2sin⁡t,dydt=3cos⁡t,\frac{dx}{dt} = -2\sin t, \qquad \frac{dy}{dt} = 3\cos t,

so

dydx=3cos⁡t−2sin⁡t=−32cot⁡t.\frac{dy}{dx} = \frac{3\cos t}{-2\sin t} = -\frac{3}{2}\cot t.

3. Try it: the implicit tangent explorer

Predict first. The figure shows the circle x2+y2=25x^2 + y^2 = 25 with a point you can slide around it. Before you touch the slider, predict the gradient of the tangent at (5,0)(5, 0) and at (0,5)(0, 5), and predict the sign of the gradient in the first quadrant. Write your predictions down.

Test. Slide the point around the circle and watch the tangent line and the readout. Compare the gradient with −xy-\dfrac{x}{y}. Check the two points where the tangent is vertical, and explain what the formula does there.

Explain. Write two sentences. The first explains why dydx\dfrac{dy}{dx} depends on both xx and yy for this curve. The second explains why the tangent is vertical at the points (5,0)(5, 0) and (−5,0)(-5, 0).

Watch out. Three mistakes are common with these methods.

Forgetting the chain rule on a yy-term. The derivative of y2y^2 is 2ydydx2y\dfrac{dy}{dx}, not 2y2y. Every yy is a function of xx when you differentiate with respect to xx.

Leaving out the product rule on xyxy. The derivative of xyxy is y+xdydxy + x\dfrac{dy}{dx}. Treating it as 1×dydx1 \times \dfrac{dy}{dx} loses a term.

Inverting the parametric derivative. The gradient is dy/dtdx/dt\dfrac{dy/dt}{dx/dt}, with dydt\dfrac{dy}{dt} on top. Writing dx/dtdy/dt\dfrac{dx/dt}{dy/dt} gives the reciprocal, which is the gradient of the inverse relation, not of the curve. Re-check: for a rising curve both derivatives have the same sign, so the gradient must be positive.

You should now be able to

Settings

Colour scheme

Applies to every book you read here.

Reading theme

Applies to every book you read here.