Grade 12 IB Math is live, AA and AI · see the IB course

Grade 12 · MCV4U · Calculus & Vectors

MCV4U: Chain Rule

The chain rule differentiates a function inside a function, like (x2−3x)7(x^2 - 3x)^7 or x5−4x\sqrt{x^5 - 4x}. Expanding those would take all day. The chain rule takes one line.

How It Works

If y=f(g(x))y = f(g(x)), then y′=f′(g(x))⋅g′(x)y' = f'(g(x)) \cdot g'(x).

In words: differentiate the outside function and leave the inside alone, then multiply by the derivative of the inside. The lesson's version for powers, which covers most MCV4U questions, is the power of a function rule:

ddx[g(x)]n=n[g(x)]n−1⋅g′(x)\frac{d}{dx}[g(x)]^n = n[g(x)]^{n - 1} \cdot g'(x)

Bring the power down, lower it by one, keep the bracket exactly as it was, and multiply by the derivative of what is inside the bracket.

In Leibniz notation it reads like fractions cancelling. If yy depends on uu and uu depends on xx, then dydx=dydu⋅dudx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}. That is the version for rates of change: how fast the area grows per second is how fast it grows per centimetre of radius, times how many centimetres per second.

Habits that save marks:

Rewrite roots and reciprocals as powers first. u=u12\sqrt{u} = u^{\frac{1}{2}} and 1u3=u−3\frac{1}{u^3} = u^{-3}.

Never forget the inner derivative. (3x+2)5(3x + 2)^5 differentiates to 5(3x+2)4⋅35(3x + 2)^4 \cdot 3, and dropping that 33 is the most common chain rule mistake on any test.

When the chain rule sits inside a product or quotient, do the big rule first and the chain rule for each piece. Then factor out the common brackets, because the answer usually wants a factored form.

Unsure whether you need it? If there is anything other than plain xx inside a bracket, a root or a denominator, you need it.

5 Worked Examples

Easy first, test level last. Try each one on paper, then open the solution.

  1. Easy

    Differentiate y=(3x+2)5y = (3x + 2)^5.
    Show solution
    1. Outside: the 5th power. Inside: 3x+23x + 2, with derivative 33.
    2. y′=5(3x+2)4⋅3=15(3x+2)4y' = 5(3x + 2)^4 \cdot 3 = 15(3x + 2)^4.

    Answer: y′=15(3x+2)4y' = 15(3x + 2)^4

  2. Easy

    Differentiate y=4x2+1y = \sqrt{4x^2 + 1}.
    Show solution
    1. Rewrite as a power: y=(4x2+1)12y = (4x^2 + 1)^{\frac{1}{2}}.
    2. y′=12(4x2+1)−12⋅8xy' = \frac{1}{2}(4x^2 + 1)^{-\frac{1}{2}} \cdot 8x.
    3. Simplify: y′=4x4x2+1y' = \frac{4x}{\sqrt{4x^2 + 1}}.

    Answer: y′=4x4x2+1y' = \frac{4x}{\sqrt{4x^2 + 1}}

  3. Medium

    Differentiate y=2(x2−5x)3y = \frac{2}{(x^2 - 5x)^3}.
    Show solution
    1. Rewrite as a power: y=2(x2−5x)−3y = 2(x^2 - 5x)^{-3}.
    2. y′=2⋅(−3)(x2−5x)−4⋅(2x−5)y' = 2 \cdot (-3)(x^2 - 5x)^{-4} \cdot (2x - 5).
    3. Simplify: y′=−6(2x−5)(x2−5x)4y' = \frac{-6(2x - 5)}{(x^2 - 5x)^4}.

    Answer: y′=−6(2x−5)(x2−5x)4y' = \frac{-6(2x - 5)}{(x^2 - 5x)^4}

  4. Medium

    Differentiate y=x2(2x−1)4y = x^2(2x - 1)^4 and factor your answer.
    Show solution
    1. It is a product, so product rule first: y′=2x(2x−1)4+x2⋅ddx(2x−1)4y' = 2x(2x - 1)^4 + x^2 \cdot \frac{d}{dx}(2x - 1)^4.
    2. Chain rule on the second piece: ddx(2x−1)4=4(2x−1)3⋅2=8(2x−1)3\frac{d}{dx}(2x - 1)^4 = 4(2x - 1)^3 \cdot 2 = 8(2x - 1)^3.
    3. So y′=2x(2x−1)4+8x2(2x−1)3y' = 2x(2x - 1)^4 + 8x^2(2x - 1)^3.
    4. Factor out 2x(2x−1)32x(2x - 1)^3: y′=2x(2x−1)3[(2x−1)+4x]=2x(2x−1)3(6x−1)y' = 2x(2x - 1)^3[(2x - 1) + 4x] = 2x(2x - 1)^3(6x - 1).

    Answer: y′=2x(2x−1)3(6x−1)y' = 2x(2x - 1)^3(6x - 1)

  5. Test level

    Find the equation of the tangent line to y=(xx+1)3y = \left(\frac{x}{x + 1}\right)^3 at x=1x = 1.
    Show solution
    1. Chain rule outside: y′=3(xx+1)2⋅ddx(xx+1)y' = 3\left(\frac{x}{x + 1}\right)^2 \cdot \frac{d}{dx}\left(\frac{x}{x + 1}\right).
    2. Quotient rule inside: (x+1)(1)−x(1)(x+1)2=1(x+1)2\frac{(x + 1)(1) - x(1)}{(x + 1)^2} = \frac{1}{(x + 1)^2}.
    3. Multiply: y′=3x2(x+1)2⋅1(x+1)2=3x2(x+1)4y' = \frac{3x^2}{(x + 1)^2} \cdot \frac{1}{(x + 1)^2} = \frac{3x^2}{(x + 1)^4}.
    4. Slope at x=1x = 1: 324=316\frac{3}{2^4} = \frac{3}{16}. Point: y=(12)3=18y = \left(\frac{1}{2}\right)^3 = \frac{1}{8}.
    5. Point-slope: y−18=316(x−1)y - \frac{1}{8} = \frac{3}{16}(x - 1), so y=316x−116y = \frac{3}{16}x - \frac{1}{16}.

    Answer: y=316x−116y = \frac{3}{16}x - \frac{1}{16}

Learn It on Martian Lab

Martian Lab teaches this in the Chain Rule lesson of its MCV4U Derivatives unit. Watch it, then take the Derivatives practice tests to see if it stuck.

Watch the Chain Rule lesson free

Start Practicing

No credit card required to start.

Get started