Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

2.8: Implicit Functions

( \newcommand{\kernel}{\mathrm{null}\,}\)

We now turn to the topic of implicit differentiation. We say that y is an implicit function of x if we are given an equation σ(x,y)=τ(x,y)which determines y as a function of x. An example is x+xy=2y. Implicit differentiation is a way of finding the derivative of y without actually solving for y as a function of x. Assume that dy/dx exists. The method has two steps:

Step 1: Differentiate both sides of the equation σ(x,y)=τ(x,y) to get a new equation d(σ(x,y))dx=d(τ(x,y))dx.The Chain Rule is often used in this step.

Step 2: Solve the new Equation (2.8.1) for dy/dx. The answer will usually involve both x and y.

In each of the examples below, we assume that dy/dx exists and use implicit differentiation to find the value of dy/dx.

Example 2.8.1

Given the equation x+xy=2y, find dy/dx.

Solution

Step 1: d(x+xy)dx=d(2y)dx. We find each side by the Sum and Product Rules, d(x+xy)dx=dx+d(xy)dx=dx+x dy+y dxdx=1+xdydx+y.d(2y)dx=2dydx.

Thus our new equation is 1+xdydx+y=2dydx.

Step 2: Solve for dy/dx. 2dydxxdydx=1+ydydx=1+y2x.

We can check our answer by solving the original equation for y and using ordinary differentiation: x+xy=2y2yxy=x.y=x2x.

By the Quotient Rule, dydx=(2x)1x(1)(2x)2=2(2x)2.

A third way to find dy/dx is to solve the original equation for x, find dx/dy, and then use the Inverse Function Rule. x+xy=2yx=2y1+ydxdy=(1+y)22y1(1+y)2=2(1+y)2dydx=12(1+y)2

To see that our three answers dydx=1+y2x,dydx=2(2x)2,dydx=12(1+y)2are all the same we substitute x2x for y: dydx=1+y2x=1+x2x2x=2(2x)2.dydx=12(1+y)2=12(1+x2x)2=2(2x)2

In Example 2.8.1, we found dy/dx by three different methods.

(a) Implicit differentiation. We get dy/dx in terms of both x and y.
(b) Solve for y as a function of x and differentiate directly. This gives dy/dx in terms of x only.
(c) Solve for x as a function of y, find dx/dy directly, and use the Inverse Function Rule. This method gives dy/dx in terms of y only.

Example 2.8.2

Given y+y=x2, find dy/dx.

Solution

d(y+y)dx=d(x2)dxdydx+12y1/2dydx=2xdydx=2x1+12y1/2

This answer can be used to find the slope at any point on the curve. For example, at the point (2,1) the slope is 221+1211/2=223/2=423

while at the point (2,1) the slope is 2(2)1+1211/2=423.

To get dy/dx in terms of x, we solve the original equation for y using the quadratic formula: y+yx2=0y=1±1+4x22

Since y0, only one solution may occur: y=1+1+4x22.

Then y=(1+1+4x22)2

The graph of this function is shown in Figure 2.8.1. By substitution we get dydx=2x1+12y1/2=2x1+(1+1+4x2)1.

Graph of the function given in Example 2.
Figure 2.8.1: Graph of y+y=x2.

Often one side of an implicit function equation is constant and has derivative zero.

Example 2.8.3

Given x22y2=4, y0, find dy/dx.

Solution

d(x22y2)dx=d(4)dxd(x22y2)dx=2x4ydydxd(4)dx=02x4ydydx=0dydx=2x4y=x2y

Solving the original equation for y, we get 2y2=4x2,y0;y2=x242,y0;y=x242.

Thus dy/dx in terms of x is dydx=x2y=x2x242=x2(x24).

The graph of this function is shown in Figure 2.8.2.

Graph of the function given in Example 3.
Figure 2.8.2: Graph of x22y2=4,y0.

Implicit differentiation can even be applied to an equation that does not by itself determine y as a function x. Sometimes extra inequalities must be assumed in order to make y a function of x.

Example 2.8.4

Given x2+y2=1,find dy/dx. This equation does not determine y as a function of x; its graph is the unit circle. Nevertheless we differentiate both sides with respect to x and solve for dy/dx, 2x+2ydydx=0,dydx=xy.

We can conclude that for any system of formulas S which contains the Equation (2.8.2) and also determines y as a function of x, it is true that dydx=xy.

We can use Equation (2.8.3) to find the slope of the line tangent to the unit circle at any point on the circle. The following examples are illustrated in Figure 2.8.3.

The unit circle, showing the tangent line to several points on the circle.
Figure 2.8.3: The unit circle and several of its tangent lines.

dydx=0 at (0,1),dydx=13 at (12,32),dydx=8 at (83,13),dydx is undefined at (1,0).

The system of formulas x2+y2=1,y0gives usy=1x2,dydx=xy=x1x2.

Example 2.8.5

Find the slope of the line tangent to the curve x5y3+xy6=y+1.at the points (1,1), (1,1), and (0,1).

Solution

The three points are all on the curve, and the first two points have the same x coordinate, so Equation (2.8.4) does not by itself determine y as a function of x.

We differentiate with respect to x, d(x5y3+xy6)dx=d(y+1)dx,5x4y3+x53y2 dydx+y6+6xy5 dydx=dydx,

and then solve for dy/dx, 5x4y3+y6+(3x5y2+6xy51)dydx=0,dydx=5x4y3+y63x5y2+6xy51.

Substituting, we get dydx=68 at (1,1).dydx=1 at (1,1).dydx=+1 at (0,1).

Equation (2.8.5) for dy/dx is true of any system S of formulas which contains Equation (2.8.4) and determines y as a function of x.

Here is what generally happens in the method of implicit differentiation. Given an equation τ(x,y)=σ(x,y)between two terms which may involve the variables x and y, we differentiate both sides of the equation and obtain d(τ(x,y)dx=d(σ(x,y)dx.

We then solve Equation (2.8.7) to get dy/dx equal to a term which typically involves both x and y. We can conclude that for any system of formulas which contains Equation (2.8.6) and determines y as a function of x, Equation (2.8.7) is true. Also, Equation (2.8.7) can be used to find the slope of the tangent line at any point on the curve τ(x,y)=σ(x,y).

Problems for Section 2.8

In Problems 1-26, find dy/dx by implicit differentiation. The answer may involve both x and y.

1. xy=1 2. 2x23y2=4,y0
3. x3+y3=2 4. x3=y5
5. y=1/(x+y) 6. y2+3y5=x
7. x2+y2=1 8. xy3=y+x
9. x2+3xy+y2=0 10. x/y+3y=2
11. x5=y2y+1 12. x+y=x+y
13. y=xy+1 14. x4+y4=5
15. xy23x2y+x=1 16. 2xy2+x2=y
17. y=sin(xy) 18. y=cos(x+y)
19. x=cos2y 20. x=siny+cosy
21. y=ex+2y 22. ey=x2+y
23. ex=lny 24. lny=sinx
25. y2=ln(2x+3y) 26. ln(cosy)=2x+5

In Problems 27-33, find the slope of the line tangent to the given curve at the given point or points.

27. x2+xy+y2=7 at (1,2) and (1,3).
28. x+y3=y at (0,0),(0,1),(0,1),(6,2).
29. x2y2=3 at (2,1),(2,1),(3,0).
30. tanx=y at (π/4,1)
31. 2sin2x=3cosy at (π/3,π/3)
32. y+ey=1+lnx \text{ at } (1, 0)\)
33. esinx=lny at (1,0)
34. Given the equation x2+y2=1, find dy/dx and d2y/dx2.
35. Given the equation 2x2y2=1, find dy/dx and d2y/dx2.
36. Differentiating the equation x2=y2 implicitly, we get dy/dx=x/y. This is undefined at the point (0,0)\(.Sketchthegraphoftheequationtoseewhathappensatthepoint\((0,0).

This page titled 2.8: Implicit Functions is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by H. Jerome Keisler.

  • Was this article helpful?

Support Center

How can we help?