Product rule proof | Taking derivatives | Differential Calculus | Khan Academy - YouTube

Channel: Khan Academy

[0]
- [Voiceover] What I hope to do in this video
[1]
is give you a satisfying proof of the product rule.
[5]
So let's just start with our definition of a derivative.
[8]
So if I have the function F of X,
[12]
and if I wanted to take the derivative of it,
[14]
by definition, by definition,
[17]
the derivative of F of X is the limit
[21]
as H approaches zero,
[24]
of F of X plus H minus F of X,
[29]
all of that over, all of that over H.
[32]
If we want to think of it visually,
[34]
this is the slope of the tangent line and all of that,
[37]
but now I want to do something
[38]
a little bit more interesting.
[40]
I want to find the derivative
[43]
with respect to X, not just of F of X,
[46]
but the product of two functions,
[48]
F of X times G of X.
[52]
And if I can come up with a simple thing for this,
[54]
that essentially is the product rule.
[56]
Well if we just apply the definition of a derivative,
[58]
that means I'm gonna take the limit
[61]
as H approaches zero,
[64]
and the denominator I'm gonna have at H,
[67]
and the denominator, I'm gonna write a big,
[69]
it's gonna be a big rational expression,
[71]
in the denominator I'm gonna have an H.
[73]
And then I'm gonna evaluate this thing at X plus H.
[76]
So that's going to be F of X plus H,
[80]
G of X plus H and from that I'm gonna subtract
[85]
this thing evaluated F of X.
[87]
Or, sorry, this thing evaluated X.
[89]
So that's gonna be F of X times G of X.
[92]
And I'm gonna put a big, awkward space here
[94]
and you're gonna see why in a second.
[96]
So if I just, if I evaluate this at X,
[99]
this is gonna be minus
[101]
F of X, G of X.
[104]
All I did so far is I just applied the definition
[108]
of the derivative, instead of applying it to F of X,
[110]
I applied it to F of X times G of X.
[113]
So you have F of X plus H, G of X plus H
[115]
minus F of X, G of X,
[116]
all of that over H.
[118]
Limit as H approaches zero.
[121]
Now why did I put this big, awkward space here?
[124]
Because just the way I've written it write now,
[126]
it doesn't seem easy to algebraically manipulate.
[128]
I don't know how to evaluate this limit,
[130]
there doesn't seem to be anything obvious to do.
[133]
And what I'm about to show you,
[134]
I guess you could view it as a little bit of a trick.
[137]
I can't claim that I would have figured it out on my own.
[139]
Maybe eventually if I were spending hours on it.
[142]
I'm assuming somebody was fumbling with it long enough
[145]
that said, "Oh wait, wait.
[146]
"Look, if I just add and subtract at the same term here,
[149]
"I can begin to algebraically manipulate it
[151]
"and get it to what we all know
[153]
"as the classic product rule."
[155]
So what do I add and subtract here?
[159]
Well let me give you a clue.
[161]
So if we have plus,
[164]
actually, let me change this,
[166]
minus F of X plus H, G of X,
[171]
I can't just subtract, if I subtract it
[173]
I've got to add it too, so I don't change the value
[175]
of this expression.
[176]
So plus F of X plus H, G of X.
[181]
Now I haven't changed the value,
[182]
I just added and subtracted the same thing,
[185]
but now this thing can be manipulated
[187]
in interesting algebraic ways to get us to
[190]
what we all love about the product rule.
[192]
And at any point you get inspired,
[194]
I encourage you to pause this video.
[197]
Well to keep going, let's just keep
[200]
exploring this expression.
[202]
So all of this is going to be equal to,
[205]
it's all going to be equal to the limit
[208]
as H approaches zero.
[211]
So the first thing I'm gonna do is
[212]
I'm gonna look at, I'm gonna look at this part,
[216]
this part of the expression.
[219]
And in particular, let's see, I am going to
[222]
factor out an F of X plus H.
[225]
So if you factor out an F of X plus H,
[228]
this part right over here is going to be
[231]
F of X plus H,
[233]
F of X plus H,
[236]
times
[237]
you're going to be left with G of X plus H.
[241]
G of, that's a slightly different shade of green,
[247]
G of X plus H, that's that there,
[250]
minus G of X,
[253]
minus G of X,
[255]
oops, I forgot the parentheses.
[258]
Oops, it's a different color.
[260]
I got a new software program and it's making it hard
[262]
for me to change colors.
[263]
My apologies, this is not a straightforward proof
[265]
and the least I could do is change colors more smoothly.
[268]
Alright, (laughing) G of X plus H
[271]
minus G of X, that's that one right over there,
[275]
and then all of that over this H.
[279]
All of that over H.
[281]
So that's this part here
[283]
and then this part over here
[288]
this part over here, and actually it's still over H,
[291]
so let me actually circle it like this.
[293]
So this part over here
[298]
I can write as.
[301]
So then we're going to have plus...
[304]
actually here let me,
[306]
let me factor out a G of X here.
[312]
So plus G of X
[314]
plus G of X times this F of X plus H.
[320]
Times F of X plus H
[324]
minus this F of X.
[328]
Minus that F of X.
[331]
All of that over H.
[333]
All of that over H.
[335]
Now we know from our limit properties,
[336]
the limit of all of this business,
[339]
well that's just going to be the same thing
[340]
as the limit of this as H approaches zero
[344]
plus the limit of this as H approaches zero.
[347]
And then the limit of the product
[348]
is going to be the same thing as the product of the limits.
[351]
So if I used both of those limit properties,
[353]
I can rewrite this whole thing as the limit,
[358]
let me give myself some real estate,
[359]
the limit as H approaches zero of F of X plus H,
[364]
of F of X plus H times,
[370]
times the limit
[372]
as H approaches zero, of all of this business,
[376]
G of X plus H minus G of X,
[381]
minus G of X,
[383]
all of that over H,
[385]
I think you might see where this is going.
[387]
Very exciting.
[389]
Plus,
[390]
plus the limit,
[394]
let me write that a little bit more clearly.
[396]
Plus the limit as H approaches zero of G of X,
[402]
our nice brown colored G of X,
[406]
times, now that we have our product here,
[408]
the limit,
[410]
the limit
[412]
as H approaches zero of F of X plus H.
[417]
Of F of X plus H minus F of X,
[423]
minus F of X,
[425]
all of that,
[427]
all of that over H.
[428]
And let me put the parentheses where they're appropriate.
[430]
So that,
[431]
that,
[432]
that,
[434]
that.
[435]
And all I did here, the limit,
[436]
the limit of this sum,
[438]
that's gonna be the sum of the limits,
[439]
that's gonna be the limit of this
[441]
plus the limit of that,
[442]
and then the limit of the products is gonna be
[444]
the same thing as the product of the limits.
[446]
So I just used those limit properties here.
[448]
But now let's evaluate them.
[450]
What's the limit,
[451]
and I'll do them in different colors,
[453]
what's this thing right over here?
[454]
The limit is H approaches zero of F of X plus H.
[457]
Well that's just going to be
[459]
F of X.
[461]
Now, this is the exciting part,
[463]
what is this?
[464]
The limit is H approaches zero of G of X plus H
[467]
minus G of X over H.
[469]
Well that's just our,
[469]
that's the definition of our derivative.
[471]
That's the derivative of G.
[474]
So this is going to be,
[475]
this is going to be the derivative of G of X,
[478]
which is going to be G prime of X.
[481]
G prime of X.
[484]
So you're multiplying these two
[486]
and then you're going to have plus,
[488]
what's the limit of H approaches zero of G of X?
[490]
Well there's not even any H in here,
[492]
so this is just going to be G of X.
[494]
So plus G of X
[498]
times the limit,
[501]
so let's see, this one is in brown,
[504]
and the last one I'll do in yellow.
[505]
Times the limit as H approaches zero,
[508]
and we're getting very close,
[510]
the drum roll should be starting,
[511]
limit is H approaches zero of F of X
[513]
plus H minus F of X over H.
[515]
Well that's the definition of the derivative
[517]
of F of X.
[518]
This is F prime of X.
[520]
Times F prime of X.
[522]
So there you have it.
[523]
The derivative of F of X times G of X is this.
[526]
And if I wanted to write it a little bit more
[528]
condensed form, it is equal to,
[530]
it is equal to F of X
[534]
times the derivative of G with respect to X
[538]
times the derivative of G with respect to X
[541]
plus G of X,
[544]
plus G of X times the derivative of F with respect to X.
[548]
F with respect to X.
[550]
Or another way to think about it,
[551]
this is the first function times the derivative
[554]
of the second plus the second function
[556]
times the derivative of the first.
[557]
This is the proof, or a proof,
[561]
there's actually others of the product rule.