Chain rule — AP Calculus AB Study Guide
For: AP Calculus AB candidates sitting AP Calculus AB.
Covers: Basic chain rule formula for single-variable composite functions, application of the rule to power, trigonometric, and exponential functions, chain rule for tangent line problems, and recognition of common student mistakes.
You should already know: How to decompose composite functions, derivative rules for basic functions, the point-slope form of a line.
A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the AP Calculus AB style for educational use. They are not reproductions of past College Board / Cambridge / IB papers and may differ in wording, numerical values, or context. Use them to practise the technique; cross-check with official mark schemes for grading conventions.
1. What Is Chain rule?
The chain rule is the core differentiation rule for composite functions, which take the form , where an inner function is plugged into an outer function . Per the College Board AP Calculus AB Course and Exam Description (CED), this unit makes up 9-13% of total exam weight, with the chain rule accounting for roughly 4-6% of total exam points. It appears in both multiple-choice (MCQ) and free-response (FRQ) sections, and it is almost always combined with other differentiation rules, so mastery is non-negotiable for a high score.
Synonyms for the chain rule include the "composite function differentiation rule" or "outer-inner rule". The core intuition is that the rate of change of a composite function equals the product of the rate of change of the outer function (evaluated at the inner function) and the rate of change of the inner function. Most functions you encounter on the AP exam are composite, so you cannot rely on basic differentiation rules alone to find their derivatives. For example, is not a basic power function—its derivative must account for how both the outer power function and inner quadratic change with respect to .
2. Basic Chain Rule: Decomposition and Core Formula
To apply the chain rule correctly, you first need to correctly decompose a composite function into its outer and inner components. A simple rule for decomposition: the inner function is what you calculate first when plugging in a value of , and the outer function is what you calculate last. For example, for , when you plug in , you first calculate , then calculate , so inner function is , outer function is .
The core chain rule formulas are: in Leibniz notation, and: in prime notation. The intuition for the product form is simple: if changes twice as fast as , and changes three times as fast as , then changes times as fast as , so the rates multiply. The only time you do not need chain rule is when the inner function is just , so its derivative is 1, and the product simplifies to just the outer derivative.
Worked Example
Find the derivative of .
- Decompose the function into outer and inner parts: (outer), (inner).
- Differentiate the outer function with respect to : .
- Differentiate the inner function with respect to : .
- Multiply the derivatives and substitute back :
- Simplify (optional for AP, but tidied): .
Exam tip: Always explicitly label your inner and outer functions on scratch work—if you cannot name both clearly, you are almost guaranteed to misapply the rule.
3. Combining Chain Rule with Other Differentiation Rules
The chain rule is almost never tested in isolation on the AP exam. You will almost always need to combine it with product rule, quotient rule, or derivatives of non-power basic functions. The most common generalized forms of the chain rule for common function types are:
- Generalized power rule:
- Generalized trigonometric: , , etc.
- Generalized exponential (base ):
The key rule when combining rules is: apply the rule for the outermost operation first, then work inward to apply chain rule to any composite inner parts. For example, if the outermost operation is a product of two functions, apply product rule first, then use chain rule to differentiate any composite factors inside the product rule.
Worked Example
Find the derivative of .
- The outermost operation is multiplication of two functions, so apply product rule first:
- Differentiate with chain rule: outer , inner , so .
- Differentiate with chain rule: outer , inner , so .
- Substitute back into the product rule and simplify:
Exam tip: When combining multiple rules, write out each step one at a time instead of trying to write the final derivative in one step—partial credit is almost always available for correct intermediate steps on FRQ.
4. Chain Rule for Tangent and Normal Line Problems
A very common AP exam question asks you to find the equation of the tangent line (or slope of the normal line) to a composite function at a given point. To solve these problems, you need the chain rule to calculate the slope of the tangent line at the given point, since the function is composite. Recall that the tangent line at follows point-slope form: , where is the -coordinate of the point, and is the slope of the tangent, which requires chain rule to compute. For a normal line, the slope is the negative reciprocal of the tangent slope: .
Worked Example
Find the equation of the tangent line to at .
- First find the -coordinate of the point at : , so the point is .
- Rewrite the function to make differentiation easier: . Decompose into outer , inner .
- Apply the generalized power rule (chain rule for powers):
- Evaluate the slope at : .
- Write the tangent line in point-slope form: , or in slope-intercept form: .
Exam tip: Always calculate (the point) before calculating —this is an easy 1 point on FRQ that you can get even if you mess up the derivative calculation.
5. Common Pitfalls (and how to avoid them)
- Wrong move: Forgetting to multiply by , leaving off the inner derivative. For example, differentiating to get instead of . Why: Students stop after differentiating the outer function, forgetting the inner function changes with . Correct move: After differentiating the outer function, always ask: "Is the inner function anything other than just ?" If not, multiply by its derivative before moving on.
- Wrong move: Reversing outer/inner differentiation, getting instead of . For example, differentiating to get . Why: Confusion about which function to differentiate first. Correct move: Always explicitly label outer and inner on scratch paper, differentiate the outer function first, then multiply by the inner derivative.
- Wrong move: Using chain rule for a product of two functions instead of product rule. For example, differentiating to get . Why: Confusing composition with multiplication . Correct move: Before differentiating, confirm if the function is one function plugged into another, or two separate functions multiplied—only use chain rule for composition.
- Wrong move: Substituting into the inner function before differentiating for tangent line problems. For example, for at , substituting first to get , then differentiating to get slope 0. Why: Confusing when to substitute values. Correct move: Differentiate the entire function first with chain rule, then substitute into the derivative to get the slope.
- Wrong move: Applying chain rule before product/quotient rule when the outermost operation is a product/quotient. For example, differentiating by applying chain rule to the entire expression first. Why: Forgetting that outermost operation determines rule order. Correct move: Always apply the rule for the outermost operation first, then work inward to apply chain rule to composite inner parts.
6. Practice Questions (AP Calculus AB Style)
Question 1 (Multiple Choice)
Which of the following is equal to ? A) B) C) D)
Worked Solution: We first recognize is a composite function with outer and inner . By the chain rule, the derivative is . The derivative of is , and the derivative of is . Substituting back , we get the derivative . Correct answer: B.
Question 2 (Free Response)
Let . (a) Find . (b) Find all values of where the graph of has a horizontal tangent line. Justify your answer. (c) Find the slope of the normal line to at .
Worked Solution: (a) is a product of two functions, so we use product rule, with chain rule for : Simplify: .
(b) Horizontal tangents occur where . is never zero for real , so we solve . By quadratic formula: These are the only values where , so they are the locations of all horizontal tangent lines.
(c) Evaluate . The slope of the normal line is the negative reciprocal: .
Question 3 (Application / Real-World Style)
A population of bacteria in a controlled experiment grows according to the function , where is the number of bacteria after hours, . Find the rate of change of the bacterial population at hours, and include units in your answer.
Worked Solution: The rate of change of the population is given by , found via chain rule. Let , so . By chain rule: Evaluate at : .
Interpretation: After 3 hours, the bacterial population is increasing at a rate of approximately 1476 bacteria per hour.
7. Quick Reference Cheatsheet
| Category | Formula | Notes |
|---|---|---|
| Basic Chain Rule (Leibniz) | , | Easy to remember the "cancel " heuristic for composite functions |
| Basic Chain Rule (Prime) | Always evaluate at , not at | |
| Generalized Power Rule | Works for all real , including roots (fractional exponents) | |
| Generalized Trig | Same pattern for all 6 trig functions; use the correct basic derivative | |
| Generalized Exponential | The exponential term does not change, only multiply by inner derivative | |
| Generalized Logarithm | Only valid for , common on AP MCQ | |
| Tangent Line | requires chain rule for composite | |
| Normal Line Slope | Negative reciprocal of the tangent slope found via chain rule |
8. What's Next
The chain rule is the foundational prerequisite for all remaining topics in Unit 3, and it is required for nearly all integration and application topics later in the AP Calculus AB course. Next, you will apply the chain rule to implicit differentiation, where you differentiate implicit functions by applying the chain rule to terms with as a function of . Without correctly identifying when to multiply by for implicit terms, implicit differentiation will be impossible. The chain rule is also critical for related rates problems, a heavily tested FRQ topic on the AP exam. Later, when you learn u-substitution for integration, you will reverse the chain rule, so mastering it now makes integration much more intuitive.
Implicit differentiation Derivatives of inverse functions Related rates U-substitution