Loading [MathJax]/jax/element/mml/optable/GeneralPunctuation.js
Skip to main content

Section2.6Implicit Differentiation

In the previous sections we learned to find the derivative, dydx, or y, when y is given explicitly as a function of x. That is, if we know y=f(x) for some function f, we can find y. For example, given y=3x27, we can easily find y=6x. (Here we explicitly state how y depends on x. Knowing x, we can directly find y.)

Sometimes the relationship between y and x is not explicit; rather, it is implicit. For instance, we might know that x2y=4. This equality defines a relationship between x and y; if we know x, we could figure out y. Can we still find y? In this case, sure; we solve for y to get y=x24 (hence we now know y explicitly) and then differentiate to get y=2x.

Sometimes the implicit relationship between x and y is complicated. Suppose we are given sin(y)+y3=6x3. A graph of this implicit relationship is given in Figure 2.6.1. In this case there is absolutely no way to solve for y in terms of elementary functions. The surprising thing is, however, that we can still find y via a process known as implicit differentiation.

<<SVG image is unavailable, or your browser cannot render it>>

Figure2.6.1A graph of the implicit relationship sin(y)+y3=6x3.

Implicit differentiation is a technique based on the Chain Rule that is used to find a derivative when the relationship between the variables is given implicitly rather than explicitly (solved for one variable in terms of the other).

We begin by reviewing the Chain Rule. Let f and g be functions of x. Then ddx(f(g(x)))=f(g(x))g(x).

Suppose now that y=g(x). We can rewrite the above as ddx(f(y))=f(y)y, or ddx(f(y))=f(y)dydx.

These equations look strange; the key concept to learn here is that we can find y even if we don't exactly know how y and x relate.

We demonstrate this process in the following example.

Example2.6.2Using Implicit Differentiation

Find y given that sin(y)+y3=6x3.

Solution

Implicit functions are generally harder to deal with than explicit functions. With an explicit function, given an x value, we have an explicit formula for computing the corresponding y value. With an implicit function, one often has to find x and y values at the same time that satisfy the equation. It is much easier to demonstrate that a given point satisfies the equation than to actually find such a point.

For instance, we can affirm easily that the point (36,0) lies on the graph of the implicit function sin(y)+y3=6x3. Plugging in 0 for y, we see the left hand side is 0. Setting x=36, we see the right hand side is also 0; the equation is satisfied. The following example finds the equation of the tangent line to this function at this point.

Example2.6.3Using Implicit Differentiation to find a Tangent Line

Find the equation of the line tangent to the curve of the implicitly defined function sin(y)+y3=6x3 at the point (36,0).

Solution

This suggests a general method for implicit differentiation. For the steps below assume y is a function of x.

  1. Take the derivative of each term in the equation. Treat the x terms like normal. When taking the derivatives of y terms, the usual rules apply except that, because of the Chain Rule 2.5.3, we need to multiply each term by y.

  2. Get all the y terms on one side of the equal sign and put the remaining terms on the other side.

  3. Factor out y; solve for y by dividing.

(Practical Note: when working by hand, it may be beneficial to use the symbol dydx instead of y, as the latter can be easily confused for y or y1.)

Example2.6.5Using Implicit Differentiation

Given the implicitly defined function y3+x2y4=1+2x, find y.

Solution
Example2.6.7Using Implicit Differentiation

Given the implicitly defined function sin(x2y2)+y3=x+y, find y.

Solution

Quite a few “famous” curves have equations that are given implicitly. We can use implicit differentiation to find the slope at various points on those curves. We investigate two such curves in the next examples.

Example2.6.10Finding slopes of tangent lines to a circle

Find the slope of the tangent line to the circle x2+y2=1 at the point (1/2,3/2).

Solution

This section has shown how to find the derivatives of implicitly defined functions, whose graphs include a wide variety of interesting and unusual shapes. Implicit differentiation can also be used to further our understanding of “regular” differentiation.

One hole in our current understanding of derivatives is this: what is the derivative of the square root function? That is, ddx(x)=ddx1/2(=)?

We allude to a possible solution, as we can write the square root function as a power function with a rational (or, fractional) power. We are then tempted to apply the Power Rule with Integer Exponents and obtain ddx1/2(=)12x1/2=12x.

The trouble with this is that the Power Rule with Integer Exponents was initially defined only for positive integer powers, n>0. While we did not justify this at the time, generally the Power Rule with Integer Exponents is proved using something called the Binomial Theorem, which deals only with positive integers. The Quotient Rule allowed us to extend the Power Rule with Integer Exponents to negative integer powers. Implicit Differentiation allows us to extend the Power Rule with Integer Exponents to rational powers, as shown below.

Let y=xm/n, where m and n are integers with no common factors (so m=2 and n=5 is fine, but m=2 and n=4 is not). We can rewrite this explicit function implicitly as yn=xm. Now apply implicit differentiation. y=xm/nyn=xmddx(yn)=ddx(xm)nyn1y=mxm1y=mnxm1yn1(now substitute xm/n for y)=mnxm1(xm/n)n1(apply lots of algebra)=mnx(mn)/n=mnxm/n1.

The above derivation is the key to the proof extending the Power Rule with Integer Exponents to rational powers. Using limits, we can extend this once more to include all powers, including irrational (even transcendental!) powers, giving the following theorem.

This theorem allows us to say the derivative of xπ is πxπ1.

We now apply this final version of the Power Rule for Differentiation in the next example, the second investigation of a “famous” curve.

Example2.6.13Using the Power Rule

Find the slope of x2/3+y2/3=8 at the point (8,8).

Solution

Subsection2.6.1Implicit Differentiation and the Second Derivative

We can use implicit differentiation to find higher order derivatives. In theory, this is simple: first find dydx, then take its derivative with respect to x. In practice, it is not hard, but it often requires a bit of algebra. We demonstrate this in an example.

Example2.6.16Finding the second derivative

Given x2+y2=1, find dyxd2y=y

Solution

Subsection2.6.2Logarithmic Differentiation

Consider the function y=x^x\text{;} it is graphed in Figure 2.6.17. It is well-defined for x>0 and we might be interested in finding equations of lines tangent and normal to its graph. 1  How do we take its derivative?

<<SVG image is unavailable, or your browser cannot render it>>

Figure2.6.17A plot of y=x^x\text{.}

The function is not a power function: it has a “power” of x\text{,} not a constant. It is not an exponential function either: it has a “base” of x\text{,} not a constant.

A differentiation technique known as logarithmic differentiation becomes useful here. The basic principle is this: take the natural log of both sides of an equation y=f(x)\text{,} then use implicit differentiation to find y'\text{.} We demonstrate this in the following example.

Example2.6.18Using Logarithmic Differentiation

Given y=x^x\text{,} use logarithmic differentiation to find y'\text{.}

Solution

Implicit differentiation proves to be useful as it allows us to find the instantaneous rates of change of a variety of functions. In particular, it extended the Power Rule for Differentiation to rational exponents, which we then extended to all real numbers. In Section 2.7, implicit differentiation will be used to find the derivatives of inverse functions, such as y=\sin^{-1}(x)\text{.}

Subsection2.6.3Exercises

In the following exercises, compute the derivative of the given function.

In the following exercises, find the equation of the tangent line to the graph of the implicitly defined function at the indicated points. As a visual aid, each function is graphed.

In the following exercises, an implicitly defined function is given. Find \lzn{y}{x}{2}\text{.} Note: these are the same problems used in Exercises 2.6.3.13 through 2.6.3.16.

In the following exercises, use logarithmic differentiation to find \lz{y}{x}\text{,} then find the equation of the tangent line at the indicated x-value.