Implicit Differentiation
Implicit Differentiation
Implicit Differentiation
Example. The Folium of Descrates is given by the equation x3 + y 3 = 3xy. Picture:
-3 -2 -1 1 2
-1
-2
-3
The graph consists of all points (x, y) which satisfy the equation. For example, (0, 0) is on the graph,
because x = 0, y = 0, satisfies the equation.
Observe, however, that the graph is not the graph of a function. Some values of x give rise to multiple
values for y. (Geomtrically, this means you can draw vertical lines which hit the graph more than once.)
Moreover, it would be difficult to solve the equation for y in terms of x (unless you happen to know the
general cubic formula).
However, small pieces of the graph do look like function graphs. You only need to be careful not to take
a piece which is so large that it violates the vertical line criterion. For such a piece, the equation defines a
function y = f (x) implicitly. “Implicitly” means that y may not be solved for in terms of x, but a given x
still “produces” a unique y.
On such a small piece of the graph, it would make sense to ask for the derivative y ′ . Since it’s difficult
to solve for y, it’s not clear how to compute the derivative.
The idea is to differentiate the equation as is, making careful use of the Chain Rule. This produces
another equation, from which you can get y ′ (perhaps implicitly as well).
Differentiate x3 + y 3 = 3xy term-by-term with respect to x. First, the derivative of x3 with respect to
x is 3x2 :
3x2 + · · ·
The derivative of y 3 with respect to y would be 3y 2 , but I’m differentiating with respect to x, so I use
the Chain Rule. Differentiate the cubing function, holding the inner thing (y) fixed. Then differentiate the
inner thing. I obtain
dy
3x2 + 3y 2 = ···
dx
Finally, differentiate the right side 3xy. The 3 is constant, but xy is a product: Use the Product Rule.
dy
Remember, however, that the derivative of the second factor (y) is !
dx
dy dy
3x2 + 3y 2 = 3x + 3y.
dx dx
dy
I can solve this equation for :
dx
dy x2 − y
= .
dx x − y2
1
dy
This may seem strange — I’ve found in terms of y — but I can use this expression for the derivative
dx
as I normally would.
dy
For example, I’ll find the points where the graph has a horizontal tangent. As usual, set = 0. I
dx
2 2
get x − y = 0, so y = x . Plug this back into the original equation (because I’m looking for points on this
curve):
x3 + y 3 = 3xy, x3 + x6 = 3x3 , x6 − 2x3 = 0, x3 (x3 − 2) = 0.
√ √
Therefore, x = 0 or x = 3 2. x = 0 gives y = 0. x = 3 2 gives the equation
√
2 + y 3 = 3 2y,
3
which has the approximate solutions y ≈ −2.16843, y ≈ 0.581029, y ≈ 1.5874. From the picture, you can
see that the horizontal tangent occurs at the highest of these values, i.e. at the point (1.25992, 1.5874).
0.5
-1 -0.5 0.5 1
-0.5
-1
This equation defines y implicitly as a function of x on small neighborhoods of point in the top or
bottom pieces. In other words, as long as you stay with the top or the bottom, the graph looks like the
graph of a function.√ √ √
In fact, y = 4 2 − x4 , − 4 2 ≤ x ≤ 4 2 is the top piece. This function is defined implicitly by the
equation, since it satisfies the equation:
p 4
x4 = 2 − x4 = x4 + 2 − x4 = 2.
4
√
The equation does not define √ a function implicitly
√ on any neighborhood of the point (− 4 2, 0), or on
any neighborhood of the point ( 4 2, 0). Consider ( 4 2, 0), for instance. Any neighborhood of the point will
contain points from both the top piece and the bottom piece; such a curve cannot be the graph of a function,
since some vertical lines will hit it twice.
I’ll find the equation of the tangent line to the curve at the point (1, 1). Differentiate implicitly:
4x3 + 4y 3 y ′ = 0.
4 + 4y ′ = 0, y ′ = −1.
(Plugging in the numbers makes solving for y ′ easy.) The equation of the tangent line is
(−1)(x − 1) = y − 1, or y = −x + 2.
2
x3
You can also find y ′′ implicitly. First, y ′ = − . Now take the equation 4x3 +4y 3 y ′ = 0 and differentiate
y3
implicitly:
12x2 + 12y 2 y ′ + 4y 3 y ′′ = 0.
x3
Plug in y ′ = − :
y3 3
x
2 2
12x + 12y − 3 + 4y 3 y ′′ = 0.
y
Simplify and solve for y ′′ :
3x3 3x2
y ′′ = 4
− 3 .
y y
−y ′ − 2 1
− 4 + 5 = −12y ′ , −y ′ − 1 = −11y ′ , y′ = .
1 11
Therefore, the tangent line is
1
y−2= (x + 1).
11
(x + 2y)2 + 2y 3 = x3 + 20y − 8
5
2(1 + 2y ′ ) + 6y ′ = 27 + 20y ′ , 2 + 10y ′ = 27 + 20y ′ , y=− .
2
Therefore, the tangent line is
5
y + 1 = − (x − 3).
2
Example. Find the points on the following curve where the tangent line is horizontal:
y 2 − 2y = x4 − 32x + 96.
3
Differentiate implicitly:
2yy ′ − 2y ′ = 4x3 − 32.
I want the horizontal tangents, so set y ′ = 0 and solve for x:
0 − 0 = 4x3 − 32
4x3 = 32
x3 = 8
x=2
To get the y-coordinates, plug x = 2 into the original equation and solve for y:
y 2 − 2y = 16 − 64 + 96
y 2 − 2y = 48
y 2 − 2y − 48 = 0
(y − 8)(y + 6) = 0
dy dy
(sec y)2 = 1, = (cos y)2 .
dx dx
I want to express the right side in terms of x. tan y = x means that I have the following triangle:
1 + x2
x
1 1
Therefore, cos y = √ , and (cos y)2 = . Hence,
1+x 2 1 + x2
d 1
arctan x = .
dx 1 + x2
4
Example. Find y ′′ at (1, 1) for
x + y 3 = x3 + 7y − 6.
Differentiate implicitly:
1 + 3y 2 y ′ = 3x2 + 7y ′ (∗)
Plug in x = 1 and y = 1 and solve for y ′ :
1 + 3y ′ = 3 + 7y ′
−2 = 4y ′
1
− = y′
2
3y 2 y ′′ + 6y(y ′ )2 = 6x + 7y ′′ .