Chain rules for nested functions and restricted inputs
Introduzido| English | Significado |
|---|---|
| composite derivative/ˈkɒmpəzɪt dɪˈrɪvətɪv/ | The derivative of a function inside another function, found by the chain rule: the outer derivative times the inner derivative. |
Gears that multiply rates, built 1991
- In 1991, the Science Museum in London finished building Charles Babbage's Difference Engine No. 2 from his drawings of 1847–49: 8,000 parts of bronze, cast iron and steel. Turning one gear turns the next, and each pair multiplies the rate of turning by its gear ratio. The chain rule works the same way: when functions are nested, their rates multiply. The derivative of a nested function is its composite derivative 复合函数的导数.
- If $y = f(u)$ and $u = g(x)$, then $\dfrac{dy}{dx} = \dfrac{dy}{du} \times \dfrac{du}{dx}$.
Outer times inner
- Differentiate the outer function, keeping the inner one as it is, then multiply by the derivative of the inner one.
- $y = \sqrt{3x^2 + 4}$: $\dfrac{dy}{dx} = \dfrac{1}{2}(3x^2 + 4)^{-\frac{1}{2}} \times 6x = \dfrac{3x}{\sqrt{3x^2 + 4}}$.
Differentiate $\sqrt{5x - 1}$.
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
$\tfrac{1}{2}(5x - 1)^{-\frac{1}{2}} \times 5$.
Differentiate $\cos(x^3)$.
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
$-\sin(x^3) \times 3x^2$.
Three layers
- $y = \sin^3(2x)$ is $(\sin(2x))^3$: three layers — cube, sine, $2x$.
- $\dfrac{dy}{dx} = 3\sin^2(2x) \times \cos(2x) \times 2 = 6\sin^2(2x)\cos(2x)$.
Chain rules for nested functions and restricted inputs
For y=f(u) and u=g(x), dy/dx=f′(g(x))g′(x)
Choose the derivative rule and preserve every coefficient, inner rate and input restriction.
Differentiate $\ln(\cos 2x)$.
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
$\tfrac{1}{\cos 2x} \times (-\sin 2x) \times 2$.
Worked example: a tangent with the chain rule
Find the tangent to $y = e^{\sin x}$ at $x = \tfrac{\pi}{2}$.
- Chain rule: $\dfrac{dy}{dx} = e^{\sin x} \times \cos x$.
- At $x = \tfrac{\pi}{2}$: $y = e^1 = e$; gradient $e \times 0 = 0$.
- Tangent: $y = e$ — a horizontal tangent at a maximum of the curve.
Find the gradient of $y = (x^2 + 1)^3$ at $x = 1$.
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
$3(2)^2 \times 2$.
Restricted inputs
- $y = \sqrt{4 - x^2}$ is defined for $-2 \le x \le 2$, but $\dfrac{dy}{dx} = \dfrac{-x}{\sqrt{4 - x^2}}$ only for $-2 < x < 2$.
- At $x = \pm 2$ the tangent is vertical: the formula would divide by zero.
$y = \sqrt{9 - x^2}$ has a finite derivative at $x = 3$.
Dificuldade 1/5 · Moedas 100 + pequeno bônus na primeira conclusão hoje
The tangent is vertical there.
Gear ratios
- If gear $A$ turns 3 times for each turn of $B$, and $B$ turns 4 times for each turn of $C$, then $A$ turns 12 times per turn of $C$.
- In symbols: $\tfrac{dA}{dC} = \tfrac{dA}{dB} \times \tfrac{dB}{dC}$.
$\tfrac{dy}{du} = 5$ e $\tfrac{du}{dx} = -2$. Find $\tfrac{dy}{dx}$.
Dificuldade 2/5 · Moedas 140 + pequeno bônus na primeira conclusão hoje
Multiply the rates.
Evaluate the outer derivative at the inner function, not at $x$. For $\sin(x^2)$, the derivative is $\cos(x^2) \times 2x$, not $\cos x \times 2x$. And every layer contributes a factor: $\sin^3(2x)$ needs the 2 from $2x$.
For a nested function, multiply the derivatives of each layer, from outside in, keeping each inner function unchanged inside the outer derivative. Check the domain: roots and logarithms can make the derivative undefined at the edges of the function's domain.
Find the stationary points of $y = e^{x^2 - 4x}$ and decide their nature.
Chain rule with an exponential.