Unit 3 · Topics 3.1, 3.5. Original AP Calculus AB notes, worked example, and self-check.
Understand the idea
Identify outer and inner functions before differentiating. Differentiate the outer function at the inner expression, then multiply by the inner derivative. Several layers require several factors. Combine the chain rule with product or quotient rules when the top-level structure requires them. Exponential bases other than e contribute a logarithmic factor. For a logarithm with base a>0, a=1, differentiate logax as 1/(xlna) on x>0.
(f∘g)′(x)=f′(g(x))g′(x),(ax)′=axlna,(ln∣u∣)′=uu′
Worked example
Differentiate y=sin(x2+1).
The outer function is sine and its derivative is cosine. The inner derivative is 2x, so y′=2xcos(x2+1). Keep the original inner expression inside cosine.
Try it yourself
Find d(ln(1+x2))/dx.
Show solution and reasoning
The chain rule gives 2x/(1+x2). The logarithm is defined for every real x here.