Paul's Online Math Notes
Calculus I (Notes) / Derivatives / Implicit Differentiation   [Notes] [Practice Problems] [Assignment Problems]


On August 21 I am planning to perform a major update to the site. I can't give a specific time in which the update will happen other than probably sometime between 6:30 a.m. and 8:00 a.m. (Central Time, USA). There is a very small chance that a prior commitment will interfere with this and if so the update will be rescheduled for a later date.

I have spent the better part of the last year or so rebuilding the site from the ground up and the result should (hopefully) lead to quicker load times for the pages and for a better experience on mobile platforms. For the most part the update should be seamless for you with a couple of potential exceptions. I have tried to set things up so that there should be next to no down time on the site. However, if you are the site right as the update happens there is a small possibility that you will get a "server not found" type of error for a few seconds before the new site starts being served. In addition, the first couple of pages will take some time to load as the site comes online. Page load time should decrease significantly once things get up and running however.

August 7, 2018

Calculus I - Notes
Limits Previous Chapter   Next Chapter Applications of Derivatives
Chain Rule Previous Section   Next Section Related Rates

 Implicit Differentiation

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 .



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 times 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 following,



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]



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.



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 second 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 given 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]



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.



Now, 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 "normal" 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 we’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,



At this point we can drop the  part as it was only in the problem to help with the differentiation process.  The final step is to simply solve the resulting equation for .



Unlike the first example we can’t just plug in for y since we wouldn’t know which of the two functions to use.  Most answers from implicit differentiation will involve both x and y so don’t get excited about that when it happens.


As always, we can’t forget our interpretations of derivatives.


Example 4  Find the equation of the tangent line to


at the point .



First note that unlike all the other tangent line problems we’ve done in previous sections we need to be given both the x and the y values of the point.  Notice as well that this point does lie on the graph of the circle (you can check by plugging the points into the equation) and so it’s okay to talk about the tangent line at this point.


Recall that to write down the tangent line all we need is the slope of the tangent line and this is nothing more than the derivative evaluated at the given point.  We’ve got the derivative from the previous example so all we need to do is plug in the given point.



The tangent line is then.



Now, let’s work some more examples.  In the remaining examples we will no longer write  for y.  This is just something that we were doing to remind ourselves that y is really a function of x to help with the derivatives. Seeing the  reminded us that we needed to do the chain rule on that portion of the problem.  From this point on we’ll leave the y’s written as y’s and in our head we’ll need to remember that they really are  and that we’ll need to do the chain rule.


There is an easy way to remember how to do the chain rule in these problems.  The chain rule really tells us to differentiate the function as we usually would, except we need to add on a derivative of the inside function.  In implicit differentiation this means that every time we are differentiating a term with y in it the inside function is the y and we will need to add a  onto the term since that will be the derivative of the inside function.


Let’s see a couple of examples.


Example 5  Find  for each of the following.

(a)    [Solution]

(b)    [Solution]

(c)    [Solution]




First differentiate both sides with respect to x and remember that each y is really  we just aren’t going to write it that way anymore.  This means that the first term on the left will be a product rule. 


We differentiated these kinds of functions involving y’s to a power with the chain rule in the Example 2 above.  Also, recall the discussion prior to the start of this problem.  When doing this kind of chain rule problem all that we need to do is differentiate the y’s as normal and then add on a , which is nothing more than the derivative of the “inside function”.


Here is the differentiation of each side for this function.



Now all that we need to do is solve for the derivative, .  This is just basic solving algebra that you are capable of doing.  The main problem is that it’s liable to be messier than what you’re used to doing.  All we need to do is get all the terms with  in them on one side and all the terms without  in them on the other.  Then factor  out of all the terms containing it and divide both sides by the “coefficient” of the .  Here is the solving work for this one,



The algebra in these problems can be quite messy so be careful with that.

[Return to Problems]



We’ve got two product rules to deal with this time.  Here is the derivative of this function.



Notice the derivative tacked onto the secant!  Again, this is just a chain rule problem similar to the second part of Example 2 above.


Now, solve for the derivative.


[Return to Problems]



We’re going to need to be careful with this problem.  We’ve got a couple chain rules that we’re going to need to deal with here that are a little different from those that we’ve dealt with prior to this problem. 


In both the exponential and the logarithm we’ve got a “standard” chain rule in that there is something other than just an x or y inside the exponential and logarithm.  So, this means we’ll do the chain rule as usual here and then when we do the derivative of the inside function for each term we’ll have to deal with differentiating y’s.


Here is the derivative of this equation.



In both of the chain rules note that the  didn’t get tacked on until we actually differentiated the y’s in that term. 


Now we need to solve for the derivative and this is liable to be somewhat messy.  In order to get the  on one side we’ll need to multiply the exponential through the parenthesis and break up the quotient.



Note that to make the derivative at least look a little nicer we converted all the fractions to negative exponents.

[Return to Problems]


Okay, we’ve seen one application of implicit differentiation in the tangent line example above.  However, there is another application that we will be seeing in every problem in  the next section.


In some cases we will have two (or more) functions all of which are functions of a third variable.  So, we might have  and  , for example and in these cases we will be differentiating with respect to t.  This is just implicit differentiation like we did in the previous examples, but there is a difference however. 


In the previous examples we have functions involving x’s and y’s and thinking of y as .  In these problems we differentiated with respect to x and so when faced with x’s in the function we differentiated as normal and when faced with y’s we differentiated as normal except we then added a  onto that term because we were really doing a chain rule.


In the new example we want to look at we’re assuming that  and that  and differentiating with respect to t.  This means that every time we are faced with an x or a y we’ll be doing the chain rule.  This in turn means that when we differentiate an x we will need to add on an  and whenever we differentiate a y we will add on a .


These new types of problems are really the same kind of problem we’ve been doing in this section.  They are just expanded out a little to include more than one function that will require a chain rule.


Let’s take a look at an example of this kind of problem.


Example 6  Assume that  and  and differentiate the following equation with respect to t.



So, just differentiate as normal and add on an appropriate derivative at each step.  Note as well that the first term will be a product rule since both x and y are functions of t.




There really isn’t all that much to this problem.  Since there are two derivatives in the problem we won’t be bothering to solve for one of them.  When we do this kind of problem in the next section the problem will imply which one we need to solve for.


At this point there doesn’t seem be any real reason for doing this kind of problem, but as we’ll see in the next section every problem that we’ll be doing there will involve this kind of implicit differentiation.

Chain Rule Previous Section   Next Section Related Rates
Limits Previous Chapter   Next Chapter Applications of Derivatives

Calculus I (Notes) / Derivatives / Implicit Differentiation    [Notes] [Practice Problems] [Assignment Problems]

© 2003 - 2018 Paul Dawkins