User:IssaRice/Chain rule proofs: Difference between revisions
| Line 1: | Line 1: | ||
==Using Newton's approximation== | ==Using Newton's approximation== | ||
==Main idea== | |||
The main idea of using Newton's approximation to prove the chain rule is that since f is differentiable at <math>x_0</math> we have the approximation <math>f(x) \approx f(x_0) + f'(x_0)(x-x_0)</math> when <math>x</math> is near <math>x_0</math>. Similarly since g is differentiable at <math>f(x_0)</math> we have the approximation <math>g(y) \approx g(f(x_0)) + g'(f(x_0))(y - f(x_0))</math> when <math>y</math> is near <math>f(x_0)</math>. Since f is differentiable at <math>x_0</math>, it is continuous there also, so we know that <math>f(x)</math> is near <math>f(x_0)</math> whenever <math>x</math> is near <math>x_0</math>. This allows us to substitute <math>f(x)</math> into <math>y</math> whenever <math>x</math> is near <math>x_0</math>. So we get <math>g(f(x)) \approx g(f(x_0)) + g'(f(x_0))(f(x) - f(x_0)) \approx g(f(x_0)) + g'(f(x_0))(f'(x_0)(x-x_0))</math>. | |||
==Proof== | |||
Since <math>g</math> is differentiable at <math>y_0</math>, we know <math>g'(y_0)</math> is a real number, and we can write | Since <math>g</math> is differentiable at <math>y_0</math>, we know <math>g'(y_0)</math> is a real number, and we can write | ||
Revision as of 02:10, 28 November 2018
Using Newton's approximation
Main idea
The main idea of using Newton's approximation to prove the chain rule is that since f is differentiable at we have the approximation when is near . Similarly since g is differentiable at we have the approximation when is near . Since f is differentiable at , it is continuous there also, so we know that is near whenever is near . This allows us to substitute into whenever is near . So we get .
Proof
Since is differentiable at , we know is a real number, and we can write
(there is no magic: the terms just cancel out)
If we define we can write
Newton's approximation says that as long as .
Since is differentiable at , we know that it must be continuous at . This means we can keep as long as we keep .
Since and , this means we can substitute and get
Now we use the differentiability of . We can write
Again, we can define and write this as
Now we can substitute this into the expression for to get
where we have canceled out two terms using .
Thus we have
We can write this as
where . Now the left hand side looks like the expression in Newton's approximation. This means to show is differentiable at , we just need to show that .
The stuff in square brackets is our "error term" for . Now we just need to make sure it is small, even after dividing by .
But f is differentiable at , so by Newton's approximation,
we also have
We can bound this from above using the triangle inequality:
Now we can just choose small enough.