The chain rule
Composite functions, the chain rule dy/dx = dy/du × du/dx, powers of a linear function, and tangents using the chain rule.
You could differentiate $(2x + 1)^{10}$ by expanding it into eleven terms first, but nobody wants to. The chain rule handles any "function of a function" directly. It is the most used rule in calculus, and in Year 12 you will run it backwards to integrate.
Inside and outside
In $y = (x^2 + 1)^5$, two things happen to $x$ in turn. First the inside function makes $u = x^2 + 1$. Then the outside function makes $y = u^5$. A function built this way is called a composite function.
The chain rule
Think of gears. If $y$ changes $5$ times as fast as $u$, and $u$ changes $3$ times as fast as $x$, then $y$ changes $5 \times 3 = 15$ times as fast as $x$. Rates of change multiply.
In words: differentiate the outside (leaving the inside alone), then multiply by the derivative of the inside. The $du$'s look as if they cancel, which is a good way to remember it, although it isn't a proof.
Differentiate $y = (x^2 - 3x)^4$.
Powers of a linear function
When the inside is linear, $u = ax + b$, its derivative is just the number $a$. That gives a shortcut you can do in your head.
Differentiate (a) $y = (4x - 1)^5$ (b) $y = (2 - 3x)^6$.
Using the chain rule for tangents
Find the equation of the tangent to $y = (3x - 5)^3$ at the point where $x = 2$.
Your turn
Differentiate $y = (x^3 + 2x)^5$.
Show the working
Inside $u = x^3 + 2x$ with $\dfrac{du}{dx} = 3x^2 + 2$. Outside $y = u^5$ with $\dfrac{dy}{du} = 5u^4$. So $\dfrac{dy}{dx} = 5(x^3 + 2x)^4(3x^2 + 2)$.
$\dfrac{d}{dx}(3x - 1)^4 =$
$4(3x - 1)^3 \times 3 = 12(3x - 1)^3$. The first option forgets to multiply by $3$.
$y = (2x + 1)^3$. Find $\dfrac{dy}{dx}$ at $x = 0$.
$\dfrac{dy}{dx} = 3(2x + 1)^2 \times 2 = 6(2x + 1)^2$. At $x = 0$ this is $6$.
For $y = (4x^3 - x)^7$, the inside function $u$ is:
The bracket is the inside function, and the 7th power is the outside.
$\dfrac{d}{dx}(x^2 + 1)^5 =$
$5(x^2 + 1)^4 \times 2x = 10x(x^2 + 1)^4$.
$y = (5 - x)^4$. Find $\dfrac{dy}{dx}$ at $x = 4$.
$\dfrac{dy}{dx} = 4(5 - x)^3 \times (-1) = -4(5 - x)^3$. At $x = 4$: $-4(1)^3 = -4$.
$y = (x^2 - 3)^3$. Find $\dfrac{dy}{dx}$ at $x = 2$.
$\dfrac{dy}{dx} = 3(x^2 - 3)^2 \times 2x$. At $x = 2$: $3(1)^2 \times 4 = 12$.
Find the $y$-intercept of the tangent to $y = (2x - 3)^3$ at $x = 2$.
The point is $(2, 1)$. $\dfrac{dy}{dx} = 6(2x - 3)^2 = 6$ there. $y - 1 = 6(x - 2)$ gives $y = 6x - 11$.
Find all $x$ where $y = (x^2 + 2x)^2$ has a horizontal tangent. Separate them with &.
$\dfrac{dy}{dx} = 2(x^2 + 2x)(2x + 2) = 4x(x + 2)(x + 1)$. This is zero at $x = 0$, $-2$ and $-1$.
Exam style: $y = (ax + 1)^3$ has gradient $12$ at $x = 0$. Find $a$.
$\dfrac{dy}{dx} = 3a(ax + 1)^2$. At $x = 0$ this is $3a = 12$, so $a = 4$.
Exam style: $y = (1 - 2x)^5$. Find $\dfrac{d^2y}{dx^2}$ at $x = 1$.
$\dfrac{dy}{dx} = 5(1 - 2x)^4(-2) = -10(1 - 2x)^4$. Again: $\dfrac{d^2y}{dx^2} = -40(1 - 2x)^3(-2) = 80(1 - 2x)^3$. At $x = 1$: $80(-1)^3 = -80$.
Coaching Centre