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}} , y = - \sqrt{25 - x^{2}} ,\) and \(\begin{aligned} y = \left{\right. \sqrt{25 - x^{2}} \text{if} - 5 < x < 0 \\ − \sqrt{25 - x^{2}} \text{if} 0 < x < 25 , \end{aligned}\) 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(\right. 3 , 4 \left.\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(\right. 3 , −4 \left.\right) ,\) we could use the derivative of \(y = − \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{d y}{d x}\) 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 \(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}{d x} \left(\right. \text{sin} x \left.\right) = \text{cos} x , \frac{d}{d x} \left(\right. \text{sin} y \left.\right) = \text{cos} y \frac{d y}{d x}\) because we must use the chain rule to differentiate \(\text{sin} y\) with respect to \(x .\)
- Rewrite the equation so that all terms containing \(\frac{d y}{d x}\) are on the left and all terms that do not contain \(\frac{d y}{d x}\) are on the right.
- Factor out \(\frac{d y}{d x}\) on the left.
- Solve for \(\frac{d y}{d x}\) 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{d y}{d x} .\)
Solution
Follow the steps in the problem-solving strategy.
Analysis
Note that the resulting expression for \(\frac{d y}{d x}\) 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{d y}{d x}\) 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} \text{sin} y + y = 4 x + 3 ,\) find \(\frac{d y}{d x} .\)
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{d y}{d x} = - \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{d y}{d x}\) for \(y\) defined implicitly by the equation \(4 x^{5} + \text{tan} y = y^{2} + 5 x .\)
This lesson is part of:
Derivatives