Implicit Differentiation and Derivatives of Inverse Functions
Practise this section (12)You are designing a video game. A character runs around a circular track given by $x^2+y^2=25$. When it reaches the point $(3, 4)$ it flies off in a straight line, along the tangent. What is the slope of that line?
A circle is not a function (it fails the vertical line test), so you can't just write $y=f(x)$ and differentiate. In this section you'll learn how to get slopes anyway, and how to find the derivative of an inverse function without ever finding the inverse.
Implicit Differentiation
Some curves are given by an equation that mixes $x$ and $y$, like $x^2+y^2=25$. We say $y$ is defined implicitly. Near almost every point of the curve, $y$ still behaves like a function of $x$ (for example, near $(3,4)$ the top half of the circle). So $\frac{dy}{dx}$ makes sense, even if we can't solve for $y$ nicely.
The idea: treat $y$ as an unknown function of $x$, differentiate both sides of the equation with respect to $x$, then solve for $\frac{dy}{dx}$.
The only new thing is the chain rule. If $y$ depends on $x$, then $y^2$ is a function of a function: the outside function is "square," the inside is $y$. So
$$\frac{d}{dx}\left[y^2\right]=2y\cdot\frac{dy}{dx}$$ Circle x² + y² = 25 with its tangent line at (3, 4), where the slope is −3/4. The dashed radius to that point is perpendicular to the tangent; implicit differentiation gives this slope.The reason is simple: $y$ changes with $x$ at rate $\frac{dy}{dx}$, so anything built from $y$ changes at that rate times its own derivative.
Back to the start: the character leaves the track along a line of slope $-\tfrac34$.
Notice that the answer $-\dfrac{x}{y}$ involves both $x$ and $y$. That's normal for implicit differentiation: you need the full point to get a slope.
The circle $x^2+y^2=25$ is defined implicitly. Use implicit differentiation to find $\frac{dy}{dx}$, and then find the slope of the tangent line at the point $(3, 4)$.
The circle $x^2+y^2=25$ is defined implicitly. Use implicit differentiation to find $\frac{dy}{dx}$, and then find the slope of the tangent line at the point $(3, 4)$.
A curve is given by $xy=12$. Use implicit differentiation to find $\frac{dy}{dx}$ in terms of $x$ and $y$. Then evaluate it at the point $(3, 4)$.
A curve is given by $xy=12$. Use implicit differentiation to find $\frac{dy}{dx}$ in terms of $x$ and $y$. Then evaluate it at the point $(3, 4)$.
Tangent Lines, Horizontal and Vertical Tangents
When the equation has products like $xy$ or several $y$-terms, the steps are the same, but collecting terms takes care. Follow this routine:
-
Differentiate both sides with respect to $x$ (chain rule on every $y$, product rule on every $xy$).
-
Move all terms containing $\frac{dy}{dx}$ to one side, everything else to the other.
-
Factor out $\frac{dy}{dx}$.
-
Divide to solve.
Horizontal and vertical tangents
Once you have $\frac{dy}{dx}=\dfrac{N}{D}$:
Ellipse x² + 4y² = 20: at the top and bottom points (0, ±√5) the tangent is horizontal (N = 0), and at the left and right endpoints (±2√5, 0) it is vertical (D = 0).Consider the curve $x^2+xy+y^2=7$. (a) Show that $\frac{dy}{dx}=-\frac{2x+y}{x+2y}$. (b) Verify that $(1, 2)$ lies on the curve, and write an equation of the tangent…
Consider the curve $x^2+xy+y^2=7$.
(a) Show that $\frac{dy}{dx}=-\frac{2x+y}{x+2y}$.
(b) Verify that $(1, 2)$ lies on the curve, and write an equation of the tangent line there.
The curve $x^2+xy+y^2=7$ has $\frac{dy}{dx}=-\frac{2x+y}{x+2y}$. (a) Find the coordinates of every point on the curve where the tangent line is horizontal. (b) Find the…
The curve $x^2+xy+y^2=7$ has $\frac{dy}{dx}=-\frac{2x+y}{x+2y}$.
(a) Find the coordinates of every point on the curve where the tangent line is horizontal.
(b) Find the coordinates of every point on the curve where the tangent line is vertical.
(c) Show that $(2, 1)$ is on the curve, and write an equation of the tangent line there.
The curve $x^2y+y^3=10$ passes through the point $(1, 2)$. (a) Show that $\frac{dy}{dx}=-\frac{2xy}{x^2+3y^2}$. (b) Write an equation of the tangent line at $(1, 2)$.…
The curve $x^2y+y^3=10$ passes through the point $(1, 2)$.
(a) Show that $\frac{dy}{dx}=-\frac{2xy}{x^2+3y^2}$.
(b) Write an equation of the tangent line at $(1, 2)$.
(c) A student claims that this curve has a vertical tangent line at some point. Use $\frac{dy}{dx}$ to explain why the claim is false.
Second Derivatives
To decide concavity you need $\frac{d^2y}{dx^2}$. The recipe: differentiate $\frac{dy}{dx}$ again with respect to $x$. Two things to remember:
-
$\frac{dy}{dx}$ contains $y$, so differentiating it creates another $\frac{dy}{dx}$ (chain rule again).
-
Then substitute the first derivative you already found, and simplify. If the combination of terms from the original equation appears (like $x^2+y^2$), replace it with the constant the equation gives you.
Here is a circle to look at. Does the sign of the second derivative match what you see on the upper half and on the lower half?
For the circle $x^2+y^2=25$, find $\frac{d^2y}{dx^2}$ in terms of $y$ (and $x$ if needed). Then evaluate it at $(3, 4)$ and state whether the circle is concave up or…
For the circle $x^2+y^2=25$, find $\frac{d^2y}{dx^2}$ in terms of $y$ (and $x$ if needed). Then evaluate it at $(3, 4)$ and state whether the circle is concave up or concave down at that point.
Derivatives of Inverse Functions
Suppose $f$ is invertible and $g=f^{-1}$. Then $f(g(x))=x$ for every $x$ in the domain of $g$. Differentiate both sides with the chain rule:
$$f'(g(x))\cdot g'(x)=1 \quad\Longrightarrow\quad g'(x)=\frac{1}{f'(g(x))}$$Geometrically, the graph of $f^{-1}$ is the reflection of the graph of $f$ in the line $y=x$. Reflecting swaps "run" and "rise," so slopes become reciprocals.
The graph of f⁻¹ is the mirror image of y = f(x) in the dashed line y = x, so (a, b) on f matches (b, a) on f⁻¹. The tangent slope m at (a, b) becomes the reciprocal 1/m at (b, a).Two facts you'll need for explanations:
-
Why $f$ has an inverse: if $f'>0$ everywhere (or $f'<0$ everywhere), $f$ is strictly monotonic, so it is one-to-one and therefore invertible.
-
Why $(f^{-1})'$ is never $0$: it equals $\frac{1}{f'(\ldots)}$, a reciprocal of a finite number, and a reciprocal is never $0$. If instead $f'(a)=0$, then $f^{-1}$ has a vertical tangent at $b$ and is not differentiable there.
The function $f$ is differentiable and invertible, with $f(2)=5$ and $f'(2)=4$. Find $\left(f^{-1}\right)'(5)$ and show the formula you use.
The function $f$ is differentiable and invertible, with $f(2)=5$ and $f'(2)=4$. Find $\left(f^{-1}\right)'(5)$ and show the formula you use.
The function $f$ is differentiable and one-to-one. Some values are given in the table. | $x$ | 1 | 2 | 3 | 4 | |---|---|---|---|---| | $f(x)$ | 3 | 5 | 6 | 9 | | $f'(x)$…
The function $f$ is differentiable and one-to-one. Some values are given in the table.
| $x$ | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| $f(x)$ | 3 | 5 | 6 | 9 |
| $f'(x)$ | 2 | 4 | 5 | 8 |
(a) Find $\left(f^{-1}\right)'(5)$ and $\left(f^{-1}\right)'(9)$.
(b) Write an equation of the line tangent to the graph of $y=f^{-1}(x)$ at $x=6$.
A curve is defined by $x=y^3+y$. The point $(2, 1)$ is on the curve. (a) Use implicit differentiation to show that $\frac{dy}{dx}=\frac{1}{3y^2+1}$. (b) Find…
A curve is defined by $x=y^3+y$. The point $(2, 1)$ is on the curve.
(a) Use implicit differentiation to show that $\frac{dy}{dx}=\frac{1}{3y^2+1}$.
(b) Find $\frac{d^2y}{dx^2}$ in terms of $y$, and evaluate it at $(2, 1)$.
(c) Let $f(y)=y^3+y$. Explain why $f$ has an inverse and use your result from (a) to find $\left(f^{-1}\right)'(2)$.
Derivatives of Inverse Trig Functions
Inverse trig functions are inverses of functions we know, so the method above (or implicit differentiation) gives their derivatives. For $y=\arctan x$:
-
Rewrite as $\tan y=x$.
-
Differentiate implicitly: $\sec^2y\cdot\dfrac{dy}{dx}=1$, so $\dfrac{dy}{dx}=\dfrac{1}{\sec^2y}=\dfrac{1}{1+\tan^2y}=\dfrac1{1+x^2}$.
The right triangle shows the same thing: with $\tan y=x$ the legs are $x$ (opposite) and $1$ (adjacent), so the hypotenuse is $\sqrt{1+x^2}$.
Right triangle with angle y, adjacent leg 1 and opposite leg x, so tan y = x. The hypotenuse is √(1 + x²), which gives cos y and sec² y = 1 + x² in terms of x.For $y=\arcsin x$: $\sin y=x$, so $\cos y\cdot\frac{dy}{dx}=1$. On $[-\frac\pi2,\frac\pi2]$, $\cos y\ge0$, so $\cos y=\sqrt{1-x^2}$.
You can also mix the inverse-function rule with other rules. Suppose $g=f^{-1}$ with $f(1)=4$ and $f'(1)=2$, and let $q(x)=\arctan\big(g(x)\big)$. By the chain rule
$$q'(x)=\frac{g'(x)}{1+\big(g(x)\big)^2}$$At $x=4$: $g(4)=1$ and $g'(4)=\frac1{f'(1)}=\frac12$, so $q'(4)=\dfrac{1/2}{1+1}=\dfrac14$. Notice that you never needed a formula for $g$, only a table-style fact about $f$.
Let $g(x)=\arctan(3x)$. Find $g'(x)$, and then evaluate $g'\!\left(\tfrac{1}{3}\right)$.
Let $g(x)=\arctan(3x)$. Find $g'(x)$, and then evaluate $g'\!\left(\tfrac{1}{3}\right)$.
Let $h(x)=\arcsin(2x)$ for $-\tfrac12<x<\tfrac12$. (a) Find $h'(x)$. (b) Evaluate $h'\!\left(\tfrac14\right)$. (c) Let $k(x)=x\arctan x$. Find $k'(1)$.
Let $h(x)=\arcsin(2x)$ for $-\tfrac12<x<\tfrac12$.
(a) Find $h'(x)$.
(b) Evaluate $h'\!\left(\tfrac14\right)$.
(c) Let $k(x)=x\arctan x$. Find $k'(1)$.
The function $f$ is differentiable and invertible. Let $g=f^{-1}$. Values of $f$ and $f'$ are given. | $x$ | 1 | 2 | 3 | |---|---|---|---| | $f(x)$ | 3 | 5 | 8 | |…
The function $f$ is differentiable and invertible. Let $g=f^{-1}$. Values of $f$ and $f'$ are given.
| $x$ | 1 | 2 | 3 |
|---|---|---|---|
| $f(x)$ | 3 | 5 | 8 |
| $f'(x)$ | 2 | 4 | 5 |
(a) Let $h(x)=\left(g(x)\right)^2$. Find $h'(5)$.
(b) Let $k(x)=\arctan\!\left(g(x)\right)$. Find $k'(8)$.
(c) Explain why $g'(x)$ is never equal to $0$ at a point where $f'(g(x))$ exists and is finite.
Summary
Can't find your problem here?
The AI checks one of your exercises: paste the problem with your answer or take a photo of it.