### Learning Objectives

- 3.8.1 Find the derivative of a complicated function by using implicit differentiation.
- 3.8.2 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 $y$ implicitly in terms of $x.$

### Implicit Differentiation

In most discussions of math, if the dependent variable $y$ is a function of the independent variable $x,$ we express *y* in terms of $x.$ If this is the case, we say that $y$ is an explicit function of $x.$ For example, when we write the equation $y={x}^{2}+1,$ we are defining *y* explicitly in terms of $x.$ On the other hand, if the relationship between the function $y$ and the variable $x$ is expressed by an equation where $y$ is not expressed entirely in terms of $x,$ we say that the equation defines *y* implicitly in terms of $x.$ For example, the equation $y-{x}^{2}=1$ defines the function $y={x}^{2}+1$ 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 $y$ are functions that satisfy the given equation, but that $y$ is not actually a function of $x.$

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

$y=\sqrt{25-{x}^{2}}$ and $y=\{\begin{array}{c}\sqrt{25-{x}^{2}}\phantom{\rule{0.2em}{0ex}}\text{if}-5<x<0\\ \text{\u2212}\sqrt{25-{x}^{2}}\phantom{\rule{0.2em}{0ex}}\text{if}\phantom{\rule{0.2em}{0ex}}0<x<25\end{array},$ which are illustrated in Figure 3.30, are just three of the many functions defined implicitly by the equation ${x}^{2}+{y}^{2}=25.$

If we want to find the slope of the line tangent to the graph of ${x}^{2}+{y}^{2}=25$ at the point $\left(3,4\right),$ we could evaluate the derivative of the function $y=\sqrt{25-{x}^{2}}$ at $x=3.$ On the other hand, if we want the slope of the tangent line at the point $\left(3,\mathrm{-4}\right),$ we could use the derivative of $y=\text{\u2212}\sqrt{25-{x}^{2}}.$ 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 $\frac{dy}{dx}$ using implicit differentiation is described in the following problem-solving strategy.

### Problem-Solving Strategy

#### Problem-Solving Strategy: Implicit Differentiation

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

- Take the derivative of both sides of the equation. Keep in mind that
*y*is a function of*x*. Consequently, whereas $\frac{d}{dx}\left(\text{sin}\phantom{\rule{0.1em}{0ex}}x\right)=\text{cos}\phantom{\rule{0.1em}{0ex}}x,\frac{d}{dx}(\text{sin}\phantom{\rule{0.1em}{0ex}}y)=\text{cos}\phantom{\rule{0.1em}{0ex}}y\frac{dy}{dx}$ because we must use the chain rule to differentiate $\text{sin}\phantom{\rule{0.1em}{0ex}}y$ with respect to $x.$ - Rewrite the equation so that all terms containing $\frac{dy}{dx}$ are on the left and all terms that do not contain $\frac{dy}{dx}$ are on the right.
- Factor out $\frac{dy}{dx}$ on the left.
- Solve for $\frac{dy}{dx}$ by dividing both sides of the equation by an appropriate algebraic expression.

### Example 3.68

#### Using Implicit Differentiation

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

#### Solution

Follow the steps in the problem-solving strategy.

#### Analysis

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

### Example 3.69

#### Using Implicit Differentiation and the Product Rule

Assuming that $y$ is defined implicitly by the equation ${x}^{3}\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}y+y=4x+3,$ find $\frac{dy}{dx}.$

#### Solution

### Example 3.70

#### Using Implicit Differentiation to Find a Second Derivative

Find $\frac{{d}^{2}y}{d{x}^{2}}$ if ${x}^{2}+{y}^{2}=25.$

#### Solution

In Example 3.68, we showed that $\frac{dy}{dx}=-\frac{x}{y}.$ We can take the derivative of both sides of this equation to find $\frac{{d}^{2}y}{d{x}^{2}}.$

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

### Checkpoint 3.48

Find $\frac{dy}{dx}$ for $y$ defined implicitly by the equation $4{x}^{5}+\text{tan}\phantom{\rule{0.1em}{0ex}}y={y}^{2}+5x.$

### 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.

### Example 3.71

#### Finding a Tangent Line to a Circle

Find the equation of the line tangent to the curve ${x}^{2}+{y}^{2}=25$ at the point $\left(3,\mathrm{-4}\right).$

#### Solution

Although we could find this equation without using implicit differentiation, using that method makes it much easier. In Example 3.68, we found $\frac{dy}{dx}=-\frac{x}{y}.$

The slope of the tangent line is found by substituting $\left(3,\mathrm{-4}\right)$ into this expression. Consequently, the slope of the tangent line is $\frac{dy}{dx}|\begin{array}{l}\\ {}_{\left(3,\mathrm{-4}\right)}\end{array}=-\frac{3}{\mathrm{-4}}=\frac{3}{4}.$

Using the point $\left(3,\mathrm{-4}\right)$ and the slope $\frac{3}{4}$ in the point-slope equation of the line, we obtain the equation $y=\frac{3}{4}x-\frac{25}{4}$ (Figure 3.31).

### Example 3.72

#### Finding the Equation of the Tangent Line to a Curve

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

#### Solution

Begin by finding $\frac{dy}{dx}.$

Next, substitute $\left(\frac{3}{2},\frac{3}{2}\right)$ into $\frac{dy}{dx}=\frac{3y-3{x}^{2}}{3{y}^{2}-3x}$ to find the slope of the tangent line:

Finally, substitute into the point-slope equation of the line to obtain

### Example 3.73

#### Applying Implicit Differentiation

In a simple video game, a rocket travels in an elliptical orbit whose path is described by the equation $4{x}^{2}+25{y}^{2}=100.$ 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 *x*-axis toward $\left(0,0\right).$ If the rocket fires a missile when it is located at $\left(3,\frac{8}{5}\right),$ where will it intersect the *x*-axis?

#### Solution

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

$4{x}^{2}+25{y}^{2}=100$ at $\left(3,\frac{8}{5}\right)$ intersects the *x*-axis. Begin by finding $\frac{dy}{dx}$ implicitly.

Differentiating, we have

Solving for $\frac{dy}{dx},$ we have

The slope of the tangent line is $\frac{dy}{dx}|{}_{\left(3,\frac{8}{5}\right)}=-\frac{3}{10}.$ The equation of the tangent line is $y=-\frac{3}{10}x+\frac{5}{2}.$ To determine where the line intersects the *x*-axis, solve $0=-\frac{3}{10}x+\frac{5}{2}.$ The solution is $x=\frac{25}{3}.$ The missile intersects the *x*-axis at the point $\left(\frac{25}{3},0\right).$

### Checkpoint 3.49

Find the equation of the line tangent to the hyperbola ${x}^{2}-{y}^{2}=16$ at the point $\left(5,3\right).$

### Section 3.8 Exercises

For the following exercises, use implicit differentiation to find $\frac{dy}{dx}.$

${x}^{2}-{y}^{2}=4$

${x}^{2}y=y-7$

$xy-\text{cos}\phantom{\rule{0.1em}{0ex}}\left(xy\right)=1$

$\text{\u2212}xy-2=\frac{x}{7}$

${\left(xy\right)}^{2}+3x={y}^{2}$

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.

**[T]** ${x}^{4}y-x{y}^{3}=\mathrm{-2},\left(\mathrm{-1},\mathrm{-1}\right)$

**[T]** $\text{tan}\phantom{\rule{0.1em}{0ex}}\left(xy\right)=y,\left(\frac{\pi}{4},1\right)$

**[T]** $x{y}^{2}+\text{sin}\phantom{\rule{0.1em}{0ex}}\left(\pi y\right)-2{x}^{2}=10,\left(2,\mathrm{-3}\right)$

**[T]** $\frac{x}{y}+5x-7=-\frac{3}{4}y,\left(1,2\right)$

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

- Find the equation of the tangent line at the point $\left(2,1\right).$ Graph the tangent line along with the folium.
- Find the equation of the normal line to the tangent line in a. at the point $\left(2,1\right).$

For the equation ${x}^{2}+2xy-3{y}^{2}=0,$

- Find the equation of the normal to the tangent line at the point $\left(1,1\right).$
- At what other point does the normal line in a. intersect the graph of the equation?

Find all points on the graph of ${y}^{3}-27y={x}^{2}-90$ at which the tangent line is vertical.

For the equation ${x}^{2}+xy+{y}^{2}=7,$

- Find the $x$-intercept(s).
- Find the slope of the tangent line(s) at the
*x*-intercept(s). - What does the value(s) in b. indicate about the tangent line(s)?

Find the equation of the tangent line to the graph of the equation ${\text{sin}}^{\mathrm{-1}}x+{\text{sin}}^{\mathrm{-1}}y=\frac{\pi}{6}$ at the point $\left(0,\frac{1}{2}\right).$

Find the equation of the tangent line to the graph of the equation ${\text{tan}}^{\mathrm{-1}}\left(x+y\right)={x}^{2}+\frac{\pi}{4}$ at the point $\left(0,1\right).$

Find ${y}^{\prime}$ and $y\text{\u2033}$ for ${x}^{2}+6xy-2{y}^{2}=3.$

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

- Find $\frac{dy}{dx}$ and evaluate at the point $\left(81,16\right).$
- Interpret the result of a.

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

(Both $x$ and $y$ are measured in thousands of dollars.)

- Find $\frac{dy}{dx}$ and evaluate at the point $\left(27,8\right).$
- Interpret the result of a.

The volume of a right circular cone of radius $x$ and height $y$ is given by $V=\frac{1}{3}\pi {x}^{2}y.$ Suppose that the volume of the cone is a constant. Find $\frac{dy}{dx}$ when $x=4$ and $y=16.$

For the following exercises, consider a closed rectangular box with a square base with side $x$ and height $y.$

Find an equation for the surface area of the rectangular box, $S\left(x,y\right).$

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

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

$x=\text{sin}\phantom{\rule{0.1em}{0ex}}y$

$x=\text{tan}\phantom{\rule{0.1em}{0ex}}y$