Implicit differentiation and related rates

Print the chapter

Every lesson of the chapter, ready for paper. Exercise sets are lettered A, B, C… and answered at the end.

To save a PDF, choose “Save as PDF” in the print dialog.

1. Implicit differentiation

Warm-up

Three quick questions from earlier lessons.

Discover

The circle x2+y2=25x^2 + y^2 = 25 is not the graph of one function, but it has a tangent line at each point. If yy depends on xx, what is ddx(y2)\dfrac{d}{dx}\big(y^2\big)?

  1. 2y⋅dydx2y \cdot \dfrac{dy}{dx}
  2. 2y2y

Key idea

Differentiate both sides with respect to xx, treating yy as a function of xx.

Implicit differentiation: every term with yy picks up a factor dydx\dfrac{dy}{dx} (chain rule); products like xyxy need the product rule. Then solve the equation for dydx\dfrac{dy}{dx}.

Worked example

x2+y2=25x^2 + y^2 = 25. Find dydx\dfrac{dy}{dx}.

2x+2y y′=02x + 2y\,y' = 0
Differentiate each term; (y²)' = 2y y'.
y′=−xyy' = -\dfrac{x}{y}
Isolate y'.
y′(3,4)=−34y'(3, 4) = -\dfrac{3}{4}
At (3, 4): the tangent's slope.

Your turn, guided

Your turn: y3+x=7y^3 + x = 7.

3y2 y′+1=03y^2\,y' + 1 = 0
(y³)' = 3y² y'; (x)' = 1.
y′=−13y2y' = -\dfrac{1}{3y^2}
Isolate y'.

Practice ★

  1. x2+6y2=63x^2 + 6y^2 = 63. Find dydx\dfrac{dy}{dx} in terms of xx and yy.
  2. x2+7y2=19x^2 + 7y^2 = 19. Find dydx\dfrac{dy}{dx} in terms of xx and yy.
  1. y2=x3+5xy^2 = x^3 + 5x. Find dydx\dfrac{dy}{dx} in terms of xx and yy.
  2. y2=x3+6xy^2 = x^3 + 6x. Find dydx\dfrac{dy}{dx} in terms of xx and yy.

Watch out!

Practice ★★

  1. xy+7x=19xy + 7x = 19. Find dydx\dfrac{dy}{dx} in terms of xx and yy.
  2. xy+3x=15xy + 3x = 15. Find dydx\dfrac{dy}{dx} in terms of xx and yy.

Exit ticket

Three questions to check you have got it.

  1. x2+6y2=63x^2 + 6y^2 = 63. Find dydx\dfrac{dy}{dx} in terms of xx and yy.
  2. x2+7y2=19x^2 + 7y^2 = 19. Find dydx\dfrac{dy}{dx} in terms of xx and yy.
  3. x2+7y2=69x^2 + 7y^2 = 69. Find dydx\dfrac{dy}{dx} in terms of xx and yy.

Summary card

Implicit differentiation

  1. Differentiate both sides with respect to xx.
  2. Each yy term gets a factor y′y'; use the product rule for xyxy.
  3. Solve for y′y'.

Watch out: (y2)′=2y y′(y^2)' = 2y\,y', not 2y2y.

2. Tangent lines to curves defined implicitly

Warm-up

Three quick questions from earlier lessons.

Discover

The violet curve is the circle x2+y2=25x^2 + y^2 = 25; the blue line is its tangent at the point at angle aa. Move aa.

The circle x² + y² = 25 and its tangent line at the point (5 cos a, 5 sin a). The tangent is perpendicular to the radius, with slope −x/y.

The radius to (3,4)(3, 4) has slope 43\tfrac{4}{3}. What is the slope of the tangent there?

  1. −34-\tfrac{3}{4}
  2. 43\tfrac{4}{3}

Key idea

After implicit differentiation, y′y' depends on both coordinates.

To find the tangent at (x0,y0)(x_0, y_0): compute y′y' implicitly, substitute both x0x_0 and y0y_0 to get the slope mm, then y=y0+m(x−x0)y = y_0 + m(x - x_0).

Worked example

Tangent to x2+xy+y2=7x^2 + xy + y^2 = 7 at (1,2)(1, 2).

2x+y+x y′+2y y′=02x + y + x\,y' + 2y\,y' = 0
Product rule on xy.
y′=−2x+yx+2yy' = -\dfrac{2x + y}{x + 2y}
Solve for y'.
y=2−45(x−1)y = 2 - \tfrac{4}{5}(x - 1)
At (1, 2): −4/5.

Your turn, guided

Your turn: x2+y2=13x^2 + y^2 = 13 at (2,3)(2, 3).

slope =−23= -\tfrac{2}{3}
y' = −x/y at (2, 3).
y=3−23(x−2)y = 3 - \tfrac{2}{3}(x - 2)
Point-slope form.

Practice ★

  1. Find the slope of the tangent line to the circle x2+y2=25x^2 + y^2 = 25 at the point (4,3)(4, 3).
  2. Find the slope of the tangent line to the circle x2+y2=40x^2 + y^2 = 40 at the point (2,6)(2, 6).
  3. Find the slope of the tangent line to the circle x2+y2=26x^2 + y^2 = 26 at the point (1,5)(1, 5).

Watch out!

Practice ★★

  1. Write the tangent line to x2+y2=20x^2 + y^2 = 20 at (4,2)(4, 2): enter the right-hand side of y=…y = \ldots
  2. Write the tangent line to x2+y2=45x^2 + y^2 = 45 at (6,3)(6, 3): enter the right-hand side of y=…y = \ldots
  1. The point (1,2)(1, 2) is on the curve x2+xy+y2=7x^2 + xy + y^2 = 7. Find the slope of the tangent line there.
  2. The point (1,5)(1, 5) is on the curve x2+xy+y2=31x^2 + xy + y^2 = 31. Find the slope of the tangent line there.

Exit ticket

Three questions to check you have got it.

  1. Find the slope of the tangent line to the circle x2+y2=25x^2 + y^2 = 25 at the point (4,3)(4, 3).
  2. Find the slope of the tangent line to the circle x2+y2=40x^2 + y^2 = 40 at the point (2,6)(2, 6).
  3. Find the slope of the tangent line to the circle x2+y2=26x^2 + y^2 = 26 at the point (1,5)(1, 5).

Summary card

Tangents to implicit curves

  • Slope: substitute the point into y′y' (both xx and yy).
  • Line: y=y0+m(x−x0)y = y_0 + m(x - x_0).

Watch out: the tangent to a circle is perpendicular to the radius.

3. The derivative of an inverse function

Warm-up

Three quick questions from earlier lessons.

Discover

f(2)=5f(2) = 5 and the tangent to ff at (2,5)(2, 5) has slope 3. The graph of f−1f^{-1} is the reflection in y=xy = x, so it passes through (5,2)(5, 2). Reflecting swaps rise and run. What is its slope there?

  1. 13\tfrac{1}{3}
  2. 33

Key idea

Slopes of inverse functions are reciprocals at matching points.

If f(a)=bf(a) = b and f′(a)≠0f'(a) \ne 0, then (f−1)′(b)=1f′(a)(f^{-1})'(b) = \dfrac{1}{f'(a)}. In general (f−1)′(x)=1f′(f−1(x))(f^{-1})'(x) = \dfrac{1}{f'\big(f^{-1}(x)\big)}.

Worked example

f(x)=x3+2xf(x) = x^3 + 2x, g=f−1g = f^{-1}. Find g′(3)g'(3).

g(3)=1g(3) = 1
Find a with f(a) = 3: 1 + 2 = 3.
f′(1)=5f'(1) = 5
f'(x) = 3x² + 2.
g′(3)=15g'(3) = \tfrac{1}{5}
Reciprocal.

Your turn, guided

Your turn: same ff, find g′(12)g'(12). Note f(2)=12f(2) = 12.

f′(2)=14f'(2) = 14
f'(2) = 3·4 + 2.
g′(12)=114g'(12) = \tfrac{1}{14}
Reciprocal.

Practice ★

  1. ff is invertible with f(3)=9f(3) = 9 and f′(3)=2f'(3) = 2. Find (f−1)′(9)(f^{-1})'(9).
  2. ff is invertible with f(1)=7f(1) = 7 and f′(1)=3f'(1) = 3. Find (f−1)′(7)(f^{-1})'(7).
  1. gg is the inverse of ff. Which expression equals g′(7)g'(7)?
    1. 1f′(g(7))\dfrac{1}{f'(g(7))}
    2. 1f′(7)\dfrac{1}{f'(7)}
    3. f′(g(7))f'(g(7))
    4. 1f(7)\dfrac{1}{f(7)}

Watch out!

Practice ★★

  1. f(x)=x3+8xf(x) = x^3 + 8x has an inverse gg. Note f(1)=9f(1) = 9. Find g′(9)g'(9).
  2. f(x)=x3+7xf(x) = x^3 + 7x has an inverse gg. Note f(1)=8f(1) = 8. Find g′(8)g'(8).

Exit ticket

Three questions to check you have got it.

  1. ff is invertible with f(3)=9f(3) = 9 and f′(3)=2f'(3) = 2. Find (f−1)′(9)(f^{-1})'(9).
  2. ff is invertible with f(1)=7f(1) = 7 and f′(1)=3f'(1) = 3. Find (f−1)′(7)(f^{-1})'(7).
  3. ff is invertible with f(4)=7f(4) = 7 and f′(4)=6f'(4) = 6. Find (f−1)′(7)(f^{-1})'(7).

Summary card

Derivative of an inverse

  1. Find a=f−1(b)a = f^{-1}(b).
  2. Compute f′(a)f'(a).
  3. (f−1)′(b)=1/f′(a)(f^{-1})'(b) = 1 / f'(a).

Watch out: evaluate f′f' at aa, the input of ff, not at bb.

4. Related rates: area and volume

Warm-up

Three quick questions from earlier lessons.

Discover

A stone drops in a pond; the ripple's radius grows at 2 cm/s. Is the area growing at a constant rate?

  1. No, faster and faster
  2. Yes, 2 cm²/s

Key idea

When quantities are linked by an equation, their rates are linked by its derivative with respect to time.

Related rates: write an equation linking the quantities, differentiate it with respect to tt (chain rule: each quantity gets its own rate), then substitute the values at the moment of interest.

Worked example

A ripple's radius grows at 2 cm/s. How fast is the area growing when r=10r = 10 cm?

A=πr2A = \pi r^2
The link between the quantities.
dAdt=2πrdrdt\dfrac{dA}{dt} = 2\pi r \dfrac{dr}{dt}
Differentiate with respect to t.
dAdt=40π≈126\dfrac{dA}{dt} = 40\pi \approx 126 cm²/s
Now substitute r = 10, dr/dt = 2.

Your turn, guided

Your turn: a square's side grows at 3 cm/s. A=s2A = s^2. Find dAdt\dfrac{dA}{dt} when s=5s = 5.

dAdt=2sdsdt\dfrac{dA}{dt} = 2s\dfrac{ds}{dt}
Differentiate.
dAdt=30\dfrac{dA}{dt} = 30 cm²/s
2 · 5 · 3.

Practice ★

  1. A circular ripple's radius grows at 5 cm/s. How fast is its area growing when the radius is 11 cm? (cm²/s, exact)
  2. A circular ripple's radius grows at 2 cm/s. How fast is its area growing when the radius is 6 cm? (cm²/s, exact)
  1. A balloon's radius increases at 5 cm/s. With V=43πr3V = \tfrac{4}{3}\pi r^3, find dVdt\dfrac{dV}{dt} when r=3r = 3 cm. (cm³/s, exact)
  2. A balloon's radius increases at 2 cm/s. With V=43πr3V = \tfrac{4}{3}\pi r^3, find dVdt\dfrac{dV}{dt} when r=7r = 7 cm. (cm³/s, exact)

Watch out!

Practice ★★

  1. Air is pumped into a spherical balloon at 29 cm³/s. How fast is the radius increasing when r=6r = 6 cm? (cm/s, exact)
  2. Air is pumped into a spherical balloon at 26 cm³/s. How fast is the radius increasing when r=3r = 3 cm? (cm/s, exact)

Exit ticket

Three questions to check you have got it.

  1. A circular ripple's radius grows at 5 cm/s. How fast is its area growing when the radius is 11 cm? (cm²/s, exact)
  2. A circular ripple's radius grows at 2 cm/s. How fast is its area growing when the radius is 6 cm? (cm²/s, exact)
  3. A circular ripple's radius grows at 3 cm/s. How fast is its area growing when the radius is 11 cm? (cm²/s, exact)

Summary card

Related rates

  1. Equation linking the quantities.
  2. Differentiate with respect to tt.
  3. Substitute the values at that moment; solve for the unknown rate.

Watch out: substitute changing values only after differentiating.

5. Related rates with right triangles

Warm-up

Three quick questions from earlier lessons.

Discover

A 5-m ladder leans against a wall; its foot is aa m from the wall. Slide the foot outwards at a steady pace.

A 5-m ladder from (a, 0) on the ground to the wall at x = 0. As a grows by equal steps, the top drops slowly at first, then faster and faster.

The foot moves at a steady speed. Does the top slide down at a steady speed?

  1. No: it speeds up near the ground
  2. Yes, the same speed as the foot

Key idea

Right triangles link distances by Pythagoras.

If x2+y2=D2x^2 + y^2 = D^2, then x x′+y y′=D D′x\,x' + y\,y' = D\,D' (all with respect to tt). A constant length (a ladder) has rate 0; a decreasing length has a negative rate.

Worked example

A 10-ft ladder: foot 6 ft from the wall, sliding out at 2 ft/s. How fast is the top moving?

y=8y = 8
At that moment y = √(100 − 36).
2x x′+2y y′=02x\,x' + 2y\,y' = 0
Differentiate x² + y² = 100.
y′=−32y' = -\tfrac{3}{2} ft/s: the top slides down
6 · 2 + 8 · y' = 0.

Your turn, guided

Your turn: same ladder, when the foot is 8 ft out (so y=6y = 6).

y′=−83y' = -\tfrac{8}{3} ft/s
8 · 2 + 6 · y' = 0.

Practice ★

  1. A 15-ft ladder leans against a wall. Its foot slides away from the wall at 4 ft/s. How fast is the top moving when the foot is 9 ft from the wall? (ft/s; negative means down)
  2. A 10-ft ladder leans against a wall. Its foot slides away from the wall at 3 ft/s. How fast is the top moving when the foot is 6 ft from the wall? (ft/s; negative means down)
  3. A 15-ft ladder leans against a wall. Its foot slides away from the wall at 2 ft/s. How fast is the top moving when the foot is 9 ft from the wall? (ft/s; negative means down)

Watch out!

Practice ★★

  1. Two cars leave the same crossing at noon: one drives north at 50 mph, the other east at 51 mph. How fast is the distance between them growing? (mph, exact)
  1. A plane flies at an altitude of 6 km, horizontally away from a radar station, at 11 km/min. How fast is its distance to the station increasing when the horizontal distance is 8 km? (km/min)
  2. A plane flies at an altitude of 9 km, horizontally away from a radar station, at 10 km/min. How fast is its distance to the station increasing when the horizontal distance is 12 km? (km/min)
  1. Boss problem. A 15-ft ladder slides: its foot moves away from the wall at 1 ft/s. Look at the moment the foot is 9 ft from the wall.

Exit ticket

Three questions to check you have got it.

  1. A 15-ft ladder leans against a wall. Its foot slides away from the wall at 4 ft/s. How fast is the top moving when the foot is 9 ft from the wall? (ft/s; negative means down)
  2. A 10-ft ladder leans against a wall. Its foot slides away from the wall at 3 ft/s. How fast is the top moving when the foot is 6 ft from the wall? (ft/s; negative means down)
  3. A 15-ft ladder leans against a wall. Its foot slides away from the wall at 2 ft/s. How fast is the top moving when the foot is 9 ft from the wall? (ft/s; negative means down)

Summary card

Right-triangle rates

  • x2+y2=D2⇒x x′+y y′=D D′x^2 + y^2 = D^2 \Rightarrow x\,x' + y\,y' = D\,D'.
  • Find the missing side at that moment first.

Watch out: rates at right angles do not add; decreasing lengths have negative rates.

6. Related rates with similar triangles

Warm-up

Three quick questions from earlier lessons.

Discover

A 6-ft person walks away from a 15-ft lamp. With xx the distance to the lamp and ss the shadow's length, two right triangles share the angle at the shadow's tip. Which equation links ss and xx?

  1. 6s=15x+s\dfrac{6}{s} = \dfrac{15}{x + s}
  2. 6s=15x\dfrac{6}{s} = \dfrac{15}{x}

Key idea

Similar triangles remove an extra variable.

When a problem has more changing quantities than rates you know, use a fixed ratio (similar triangles, a cone's shape) to write one quantity in terms of another before differentiating.

Worked example

6-ft person, 15-ft lamp, walking at 3 ft/s. How fast does the shadow grow?

6x+6s=15s6x + 6s = 15s, so s=23xs = \tfrac{2}{3}x
Cross-multiply 6/s = 15/(x + s).
s′=23x′s' = \tfrac{2}{3}x'
Differentiate.
s′=2s' = 2 ft/s
x' = 3.

Your turn, guided

Your turn: a cone tank whose radius is half the depth: V=π12h3V = \tfrac{\pi}{12}h^3. Differentiate.

dVdt=π4h2⋅dhdt\dfrac{dV}{dt} = \dfrac{\pi}{4}h^2 \cdot \dfrac{dh}{dt}
Chain rule: 3h²/12 = h²/4.

Practice ★

  1. Put the steps for finding dAdt\dfrac{dA}{dt} when r=3r = 3 in order.
    • Draw a picture and name the changing quantities
    • Write an equation linking them: A=πr2A = \pi r^2
    • Differentiate with respect to tt: A′=2πr r′A' = 2\pi r \, r'
    • Substitute r=3r = 3 and the known rate
  1. A person 6 ft tall walks away from a 13-ft street lamp at 4 ft/s. How fast is the length of their shadow growing? (ft/s, exact)
  2. A person 5 ft tall walks away from a 18-ft street lamp at 4 ft/s. How fast is the length of their shadow growing? (ft/s, exact)

Watch out!

Practice ★★

  1. Water flows at 9 m³/min into a cone-shaped tank, vertex down, whose radius is always half the water's depth: V=π12h3V = \tfrac{\pi}{12}h^3. How fast is the depth rising when h=4h = 4 m? (m/min, exact)
  2. Water flows at 3 m³/min into a cone-shaped tank, vertex down, whose radius is always half the water's depth: V=π12h3V = \tfrac{\pi}{12}h^3. How fast is the depth rising when h=3h = 3 m? (m/min, exact)

Exit ticket

Three questions to check you have got it.

  1. Water flows at 9 m³/min into a cone-shaped tank, vertex down, whose radius is always half the water's depth: V=π12h3V = \tfrac{\pi}{12}h^3. How fast is the depth rising when h=4h = 4 m? (m/min, exact)
  2. Water flows at 3 m³/min into a cone-shaped tank, vertex down, whose radius is always half the water's depth: V=π12h3V = \tfrac{\pi}{12}h^3. How fast is the depth rising when h=3h = 3 m? (m/min, exact)
  3. Water flows at 7 m³/min into a cone-shaped tank, vertex down, whose radius is always half the water's depth: V=π12h3V = \tfrac{\pi}{12}h^3. How fast is the depth rising when h=4h = 4 m? (m/min, exact)

Summary card

Similar triangles

  1. Use the fixed ratio to write one variable in terms of another.
  2. Differentiate with respect to tt.
  3. Substitute the moment's values.

Watch out: the big triangle's base runs from the lamp to the shadow's tip.