Chain, product, quotient and implicit differentiation
Introduced| English | Meaning |
|---|---|
| lemniscate/ˈlemnɪskeɪt/ | A curve with two loops meeting in a figure-eight shape, such as r²=a²cos(2θ). |
| implicit relation/ɪmˈplɪsɪt rɪˈleɪʃn/ | An equation linking x and y in which y is not written as a function of x alone. |
| chain rule/tʃeɪn ruːl/ | The rule for differentiating a composite function by multiplying the appropriate derivatives. |
A figure-eight curve, 1694
- In 1694, Jacob Bernoulli described a curve shaped like a figure eight in the journal Acta Eruditorum: the lemniscate 双纽线, $(x^2 + y^2)^2 = x^2 - y^2$. It cannot be written as one function $y = f(x)$, because for each $x$ there can be several $y$-values. Its equation is an implicit relation 隐式关系 between $x$ and $y$ — and it can still be differentiated.
- Implicit differentiation treats $y$ as a function of $x$ and uses the chain rule on every $y$ term.
The chain rule on $y$ terms
- $\dfrac{d}{dx}(y^2) = 2y\dfrac{dy}{dx}$ and $\dfrac{d}{dx}(\sin y) = \cos y\dfrac{dy}{dx}$.
- A product of $x$ and $y$ needs the product rule: $\dfrac{d}{dx}(xy) = y + x\dfrac{dy}{dx}$.
Differentiate $y^3$ with respect to $x$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Chain rule.
Differentiate $x^2y$ with respect to $x$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Product rule.
Collecting $\dfrac{dy}{dx}$
- Differentiate every term, move the $\tfrac{dy}{dx}$ terms to one side, factorise and divide.
- For a circle $x^2 + y^2 = 25$: $2x + 2y\tfrac{dy}{dx} = 0$, so $\tfrac{dy}{dx} = -\tfrac{x}{y}$.
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.
Find $\dfrac{dy}{dx}$ for $x^2 + y^2 = 25$ at $(3, 4)$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$-\tfrac{x}{y}$.
Worked example: tangent to an implicit curve
Find the tangent to $x^2 + xy + y^2 = 7$ at $(1, 2)$.
- Check the point: $1 + 2 + 4 = 7$ ✓.
- Differentiate: $2x + y + x\dfrac{dy}{dx} + 2y\dfrac{dy}{dx} = 0$, so $\dfrac{dy}{dx} = -\dfrac{2x + y}{x + 2y}$.
- At $(1, 2)$: $\dfrac{dy}{dx} = -\dfrac{4}{5}$. Tangent: $y - 2 = -\tfrac{4}{5}(x - 1)$, or $4x + 5y = 14$.
Find the gradient of $x^3 + y^3 = 9$ at $(1, 2)$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$-\tfrac{x^2}{y^2} = -\tfrac{1}{4}$.
The point $(2, 1)$ lies on $x^2 + xy + y^2 = 7$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$4 + 2 + 1 = 7$.
Horizontal and vertical tangents
- Horizontal: the numerator of $\tfrac{dy}{dx}$ is 0: $2x + y = 0$. Substitute $y = -2x$ into the curve: $3x^2 = 7$.
- Vertical: the denominator is 0 (and the numerator is not): $x + 2y = 0$.
Exponentials of $x$
- To differentiate $y = a^x$, write $\ln y = x\ln a$; then $\tfrac{1}{y}\tfrac{dy}{dx} = \ln a$, so $\tfrac{dy}{dx} = a^x\ln a$.
- The same trick handles $y = x^x$: $\tfrac{dy}{dx} = x^x(\ln x + 1)$.
Find the gradient of $y = x^x$ at $x = 1$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$1^1(\ln 1 + 1)$.
Every $y$ term needs a $\dfrac{dy}{dx}$. $\dfrac{d}{dx}(y^2)$ is $2y\dfrac{dy}{dx}$, not $2y$. Leaving it out turns the circle's gradient into nonsense. Also check that the point lies on the curve before using it.
Differentiate every term with respect to $x$, using the chain rule on $y$ terms and the product rule on $xy$ terms. Collect the $\tfrac{dy}{dx}$ terms and solve. Horizontal tangents make the numerator zero; vertical tangents make the denominator zero. Check points against the original relation.
Find the points on $x^2 + xy + y^2 = 12$ where the tangent is horizontal.
Horizontal tangents on an implicit curve.