AP Calculus BC · Unit 3 · Differentiation: Composite, Implicit and Inverse Functions
3.1 Chain rule
Identify layers in composite functions and use the chain rule to differentiate them.
1/4Composite functions apply one function inside another
Part 1 of 4: Composite functions apply one function inside another
A composite function takes the output of one function as the input of another. In , the inner function is . The outer function raises its input to the fifth power, so . Work from the innermost expression outward when identifying layers. Parentheses often reveal a layer, but they are not required. For example, has inner function and outer function sine. Naming the layers helps you see which derivatives must be multiplied.
Key terms · tap one for its definition
composite function
A composite function uses the output of one function as the input of another.
inner function
The inner function produces the input supplied to another function in a composition.
Part 2 of 4: The chain rule multiplies derivatives across layers
The chain rule differentiates a function whose input also depends on . If , then . Differentiate the outer function while leaving its input unchanged. Then multiply by the derivative of that input. For , this gives . The factor 3 comes from differentiating . The rule also applies to functions such as : its derivative is . Both derivatives are needed because changing also changes the inner input.
Key term
chain rule
The chain rule differentiates as .

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: C · Worked explanation
Part 3 of 4: Nested compositions need a derivative for every layer
A nested composition contains more than one inner layer. Differentiate from the outside inward, multiplying once for each layer. In , the layers are sine, cubing, and . Keeping each input intact makes the order easier to follow. You can simplify after every layer has contributed its derivative. If an inner derivative equals 1, its factor need not appear in the final expression. Otherwise, leaving out a factor changes the derivative.
Worked example
Differentiate three layers
- Differentiate sine: .
- Differentiate the cubed input: .
- Differentiate the innermost input: .
- Multiply the three factors: .
Answer: .
Key term
nested composition
A nested composition has multiple function layers, each applied to the output of the layer inside it.
Part 4 of 4: Choose the chain rule when an input varies
Look for a familiar function applied to an expression containing . That expression is a varying input, so use the chain rule. For example, needs the chain rule. Its derivative is . By contrast, needs only the power rule: its input is , whose derivative is 1. Some expressions need more than one rule. In , use the product rule for the two factors. Then use the chain rule when differentiating . Always identify the overall structure before differentiating its parts.
Key term
product rule
The product rule differentiates as .
Check your recall[15 marks]
5 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.Identify[2 marks]
Identify the inner and outer functions in .
Show mark schemeHide mark scheme
Model answer
The inner function is . The outer function is cosine.
- 1 mark for identifying as the inner function
- 1 mark for identifying cosine as the outer function
- 2.Calculate[3 marks]
Calculate for .
Show mark schemeHide mark scheme
Model answer
Differentiate the outer power and multiply by the inner derivative: .
- 1 mark for differentiating the outer power to obtain
- 1 mark for finding the inner derivative
- 1 mark for multiplying to obtain
- 3.Calculate[4 marks]
Calculate for .
Show mark schemeHide mark scheme
Model answer
.
- 1 mark for differentiating sine to obtain
- 1 mark for differentiating the cubed layer to obtain
- 1 mark for differentiating to obtain
- 1 mark for multiplying the factors to obtain
- 4.Explain[3 marks]
Explain why differentiating requires the chain rule, but differentiating does not.
Show mark schemeHide mark scheme
Model answer
applies a square root to the varying input . Its derivative needs the outer derivative multiplied by 4. For , the input is , so the power rule gives .
- 1 mark for identifying as the varying input to the square root
- 1 mark for stating that its derivative requires multiplication by the inner derivative 4
- 1 mark for stating that needs only the power rule because its input is
- 5.Describe[3 marks]
Describe how to differentiate , and give its derivative.
Show mark schemeHide mark scheme
Model answer
Use the product rule on and . Use the chain rule to differentiate as . Therefore, the derivative is .
- 1 mark for choosing the product rule for the two factors
- 1 mark for using the chain rule to obtain
- 1 mark for giving

Practice this topic
10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 10 answered
Includes the quick check in the note above.
EasyIdentify[1 mark]
Show answer and explanation
Answer: C · Worked explanation
EasyCalculate[1 mark]
Show answer and explanation
Answer: B · Worked explanation
EasyIdentify[1 mark]
Show answer and explanation
Answer: B · Worked explanation
MediumCalculate[1 mark]
Show answer and explanation
Answer: C · Worked explanation
MediumCalculate[1 mark]
Show answer and explanation
Answer: A · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: A · Worked explanation
MediumCalculate[2 marks]
Show answer and explanation
Answer: B · Worked explanation
MediumCalculate[2 marks]
Show answer and explanation
Answer: C · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: D · Worked explanation