AP · Calculus AB · The Chain Rule and Implicit Differentiation

The Chain Rule

17 min readUpdated November 30, 2026FreeAP Calculus AB, Chain Rule, Implicit and Inverse Derivatives

The chain rule differentiates a composite function, one function applied to the output of another: ddx[f(g(x))]=f′(g(x))⋅g′(x)\dfrac{d}{dx}\big[f(g(x))\big] = f'(g(x)) \cdot g'(x). In words, you differentiate the outside function with the inside left alone, then multiply by the derivative of the inside. It works for chains of any length and inside the product and quotient rules.

Quick check

  1. What is the derivative of x2cos⁡xx^2 \cos x?Show answerHide answer

    2xcos⁡x−x2sin⁡x2x \cos x - x^2 \sin x, by the product rule. See the note on the product rule and the quotient rule if that step is shaky.

  2. If f(x)=x3f(x) = x^3 and g(x)=2x+1g(x) = 2x + 1, what is f(g(x))f(g(x))?Show answerHide answer

    (2x+1)3(2x + 1)^3. The output of gg becomes the input of ff.

  3. Is the derivative of (2x+1)3(2x + 1)^3 equal to 3(2x+1)23(2x + 1)^2?Show answerHide answer

    No. That is only the derivative of the outside. You must also multiply by 22, the derivative of 2x+12x + 1, which gives 6(2x+1)26(2x + 1)^2.

Know these already? Jump to the practice questions

What you'll be able to do

  • Identify the inside and outside functions of a composite.
  • Calculate derivatives of composites using f′(g(x))⋅g′(x)f'(g(x)) \cdot g'(x) or dydu⋅dudx\dfrac{dy}{du} \cdot \dfrac{du}{dx}.
  • Apply the chain rule more than once when three functions are chained together.
  • Combine the chain rule with the product and quotient rules.
  • Evaluate the derivative of a composite at a point from a table of values.

Key terms

Composite function

A function of the form f(g(x))f(g(x)), where the output of gg is fed into ff.

In plain English
A function inside another function.
Don't write
f(g(x))=f(x)⋅g(x)f(g(x)) = f(x) \cdot g(x); a composite is not a product.

Inside and outside functions

In f(g(x))f(g(x)), gg is the inside function and ff is the outside function.

In plain English
The outside is the last thing you would do if you worked out the value with a calculator.
Don't write
"the inside of sin⁡2x\sin^2 x is x2x^2"; sin⁡2x\sin^2 x means (sin⁡x)2(\sin x)^2, so the inside is sin⁡x\sin x.

Chain rule

For differentiable ff and gg, the derivative of f(g(x))f(g(x)) is f′(g(x))⋅g′(x)f'(g(x)) \cdot g'(x).

In plain English
Derivative of the outside, with the inside unchanged, times the derivative of the inside.
Don't write
f′(g′(x))f'(g'(x)); the inside stays as g(x)g(x) in the first factor.

How do you spot the inside and outside functions?

Ask what you would calculate last if you had a value of xx. That last step is the outside function; whatever it acts on is the inside.

ExpressionLast step (outside)Inside
sin⁡(x2)\sin(x^2)sin⁡u\sin uu=x2u = x^2
sin⁡2x=(sin⁡x)2\sin^2 x = (\sin x)^2u2u^2u=sin⁡xu = \sin x
e3xe^{3x}eue^uu=3xu = 3x
x2+1\sqrt{x^2 + 1}u\sqrt{u}u=x2+1u = x^2 + 1
ln⁡(cos⁡x)\ln(\cos x)ln⁡u\ln uu=cos⁡xu = \cos x

The letter uu is a label for the inside. Naming it lets you see a familiar outside function, such as u2u^2 or eue^u, whose derivative you already know.

If the "inside" is just xx, as in sin⁡x\sin x, there is no chain and no extra factor.

Check yourself

What are the inside and outside functions of ln⁡(x2+4)\ln(x^2 + 4)?
Show answerHide answer

The outside is ln⁡u\ln u and the inside is u=x2+4u = x^2 + 4. You would add 44 to x2x^2 first, and take the natural log last.

What does the chain rule say?

Learn this: in function notation,

ddx[f(g(x))]=f′(g(x))⋅g′(x)\frac{d}{dx}\big[f(g(x))\big] = f'(g(x)) \cdot g'(x)

and in Leibniz notation, with y=f(u)y = f(u) and u=g(x)u = g(x),

dydx=dydu⋅dudx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}

The two say the same thing. Rates multiply: if uu changes 33 times as fast as xx, and yy changes 22 times as fast as uu, then yy changes 66 times as fast as xx.

Take y=(x2+5)4y = (x^2 + 5)^4. The outside is u4u^4, with derivative 4u34u^3; the inside is u=x2+5u = x^2 + 5, with derivative 2x2x. So

dydx=4(x2+5)3⋅2x=8x(x2+5)3\frac{dy}{dx} = 4(x^2 + 5)^3 \cdot 2x = 8x(x^2 + 5)^3

Three patterns come up so often that they are worth knowing on sight:

  • ddx[eg(x)]=eg(x)⋅g′(x)\dfrac{d}{dx}\big[e^{g(x)}\big] = e^{g(x)} \cdot g'(x)
  • ddx[ln⁡g(x)]=g′(x)g(x)\dfrac{d}{dx}\big[\ln g(x)\big] = \dfrac{g'(x)}{g(x)}
  • ddx[sin⁡(kx)]=kcos⁡(kx)\dfrac{d}{dx}\big[\sin(kx)\big] = k\cos(kx), and ddx[cos⁡(kx)]=−ksin⁡(kx)\dfrac{d}{dx}\big[\cos(kx)\big] = -k\sin(kx)

Key idea

Differentiate the outside with the inside left untouched, then multiply by the derivative of the inside.

Check yourself

Differentiate y=e−3xy = e^{-3x}.
Show answerHide answer

−3e−3x-3e^{-3x}. The outside eue^u stays as e−3xe^{-3x}, and the inside −3x-3x has derivative −3-3.

What if three functions are chained together?

Apply the rule once for each layer, working from the outside in, and multiply all the factors.

Take y=sin⁡3(4x)y = \sin^3(4x), which means (sin⁡(4x))3\big(\sin(4x)\big)^3. There are three layers: cubing, then sine, then 4x4x.

dydx=3sin⁡2(4x)⏟cube⋅cos⁡(4x)⏟sine⋅4⏟4x=12sin⁡2(4x)cos⁡(4x)\frac{dy}{dx} = \underbrace{3\sin^2(4x)}_{\text{cube}} \cdot \underbrace{\cos(4x)}_{\text{sine}} \cdot \underbrace{4}_{4x} = 12\sin^2(4x)\cos(4x)

Each factor is the derivative of one layer, with everything inside that layer left as it was. A useful self-check: count the layers, then count the factors in your answer. They should match.

Examiner's eye

Points are lost when the innermost factor, such as the 44 here, is missing. Count the layers and check that you have one factor for each.

Check yourself

Differentiate y=cos⁡2(3x)y = \cos^2(3x).
Show answerHide answer

−6sin⁡(3x)cos⁡(3x)-6\sin(3x)\cos(3x). The factors are 2cos⁡(3x)2\cos(3x) for the square, −sin⁡(3x)-\sin(3x) for the cosine and 33 for the 3x3x.

How does the chain rule fit inside the product and quotient rules?

Decide the overall structure first. If the expression is a product or a quotient overall, use that rule, and use the chain rule whenever one of the pieces is itself a composite.

Take y=x2e5xy = x^2 e^{5x}. Overall it is a product, with u=x2u = x^2 and v=e5xv = e^{5x}. The piece vv needs the chain rule: v′=5e5xv' = 5e^{5x}. Then

dydx=2x⋅e5x+x2⋅5e5x=xe5x(2+5x)\frac{dy}{dx} = 2x \cdot e^{5x} + x^2 \cdot 5e^{5x} = xe^{5x}(2 + 5x)

The same idea works for a quotient. For y=sin⁡(2x)xy = \dfrac{\sin(2x)}{x}, the top has derivative 2cos⁡(2x)2\cos(2x) by the chain rule, so dydx=2xcos⁡(2x)−sin⁡(2x)x2\dfrac{dy}{dx} = \dfrac{2x\cos(2x) - \sin(2x)}{x^2}.

Check yourself

Differentiate y=xsin⁡(2x)y = x\sin(2x).
Show answerHide answer

sin⁡(2x)+2xcos⁡(2x)\sin(2x) + 2x\cos(2x). It is a product, and the derivative of sin⁡(2x)\sin(2x) is 2cos⁡(2x)2\cos(2x) by the chain rule.

How do you use the chain rule with a table?

If h(x)=f(g(x))h(x) = f(g(x)), then h′(a)=f′(g(a))⋅g′(a)h'(a) = f'(g(a)) \cdot g'(a). Read it in two moves:

  1. Find g(a)g(a) in the table. This is a new input.
  2. Look up f′f' at that new input, then multiply by g′(a)g'(a).

Suppose g(3)=1g(3) = 1, g′(3)=4g'(3) = 4 and f′(1)=−2f'(1) = -2. Then h′(3)=f′(g(3))⋅g′(3)=f′(1)⋅4=−8h'(3) = f'(g(3)) \cdot g'(3) = f'(1) \cdot 4 = -8. Notice that f′(3)f'(3) is never used. The outside derivative is evaluated at the output of the inside, not at aa.

Check yourself

With the same values, why is f′(3)⋅g′(3)f'(3) \cdot g'(3) the wrong calculation for h′(3)h'(3)?
Show answerHide answer

Because ff never receives the input 33. It receives g(3)=1g(3) = 1, so its derivative must be taken at 11.

Worked example 1: A square root of a quadratic

Question: Find dydx\dfrac{dy}{dx} for y=3x2+1y = \sqrt{3x^2 + 1}.

What tells you the method

The square root acts on 3x2+13x^2 + 1, not on xx alone, so this is a composite.

  1. Step 1: Rewrite as a power.

    y=(3x2+1)1/2y = (3x^2 + 1)^{1/2}, with outside u1/2u^{1/2} and inside u=3x2+1u = 3x^2 + 1.

    Why

    The power rule then handles the outside.

  2. Step 2: Differentiate the outside.

    dydu=12u−1/2=12(3x2+1)−1/2\dfrac{dy}{du} = \dfrac{1}{2}u^{-1/2} = \dfrac{1}{2}(3x^2 + 1)^{-1/2}.

    Why

    The inside stays exactly as it is in this factor.

  3. Step 3: Multiply by the derivative of the inside.

    dudx=6x\dfrac{du}{dx} = 6x, so dydx=12(3x2+1)−1/2⋅6x=3x3x2+1\dfrac{dy}{dx} = \dfrac{1}{2}(3x^2 + 1)^{-1/2} \cdot 6x = \dfrac{3x}{\sqrt{3x^2 + 1}}.

    Why

    dydx=dydu⋅dudx\dfrac{dy}{dx} = \dfrac{dy}{du} \cdot \dfrac{du}{dx}.

Check it

The inside 3x2+13x^2 + 1 is smallest at x=0x = 0, so yy has its lowest point there and the slope should be 00. The formula gives 01=0\dfrac{0}{1} = 0.

Answer

dydx=3x3x2+1\dfrac{dy}{dx} = \dfrac{3x}{\sqrt{3x^2 + 1}}

Worked example 2: Three layers

Question: Let y=esin⁡(2x)y = e^{\sin(2x)}. Find dydx\dfrac{dy}{dx}, and its value at x=0x = 0.

What tells you the method

There are three layers: the exponential, the sine and 2x2x.

  1. Step 1: Outside layer.

    The derivative of eue^u is eue^u, giving esin⁡(2x)e^{\sin(2x)}.

    Why

    The outside derivative keeps everything inside it unchanged.

  2. Step 2: Middle layer.

    The derivative of sin⁡(2x)\sin(2x) with respect to its own inside is cos⁡(2x)\cos(2x).

    Why

    The next layer in is the sine.

  3. Step 3: Innermost layer.

    The derivative of 2x2x is 22. Multiplying the three factors gives dydx=2cos⁡(2x) esin⁡(2x)\dfrac{dy}{dx} = 2\cos(2x)\,e^{\sin(2x)}.

    Why

    Three layers give three factors.

  4. Step 4: Evaluate at x=0x = 0.

    2cos⁡0⋅esin⁡0=2⋅1⋅1=22\cos 0 \cdot e^{\sin 0} = 2 \cdot 1 \cdot 1 = 2.

    Why

    cos⁡0=1\cos 0 = 1 and e0=1e^0 = 1.

Check it

Near x=0x = 0, sin⁡(2x)≈2x\sin(2x) \approx 2x, so y≈e2xy \approx e^{2x}, whose slope at 00 is 22. That matches.

Answer

dydx=2cos⁡(2x) esin⁡(2x)\dfrac{dy}{dx} = 2\cos(2x)\,e^{\sin(2x)}, and its value at x=0x = 0 is 22.

Worked example 3: Composites from a table

Question: The functions ff and gg are differentiable, with values in the table.

xxf(x)f(x)f′(x)f'(x)g(x)g(x)g′(x)g'(x)
1133−2-22255
22004411−3-3

(a) Let h(x)=f(g(x))h(x) = f(g(x)). Find h′(1)h'(1). (b) Let k(x)=(g(x))3k(x) = \big(g(x)\big)^3. Find k′(2)k'(2). (c) Let m(x)=xf(2x)m(x) = x f(2x). Find m′(1)m'(1).

What tells you the method

Each function is a composite, and mm is also a product, so the chain rule sits inside the product rule there.

  1. Step 1: Chain rule for hh.

    h′(1)=f′(g(1))⋅g′(1)=f′(2)⋅5=4⋅5=20h'(1) = f'(g(1)) \cdot g'(1) = f'(2) \cdot 5 = 4 \cdot 5 = 20.

    Why

    g(1)=2g(1) = 2, so the outside derivative is read at x=2x = 2, not at x=1x = 1.

  2. Step 2: Chain rule for kk.

    k′(x)=3(g(x))2g′(x)k'(x) = 3\big(g(x)\big)^2 g'(x), so k′(2)=3(1)2(−3)=−9k'(2) = 3(1)^2(-3) = -9.

    Why

    The outside is u3u^3 and the inside is g(x)g(x).

  3. Step 3: Product rule with a chain for mm.

    m′(x)=1⋅f(2x)+x⋅f′(2x)⋅2m'(x) = 1 \cdot f(2x) + x \cdot f'(2x) \cdot 2, so m′(1)=f(2)+1⋅f′(2)⋅2=0+8=8m'(1) = f(2) + 1 \cdot f'(2) \cdot 2 = 0 + 8 = 8.

    Why

    The derivative of f(2x)f(2x) is f′(2x)⋅2f'(2x) \cdot 2 by the chain rule.

Check it

In each part, the input to ff or f′f' is the output of the inside function: g(1)=2g(1) = 2 in (a) and 2x=22x = 2 in (c). Neither part uses the row for ff at x=1x = 1.

Answer

(a) h′(1)=20h'(1) = 20 (b) k′(2)=−9k'(2) = -9 (c) m′(1)=8m'(1) = 8

Your turn

Question: Let y=(x2−3x)5y = (x^2 - 3x)^5. Find dydx\dfrac{dy}{dx} and its value at x=1x = 1.

  1. Step 1:

    The outside is u5u^5, with derivative 5u45u^4; the inside is u=x2−3xu = x^2 - 3x.

  2. Step 2: Your go: multiply by the derivative of the inside, then substitute x=1x = 1.

Show the full solutionHide the solution

The inside has derivative 2x−32x - 3, so dydx=5(x2−3x)4(2x−3)\dfrac{dy}{dx} = 5(x^2 - 3x)^4(2x - 3). At x=1x = 1: 5(1−3)4(2−3)=5⋅16⋅(−1)=−805(1 - 3)^4(2 - 3) = 5 \cdot 16 \cdot (-1) = -80.

Answer: dydx=5(x2−3x)4(2x−3)\dfrac{dy}{dx} = 5(x^2 - 3x)^4(2x - 3), and its value at x=1x = 1 is −80-80.

Traps

Trap

Writing the derivative of sin⁡(x2)\sin(x^2) as cos⁡(x2)\cos(x^2).

It seems right because the derivative of sin⁡\sin is cos⁡\cos. But that is only the outside layer: the inside x2x^2 changes too, so you multiply by its derivative. The result is 2xcos⁡(x2)2x\cos(x^2).

Check yourself

Which is the derivative of ex3e^{x^3}: ex3e^{x^3} or 3x2ex33x^2 e^{x^3}?
Show answerHide answer

3x2ex33x^2 e^{x^3}. The first one leaves out the derivative of the inside, x3x^3.

Trap

Writing the derivative of sin⁡(x2)\sin(x^2) as cos⁡(2x)\cos(2x).

It seems right because both functions got differentiated. But the inside stays unchanged inside the outside derivative; its derivative goes outside as a separate factor: cos⁡(x2)⋅2x\cos(x^2) \cdot 2x.

Check yourself

Which is the derivative of (x3+1)2(x^3 + 1)^2: 2(3x2)2(3x^2) or 2(x3+1)⋅3x22(x^3 + 1) \cdot 3x^2?
Show answerHide answer

2(x3+1)⋅3x22(x^3 + 1) \cdot 3x^2. The first one replaces the inside by its derivative instead of multiplying by it.

Trap

Using f′(a)f'(a) for the derivative of f(g(x))f(g(x)) at x=ax = a.

It seems right because the question asks about x=ax = a. But ff receives the input g(a)g(a), so its derivative must be read at g(a)g(a): h′(a)=f′(g(a)) g′(a)h'(a) = f'(g(a))\,g'(a).

Check yourself

If g(0)=4g(0) = 4, g′(0)=2g'(0) = 2, f′(0)=7f'(0) = 7 and f′(4)=−1f'(4) = -1, what is the derivative of f(g(x))f(g(x)) at x=0x = 0?
Show answerHide answer

−2-2. It is f′(g(0))⋅g′(0)=f′(4)⋅2=−2f'(g(0)) \cdot g'(0) = f'(4) \cdot 2 = -2; the value f′(0)=7f'(0) = 7 is not needed.

What's examined

The chain rule is part of Unit 3 of the AP® Calculus AB exam, and later topics rely on it: related rates, implicit differentiation, motion and integration by substitution all use it. It can appear in multiple-choice questions and in free-response parts, including composites built from a table of values or a graph. Expect "Find", "Evaluate" and "Write an equation for the line tangent to…". There is no formula sheet, so learn the rule in both notations. In free response, write the chain-rule expression with its values substituted, such as f′(g(1))⋅g′(1)=f′(2)⋅5f'(g(1)) \cdot g'(1) = f'(2) \cdot 5, before the final number.

Practice questions

  1. Recall Which of the following is ddx[cos⁡(5x)]\dfrac{d}{dx}\big[\cos(5x)\big]?
  • A) −sin⁡(5x)-\sin(5x)
  • B) −5sin⁡(5x)-5\sin(5x)
  • C) 5sin⁡(5x)5\sin(5x)
  • D) −sin⁡5-\sin 5
Show answer

Answer: B, −5sin⁡(5x)-5\sin(5x).

Marking points:

  • Outside derivative −sin⁡(5x)-\sin(5x), times the inside derivative 55.
  • A leaves out the inside derivative, C loses the minus sign from the derivative of cos⁡\cos, and D replaces the inside 5x5x by its derivative.
  1. Recall Differentiate y=ex2−4xy = e^{x^2 - 4x}.
Show answer

Answer: dydx=(2x−4)ex2−4x\dfrac{dy}{dx} = (2x - 4)e^{x^2 - 4x}

Marking points:

  • The outside is eue^u, whose derivative leaves ex2−4xe^{x^2 - 4x} unchanged.
  • Multiply by the derivative of the inside, 2x−42x - 4.
  1. Apply If y=(4−x3)6y = (4 - x^3)^6, which of the following is dydx\dfrac{dy}{dx}?
  • A) 6(4−x3)56(4 - x^3)^5
  • B) 6(−3x2)56(-3x^2)^5
  • C) 18x2(4−x3)518x^2(4 - x^3)^5
  • D) −18x2(4−x3)5-18x^2(4 - x^3)^5
Show answer

Answer: D, −18x2(4−x3)5-18x^2(4 - x^3)^5.

Marking points:

  • Outside: 6(4−x3)56(4 - x^3)^5; inside derivative: −3x2-3x^2; product: −18x2(4−x3)5-18x^2(4 - x^3)^5.
  • A leaves out the inside derivative, B puts the inside derivative in place of the inside, and C loses the minus sign of −3x2-3x^2.
  1. Apply Let f(x)=x3sin⁡(2x)f(x) = x^3 \sin(2x). Find f′(x)f'(x), and find the exact value of f′ ⁣(π4)f'\!\left(\dfrac{\pi}{4}\right).
Show answer

Answer: f′(x)=3x2sin⁡(2x)+2x3cos⁡(2x)f'(x) = 3x^2\sin(2x) + 2x^3\cos(2x), and f′ ⁣(π4)=3π216f'\!\left(\dfrac{\pi}{4}\right) = \dfrac{3\pi^2}{16}, which is about 1.8511.851.

Marking points:

  • Product rule with u=x3u = x^3 and v=sin⁡(2x)v = \sin(2x); the chain rule gives v′=2cos⁡(2x)v' = 2\cos(2x).
  • At x=π4x = \dfrac{\pi}{4}: sin⁡π2=1\sin\dfrac{\pi}{2} = 1 and cos⁡π2=0\cos\dfrac{\pi}{2} = 0, so f′ ⁣(π4)=3(π4)2=3π216f'\!\left(\dfrac{\pi}{4}\right) = 3\left(\dfrac{\pi}{4}\right)^2 = \dfrac{3\pi^2}{16}.
  1. Apply The functions ff and gg are differentiable, with values in the table. Let h(x)=g(f(x))h(x) = g(f(x)). What is the value of h′(2)h'(2)?
xxf(x)f(x)f′(x)f'(x)g(x)g(x)g′(x)g'(x)
225533−1-144
5577110022
  • A) 00
  • B) 22
  • C) 66
  • D) 1212
Show answer

Answer: C, 66.

Marking points:

  • h′(2)=g′(f(2))⋅f′(2)=g′(5)⋅3=2⋅3=6h'(2) = g'(f(2)) \cdot f'(2) = g'(5) \cdot 3 = 2 \cdot 3 = 6.
  • A uses g(5)g(5) instead of g′(5)g'(5), B leaves out the factor f′(2)f'(2), and D reads g′g' at 22 instead of at f(2)=5f(2) = 5.
  1. Exam-style What is the slope of the line tangent to the graph of y=ln⁡(cos⁡x)y = \ln(\cos x) at x=π3x = \dfrac{\pi}{3}?
  • A) −3-\sqrt{3}
  • B) −233-\dfrac{2\sqrt{3}}{3}
  • C) 3\sqrt{3}
  • D) 22
Show answer

Answer: A, −3-\sqrt{3}.

Marking points:

  • dydx=−sin⁡xcos⁡x=−tan⁡x\dfrac{dy}{dx} = \dfrac{-\sin x}{\cos x} = -\tan x, and −tan⁡π3=−3-\tan\dfrac{\pi}{3} = -\sqrt{3}.
  • B divides 11 by the inside derivative −sin⁡x-\sin x instead of by cos⁡x\cos x, C loses the minus sign, and D leaves out the inside derivative, giving 1cos⁡x\dfrac{1}{\cos x}.
  1. Exam-style Let f(x)=cos⁡2(πx)f(x) = \cos^2(\pi x). (a) Find f′(x)f'(x). (b) Find the exact value of f′ ⁣(14)f'\!\left(\dfrac{1}{4}\right). (c) Write an equation for the line tangent to the graph of ff at x=14x = \dfrac{1}{4}.
Show answer

Answer: (a) f′(x)=−2πsin⁡(πx)cos⁡(πx)f'(x) = -2\pi \sin(\pi x) \cos(\pi x) (b) f′ ⁣(14)=−πf'\!\left(\dfrac{1}{4}\right) = -\pi (c) y−12=−π(x−14)y - \dfrac{1}{2} = -\pi\left(x - \dfrac{1}{4}\right), which is y=−πx+π4+12y = -\pi x + \dfrac{\pi}{4} + \dfrac{1}{2}

Marking points:

  • Three layers: 2cos⁡(πx)2\cos(\pi x) for the square, −sin⁡(πx)-\sin(\pi x) for the cosine and π\pi for πx\pi x.
  • At x=14x = \dfrac{1}{4}: sin⁡π4=cos⁡π4=22\sin\dfrac{\pi}{4} = \cos\dfrac{\pi}{4} = \dfrac{\sqrt{2}}{2}, so f′ ⁣(14)=−2π⋅12=−πf'\!\left(\dfrac{1}{4}\right) = -2\pi \cdot \dfrac{1}{2} = -\pi.
  • f ⁣(14)=(22)2=12f\!\left(\dfrac{1}{4}\right) = \left(\dfrac{\sqrt{2}}{2}\right)^2 = \dfrac{1}{2}, so the tangent passes through (14,12)\left(\dfrac{1}{4}, \dfrac{1}{2}\right) with slope −π-\pi.

Key points

Recall, then reveal

Say the main points from memory first, then check them.

Show key pointsHide key points
  • The outside function is the last operation; the inside is what it acts on.
  • ddx[f(g(x))]=f′(g(x)) g′(x)\dfrac{d}{dx}\big[f(g(x))\big] = f'(g(x))\,g'(x), which is dydu⋅dudx\dfrac{dy}{du} \cdot \dfrac{du}{dx} in Leibniz notation.
  • One factor per layer: a chain of three functions gives three factors.
  • Choose the overall rule first (product, quotient or chain), then use the chain rule on any composite piece.
  • From a table, read g(a)g(a) first, then f′f' at that value: h′(a)=f′(g(a)) g′(a)h'(a) = f'(g(a))\,g'(a).

Keep learning

Explore AP Calculus AB tutoring →

View the full Calculus AB syllabus →

More in this unit

Chain Rule, Implicit and Inverse Derivatives

All The Chain Rule and Implicit Differentiation notes

Part of Novark's AP Calculus AB notes