Study Guide

Chain Rule for AP Calculus AB

AP Calculus ABΒ· AP Calculus AB CED β€” Differentiation: Composite, Implicit, and Inverse FunctionsΒ· 14 min read

1. What Is the Chain Rule?β˜…β˜†β˜†β˜†β˜†β± 3 min

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 . This topic makes up roughly 4-6% of total AP Calculus AB exam points, appearing in both multiple-choice and free-response sections, almost always combined with other differentiation rules.

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 on the AP exam are composite, so you cannot rely on basic differentiation rules alone.

πŸ“˜ Definition

Chain Rule

A differentiation rule for composite functions that multiplies the derivative of the outer function (evaluated at the inner function) by the derivative of the inner function.

Example:

requires the chain rule to differentiate correctly.

2. Basic Chain Rule: Decomposition and Core Formulaβ˜…β˜…β˜†β˜†β˜†β± 4 min

To apply the chain rule correctly, you first need to correctly decompose a composite function into its outer and inner components. A simple guideline: 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 , inner function is , outer function is .

dydx=dyduβ‹…dudx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}
ddx[f(g(x))]=fβ€²(g(x))β‹…gβ€²(x)\frac{d}{dx}\left[f(g(x))\right] = f'(g(x)) \cdot g'(x)

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 .

  1. 1

    Decompose into outer and inner .

  2. 2

    Differentiate outer with respect to :

    dydu=4u3\frac{dy}{du} = 4u^3
  3. 3

    Differentiate inner with respect to :

    dudx=6x2βˆ’5\frac{du}{dx} = 6x^2 - 5
  4. 4

    Multiply and substitute back :

    dydx=4(2x3βˆ’5x+1)3(6x2βˆ’5)\frac{dy}{dx} = 4(2x^3 - 5x + 1)^3(6x^2 - 5)
  5. 5

    Simplify (optional for AP):

    (24x2βˆ’20)(2x3βˆ’5x+1)3(24x^2 - 20)(2x^3 - 5x + 1)^3

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β˜…β˜…β˜…β˜†β˜†β± 4 min

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 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. If the outermost operation is a product, apply product rule first, then use chain rule for any composite factors.

πŸ“ Worked Example

Find the derivative of .

  1. 1

    Outermost operation is multiplication, so apply product rule first:

    fβ€²(x)=ddx[e3x]β‹…cos⁑(2x)+e3xβ‹…ddx[cos⁑(2x)]f'(x) = \frac{d}{dx}[e^{3x}] \cdot \cos(2x) + e^{3x} \cdot \frac{d}{dx}[\cos(2x)]
  2. 2

    Differentiate with chain rule (outer , inner ):

    ddx[e3x]=3e3x\frac{d}{dx}[e^{3x}] = 3e^{3x}
  3. 3

    Differentiate with chain rule (outer , inner ):

    ddx[cos⁑(2x)]=βˆ’2sin⁑(2x)\frac{d}{dx}[\cos(2x)] = -2\sin(2x)
  4. 4

    Substitute back and simplify:

    fβ€²(x)=e3x(3cos⁑(2x)βˆ’2sin⁑(2x))f'(x) = e^{3x}\left(3\cos(2x) - 2\sin(2x)\right)

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β˜…β˜…β˜…β˜†β˜†β± 3 min

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. You need the chain rule to calculate the tangent slope, since the function is composite. Recall tangent line at follows point-slope form: . For a normal line, slope is the negative reciprocal: .

πŸ“ Worked Example

Find the equation of the tangent line to at .

  1. 1

    Find the -coordinate at : , so the point is .

  2. 2

    Rewrite as , decompose into outer , inner .

  3. 3

    Apply generalized power rule:

    yβ€²=4x4x2+9y' = \frac{4x}{\sqrt{4x^2 + 9}}
  4. 4

    Evaluate slope at :

    yβ€²(2)=85y'(2) = \frac{8}{5}
  5. 5

    Write tangent line in point-slope then slope-intercept form:

    yβˆ’5=85(xβˆ’2)β€…β€ŠβŸΉβ€…β€Šy=85x+95y - 5 = \frac{8}{5}(x - 2) \implies y = \frac{8}{5}x + \frac{9}{5}

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. AP-Style Concept Checkβ˜…β˜…β˜…β˜…β˜†β± 2 min

βœ“ Quick check

Test your understanding with this multiple-choice question:

  1. Which of the following is equal to ?

    • A)

    • B)

    • C)

    • D)

    Reveal answer
    B β€”

    Correct! You correctly identified outer and inner , then applied the chain rule to get the result.

6. Common Pitfalls

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.

7. Quick Reference Cheatsheet

Category

Formula

Notes

Basic Chain Rule (Leibniz)

,

Easy 'cancel ' heuristic for composite functions

Basic Chain Rule (Prime)

Always evaluate at , not at

Generalized Power Rule

Works for all real , including roots

Generalized Trig

Same pattern for all 6 trig functions; use correct basic derivative

Generalized Exponential

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

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2023 Β· MCQ

    Differentiate composite trigonometric function

  • 2022 Β· FRQ

    Tangent line to composite function

  • 2021 Β· MCQ

    Horizontal tangent of composite exponential

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 and builds a strong foundation for exam success.