User:IssaRice/Chain rule proofs: Difference between revisions
No edit summary |
|||
| Line 3: | Line 3: | ||
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 | ||
<math>g(y) = g(y_0) + g'(y_0)(y - y_0) + [g(y) - (g(y_0) + g'(y_0)(y-y_0))]</math> (there is no magic: the terms just cancel out) | <math display="block">g(y) = g(y_0) + g'(y_0)(y - y_0) + [g(y) - (g(y_0) + g'(y_0)(y-y_0))]</math> | ||
(there is no magic: the terms just cancel out) | |||
If we define <math>E_g(\Delta y) := g(y) - (g(y_0) + g'(y_0)(y-y_0))</math> we can write | If we define <math>E_g(\Delta y) := g(y) - (g(y_0) + g'(y_0)(y-y_0))</math> we can write | ||
<math>g(y) = g(y_0) + g'(f(x_0))(y - y_0) + E_g(\Delta y)</math> | <math display="block">g(y) = g(y_0) + g'(f(x_0))(y - y_0) + E_g(\Delta y)</math> | ||
Newton's approximation says that <math>|E_g(\Delta y)| \leq \epsilon|y-y_0|</math> as long as <math>|y-y_0|\leq \delta</math>. | Newton's approximation says that <math>|E_g(\Delta y)| \leq \epsilon|y-y_0|</math> as long as <math>|y-y_0|\leq \delta</math>. | ||
| Line 15: | Line 17: | ||
Since <math>f(x) \in Y</math> and <math>|f(x)-y_0|\leq \delta</math>, this means we can substitute <math>y = f(x)</math> and get | Since <math>f(x) \in Y</math> and <math>|f(x)-y_0|\leq \delta</math>, this means we can substitute <math>y = f(x)</math> and get | ||
<math>g(f(x)) = g(y_0) + g'(f(x_0))(f(x) - y_0) + E_g(\Delta f)</math> | <math display="block">g(f(x)) = g(y_0) + g'(f(x_0))(f(x) - y_0) + E_g(\Delta f)</math> | ||
Now we use the differentiability of <math>f</math>. We can write | Now we use the differentiability of <math>f</math>. We can write | ||
<math>f(x) = f(x_0) + f'(x_0)(x - x_0) + [f(x) - (f(x_0) + f'(x_0)(x-x_0))]</math> | <math display="block">f(x) = f(x_0) + f'(x_0)(x - x_0) + [f(x) - (f(x_0) + f'(x_0)(x-x_0))]</math> | ||
Again, we can define <math>E_f(\Delta x) := f(x) - (f(x_0) + f'(x_0)(x-x_0))</math> and write this as | Again, we can define <math>E_f(\Delta x) := f(x) - (f(x_0) + f'(x_0)(x-x_0))</math> and write this as | ||
<math>f(x) = f(x_0) + f'(x_0)(x - x_0) + E_f(\Delta x)</math> | <math display="block">f(x) = f(x_0) + f'(x_0)(x - x_0) + E_f(\Delta x)</math> | ||
Now we can substitute this into the expression for <math>g(f(x))</math> to get | Now we can substitute this into the expression for <math>g(f(x))</math> to get | ||
<math>g(f(x)) = g(y_0) + g'(f(x_0))(f'(x_0)(x - x_0) + E_f(\Delta x)) + E_g(\Delta f)</math> | <math display="block">g(f(x)) = g(y_0) + g'(f(x_0))(f'(x_0)(x - x_0) + E_f(\Delta x)) + E_g(\Delta f)</math> | ||
where we have canceled out two terms using <math>f(x_0) = y_0</math>. | where we have canceled out two terms using <math>f(x_0) = y_0</math>. | ||
| Line 33: | Line 35: | ||
Thus we have | Thus we have | ||
<math>g(f(x)) = g(y_0) + g'(f(x_0))f'(x_0)(x - x_0) + [g'(f(x_0))E_f(\Delta x) + E_g(\Delta f)]</math> | <math display="block">g(f(x)) = g(y_0) + g'(f(x_0))f'(x_0)(x - x_0) + [g'(f(x_0))E_f(\Delta x) + E_g(\Delta f)]</math> | ||
We can write this as | We can write this as | ||
<math>(g\circ f)(x) - ((g\circ f)(x_0) + L(x - x_0)) = [g'(f(x_0))E_f(\Delta x) + E_g(\Delta f)]</math> | <math display="block">(g\circ f)(x) - ((g\circ f)(x_0) + L(x - x_0)) = [g'(f(x_0))E_f(\Delta x) + E_g(\Delta f)]</math> | ||
where <math>L := g'(f(x_0))f'(x_0)</math>. Now the left hand side looks like the expression in Newton's approximation. This means to show <math>g\circ f</math> is differentiable at <math>x_0</math>, we just need to show that <math>|g'(f(x_0))E_f(\Delta x) + E_g(\Delta f)| \leq \epsilon|x - x_0|</math>. | where <math>L := g'(f(x_0))f'(x_0)</math>. Now the left hand side looks like the expression in Newton's approximation. This means to show <math>g\circ f</math> is differentiable at <math>x_0</math>, we just need to show that <math>|g'(f(x_0))E_f(\Delta x) + E_g(\Delta f)| \leq \epsilon|x - x_0|</math>. | ||
| Line 45: | Line 47: | ||
But f is differentiable at <math>x_0</math>, so by Newton's approximation, | But f is differentiable at <math>x_0</math>, so by Newton's approximation, | ||
<math>g'(f(x_0))E_f(\Delta x) | <math display="block">g'(f(x_0))E_f(\Delta x)</math> | ||
==Limits of sequences== | ==Limits of sequences== | ||
Revision as of 01:44, 28 November 2018
Using Newton's approximation
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,