Chain, product, quotient and implicit differentiation
Introduced| English | Meaning |
|---|---|
| chain rule/tʃeɪn ruːl/ | The rule for differentiating a composite function by multiplying the appropriate derivatives. |
The first calculus textbook, 1696
- In 1696, the Marquis de l'Hôpital published Analyse des infiniment petits in Paris, the first textbook of differential calculus, based on lessons from Johann Bernoulli. It set out the rules for differentiating products, quotients and powers of functions. With them, almost any function built from simpler pieces can be differentiated — the chain rule 链式法则 for functions inside functions, and the product and quotient rules.
- Choose the rule from how the function is built.
Chain rule
- $y = f(g(x))$: $\dfrac{dy}{dx} = f'(g(x)) \times g'(x)$ — the outer derivative times the inner derivative.
- $y = (2x + 1)^5$: $\dfrac{dy}{dx} = 5(2x + 1)^4 \times 2 = 10(2x + 1)^4$.
Differentiate $(3x^2 - 1)^4$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$4(3x^2 - 1)^3 \times 6x$.
Product and quotient rules
- Product $y = uv$: $\dfrac{dy}{dx} = u\dfrac{dv}{dx} + v\dfrac{du}{dx}$.
- Quotient $y = \dfrac{u}{v}$: $\dfrac{dy}{dx} = \dfrac{v\frac{du}{dx} - u\frac{dv}{dx}}{v^2}$.
Chain, product, quotient and implicit differentiation
For y=f(g(x)), y prime=f prime(g(x))g prime(x)
Compare the model with the worked case and explain one change.
Differentiate $x^3e^{x}$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$3x^2e^x + x^3e^x$.
Differentiate $\dfrac{x}{x + 2}$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$\tfrac{(x + 2) - x}{(x + 2)^2}$.
Worked example: three structures
Differentiate (a) $x^2\sin 3x$, (b) $\dfrac{e^x}{x^2 + 1}$, (c) $\ln(x^2 + 4)$.
- (a) Product: $u = x^2$, $v = \sin 3x$: $2x\sin 3x + 3x^2\cos 3x$.
- (b) Quotient: $\dfrac{(x^2 + 1)e^x - e^x(2x)}{(x^2 + 1)^2} = \dfrac{e^x(x - 1)^2}{(x^2 + 1)^2}$.
- (c) Chain: $\dfrac{1}{x^2 + 4} \times 2x = \dfrac{2x}{x^2 + 4}$.
Find the gradient of $y = \ln(x^2 + 4)$ at $x = 2$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$\tfrac{4}{8}$.
Trig results and $\tfrac{dx}{dy}$
- The quotient rule on $\tan x = \dfrac{\sin x}{\cos x}$ gives $\dfrac{\cos^2 x + \sin^2 x}{\cos^2 x} = \sec^2 x$; in the same way $\sec x$ gives $\sec x\tan x$.
- If $x$ is given in terms of $y$, use $\dfrac{dy}{dx} = 1 \div \dfrac{dx}{dy}$: $x = y^3 + y$ gives $\dfrac{dy}{dx} = \dfrac{1}{3y^2 + 1}$.
Find $\dfrac{dy}{dx}$ for $x^2 + y^2 = 100$ at $(6, 8)$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$-\tfrac{6}{8}$.
Combining rules
- $y = x e^{2x}$: product, with a chain inside: $e^{2x} + 2xe^{2x} = e^{2x}(1 + 2x)$.
- Factorise the answer: it makes stationary points easy to find ($x = -\tfrac{1}{2}$ here).
The derivative of a product is not the product of the derivatives. For $x^2\sin 3x$, $2x \times 3\cos 3x$ is wrong: each factor must be differentiated in turn while the other stays the same.
$\dfrac{d}{dx}(x^2\sin x) = 2x\cos x$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Product rule: $2x\sin x + x^2\cos x$.
Inside a function → chain rule; two functions multiplied → product rule; one divided by another → quotient rule; $x$ given in terms of $y$ → $\tfrac{dy}{dx} = 1 \div \tfrac{dx}{dy}$. Combine rules where needed, and factorise the result.
Find the stationary point of $y = xe^{-x}$ and show it is a maximum.
Product rule for a stationary point.