In all of our studies with derivatives so far, we have worked with functions whose formula is given explicitly in terms of . But there are many interesting curves whose equations involving and are impossible to solve for in terms of .
Figure2.7.1.At left, the circle given by . In the middle, the portion of the circle that has been highlighted in the box at left. And at right, the curve given by .
Perhaps the simplest and most natural of all such curves are circles. Because of the circle’s symmetry, for each value strictly between the endpoints of the horizontal diameter, there are two corresponding -values. For instance, in Figure 2.7.1, we have labeled and , and these points demonstrate that the circle fails the vertical line test. Hence, it is impossible to represent the circle through a single function of the form . But portions of the circle can be represented explicitly as a function of , such as the highlighted arc that is magnified in the center of Figure 2.7.1. Moreover, it is evident that the circle is locally linear, so we ought to be able to find a tangent line to the curve at every point. Thus, it makes sense to wonder if we can compute at any point on the circle, even though we cannot write explicitly as a function of .
We say that the equation defines implicitly as a function of . The graph of the equation can be broken into pieces where each piece can be defined by an explicit function of . For the circle, we could choose to take the top half as one explicit function of , namely and the bottom half as the explicit function . The equation for the circle defines an implicit function of .
How can we find an equation for without an explicit formula for in terms of ? To begin answering this question, the following preview activity reminds us of some ways we can compute derivatives of functions in settings where the function’s formula is not known.
Let be a differentiable function of (whose formula is not known) and recall that and are interchangeable notations. Using the notation, determine the following derivative in terms of and the unknown function .
By viewing as an implicit function of , we think of as some function whose formula is unknown, but which we can differentiate. Just as represents an unknown formula, so too its derivative with respect to ,, will be (at least temporarily) unknown.
Note carefully the different roles being played by and . Because is the independent variable, . But is the dependent variable and is an implicit function of . Recall Preview Activity 2.7.1, where we computed . Computing is the same, and requires the chain rule, by which we find that . We now have that
Let’s think further about the result that . First, notice that this expression for the derivative involves both and . This makes sense because there are two corresponding points on the circle for each value of between and , and the slope of the tangent line is different at each of these points. Second, this formula is entirely consistent with our understanding of circles. The slope of the radius from the origin to the point is . The tangent line to the circle at is perpendicular to the radius, and thus has slope , as shown in Figure 2.7.2. In particular, the slope of the tangent line is zero at and , and is undefined at and .
Figure2.7.2.The circle given by with point on the circle and the tangent line at that point, with labeled slopes of the radial line, , and tangent line, .
For the three derivatives we now must execute, the first uses the simple power rule, the second requires the chain rule (since is an implicit function of ), and the third necessitates the product rule (again since is a function of ). Applying these rules, we now find that
Note that the expression for depends on both and . To find the slope of the tangent line at , we substitute the coordinates into the formula for , using the notation
In Desmos, entering the equation will automatically graph the corresponding curve.
the implicit curve and its tangent line, as shown in Figure 2.7.4, we see that the slope we have found matches the graph and confirms the local linearity of this curve at .
Example 2.7.3 shows that it is possible when differentiating implicitly to have multiple terms involving . We use addition and subtraction to collect all terms involving on one side of the equation, then factor to get a single term of . Finally, we divide to solve for .
It is natural to ask where the tangent line to a curve is vertical or horizontal. The slope of a horizontal tangent line must be zero, while the slope of a vertical tangent line is undefined. Often the formula for is expressed as a quotient of functions of and , say
The tangent line is horizontal precisely when the numerator is zero and the denominator is nonzero, making the slope of the tangent line zero. If we can solve the equation for either and in terms of the other, we can substitute that expression into the original equation for the curve. This gives an equation in a single variable, and if we can solve that equation we can find the point(s) on the curve where . At those points, the tangent line is horizontal.
Determine all points at which the tangent line to the curve is horizontal. (Use technology appropriately to find the needed zeros of the relevant polynomial function.)
Determine all points at which the tangent line is vertical. (Use technology appropriately to find the needed zeros of the relevant polynomial function.)
In an equation involving and where portions of the graph can be defined by explicit functions of , we say that is an implicit function of . A good example of such a curve is the unit circle.
We use implicit differentiation to differentiate an implicitly defined function. We differentiate both sides of the equation with respect to , treating as a function of by applying the chain rule. If possible, we subsequently solve for using algebra.
While may now involve both the variables and , still gives the slope of the tangent line to the curve. It may be used to decide where the tangent line is horizontal () or vertical ( is undefined), or to find the equation of the tangent line at a particular point on the curve.
Are there any points where the slope is not defined? (Enter them as comma-separated ordered-pairs, e.g., (1,3), (-2,5). Enter none if there are no such points.)
Consider the curve given by the equation . Find all points at which the tangent line to the curve is horizontal or vertical. Be sure to use a graphing utility to plot this implicit curve and to visually check the results of algebraic reasoning that you use to determine where the tangent lines are horizontal and vertical.
Implicit differentiation enables us a different perspective from which to see why the rule holds, if we assume that . This exercise leads you through the key steps to do so.
Let . Rewrite this equation using the natural logarithm function to write in terms of (and the constant ).