In Leibniz notation: dxd[(x+1)2]=dud[u2]⋅dxdu=2u⋅1=2(x+1) where u=x+1
Example 2:
Find dxd[e−x]:
Let u=−x⟹dxd[e−x]=dud[eu]⋅dxdu=eu⋅(−1)=−e−x
In Lagrange notation: f(x)=ex,g(x)=−x⟹f(g(x))=e−x f′(x)=ex,g′(x)=−1 ⟹(e−x)′=(f(g(x)))′=f′(g(x))⋅g′(x)=e−x⋅(−1)=−e−x
Example 3:
Find dxd[ln(x2+1)]:
Let u=x2+1⟹dxd[ln(x2+1)]=dxd[ln(u)]=dud[ln(u)]⋅dxdu=u1⋅2x=x2+12x
In Lagrange notation: f(x)=ln(x),g(x)=x2+1⟹f(g(x))=ln(x2+1) f′(x)=x1,g′(x)=2x ⟹(ln(x2+1))′=(f(g(x)))′=f′(g(x))⋅g′(x)=x2+11⋅2x=x2+12x
Example 4:
Task: Let f(x)=3x. Find f′(x).
Solution: f(x)=3x=eln(3x)=exln(3). (we do this step to make it easier to differentiate by having the base as e and knowing the derivative of ex is ex)
Let u=xln(3)⟹f(x)=eu. ⟹f′(x)=eu⋅u′=exln(3)⋅ln(3)=3x⋅ln(3)
Example 5:
Task: Let f(x)=log3(x). Find f′(x).
Solution: f(x)=log3(x)=ln(3)ln(x). (using the change of base log rule)
Let u=ln(x)⟹f(x)=ln(3)u. ⟹f′(x)=ln(3)1⋅u′=ln(3)1⋅x1=xln(3)1
General Strategy
Identify the inner and outer functions: What is g(x) and what is f(x)?
Differentiate the outer function while leaving the inner function untouched.
Multiply by the derivative of the inner function.
Exercises
1. Practice Chain Rule
Find the derivative using the chain rule:
f(x)=(x2+1)2
f(x)=ex2
f(x)=ln(4x2+4)
f(x)=2e3x+2
f(x)=4x
Answer Key
f′(x)=4x3+4x
f′(x)=2xex2
f′(x)=4x2+48x
f′(x)=6e3x+2
f′(x)=4xln(4)
2. More Chain Rule
Find the derivative of the following functions:
f(x)=3x2+4
f(x)=ln(x2+1)
f(x)=(e2x+1+3)4
f(x)=ln(x)
f(x)=4x3+21
f(x)=(ln(2x2+1))5
f(x)=log3(2x+5)
Answer Key
f′(x)=3x2+43x
f′(x)=(x2+1)x
f′(x)=4(e2x+1+3)3⋅2e2x+1
f′(x)=2xln(x)1
f′(x)=(4x3+2)4x3+2−6x2
f′(x)=5(ln(2x2+1))4⋅2x2+14x
f′(x)=ln(3)(2x+5)2xln(2)
3. Even more Chain Rule
The radius of a balloon is increasing over time as r(t)=2t+1. The volume of the balloon is V(r)=34πr3.
Find dtdV in terms of t.
A chemical's concentration is given by C(t)=e−0.2t2.
Find the rate of change of concentration with respect to time.
The brightness B of a light bulb over time is modeled by:
B(t)=1+e−t1
Find the rate of change of brightness with respect to time.
Answer Key
dtdV=8π(2t+1)2
dtdC=−0.4te−0.2t2
dtdB=2(1+e−t)3/2e−t
4. Proofs
Assume that the chain rule and the product rule are true. Prove that the quotient rule is also true.
(Given that dxd[f(x)g(x)]=f′(x)g(x)+f(x)g′(x) and dxd[f(g(x))]=f′(g(x))g′(x). Prove that dxd[g(x)f(x)]=g(x)2f′(x)g(x)−f(x)g′(x) for any differentiable functions f(x) and g(x) with g(x)=0.)
Using the chain rule, prove the power rule for any real number n.
(Given that dxd[f(g(x))]=f′(g(x))g′(x). Prove that dxd[xn]=nxn−1 for any real number n.)