r/MathHelp • u/comte994 • May 29 '21
Proof of the chain rule - help (calculus)
This is the proof of the chain rule, and something I didn't grasp is why they multiplied by the second fraction in the first row?
And from the second row to the third row, they're converting the second fraction to its own limit? What's the limit law for this?
They did some funky stuff here that I didn't grasp.
Why did they substitute g(x+h) - g(x) in the denominator to k? I was told that substituting k leads to the answer f'(g(x)), but I don't understand why they'd do it, it seems random to me that they'd substitute it to k without explaining why.
Why did they go from lim h→0 to lim k→0? I guess I didn't fully understand limit functions, when we write lim h→0, we're looking for when the denominator arrives at (0,0)?
What did they try to show in step 2, where they write g(x+h) = g(x) + k? I saw that they substituted the g(x+h) in the numerator by g(x) + k. But why did they do that, and not leave it be?
Someone explained that for 1 and 3, ”it's just to make the proof work. It's just so that you can reach the answer you want, and proofs are like this, you have to do whatever you can to reach the final answer and sometimes the reasons why steps are done aren't obvious until the end.”
For 2, they said ”because h -> 0, g(x+h) just becomes... g(x). So g(x+h) - g(x) becomes g(x) - g(x) which is 0. So as h -> 0, k also -> 0”.
Something else that I've not quite comprehended so far is what the derivative notations mean in calculus. My interpretation is that dy/dx means y'(x), and something like d/dx means f'(x). But when you've composite functions, it becomes more complicated to understand this part.
1
May 29 '21 edited May 29 '21
If you want a proof where all the steps are obvious, use the alternative definition of the derivative. f is differentiable at x means
f(x + h) = f(x) + f'(x)h + h * r(h)
where
lim_{h -> 0}r(h) = r(0) = 0.
So
f(g(x + h)) = f(g(x) + g'(x)h + h * q(h))
= f(g(x)) + f'(g(x))(g'(x)h + h * q(h)) + h * r(g'(x)h + h * q(h))
= f(g(x)) + f'(g(x))g'(x)h + h(f'(g(x))q(h) + r(g'(x)h + h * q(h))).
R(h) = f'(g(x))q(h) + r(g'(x)h + h * q(h)) -> 0 as h -> 0 and R(0) = 0.
Thus (f o g)'(x) = f'(g(x))g'(x).
1
u/your-summerizer Jun 03 '21
Because they need to get the term f’(g(x)) to appear. Note: That means the derivative of f evaluated at g(x), not the derivative of (f(g(x)) (I.e. f composed with g, evaluated at x)
Because g is continuous, as h goes to 0, g(x +h) gets close to g(x). Therefore g(x+h)- g(x) gets close to 0.
Again this is because of what I said in 1. My guess is that your teacher defines f’(t)= lim_{k to 0} (f(t_k) - f(t))/k. So to get the term f’(g(x)), you need to plug g(x) into t in the previous expression to get lim_{k to 0} f(g(x) +k) - f(g(x))/ k
I think that proof/explanation is a bit too technical though. Would you like to see a more intuitive proof?
2
u/goodomensr May 29 '21
That multiplication is actually necessary for the proof to work, since you need to get g(x) involved somehow. Notice how that fraction is actually equal to 1 as the numerator and denominator are the same, so there's no issue with multiplying it.
Look up limit rules for multiplication. This rule only applies in most cases, but it does apply here. You don't really need to know why, that would get a bit more complicated.
Do you understand why the right-hand side equals g'(x)? First let's remember the limit definition of the derivative: f'(x)= lim as h->0 of [f(x+h) - f(x)]/h. The issue is, that the left-hand side is not yet of this form. For one is has g(x+h) - g(x) in the denominator instead of just h. Important notice: It doesn't have to be h, the definition works with other variables such as k as well. So why not substitute k for g(x+h) - g(x)? Then we are at least one step closer to our desired limit definition. Since k = g(x+h) - g(x) --> g(x+h) = g(x) + k. So we can substitute all of this in the left-hand side. One last issue: We have lim as h->0 not lim as k->0. But again notice that when lim as h->0 of g(x+h) - g(x) = 0. So when h goes to 0, k also goes to 0. This means we can just exchange lim h->0 for lim k->0. Now our substituted form of the left-hand side should look like this: lim as k->0 of [f(g(x) + k) - f(g(x))]/k. Notice that this is exactly the same as our derivative definition, except instead of x we have g(x). That's also why the end result is not just f'(x) but rather f'(g(x)). Multiply this by our earlier result of g'(x) and you get d/dx f(g(x)) = f'(g(x)) * g'(x). Btw, as you stated correctly dy/dx means y'(x), d/dx is kinda the differential operator, that means you apply it to a function to get its derivative. So for example d/dx y(x) = dy/dx, or d/dx x2 = 2x.