Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

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.

  1. f(x)=(3x+6)2f(x) = (3x + 6)^{ 2 }. Find f′(x)f'(x).
  2. f(x)=sin⁡(3x2)f(x) = \sin(3x^2). Find f′(x)f'(x).
  3. f(x)=e3x2f(x) = e^{ 3x^2}. Find f′(x)f'(x).

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+3y2=70x^2 + 3y^2 = 70. Find dydx\dfrac{dy}{dx} in terms of xx and yy.
  2. x2+30y2=216x^2 + 30y^2 = 216. 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+3y2=70x^2 + 3y^2 = 70. Find dydx\dfrac{dy}{dx} in terms of xx and yy.
  2. x2+30y2=216x^2 + 30y^2 = 216. Find dydx\dfrac{dy}{dx} in terms of xx and yy.
  3. x2+3y2=87x^2 + 3y^2 = 87. 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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find dydx\dfrac{dy}{dx} for x3+y3=54x^3 + y^3 = 54 at the point (3,3)(3, 3).

2. Tangent lines to curves defined implicitly

Warm-up

Three quick questions from earlier lessons.

  1. For f(x)=x2f(x) = x^2, f′(x)=2xf'(x) = 2x. Draw the tangent line to the graph at x=1x = 1: place two points on it.
  2. f(1)=2f(1) = 2 and f′(1)=3f'(1) = 3. Write the tangent line to the graph of ff at x=1x = 1: enter the right-hand side of y=…y = \ldots
  3. For f(x)=x3f(x) = x^3, the difference quotient at x=−3x = -3 simplifies to 27+−9h+h227 + -9h + h^2. What is the slope of the tangent line at x=−3x = -3?

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=5x^2 + y^2 = 5 at the point (2,1)(2, 1).
  2. Find the slope of the tangent line to the circle x2+y2=1037x^2 + y^2 = 1037 at the point (29,14)(29, 14).
  3. Find the slope of the tangent line to the circle x2+y2=13x^2 + y^2 = 13 at the point (2,3)(2, 3).

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=5x^2 + y^2 = 5 at the point (2,1)(2, 1).
  2. Find the slope of the tangent line to the circle x2+y2=1037x^2 + y^2 = 1037 at the point (29,14)(29, 14).
  3. Find the slope of the tangent line to the circle x2+y2=13x^2 + y^2 = 13 at the point (2,3)(2, 3).

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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find the yy-intercept of the tangent line to x2+y2=8x^2 + y^2 = 8 at (2,2)(2, 2).

3. The derivative of an inverse function

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=(3x+6)2f(x) = (3x + 6)^{ 2 }. Find f′(x)f'(x).
  2. f(x)=sin⁡(3x2)f(x) = \sin(3x^2). Find f′(x)f'(x).
  3. f(x)=e3x2f(x) = e^{ 3x^2}. Find f′(x)f'(x).

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(2)=10f(2) = 10 and f′(2)=2f'(2) = 2. Find (f−1)′(10)(f^{-1})'(10).
  2. ff is invertible with f(39)=65f(39) = 65 and f′(39)=24f'(39) = 24. Find (f−1)′(65)(f^{-1})'(65).
  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(2)=10f(2) = 10 and f′(2)=2f'(2) = 2. Find (f−1)′(10)(f^{-1})'(10).
  2. ff is invertible with f(39)=65f(39) = 65 and f′(39)=24f'(39) = 24. Find (f−1)′(65)(f^{-1})'(65).
  3. ff is invertible with f(1)=7f(1) = 7 and f′(1)=3f'(1) = 3. 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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. f(x)=ex+5xf(x) = e^x + 5x has an inverse gg. Note f(0)=1f(0) = 1. Find g′(1)g'(1).

4. Related rates: area and volume

Warm-up

Three quick questions from earlier lessons.

  1. f(x)=(3x+6)2f(x) = (3x + 6)^{ 2 }. Find f′(x)f'(x).
  2. f(x)=sin⁡(3x2)f(x) = \sin(3x^2). Find f′(x)f'(x).
  3. f(x)=e3x2f(x) = e^{ 3x^2}. Find f′(x)f'(x).

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 2 cm/s. How fast is its area growing when the radius is 8 cm? (cm²/s, exact)
  2. A circular ripple's radius grows at 12 cm/s. How fast is its area growing when the radius is 34 cm? (cm²/s, exact)
  1. A balloon's radius increases at 3 cm/s. With V=43πr3V = \tfrac{4}{3}\pi r^3, find dVdt\dfrac{dV}{dt} when r=4r = 4 cm. (cm³/s, exact)
  2. A balloon's radius increases at 8 cm/s. With V=43πr3V = \tfrac{4}{3}\pi r^3, find dVdt\dfrac{dV}{dt} when r=12r = 12 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 2 cm/s. How fast is its area growing when the radius is 8 cm? (cm²/s, exact)
  2. A circular ripple's radius grows at 12 cm/s. How fast is its area growing when the radius is 34 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 10 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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. The edges of a cube grow at 2 cm/s. How fast is its volume growing when the edge is 4 cm? (cm³/s)

5. Related rates with right triangles

Warm-up

Three quick questions from earlier lessons.

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

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 40 mph, the other east at 40 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)

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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. A 20-ft ladder leans against a wall. Its foot slides away at 2 ft/s. How fast is the top moving when the foot is 16 ft from the wall? (ft/s)

6. Related rates with similar triangles

Warm-up

Three quick questions from earlier lessons.

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

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.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. A person 5 ft tall walks away from a 15-ft street lamp at 2 ft/s. How fast is the tip of the shadow moving away from the lamp? (ft/s)

7. Logarithmic differentiation

Discover

How would you differentiate f(x)=xxf(x) = x^x? The base and the exponent both change.

  1. Take the logarithm first
  2. Use the power rule: x⋅xx−1x \cdot x^{x-1}

Key idea

Logarithmic differentiation.

If y=f(x)>0y = f(x) > 0, take ln⁡y\ln y, differentiate both sides, then multiply by yy:

y′y=(ln⁡y)′\dfrac{y'}{y} = (\ln y)', so y′=y (ln⁡y)′y' = y\,(\ln y)'.

Worked example

Differentiate y=xxy = x^x for x>0x > 0.

ln⁡y=xln⁡x\ln y = x\ln x
Take logarithms.
y′y=ln⁡x+1\dfrac{y'}{y} = \ln x + 1
Differentiate both sides (product rule on the right).
y′=xx(ln⁡x+1)y' = x^x(\ln x + 1)
Multiply by yy.

Your turn, guided

Your turn: for y=xxy = x^x, what is y′(1)y'(1)?

y′(1)=1y'(1) = 1
11(ln⁡1+1)=1×11^1(\ln 1 + 1) = 1 \times 1.

Practice ★

  1. f(x)=x3xf(x) = x^{ 3x} for x>0x > 0. Find f′(1)f'(1).
  2. f(x)=x2xf(x) = x^{ 2x} for x>0x > 0. Find f′(1)f'(1).
  3. f(x)=x8xf(x) = x^{ 8x} for x>0x > 0. Find f′(1)f'(1).

Practice ★★

  1. f(x)=xxf(x) = x^x. Find f′(4)f'(4) exactly.
  2. f(x)=xxf(x) = x^x. Find f′(2)f'(2) exactly.

Exit ticket

Two questions to check.

  1. f(x)=x3xf(x) = x^{ 3x} for x>0x > 0. Find f′(1)f'(1).
  2. f(x)=x2xf(x) = x^{ 2x} for x>0x > 0. Find f′(1)f'(1).

Summary card

Logarithmic differentiation

  • For y=f(x)g(x)y = f(x)^{g(x)}: write ln⁡y=g(x)ln⁡f(x)\ln y = g(x)\ln f(x).
  • Differentiate, then multiply by yy.

It also shortens long products and quotients.

8. History of calculus: Fermat, Newton and Leibniz

Discover

In the 1630s, the French lawyer Pierre de Fermat sent the Paris mathematicians his Method for determining maxima and minima and tangents to curved lines. Why would tangents and maxima belong in one method?

  1. At a maximum, the tangent is horizontal
  2. Both were needed to measure land

Key idea

One idea, found twice and written two ways.

16201640166016801700c. 1636Fermatc. 1636Fermat
  1. Step 116201640166016801700c. 1636Fermatc. 1636FermatPierre de Fermat c. 1607 – 1665Rolland Lefebvre. Public domain1630s: Fermat finds maxima, minima and tangents with one method and sends it to Paris.
  2. Step 216201640166016801700c. 1636Fermat1665Newtonc. 1636Fermat1665NewtonIsaac Newton 1642–1727Godfrey Kneller, 1689. Public domain1665: the plague closes Cambridge. At home in Lincolnshire, Newton develops his method of fluxions.
  3. Step 316201640166016801700c. 1636Fermat1665Newton1684Leibnizc. 1636Fermat1665Newton1684LeibnizGottfried Wilhelm Leibniz 1646–1716Christoph Bernhard Francke, before 1729. Public domain1684: Leibniz publishes 'A new method for maxima, minima and tangents', with the d-notation we still use.

Newton spoke of fluxions, quantities that flow in time. Leibniz wrote dxdx and dydy, and by 1676 he had the rule d(xn)=nxn−1 dxd(x^n) = n x^{n-1}\,dx. We still write dydx\dfrac{dy}{dx}, his notation.

Source

Nova methodus pro maximis et minimis, itemque tangentibus, quae nec fractas nec irrationales quantitates moratur, et singulare pro illis calculi genus.

A new method for maxima and minima, and also for tangents, which neither fractional nor irrational quantities hold up, and a singular kind of calculus for them.

Gottfried Wilhelm Leibniz, title of his 1684 article in Acta Eruditorum: the Latin, then our translation

What is Leibniz's 'new method' for?

  1. Finding maxima, minima and tangents
  2. Finding the areas of curved shapes

Worked example

Fermat's question, our way: which number xx makes x(10−x)x(10 - x) as large as possible?

10−2x=010 - 2x = 0
The slope of 10x−x210x - x^2 is 10−2x10 - 2x.
x=5x = 5, giving 2525
A flat tangent at the top.

Practice ★

  1. In 1684 Leibniz published 'A new method for maxima, minima and tangents'. What did his paper give the world?
    1. His differential calculus, with dx and dy
    2. The first table of logarithms
    3. Newton's laws of motion
  1. With Leibniz's rule d(xn)=nxn−1 dxd(x^n) = nx^{n-1}\,dx: find the slope of y=x4y = x^{ 4 } at x=2x = 2.
  2. With Leibniz's rule d(xn)=nxn−1 dxd(x^n) = nx^{n-1}\,dx: find the slope of y=x5y = x^{ 5 } at x=2x = 2.
  1. A Fermat-style question: a rectangle has perimeter 108 cm. Which side length gives the largest area?

Summary card

Derivatives today

  • Speed and acceleration in physics: rates of change.
  • Economics: marginal cost is the derivative of the cost.
  • Engineering and computer science: finding the best design, or training a neural network, means following slopes downhill.

Sources: MacTutor biographies of Fermat, Newton and Leibniz (see "Sources and credits").