Differentiate y=(3x+1)2 with the chain rule, then check by expanding.
y=(3x+1)2
1
Name the inside and the outside
Work out (3x+1)2 for one value of x: you find 3x+1 first, then square it. The inside is u=3x+1 and the outside squares it, y=u2. The inner rate is du/dx=3 and the outer rate is dy/du=2u.
u=3x+1, dxdu=3,y=u2, dudy=2u
u=3x+1, dxdu=3y=u2, dudy=2u
2
Multiply the rates
The chain rule multiplies the two rates: dy/dx=(dy/du)(du/dx)=2u⋅3. Each unit of change in x makes 3 units of change in u, and each unit of change in u makes 2u units of change in y.
dxdy=2u⋅3
3
Put the inside back
Replace u with 3x+1. The outer rate is evaluated at the inside, u=3x+1, not at x.
dxdy=2(3x+1)(3)
4
Simplify
Multiply the numbers first, 2⋅3=6, so dy/dx=6(3x+1)=18x+6.
dxdy=18x+6
5
Check by expanding
(3x+1)2=9x2+6x+1, and the power rule gives 18x+6. The two routes agree. For higher powers, such as (3x+1)50, expanding is impractical and the chain rule is the only sensible route.
dxd(9x2+6x+1)=18x+6
Result
dy/dx=6(3x+1)=18x+6.
dxdy=18x+6
Your turn
1. One like the example
Differentiate f(x)=(2x−3)3.
Show the answer and explanation
f′(x)=6(2x−3)2.
The outer function cubes, so its derivative is 3u2 at u=2x−3. Multiply by the inner derivative 2 to get f′(x)=3(2x−3)2⋅2=6(2x−3)2.
f(x)=(2x−3)3f′(x)=3(2x−3)2(2)f′(x)=6(2x−3)2
2. A variation
Differentiate f(x)=(5−x2)4. This time the inside is not a straight line.
Show the answer and explanation
f′(x)=−8x(5−x2)3.
The outside is the 4th power, so its derivative is 4u3 at u=5−x2. The inside, 5−x2, has derivative −2x. Multiply to get 4(5−x2)3⋅(−2x)=−8x(5−x2)3.
f(x)=(5−x2)4f′(x)=4(5−x2)3⋅(−2x)f′(x)=−8x(5−x2)3
3. Somewhere new
A cube’s side is 2t+1 cm after t seconds, so its volume is V(t)=(2t+1)3cm3. How fast is the volume growing at t=1?
Show the answer and explanation
V′(1)=54 cm3 per second.
V is the cube of the inside 2t+1. The outside gives 3(2t+1)2 and the inside gives 2, so V′(t)=6(2t+1)2. At t=1 the side is 3 cm, and V′(1)=6⋅9=54 cm3 per second.