Implicit differentiation is a very powerful technique in differential calculus. It allows us to find derivatives when presented with equations and functions like those in the box. →
One could solve for y and find y'(x), but there's an easier way, and it applies to the derivatives of more complicated functions, too.
Implicit differentiation is really just application of the chain rule, where we recognize y as a function of x, and further differentiate any term containing y using the chain rule. For example,
The best way to learn implicit differentiation is by example, so here we go ...
It's possible to solve for y in this equation, of course, and then find dy/dx, but implicit differentiation makes finding the derivative much easier.
We start by taking the derivative with respect to x (we could as easily take it with respect to y) of each term on both sides. We apply the sum rule (the derivative of a sum is the sum of derivatives) on the left and recall that the derivative of a constant is zero.
Here is an intermediate step:
To differentiate y2, we treat y is a function of x using the chain rule. Then it's a simple matter to solve for dy/dx.
Moving the 2x to the right by subtraction and dividing by 2y, gives us the solution:
Does the derivative make sense? The graph of this function is a circle centered at the origin, so we expect a positive slope in the 2nd and 4th quadrants, and a negative slope in the 1st and 3rd, just what we get from this derivative. Here's a picture of that:
To find dy/dx, we take the derivative of both sides with respect to x:
We need the chain rule on both the left and the right is just the derivative of a sum that will include dy/dx, remembering that y is implicitly a function of x:
Now we'll begin cleaning up and rearranging to solve for dy/dx:
Multiplying the two binomials on the right gives
Now we'll collect all terms containing dy/dx on the left, and factor out the dy/dx.
Finally, it's just a matter of dividing by 2y - 2x - 1 on both sides to find the derivative:
Once again, we could isolate y as a function of x and just take a straightforward derivative, but solving for y is not quite so easy. It would involve completing the square on y, then we'd be left with a tricky derivative. Implicit differentiation is much easier.
Now we'll see how implicit differentiation can be a powerful tool for solving problems that we might not otherwise be able to, like finding the derivative of y = sin-1(x).
The first step is to take the sine of both sides, which 'cancels' the inverse sine on the right:
Then take the derivative with respect to x of each side:
Now y is implicitly a function of x, so we have in instance of dy/dx:
Now it's just a matter of solving for dy/dx, as we've done before:
This solution isn't really what we want, however, because it's a function of y. To make it a function of x, we construct the triangle for which sin(y) = x.
Now we can replace cos(y) with the bottom side of the triangle in the figure:
We can derive a similar formula for the derivative of the inverse cosine function.
Method: First we will find dy/dx by implicit differentiation, then plug x = 1 and y = 1 into it to find the slope at (1, 1). Then the equation of the tangent is easy to find from the point and the slope.
The equation is
We need the slope, dy/dx, so we first differentiate the sums on each side of the equal sign, making sure to treat y as an implicit function of x:
We have to use the product rule to do the second derivative on the left, and the result is:
Now if we gather terms in dy/dx on the left, we get
Dividing by 4y3 + x on both sides gives us our derivative, which we can evaluate at (1, 1) to get the slope there:
From there it's simple to use the slope and the point (1, 1) to find the equation of the tangent line. It's
Here's a graph of the equation and the tangent line. You can see that implicit differentiation allows us to do things with crazy, non-function equations that we might not have thought possible before.
Our goal will be to find the derivative of the equation with respect to x, then find the zeros of its numerator (horizontal tangents) and the zeros of its denominator (vertical tangents). The function is
If we take the implicit derivative, making sure to use the product rule on the second term (xy), we get:
Solving for dy/dx gives us the derivative, a function of x and y.
Sometimes that's not too convenient. In this case, we can, however, solve the original equation for y:
Dividing each term of the numerator by x gives us:
We can take the derivative of y(x) directly now to get
If we insert equation (*) into our implicit derivative, like this,
which simplifies to this:
and finally dividing by x gives us the same derivative:
Now finding the horizontal tangent(s) means setting that derivative equal to zero:
Moving one term to the other side gives us:
Multiplying both sides by x2 and simplifying the constant gives us a cubic equaiton that can be solved
The result is the location of a single horizontal tangent at
Vertical tangent(s) occur when the denominator of the derivative is zero. Taking the implicit derivative, we see that it goes to zero when x goes to zero:
Here is a graph of the function showing the single horizontal tangent and the vertical tangent, at which the function has no value.
Implicit differentiation can be the best route to what otherwise could be a tricky differentiation. In example 3 above we found the derivative of the inverse sine function. We can use that as a general method for finding the derivative of any inverse function.
Recall that if f(x) is a function and f-1(x) is its inverse, that
In other words, a function and its inverse "undo" one another.
To find the derivative of an inverse function, begin with
Now differentiate both sides with respect to x, but be aware that the left side is a composition of functions, and will require the chain rule:
The chain rule gives us:
where f'-1(x) is the derivative of the inverse. Solving for the derivative of the inverse, we get:
So to find the derivative of the inverse of the function at a point x, we substitute the inverse function for x in f'(x), then take the reciprocal.
Note that some books use g(x) instead of f-1(x) in order to avoid confusion of the primes and -1’s in the exponent. Make that substitution if you need to. I prefer always to refer to the inverse function as f-1(x), thus the derivative is f'-1.
The derivative of the inverse of a function is equal to the reciprocal of the compound function f'(f-1(x)). We need to know the inverse function and the derivative of its inverse.
This site is a one-person operation. If you can manage it, I'd appreciate anything you could give to help defray the cost of keeping up the domain name, server, search service and my time.
xaktly.com by Dr. Jeff Cruzan is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. © 2012, Jeff Cruzan. All text and images on this website not specifically attributed to another source were created by me and I reserve all rights as to their use. Any opinions expressed on this website are entirely mine, and do not necessarily reflect the views of any of my employers. Please feel free to send any questions or comments to firstname.lastname@example.org.