Implicit Differentiation

Learning Objectives

  • Perform implicit differentiation of a function of two or more variables.

Recall from Implicit Differentiation that implicit differentiation provides a method for finding dy/dx when y is defined implicitly as a function of x. The method involves differentiating both sides of the equation defining the function with respect to x, then solving for dy/dx. Partial derivatives provide an alternative to this method.

Consider the ellipse defined by the equation x2+3y2+4y4=0 as follows.

An ellipse with center near (0, –0.7), major axis horizontal and of length roughly 4.5, and minor axis of length roughly 3.

Figure 1. Graph of the ellipse defined by x2+3y2+4y4=0.

This equation implicitly defines y as a function of x. As such, we can find the derivative dy/dx using the method of implicit differentiation:

ddx(x2+3y2+4y4)=ddx(0)2x+6ydydx+4dydx=0(6y+4)dydx=2xdydx=x3y+2.

We can also define a function z=f(x,y) by using the left-hand side of the equation defining the ellipse. Then f(x,y)=x2+3y2+4y4. The ellipse x2+3y2+4y4=0 can then be described by the equation f(x,y)=0. Using this function and the following theorem gives us an alternative approach to calculating dy/dx.

Theorem: implicit differentiation of a function of two or more variables


Suppose the function z=f(x,y) defines function y implicitly as a function function y=g(x) of x via the equation z=f(x,y)=0. Then

dydx=f/xf/y

provided fy(x,y)0.

If the equation z=f(x,y,z)=0 defines z implicitly as a differentiable function of x and y, then

zx=f/xf/z and zy=f/yf/z

as long as fz(x,y,z)0.

The equation for Implicit Differentiation of a Function of Two or More Variables is a direct consequence of the Chain Rule for Two Independent Variables. In particular, if we assume that y is defined implicitly as a function of x via the equation f(x,y)=0, we can apply the chain rule to find dy/dx:

ddxf(x,y)=ddx(0)fxdxdx+fydydx=0fx+fydydx=0.

Solving this equation for dy/dx gives the Implicit Differentiation of a Function of Two or More Variables in terms of x. The Implicit Differentiation of a Function of Two or More Variables in terms of x and y can be derived in a similar fashion.

Let’s now return to the problem that we started before the previous theorem. Using Implicit Differentiation of a Function of Two or More Variables and the function f(x,y)=x2+3y2+4y4, we can obtain

fx=2xfy=6y+4.

Then the Implicit Differentiation of a Function of Two or More Variables in terms of x gives

dydx=f/xf/y=2x6y+4=x3y+2,

which is the same result obtained by the earlier use of implicit differentiation.

Example: implicit differentiation by partial derivatives

a. Calculate dy/dx if y is implicitly as a function of x via the equation 3x22xy+y2+4x6y11=0. What is the equation of the tangent line to the graph of this curve at point (2,1)?

b. Calculate z/x and z/y, given x2eyyzex=0.

try it

Find dy/dx if y is defined implicitly as a function of x by the equation x2+xyy2+7x3y26=0. What is the equation of the tangent line to the graph of this curve at point (3,2)?

Watch the following video to see the worked solution to the above Try It

 

Try It