User:IssaRice/Chain rule proofs: Difference between revisions

From Machinelearning
No edit summary
No edit summary
Line 16: Line 16:


<math>g(f(x)) = g(y_0) + g'(f(x_0))(f(x) - y_0) + E_g(\Delta f)</math>
<math>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
<math>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
<math>f(x) = f(x_0) + f'(x_0)(x - x_0) + E_f(\Delta x)</math>

Revision as of 01:28, 28 November 2018

Using Newton's approximation

Since g is differentiable at y0, we know g(y0) is a real number, and we can write

g(y)=g(y0)+g(y0)(yy0)+[g(y)(g(y0)+g(y0)(yy0))]

If we define Eg(Δy):=g(y)(g(y0)+g(y0)(yy0)) we can write

g(y)=g(y0)+g(f(x0))(yy0)+Eg(Δy)

Newton's approximation says that |Eg(Δy)|ϵ|yy0| as long as |yy0|δ.

Since f is differentiable at x0, we know that it must be continuous at x0. This means we can keep |f(x)y0|δ as long as we keep |xx0|δ.

Since f(x)Y and |f(x)y0|δ, this means we can substitute y=f(x) and get

g(f(x))=g(y0)+g(f(x0))(f(x)y0)+Eg(Δf)

Now we use the differentiability of f. We can write

f(x)=f(x0)+f(x0)(xx0)+[f(x)(f(x0)+f(x0)(xx0))]

Again, we can define Ef(Δx):=f(x)(f(x0)+f(x0)(xx0)) and write this as

f(x)=f(x0)+f(x0)(xx0)+Ef(Δx)