How to Do Implicit Differentiation (NancyPi) - YouTube

Channel: unknown

[0]
Hi guys, I'm Nancy
[2]
and I'm going to show you how to do implicit differentiation.
[6]
What is that? Well...
[8]
up until now, you've probably been doing
[11]
explicit differentiation, which is just the normal kind of differentiation.
[19]
Explicit differentiation is when you just have a normal "y =" function.
[29]
y = some x expression
[32]
so it's a function explicitly in terms of x
[36]
and you probably already know how to take the derivative of something like this
[39]
you would just use the Power Rule...
[41]
differentiate with respect to x...
[43]
and your derivative, or dy/dx...
[47]
would just be 2x.
[51]
But what if your function is not written as "y =" some expression?
[59]
Well then you have to use something called implicit differentiation.
[65]
So if your function is not written as "y ="
[72]
but is instead written implicitly as a function of x, something like...
[77]
x squared plus y squared equals another term or a number, 16...
[85]
you can't do the normal explicit differentiation, you have to use
[91]
implicit differentiation
[93]
which is basically just a special kind of the Chain Rule.
[96]
So let me show you the steps, the main steps for implicit differentiation.
[101]
OK, so these are the two main steps for implicit differentiation
[110]
It's really always just these two.
[113]
The first step is to differentiate both sides with respect to x, so...
[117]
take the derivative in terms of x, but...
[121]
the difference is that if you differentiate a term that has y in it
[127]
you will need to attach a dy/dx to the term, multiply the term by dy/dx.
[134]
For instance, say that you wanted to differentiate, with respect to x,
[139]
a term, a y term...
[142]
like 2 y squared.
[146]
First, you can just use the Power Rule to differentiate normally
[150]
the 2 y squared would give you a derivative of 4y...
[156]
But because this term has a y in it, you will need to tack on, or multiply
[163]
a dy/dx at the end
[167]
Why do you do this?
[170]
Well, the short answer is that it's a form of the Chain Rule
[174]
because there is an outside function
[178]
the 2 y squared that you use the Power Rule for, and...
[181]
the way I've always thought of this is that technically there's an inside function
[186]
this y contains some x expression
[190]
the y is made up of, or composed
[194]
of x's or some x expression, so you will need to multiply by
[197]
an inside derivative to take care of that inside expression
[202]
and the inside derivative is dy/dx
[205]
so you can think of it that way.
[208]
The second step is then to just solve for dy/dx
[212]
that means get dy/dx alone on one side so that your expression
[217]
looks like dy/dx equals something.
[221]
Now there are some tricks
[223]
algebra tricks that you may need
[225]
to do this, and I'll show you those so you can manipulate it
[228]
to always get dy/dx equals something, as your solution.
[233]
So let me show you how it works
[236]
OK, what if you have a function like this
[243]
that doesn't start with "y ="
[245]
it's written implicitly in terms of x...
[249]
so it's a great candidate for implicit differentiation
[252]
in fact, you have to do it that way
[254]
The first thing is, just differentiate both sides with respect to x
[259]
So, for the first term, x squared
[263]
The derivative of that would just be 2x, using the Power Rule...
[267]
move on to the second term, y squared
[271]
remember I said to be on the lookout for terms with y
[275]
well, in this case, since there's a y in this term, you will need to attach a dy/dx
[282]
to the derivative, so first...
[286]
take the derivative using the Power Rule. The derivative of y squared is 2y
[292]
that's the derivative of the outside function
[295]
but because there's a y in this term
[299]
and y contains some x expression, potentially...
[303]
you will need to attach, or multiply, this term by dy/dx.
[310]
This is the difference between implicit and explicit differentiation, the normal differentiation.
[316]
Moving on, you do need to differentiate both sides of the equation, which may not be something you're used to
[324]
but if we look at the right-hand side, since we just have a constant, a number, 36
[330]
the derivative of that would be 0, as it always is for a constant
[335]
so we just write 0.
[337]
Alright, that was the first step. Differentiate both sides in terms of x.
[342]
Remember, the second step is to then for dy/dx. Get it alone.
[349]
So if there are ever any parentheses, you'd want to distribute or multiply out to get rid of them
[355]
There are none in this case
[357]
We just, we need to get the term that has dy/dx alone on one side
[362]
you need to subtract out any terms that don't have dy/dx
[367]
so we'll need to subtract the 2x...
[371]
from both sides, and we have 2 y dy/dx
[380]
equals negative 2x
[385]
In order to get dy/dx alone on the left-hand side
[389]
you'll need to divide out anything that you don't want there
[393]
namely, we don't want 2y
[396]
so we'll divide both sides by 2y. Those cancel...
[403]
and we are left with just dy/dx on the left-hand side, which is what we wanted
[410]
equals negative 2x over 2y, which can be simplified by dividing the 2's
[419]
as negative x over y
[422]
which can't be simplified any further. We have only dy/dx alone on the left-hand side
[427]
so we're done. This is your answer
[433]
for dy/dx.
[439]
OK, what is you have a function like this one?
[446]
It's a little more complicated. You'll need to use the Product Rule and the Chain Rule
[451]
but it starts the same way
[454]
Take the derivative of both sides with respect to x
[457]
The derivative of this first term, sin x, is just cos x, as you probably know
[463]
There are no y's to worry about in that term, so we just write cos x
[468]
we're going to subtract some derivative of this term
[473]
Alright, this term, x squared y, has a y in it
[478]
so that should set off your y detector.
[482]
You'll need to multiply by dy/dx at some point in this term.
[486]
Since it is a product, x squared times y
[491]
you will need to use the Product Rule. People often forget this part
[495]
and the easiest thing to do
[497]
is to use parentheses around what you get with the Product Rule.
[501]
This will make your life easier, and you will get all the right signs for your terms.
[505]
So subtract, open parentheses, using the Product Rule for x squared y
[512]
we have the first function, first function, x squared
[517]
times the derivative of the second, derivative of y is 1
[523]
But because this is implicit differentiation, we multiply by dy/dx, so it's
[528]
1 dy/dx, which is dy/dx
[534]
using the Product Rule we add the derivative of the first function. The derivative of x squared is just 2x
[545]
times the second function, y.
[549]
We're not taking the derivative of y, so we don't need to tack on a dy/dx.
[557]
It was just the function itself, y.
[562]
Close the parentheses, you're done with the Product Rule
[565]
move on to the next term, so we're adding
[568]
the derivative of y is dy/dx
[575]
and that equals the derivative of the right-hand side, derivative of 10x
[585]
with respect to x, is just 10
[588]
OK, and you're done with the first step.
[591]
Alright, we move on to the second part of this problem
[595]
which is sometimes more involved. Finding dy/dx
[599]
and getting it alone on one side, so...
[603]
if there are ever parentheses in your expression, first thing is to get rid of them.
[609]
That means distribute the negative sign, expand inside the parentheses
[615]
so you have cosine of x. You're going to distribute the negative so you have minus x squared dy/dx.
[628]
The minus applies to the second term as well because of the parentheses. That's very important. People forget that.
[634]
minus 2xy, and we still have these other terms, dy/dx plus dy/dx equals 10
[648]
Alright, no parentheses left
[651]
The next thing you want to do is get it so that you only have dy/dx terms on one side
[658]
this term, you can keep on the left side. This term, you can keep on the left side
[665]
but cosine x and negative 2xy
[670]
don't have a dy/dx in them, so you want to get rid of them
[674]
move them to the right-hand side
[676]
that means subtracting them off or adding them so that they move to the other side
[681]
in this case, we subtract cos x and we add 2xy to both sides
[693]
and that leaves us with...
[705]
Great, you only have dy/dx terms on one side
[711]
In order to get dy/dx alone, it needs to appear one time on that side
[719]
there's a trick to make this happen. It's not immediately obvious
[724]
but the trick is to factor out the dy/dx from both terms
[730]
I know you know how to factor
[735]
see, the value in that was that now
[743]
you only have dy/dx appearing one time in this whole equation
[749]
and it will make it very easy to get it alone, because
[752]
this negative x squared plus 1 that you don't want on the left-hand side, you can just divide out
[758]
like you did in the last one
[763]
and your final answer is dy/dx, alone on one side
[770]
equals 10 minus cos x plus 2xy, all over negative x squared plus 1.
[781]
That looks like a mess, but that is exactly correct. You have x's, you have y's
[789]
so this is your answer for the implicit differentiation, dy/dx.
[795]
Great, so now let me just warn you
[798]
about a few things that tend to trip people up
[801]
sometimes so that you can watch out for them.
[803]
One is that people forget to use the Product Rule sometimes
[808]
this looks really innocent, you might think that you could just write 2xy
[813]
or treat y like a constant.
[816]
No, you have to use the Product Rule, like here....
[820]
and yes, it makes it messier, but you will get the right answer.
[824]
Another thing that trips people up, they forget to factor
[828]
if the dy/dx appears more than once, toward the end.
[832]
And then one other thing that might confuse you is sometimes dy/dx
[836]
is instead written as y prime. It's the same exact thing, just different notation.
[842]
I hope this video helped you figure out implicit differentiation
[848]
'cause I just did a bunch of calculus
[850]
and it's not my job.
[852]
If it did help you, please click like or subscribe.