Today, we?ll be looking at Implicit Differentiation.
Basically, this is just a different way of differentiating.
It?s a new type of equation that we?ll be looking at and learning how to differentiate it.
Now, remember that there?s a lot of differentiation that you?ve already done.
We?ve differentiation from first principles
which is basically the derivative or the definition of a derivative.
We?ve then moved on to the faster way of differentiating
and with that we found the equations of tangents and normals
and we also found the gradients of tangents and normals.
We then looked at different types of functions.
So we looked at what to do or how to differentiate a function within a function.
We looked at how to differentiate two functions when they?re multiplying together
and also two functions when they?re dividing one by the other.
We then looked at trig differentiation and e of x's and ln of x's.
So your mind must be full of differentiation and calculus.
But let?s now look at another type of equation which we call an implicitly written equation.
And we're going to differentiate it implicitly.
So here we have our first example. You have x squared plus y squared equals to 25.
We?re going to talk about how to differentiate it. Let?s have a look.
First of all, if you didn?t know how to differentiate implicitly,
you might just rearrange this equation in terms of y and then differentiate it.
There's nothing wrong with that. We could do y squared equals to 25 minus x squared.
You can get rid of that squared here.
So we can say this is the same as the square root of 25 minus x squared
and remember that you?d have plus and minus when you square root any value.
This time becomes fairly easy to differentiate.
We can break it down into its 2 components. So let?s do the positive here.
So if we have y equals to positive square root of 25 minus x squared
and then we?ll also differentiate y equals to negative 25 minus x squared.
Just makes it easier to separate them out.
Remember what we said if it?s a square root, you can rewrite this as a power.
So this can be the same as to the power of a half
and then we differentiate to get the dy/dx equals to chain rule.
So you got a big function and a little function so bring the power down.
Decrease the power by 1 leaving the inside as it is
and then you multiply it with the differential of the inside.
So the differential of 25 minus x squared is just going to be minus 2x.
The 2's here are cancelled out.
So we?re left with minus x multiplied by 25 minus x squared to the minus a half,
which if you really wanted to,
you could rewrite it as minus x over 25 minus x squared to the positive a 1/2.
Remember rules of indices or also if you really want to show off your skills
we can write it as square root of that. So just back to the form that they gave it in.
Remember this is your gradient dy/dx.
Similarly, when you differentiate with the positive,
not much is going to change apart from the sign. So let?s just have a look here.
So we rewrite this as dy/dx. You have, if I rewrite this here,
it?s minus 25 minus x squared to the half.
We now have a minus on the outside. You bring the power down
so we?re applying the chain rule, 25 minus x squared to the minus of half
and the differential of the inside is again minus 2x.
So you can see the only difference is that you have a minus and a minus there
which will make it positive. So you will end up with x over square root of 25 minus x squared
and that?s the gradients. So you?re getting 2 gradients
which we?ll talk about shortly as to what it means.
There is another way of doing this and the other method is called an implicit method
which means that you don?t have to rearrange.
You don?t have to rearrange your equation in terms of y, you can just do it implicitly.
You can just do it in one go rather than having to rearrange.
This equation had an option to rearrange, not all of them do.
So, it?s important that we learn how to differentiate implicitly
because it just makes our lives easier.
So let?s do the same question and now look at how to differentiate this implicitly.
X squared plus y squared equals to 25, and what we?re saying here is that
we?re not going to rearrange this equation, we?re just going to differentiate it in one go.
So essentially, I want to differentiate d/dx, this term x squared.
So I?m going to try and differentiate each term individually.
I want to differentiate d/dx, y squared and then I also want to differentiate d/dx of 25.
You don?t have to write this out each time.
You?ll see the more practice we do,
the less we?ll have to write and we can just go straight into differentiating.
As the first time, as we explain what?s going on, I?d like to write as a whole.
Okay, let?s just read out what we?ve written. We?re saying differentiate x squared with respect to x.
So that makes perfect sense.
We?re differentiating x with respect to x and we know that when we differentiate x squared,
we?ll get 2x. I'm gonna leave this term out for a second.
Let?s just come to this term here. We're saying differentiate 25 with respect to x.
Remember when you differentiate any constant, it just goes to zero.
So that part is fixed as well. Let?s read this statement here.
We are now saying, differentiate y squared with respect to x.
Well, that doesn?t make any sense. We?re saying differentiate y with respect to x,
they?re two different things. So we now need to find another way of how we can do this.
Basically, here?s what you could do. You can differentiate d/dy.
This is something that I?m adding myself y squared
but also remember that the d/dx or this term here will still remain.
So, this is just dy/dx. See what we?ve done here. We?ve tweaked it a little bit.
We?re using the chain rule in a sense because we are differentiating the outside
and we?re differentiating the inside. We are leaving the y squared as a differential of x.
So we leave that term here but we?re also adding a little bit
so that we?re actually able to differentiate y. Now, I can leave this as 2x.
This part of the equation I can do. I am now saying differentiate y squared with respect to y.
That I know is 2y but I also add in an extra term dy/dx and that needs to say equals to zero.
If someone asks you to find the gradient of a function, that means dy/dx.
My objective eventually is to say dy/dx equals to something because that is the gradient.
All I need to do from this equation is rearrange it.
I want to keep dy/dx as the subject of the equation
so I can leave 2y, dy/dx, on this side of the equation. And I can take the 2x over.
I want to make dy/dx the subject of my equation so I can say dy/dx equals to minus 2x divided by 2y,
just taking that over to the other side, dividing it 'cause it?s multiplying on this side.
You can cancel the 2's, so our gradient is minus x over y and this is the gradient implicitly.
So we?re saying dy/dx equals to minus x over y.
Now this looks a little bit different but numerically, it will be the same value as the previous gradient.
I?ll explain what this actually is because it?s nice to understand what this graph is actually doing
and then we can substitute the numbers in just to check that it works.
So if you recall, x squared plus y squared equals to 25
is actually the equation of the unit circle. So this will give us the radius.
So the radius is the square root 25 to give us 5, plus or minus 5, the radius is a positive length.
So essentially, we have a circle which is placed at the origin zero, zero
because of this x squared, y squared.
There?s no values or numbers being added to it so it?s going to get the center
and we know that the radius is going to be 5.
So if I attempt to draw a circle that has radius 5.
Okay, we found 2 gradients. We said implicitly dy/dx equals to minus x over y
and we also found that the gradient earlier
which we said that dy/dx equals to minus x over square root of 25 minus x squared.
We had 2 answers. We obviously had plus and minus.
So the positive gradient or the positive value of this graph would be up here
and the positive quadrant and the negative one would be here.
So we?re getting 2 different types of gradients.
Now, if we for example just take a number.
So let?s just say, let?s substitute or let?s find dy/dx, so not substitute,
let's find dy/dx at 3, minus 4. Let?s just check if they?re numerically correct.
So in this case if I use the negative gradient because 3, minus 4 will be somewhere around here.
We?re looking at this point here, 3 minus 4.
So if I use the gradient dy/dx, not negative, positive gradient
because that would give you a positive gradient line.
X over 25 minus x squared, so I'm just taking the positive version of this gradient
because I can see that the line is positive here.
That?s a negative quadrant positive under the gradients here
should make that a little bit clear, it?s positive. So now we?ve put the numbers in.
So we?ve put x in as 3 here and we?ve replaced our x here as 3.
If we just work that out, that gives us 3 over root 25 minus 9,
which gives you 3 over root 16 and root 16 is 4 so that gives us a gradient of ?.
So remember what I?ve done? There are 2 types of gradients that I got from this equation here.
It?s telling me that you could get a positive and a negative gradient
just by filling out what the graph looks like, I know that I have in the negative quadrant,
let?s get rid of this so it?s not so confusing.
In the negative quadrant, I get a positive gradient and in the positive quadrant I get negative gradient.
So we?re just dealing with this 0.3 minus 4 here, which I?ve kind of thought, had it in myself,
I knew that this would give more a positive gradient. So, only use the positive part of the gradient.
Similarly, when I did it implicitly, I got this answer which looks different
but all I?m trying to do here is prove that they are the same values.
So if we do this at 3, minus 4 as well dy/dx, when you put your values in,
will give you minus 3 over minus 4, the minuses will cancel out to give you ? as well.
So, if you?re ever worried that implicit differentiation doesn?t look like the same answer, they will be the same.
It?s the same gradient that we?ve calculated.
It?s just done a different way and an easier way.
So what we recommend, is when you see equations like these,
which involves x?s and y?s and a mixture of them
and it?s difficult to rearrange or even now because you have the skill, you don?t even have to rearrange,
so it?s not a matter of your thinking whether it?s easy or not.
You can just go straight away and differentiate it implicitly
but remember one thing, when you differentiate y, every time you differentiate y,
you must multiply with a factor of dy/dx.
So if we just make a little note here, so if we say when differentiating y with respect to x,
always multiply with dy/dx.
So remember this and that?s the only important little thing that you need to remember
for implicit differentiation and then we rearrange dy/dx to find our gradient.
We?ll do a couple more examples to make this idea and this concept a bit clearer.