24

Learning Objectives

  • Find the derivative of a complicated function by using implicit differentiation.
  • Use implicit differentiation to determine the equation of a tangent line.

We have already studied how to find equations of tangent lines to functions and the rate of change of a function at a specific point. In all these cases we had the explicit equation for the function and differentiated these functions explicitly. Suppose instead that we want to determine the equation of a tangent line to an arbitrary curve or the rate of change of an arbitrary curve at a point. In this section, we solve these problems by finding the derivatives of functions that define [latex]y[/latex] implicitly in terms of [latex]x[/latex].

Implicit Differentiation

In most discussions of math, if the dependent variable [latex]y[/latex] is a function of the independent variable [latex]x[/latex], we express [latex]y[/latex] in terms of [latex]x[/latex]. If this is the case, we say that [latex]y[/latex] is an explicit function of [latex]x[/latex]. For example, when we write the equation [latex]y=x^2+1[/latex], we are defining [latex]y[/latex] explicitly in terms of [latex]x[/latex]. On the other hand, if the relationship between the function [latex]y[/latex] and the variable [latex]x[/latex] is expressed by an equation where [latex]y[/latex] is not expressed entirely in terms of [latex]x[/latex], we say that the equation defines [latex]y[/latex] implicitly in terms of [latex]x[/latex]. For example, the equation [latex]y-x^2=1[/latex] defines the function [latex]y=x^2+1[/latex] implicitly.

Implicit differentiation allows us to find slopes of tangents to curves that are clearly not functions (they fail the vertical line test). We are using the idea that portions of [latex]y[/latex] are functions that satisfy the given equation, but that [latex]y[/latex] is not actually a function of [latex]x[/latex].

In general, an equation defines a function implicitly if the function satisfies that equation. An equation may define many different functions implicitly. For example, the functions

[latex]y=\sqrt{25-x^2}[/latex], [latex]y = -\sqrt{25-x^2}[/latex], and [latex]y=\begin{cases} \sqrt{25-x^2} & \text{if} \, -5 \le x < 0 \\ -\sqrt{25-x^2} & \text{if} \, 0 \le x \le 5 \end{cases}[/latex], which are illustrated in (Figure) , are just three of the many functions defined implicitly by the equation [latex]x^2+y^2=25[/latex].

The circle with radius 5 and center at the origin is graphed fully in one picture. Then, only its segments in quadrants I and II are graphed. Then, only its segments in quadrants III and IV are graphed. Lastly, only its segments in quadrants II and IV are graphed.
Figure 1. The equation [latex]{x}^{2}+{y}^{2}=25[/latex] defines many functions implicitly.

If we want to find the slope of the line tangent to the graph of [latex]x^2+y^2=25[/latex] at the point [latex](3,4)[/latex], we could evaluate the derivative of the function [latex]y=\sqrt{25-x^2}[/latex] at [latex]x=3[/latex]. On the other hand, if we want the slope of the tangent line at the point [latex](3,-4)[/latex], we could use the derivative of [latex]y=-\sqrt{25-x^2}[/latex]. However, it is not always easy to solve for a function defined implicitly by an equation. Fortunately, the technique of implicit differentiation allows us to find the derivative of an implicitly defined function without ever solving for the function explicitly. The process of finding [latex]\frac{dy}{dx}[/latex] using implicit differentiation is described in the following problem-solving strategy.

Problem-Solving Strategy: Implicit Differentiation

To perform implicit differentiation on an equation that defines a function [latex]y[/latex] implicitly in terms of a variable [latex]x[/latex], use the following steps:

  1. Take the derivative of both sides of the equation. Keep in mind that [latex]y[/latex] is a function of [latex]x[/latex]. Consequently, whereas [latex]\frac{d}{dx}(\sin x)= \cos x, \, \frac{d}{dx}(\sin y)= \cos y\frac{dy}{dx}[/latex] because we must use the Chain Rule to differentiate [latex]\sin y[/latex] with respect to [latex]x[/latex].
  2. Rewrite the equation so that all terms containing [latex]\frac{dy}{dx}[/latex] are on the left and all terms that do not contain [latex]\frac{dy}{dx}[/latex] are on the right.
  3. Factor out [latex]\frac{dy}{dx}[/latex] on the left.
  4. Solve for [latex]\frac{dy}{dx}[/latex] by dividing both sides of the equation by an appropriate algebraic expression.

Using Implicit Differentiation

Assuming that [latex]y[/latex] is defined implicitly by the equation [latex]x^2+y^2=25[/latex], find [latex]\frac{dy}{dx}[/latex].

Solution

Follow the steps in the problem-solving strategy.

[latex]\begin{array}{llll} \frac{d}{dx}(x^2+y^2) = \frac{d}{dx}(25) & & & \text{Step 1. Differentiate both sides of the equation.} \\ \frac{d}{dx}(x^2)+\frac{d}{dx}(y^2) = 0 & & & \begin{array}{l}\text{Step 1.1. Use the sum rule on the left.} \\ \text{On the right,} \, \frac{d}{dx}(25)=0. \end{array} \\ 2x+2y\frac{dy}{dx} = 0 & & & \begin{array}{l}\text{Step 1.2. Take the derivatives, so} \, \frac{d}{dx}(x^2)=2x \\ \text{and} \, \frac{d}{dx}(y^2)=2y\frac{dy}{dx}. \end{array} \\ 2y\frac{dy}{dx} = -2x & & & \begin{array}{l}\text{Step 2. Keep the terms with} \, \frac{dy}{dx} \, \text{on the left.} \\ \text{Move the remaining terms to the right.} \end{array} \\ \frac{dy}{dx} = -\frac{x}{y} & & & \begin{array}{l}\text{Step 4. Divide both sides of the equation by} \\ 2y. \, \text{(Step 3 does not apply in this case.)} \end{array} \end{array}[/latex]

Analysis

Note that the resulting expression for [latex]\frac{dy}{dx}[/latex] is in terms of both the independent variable [latex]x[/latex] and the dependent variable [latex]y[/latex]. Although in some cases it may be possible to express [latex]\frac{dy}{dx}[/latex] in terms of [latex]x[/latex] only, it is generally not possible to do so.

Using Implicit Differentiation and the Product Rule

Assuming that [latex]y[/latex] is defined implicitly by the equation [latex]x^3 \sin y+y=4x+3[/latex], find [latex]\frac{dy}{dx}[/latex].

Solution

[latex]\begin{array}{llll}\frac{d}{dx}(x^3 \sin y+y) = \frac{d}{dx}(4x+3) & & & \text{Step 1: Differentiate both sides of the equation.} \\ \frac{d}{dx}(x^3 \sin y)+\frac{d}{dx}(y) = 4 & & & \begin{array}{l}\text{Step 1.1: Apply the sum rule on the left.} \\ \text{On the right,} \, \frac{d}{dx}(4x+3)=4. \end{array} \\ (\frac{d}{dx}(x^3) \cdot \sin y+\frac{d}{dx}(\sin y) \cdot x^3) + \frac{dy}{dx} = 4 & & & \begin{array}{l}\text{Step 1.2: Use the product rule to find} \\ \frac{d}{dx}(x^3 \sin y). \, \text{Observe that} \, \frac{d}{dx}(y)=\frac{dy}{dx}. \end{array} \\ 3x^2 \sin y+(\cos y\frac{dy}{dx}) \cdot x^3 + \frac{dy}{dx} = 4 & & & \begin{array}{l}\text{Step 1.3: We know} \, \frac{d}{dx}(x^3)=3x^2. \, \text{Use the} \\ \text{chain rule to obtain} \, \frac{d}{dx}(\sin y)= \cos y\frac{dy}{dx}. \end{array} \\ x^3 \cos y\frac{dy}{dx}+\frac{dy}{dx} = 4-3x^2 \sin y & & & \begin{array}{l}\text{Step 2: Keep all terms containing} \, \frac{dy}{dx} \, \text{on the} \\ \text{left. Move all other terms to the right.} \end{array} \\ \frac{dy}{dx}(x^3 \cos y+1) = 4-3x^2 \sin y & & & \text{Step 3: Factor out} \, \frac{dy}{dx} \, \text{on the left.} \\ \frac{dy}{dx} = \large \frac{4-3x^2 \sin y}{x^3 \cos y+1} & & & \begin{array}{l}\text{Step 4: Solve for} \, \frac{dy}{dx} \, \text{by dividing both sides of} \\ \text{the equation by} \, x^3 \cos y+1. \end{array} \end{array}[/latex]

Using Implicit Differentiation to Find a Second Derivative

Find [latex]\frac{d^2 y}{dx^2}[/latex] if [latex]x^2+y^2=25[/latex].

Solution

In (Figure) , we showed that [latex]\frac{dy}{dx}=-\frac{x}{y}[/latex]. We can take the derivative of both sides of this equation to find [latex]\frac{d^2 y}{dx^2}[/latex].

[latex]\begin{array}{lllll} \frac{d^2 y}{dx^2} & =\large \frac{d}{dx}(-\frac{x}{y}) & & & \text{Differentiate both sides of} \, \frac{dy}{dx}=-\frac{x}{y}. \\ & = \large -\frac{(1 \cdot y-x\frac{dy}{dx})}{y^2} & & & \text{Use the quotient rule to find} \, \frac{d}{dx}(-\frac{x}{y}). \\ & = \large \frac{-y+x\frac{dy}{dx}}{y^2} & & & \text{Simplify.} \\ & = \large \frac{-y+x(-\frac{x}{y})}{y^2} & & & \text{Substitute} \, \frac{dy}{dx}=-\frac{x}{y}. \\ & = \large \frac{-y^2-x^2}{y^3} & & & \text{Simplify.} \end{array}[/latex]

At this point we have found an expression for [latex]\frac{d^2 y}{dx^2}[/latex]. If we choose, we can simplify the expression further by recalling that [latex]x^2+y^2=25[/latex] and making this substitution in the numerator to obtain [latex]\frac{d^2 y}{dx^2}=-\frac{25}{y^3}[/latex].

Find [latex]\frac{dy}{dx}[/latex] for [latex]y[/latex] defined implicitly by the equation [latex]4x^5+ \tan y=y^2+5x[/latex].

Hint

Follow the problem solving strategy, remembering to apply the chain rule to differentiate [latex]\tan y[/latex] and [latex]y^2[/latex].

Solution

[latex]\frac{dy}{dx}=\large \frac{5-20x^4}{\sec^2 y-2y}[/latex]

Finding Tangent Lines Implicitly

Now that we have seen the technique of implicit differentiation, we can apply it to the problem of finding equations of tangent lines to curves described by equations.

Finding a Tangent Line to a Circle

Find the equation of the line tangent to the curve [latex]x^2+y^2=25[/latex] at the point [latex](3,-4)[/latex].

Solution

Although we could find this equation without using implicit differentiation, using that method makes it much easier. In (Figure) , we found [latex]\frac{dy}{dx}=-\frac{x}{y}[/latex].

The slope of the tangent line is found by substituting [latex](3,-4)[/latex] into this expression. Consequently, the slope of the tangent line is [latex]\frac{dy}{dx}|_{(3,-4)} =-\frac{3}{-4}=\frac{3}{4}[/latex].

Using the point [latex](3,-4)[/latex] and the slope [latex]\frac{3}{4}[/latex] in the point-slope equation of the line, we then solve for [latex]y[/latex] to obtain the equation [latex]y=\frac{3}{4}x-\frac{25}{4}[/latex] ( (Figure) ).

The circle with radius 5 and center at the origin is graphed. A tangent line is drawn through the point (3, -4).
Figure 2. The line [latex]y=\frac{3}{4}x-\frac{25}{4}[/latex] is tangent to [latex]x^2+y^2=25[/latex] at the point [latex](3,-4)[/latex].

Finding the Equation of the Tangent Line to a Curve

Find the equation of the line tangent to the graph of [latex]y^3+x^3-3xy=0[/latex] at the point [latex](\frac{3}{2},\frac{3}{2})[/latex] ( (Figure) ). This curve is known as the folium (or leaf) of Descartes.

A folium is shown, which is a line that creates a loop that crosses over itself. In this graph, it crosses over itself at (0, 0). Its tangent line from (3/2, 3/2) is shown.
Figure 3. Finding the tangent line to the folium of Descartes at [latex](\frac{3}{2},\frac{3}{2})[/latex].

Solution

Begin by finding [latex]\frac{dy}{dx}.[/latex]

[latex]\begin{array}{l} \frac{d}{dx}(y^3+x^3-3xy) = \frac{d}{dx}(0) \\ \\ 3y^2\frac{dy}{dx}+3x^2-(3y+3x\frac{dy}{dx}) = 0 \\ \\ \frac{dy}{dx} = \frac{3y-3x^2}{3y^2-3x}. \\ \\ \end{array}[/latex]

Next, substitute [latex](\frac{3}{2},\frac{3}{2})[/latex] into [latex]\frac{dy}{dx}=\frac{3y-3x^2}{3y^2-3x}[/latex] to find the slope of the tangent line:

[latex]\frac{dy}{dx}|_{(\frac{3}{2},\frac{3}{2})}=-1[/latex].

Finally, substitute into the point-slope equation of the line and solve for [latex]y[/latex] to obtain

[latex]y=-x+3[/latex].

Applying Implicit Differentiation

In a simple video game, a rocket travels in an elliptical orbit whose path is described by the equation [latex]4x^2+25y^2=100[/latex]. The rocket can fire missiles along lines tangent to its path. The object of the game is to destroy an incoming asteroid traveling along the positive [latex]x[/latex]-axis toward [latex](0,0)[/latex]. If the rocket fires a missile when it is located at [latex](3,\frac{8}{3})[/latex], where will it intersect the [latex]x[/latex]-axis?

Solution

To solve this problem, we must determine where the line tangent to the graph of

[latex]4x^2+25y^2=100[/latex] at [latex](3,\frac{8}{3})[/latex] intersects the [latex]x[/latex]-axis. Begin by finding [latex]\frac{dy}{dx}[/latex] implicitly.

Differentiating, we have

[latex]8x+50y\frac{dy}{dx}=0[/latex].

Solving for [latex]\frac{dy}{dx}[/latex], we have

[latex]\frac{dy}{dx}=-\frac{4x}{25y}[/latex].

The slope of the tangent line is [latex]\frac{dy}{dx}|_{(3,\frac{8}{3})}=-\frac{9}{50}[/latex]. The equation of the tangent line is [latex]y=-\frac{9}{50}x+\frac{481}{150}[/latex]. To determine where the line intersects the [latex]x[/latex]-axis, solve [latex]0=-\frac{9}{50}x+\frac{481}{150}[/latex]. The solution is [latex]x=\frac{481}{27}[/latex]. The missile intersects the [latex]x[/latex]-axis at the point [latex](\frac{481}{27},0)[/latex].

Find the equation of the line tangent to the hyperbola [latex]x^2-y^2=16[/latex] at the point [latex](5,3)[/latex].

Hint

Using implicit differentiation, you should find that [latex]\frac{dy}{dx}=\frac{x}{y}[/latex].

Solution

[latex]y=\frac{5}{3}x-\frac{16}{3}[/latex]

Key Concepts

  • We use implicit differentiation to find derivatives of implicitly defined functions (functions defined by equations).
  • By using implicit differentiation, we can find the equation of a tangent line to the graph of a curve.

For the following exercises, use implicit differentiation to find [latex]\frac{dy}{dx}[/latex].

1.  [latex]x^2-y^2=4[/latex]

2.  [latex]6x^2+3y^2=12[/latex]

Solution

[latex]\frac{dy}{dx}=\frac{-2x}{y}[/latex]

3.  [latex]x^2 y=y-7[/latex]

4.  [latex]3x^3+9xy^2=5x^3[/latex]

Solution

[latex]\frac{dy}{dx}=\frac{x}{3y}-\frac{y}{2x}[/latex]

5.  [latex]xy- \cos (xy)=1[/latex]

6.  [latex]y\sqrt{x+4}=xy+8[/latex]

Solution

[latex]\frac{dy}{dx}=\large \frac{y-\frac{y}{2\sqrt{x+4}}}{\sqrt{x+4}-x}[/latex]

7.  [latex]-xy-2=\frac{x}{7}[/latex]

8.  [latex]y \sin(xy)=y^2+2[/latex]

Solution

[latex]\frac{dy}{dx}=\large \frac{y^2 \cos(xy)}{2y- \sin(xy)-xy \cos xy}[/latex]

9.  [latex](xy)^2+3x=y^2[/latex]

10.  [latex]x^3 y+xy^3=-8[/latex]

[latex]\frac{dy}{dx}=\large \frac{-3x^2 y-y^3}{x^3+3xy^2}[/latex]

11. [latex]x^2y+xy^2 = 3x[/latex]

12. [latex]e^{x^2y} = x+ y[/latex]

[latex]\frac{dy}{dx}=\large \frac{1-2xye^{x^2y}}{x^2e^{x^2y}-1}[/latex]

For the following exercises, find [latex]y''(x)[/latex] using implicit differentiation. Leave your final answer in terms of [latex]x[/latex] and [latex]y[/latex] only.

13. [latex]x^3 + y ^3 = 1[/latex].

14. [latex]x^2 +y^2 = 2[/latex]

[latex]y''(x)=\large \frac{-y - \frac{x^2}{y}}{y^2} = \frac{-(y^2 + x^2)}{y^3}[/latex]

15. [latex]-xy^2+3y = 5[/latex]

16. [latex]4x = xy + 2y[/latex]

[latex]y''(x)=\large \frac{(4-\frac{4-y}{x+2}) (x+2) - (4-y)}{(x+2)^2}[/latex]

For the following exercises, find the equation of the tangent line to the graph of the given equation at the indicated point. Use a calculator or computer software to graph the function and the tangent line.

17. [T]  [latex]x^4 y-xy^3=-2, \, (-1,-1)[/latex]

18. [T]  [latex]x^2 y^2+5xy=14, \, (2,1)[/latex]

Solution

The graph has a crescent in each of the four quadrants. There is a straight line marked T(x) with slope -1/2 and y intercept 2.
[latex]y=-\frac{1}{2}x+2[/latex]

19. [T]  [latex]\tan (xy)=y, \, (\frac{\pi}{4},1)[/latex]

20. [T]  [latex]xy^2 + \sin(\pi y)-2x^2=10, \, (2,-3)[/latex]

Solution

The graph has two curves, one in the first quadrant and one in the fourth quadrant. They are symmetric about the x axis. The curve in the first quadrant goes from (0.3, 5) to (1.5, 3.5) to (5, 4). There is a straight line marked T(x) with slope 1/(π + 12) and y intercept -(3π + 38)/(π + 12).
[latex]y=\large \frac{1}{\pi +12}x-\frac{3\pi +38}{\pi +12}[/latex]

21. [T]  [latex]\frac{x}{y}+5x-7=-\frac{3}{4}y, \, (1,2)[/latex]

22. [T]  [latex]xy+ \sin (x)=1, \, (\frac{\pi}{2},0)[/latex]

Solution

The graph starts in the third quadrant near (-5, 0), remains near 0 until x = -4, at which point it decreases until it reaches near (0, -5). There is an asymptote at x = 0. The graph begins again near (0, 5) decreases to (1, 0) and then increases a little bit before decreasing to be near (5, 0). There is a straight line marked T(x) that coincides with y = 0.
[latex]y=0[/latex]

23. [T] The graph of a folium of Descartes with equation [latex]2x^3+2y^3-9xy=0[/latex] is given in the following graph.

A folium is graphed which has equation 2x3 + 2y3 – 9xy = 0. It crosses over itself at (0, 0).

  1. Find the equation of the tangent line at the point [latex](2,1)[/latex]. Graph the tangent line along with the folium.
  2. Find the equation of the normal line to the tangent line in a. at the point [latex](2,1)[/latex].

24.  For the equation [latex]x^2+2xy-3y^2=0[/latex],

  1. Find the equation of the normal to the tangent line at the point [latex](1,1)[/latex].
  2. At what other point does the normal line in a. intersect the graph of the equation?

Solution

a. [latex]y=-x+2[/latex]
b. [latex](3,-1)[/latex]

25.  Find all points on the graph of [latex]y^3-27y=x^2-90[/latex] at which the tangent line is vertical.

26.  For the equation [latex]x^2+xy+y^2=7[/latex],

  1. Find the [latex]x[/latex]-intercept(s).
  2. Find the slope of the tangent line(s) at the [latex]x[/latex]-intercept(s).
  3. What does the value(s) in b. indicate about the tangent line(s)?

Solution

a. [latex](\pm \sqrt{7},0)[/latex]
b. Slope is -2 at both intercepts
c. They are parallel since the slope is the same at both intercepts.

27.  Find the equation of the tangent line to the graph of the equation [latex]\sin^{-1} x+\sin^{-1} y=\frac{\pi}{6}[/latex] at the point [latex](0,\frac{1}{2})[/latex].

28.  Find the equation of the tangent line to the graph of the equation [latex]\tan^{-1}(x+y)=x^2+\frac{\pi}{4}[/latex] at the point [latex](0,1)[/latex].

Solution

[latex]y=-x+1[/latex]

29.  Find [latex]y^{\prime}[/latex] and [latex]y''[/latex] for [latex]x^2+6xy-2y^2=3[/latex].

30. [T] The number of cell phones produced when [latex]x[/latex] dollars is spent on labor and [latex]y[/latex] dollars is spent on capital invested by a manufacturer can be modeled by the equation [latex]60x^{3/4}y^{1/4}=3240[/latex].

  1. Find [latex]\frac{dy}{dx}[/latex] and evaluate at the point [latex](81,16)[/latex].
  2. Interpret the result of a.

Solution

a. -0.5926
b. When $81 is spent on labor and $16 is spent on capital, the amount spent on capital is decreasing by $0.5926 per $1 spent on labor.

31. [T] The number of cars produced when [latex]x[/latex] dollars is spent on labor and [latex]y[/latex] dollars is spent on capital invested by a manufacturer can be modeled by the equation [latex]30x^{1/3}y^{2/3}=360[/latex].

(Both [latex]x[/latex] and [latex]y[/latex] are measured in thousands of dollars.)

  1. Find [latex]\frac{dy}{dx}[/latex] and evaluate at the point [latex](27,8)[/latex].
  2. Interpret the result of a.

32.  The volume of a right circular cone of radius [latex]x[/latex] and height [latex]y[/latex] is given by [latex]V=\frac{1}{3}\pi x^2 y[/latex]. Suppose that the volume of the cone is [latex]85\pi \, \text{cm}^3[/latex]. Find [latex]\frac{dy}{dx}[/latex] when [latex]x=4[/latex] and [latex]y=16[/latex].

Solution

[latex]\frac{dy}{dx}=-8[/latex]

For the following exercises, consider a closed rectangular box with a square base with side [latex]x[/latex] and height [latex]y[/latex].

33.  Find an equation for the surface area of the rectangular box, [latex]S(x,y)[/latex].

34.  If the surface area of the rectangular box is 78 square feet, find [latex]\frac{dy}{dx}[/latex] when [latex]x=3[/latex] feet and [latex]y=5[/latex] feet.

Solution

[latex]\frac{dy}{dx}=-2.67[/latex]

For the following exercises, use implicit differentiation to determine [latex]y^{\prime}[/latex]. Does the answer agree with the formulas we have previously determined?

35.  [latex]x= \sin y[/latex]

36.  [latex]x= \cos y[/latex]

Solution

[latex]y^{\prime}=-\frac{1}{\sqrt{1-x^2}}[/latex]

37.  [latex]x= \tan y[/latex]

Glossary

implicit differentiation
is a technique for computing [latex]\frac{dy}{dx}[/latex] for a function defined by an equation, accomplished by differentiating both sides of the equation (remembering to treat the variable [latex]y[/latex] as a function) and solving for [latex]\frac{dy}{dx}[/latex]

License

Icon for the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Calculus Volume 1 Copyright © 2016 by OSCRiceUniversity is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book