Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
K12 LibreTexts

5.6: Implicit Differentiation

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

The differentiation techniques up to this point have been applied to function definitions (equations) of the form y = f(x). Not all functions can be stated in this form, e.g., when products of x and y are involved. When they cannot, finding the derivative of y may require a different technique.


Implicit Differentiation

Consider the equation 2xy=1.

We want to obtain the derivative dy/dx. One way to do this is to first solve for y, to produce an explicit function of x,

y=12x

and then take the derivative on both sides,

dydx=ddx[12x]

=12x2

However, there is another way of finding dydx that uses the original equation that is an implicit function of x. We can directly differentiate both sides.

Find the derivative dy/dx of the equation 2xy=1 without transforming it to an explicit function of x. To do this, directly differentiate both sides:

ddx[2xy]=ddx[1]

Using the Product Rule on the left-hand side,

yddx[2x]+2xddx[y]=0

y[2]+2xdydx=0

Note that the chain rule is applied when taking the derivative of a term with y and a dydx is included for those terms. Solving for dydx,

dydx=2y2x+=yx

But since y=12x substitution gives

dydx=1x(2x)

=12x2

This result agrees with the previous calculations. This second method of finding a derivative is called implicit differentiation. You may consider the process and say that the first method is easier and faster and there is no reason for the second method. That may be true for this example and some others, but consider the next problem.

Find dy/dx if 3y2−cosy=x3.

Good luck finding an explicit function representation of this equation. Let’s try implicit differentiation and see what happens.

Differentiating both sides of the equation with respect to x and then solving for dy/dx,

ddx[3y2cosy]=ddx[x3]

3ddx[y2]ddx[cosy]=3x2

3(2ydydx)(siny)dydx=3x2

6ydydx+sinydydx=3x2

[6y+siny]dydx=3x2

Solving for dy/dx, we finally obtain

dydx=3x26y+siny

In this problem, implicit differentiation provided a workable path to a solution.

Implicit differentiation can be used to calculate the slope of the tangent line as the problem below shows.

Find the equation of the tangent line that passes through the point (1, 2) on the graph of 8y3+x2y−x=3.

The general approach to solving this problem is to:

  1. find dy/dx, then
  2. substitute the point (1, 2) into the derivative to find the slope, and then
  3. use the equation of the line (either the slope-intercept form or the point-intercept form) to find the equation of the tangent line.

For step 1, finding an explicit function representation of the equation is not obvious. Using implicit differentiation, however, allows differentiation of both sides:

ddx[8y3+x2yx]=ddx[3]

24y2dydx+[(x2)(1)dydx+y(2x)]1=0

24y2dydx+x2dydx+2xy1=0

[24y2+x2]dydx=12xy

dydx=12xy24y2+x2

Now, substituting point (1, 2) into the derivative to find the slope,

dydx=12(1)(2)24(2)2+(1)2

=397

So the slope of the tangent line is −3/97, which is a small value. (What does this tell us about the orientation of the tangent line?)

Next we need to find the equation of the tangent line. The slope-intercept form is

y=mx+b

where m=−397 and b is the y-intercept. To find b, simply substitute point (1, 2) into the line equation and solve:

2=(397)(1)+b

b=19797

Thus the equation of the tangent line is

y=397x+19797

Note that we could have used the equivalent point-slope form yy1=m(xx1)

To summarize, to find the derivative of an implicit function follow the following steps:

  1. Differentiate both sides with respect to x
  2. Collect all dy/dx terms on the left hand side of the equation and place the other terms without dy/dx on the right hand side.
  3. Factor common dy/dx from all terms
  4. Solve for dy/dx.

Note that the expression for the derivative dy/dx may involve BOTH x AND y.


Examples

Example 1

Use implicit differentiation to find d2y/dx2 if 5x2−4y2=9.

ddx[5x24y2]=ddx[9]

10x8ydydx=0

Solving for dy/dx,

dydx=5x4y

Differentiating both sides implicitly again (and using the quotient rule),

d2ydx2=(4y)(5)(5x)(4dydx)(4y)2

=20y16y220x16y2dydx

=54y5x4ydydx

But since dydx=5x4y

we substitute it into the second derivative:

d2ydx2=54y5x4y5x4y

d2ydx2=54y25x216y2

This is the second derivative of y.

Example 2

Use implicit differentiation to find d2ydx2|(x,y)=(2,3)

The next step is to find: d2ydx2|(x,y)=(2,3)

d2ydx2|(2,3)=54(2)25(2)216(3)2

=572

Example 3

What does the second derivative represent?

Since the first derivative of a function represents the rate of change of the function y=f(x) with respect to x, the second derivative represents the rate of change of the function. For example, in kinematics (the study of motion), the speed of an object (y′) signifies the change of position with respect to time but acceleration (y′′) signifies the rate of change of the speed with respect to time.


Review

For #1-6, find dy/dx by implicit differentiation.

  1. x2+y2=500
  2. x2y+3xy2=1
  3. 1x+1y=12
  4. xy=3
  5. sin(25xy2)=x
  6. tan3(x2y2)=tan(π4))

For #7-8, use implicit differentiation to find the slope of the tangent line to the given curve at the specified point.

  1. x2yy2x=1 at (1,1)
  2. sin(xy)=y at (π,1)
  3. Find y′′ by implicit differentiation for x3y3=5.
  4. Use implicit differentiation to show that the tangent line to the curve y2=kx at (x0,y0) is given by y0y=12k(x+x0) where k is a constant.
  5. Find ddx(xsin(y)+ysin(x))
  6. Find y′ if x2+xy+y2=10
  7. Find the formula for the line tangent to the curve y3+2xy2x=2 at the point (1, 1).
  8. Find ddx(xy)
  9. y2+sin(y)=x. Find d2ydx2 in terms of x and y.

Review (Answers)

To see the Review answers, open this PDF file and look for section 3.10.


Vocabulary

Term Definition
explicit function An explicit function is a function where it is possible to state the dependent variable as a function only of the independent variable.
implicit differentiation Implicit differentiation is an application of differentiation on an implicit function that may yield an expression involving both the independent and the dependent variables.
implicit function An implicit function is a function where the dependent variable is not an explicit function of the independent variable.
Tangent line A tangent line is a line that "just touches" a curve at a single point and no others.

Additional Resources

Video: Implicit Differentiation by Khan Academy

Practice: Implicit Differentiation

Real World: The Color Purple


This page titled 5.6: Implicit Differentiation is shared under a CK-12 license and was authored, remixed, and/or curated by CK-12 Foundation via source content that was edited to the style and standards of the LibreTexts platform.

CK-12 Foundation
LICENSED UNDER
CK-12 Foundation is licensed under CK-12 Curriculum Materials License

Support Center

How can we help?