Paul's Online Math Notes
     
 
Online Notes / Calculus I / Derivatives / Implicit Differentiation
Calculus I

You can navigate through this E-Book using the menu to the left. For E-Books that have a Chapter/Section organization each option in the menu to the left indicates a chapter and will open a menu showing the sections in that chapter. Alternatively, you can navigate to the next/previous section or chapter by clicking the links in the boxes at the very top and bottom of the material.

Also, depending upon the E-Book, it will be possible to download the complete E-Book, the chapter containing the current section and/or the current section. You can do this be clicking on the E-Book, Chapter, and/or the Section link provided below.

For those pages with mathematics on them you can, in most cases, enlarge the mathematics portion by clicking on the equation. Click the enlarged version to hide it.

To this point we’ve done quite a few derivatives, but they have all been derivatives of functions of the form .  Unfortunately not all the functions that we’re going to look at will fall into this form.

 

Let’s take a look at an example of a function like this.

 

Example 1  Find  for .

 

Solution

There are actually two solution methods for this problem.

 

Solution 1 :

This is the simple way of doing the problem.  Just solve for y to get the function in the form that we’re used to dealing with and then differentiate.

                                          

 

So, that’s easy enough to do.  However, there are some functions for which this can’t be done.  That’s where the second solution technique comes into play.

 

Solution 2 :

In this case we’re going to leave the function in the form that we were given and work with it in that form.  However, let’s recall from the first part of this solution that if we could solve for y then we will get y as a function of x.  In other words, if we could solve for y (as we could in this case, but won’t always be able to do) we get .  Let’s rewrite the equation to note this.

                                                             

Be careful here and note that when we write  we don’t mean y time x.  What we are noting here is that y is some (probably unknown) function of x.  This is important to recall when doing this solution technique.

 

The next step in this solution is to differentiate both sides with respect to x as follows,

                                                         

 

The right side is easy.  It’s just the derivative of a constant.  The left side is also easy, but we’ve got to recognize that we’ve actually got a product here, the x and the .  So to do the derivative of the left side we’ll need to do the product rule.  Doing this gives,

                                                     

 

Now, recall that we have the following notational way of writing the derivative.

                                                         

 

Using this we get the follow,

                                                                 

 

Note that we dropped the  on the y as it was only there to remind us that the y was a function of x and now that we’ve taken the derivative it’s no longer really needed.  We just wanted it in the equation to recognize the product rule when we took the derivative.

 

So, let’s now recall just what were we after.  We were after the derivative, , and notice that there is now a  in the equation.  So, to get the derivative all that we need to do is solve the equation for .

                                                                   

 

There it is.  Using the second solution technique this is our answer.  This is not what we got from the first solution however.  Or at least it doesn’t look like the same derivative that we got from the first solution.  Recall however, that we really do know what y is in terms of x and if we plug that in we will get,

 

which is what we got from the first solution.  Regardless of the solution technique used we should get the same derivative.

 

The process that we used in the second solution to the previous example is called implicit differentiation and that is the subject of this section.  In the previous example we were able to just solve for y and avoid implicit differentiation.  However, in the remainder of the examples in this section we either won’t be able to solve for y or, as we’ll see in one of the examples below, the answer will not be in a form that we can deal with.

 

In the second solution above we replaced the y with  and then did the derivative.  Recall that we did this to remind us that y is in fact a function of x.  We’ll be doing this quite a bit in these problems, although we rarely actually write .  So, before we actually work anymore implicit differentiation problems let’s do a quick set of “simple” derivatives that will hopefully help us with doing derivatives of functions that also contain a .

 

 

Example 2  Differentiate each of the following.

(a)    [Solution]

(b) ,      [Solution]

(c)    [Solution]

 

Solution

These are written a little differently from what we’re used to seeing here.  This is because we want to match up these problems with what we’ll be doing in this section.  Also, each of these parts has several functions to differentiate starting with a specific function followed by a general function.  This again, is to help us with some specific parts of the implicit differentiation process that we’ll be doing.

 

(a)  

With the first function here we’re being asked to do the following,

                                   

and this is just the chain rule.  We differentiated the outside function (the exponent of 5) and then multiplied that by the derivative of the inside function (the stuff inside the parenthesis).

 

For the section function we’re going to do basically the same thing.  We’re going to need to use the chain rule.  The outside function is still the exponent of 5 while the inside function this time is simply .  We don’t have a specific function here, but that doesn’t mean that we can’t at least write down the chain rule for this function.  Here is the derivative for this function,

                                                 

 

We don’t actually know what  is so when we do the derivative of the inside function all we can do is write down notation for the derivative, i.e. .

 

With the final function here we simply replaced the f  in the second function with a y since most of our work in this section will involve y’s instead of f’s.  Outside of that this function is identical to the second.  So, the derivative is,

                                                  

[Return to Problems]

 

(b) ,    

The first function to differentiate here is just a quick chain rule problem again so here is it’s derivative,

                                               

For the second function we didn’t bother this time with using  and just jumped straight to  for the general version.  This is still just a general version of what we did for the first function.  The outside function is still the sine and the inside is give by  and while we don’t have a formula for  and so we can’t actually take its derivative we do have a notation for its derivative.  Here is the derivative for this function,

                                              

[Return to Problems]

 

(c)  

In this part we’ll just give the answers for each and leave out the explanation that we had in the first two parts.

                    

 

[Return to Problems]

 

So, in this set of examples we were just doing some chain rule problems where the inside function was  instead of a specific function.  This kind of derivative shows up all the time in doing implicit differentiation so we need to make sure that we can do them.  Also note that we only did this for three kinds of functions but there are many more kinds of functions that we could have used here.

 

So, it’s now time to do our first problem where implicit differentiation is required, unlike the first example where we could actually avoid implicit differentiation by solving for y.

 

Example 3  Find  for the following function.

                                                                 

Solution

How, this is just a circle and we can solve for y which would give,

                                                               

 

Prior to starting this problem we stated that we had to do implicit differentiation here because we couldn’t just solve for y and yet that’s what we just did.  So, why can’t we use implicit differentiation here?  The problem is the “  ”.  With this in the “solution” for y we see that y is in fact two different functions.  Which should we use?  Should we use both?  We only want a single function for the derivative and at best we have two functions here.

 

So, in this example we really are going to need to do implicit differentiation so we can avoid this.  In this example ee’ll do the same thing we did in the first example and remind ourselves that y is really a function of x and write y as .  Once we’ve done this all we need to do is differentiate each term with respect to x.

                                                    

 

As with the first example the right side is easy.  The left side is also pretty easy since all we need to do is take the derivative of each term and note that the second term will be similar the part (a) of the second example.  All we need to do for the second term is use the chain rule.

 

After taking the derivative we have,