Theory 1

Linear approximation is the technique of approximating a specific value of a function, say f(x1), at a point x1 that is close to another point x0 where we know the exact value f(x0). We write Δx for x1−x0, and y0=f(x0), and y1=f(x1). Then we write dy=f′(x0)⋅Δx and use the fact that:

y1≈y0+dy=y0+f′(x0)⋅Δx

Computing a linear approximation

For example, to approximate the value of 4.01, set f(x)=x, set x0=4 and y0=2, and set x1=4.01 so Δx=0.01.

Then compute: f′(x)=12x So f′(x0)=1/4.

Finally:

y1≈y0+f′(x0)⋅Δx≫≫y1≈2+14⋅0.01=2.0025

Now recall the linearization of a function, which is itself another function:

Given a function f(x), the linearization L(x) at the basepoint x=c is the functional form of the tangent line, the line passing through (x0,y0)=(c,f(x)) with slope m=f′(c):

y=y0+m(x−x0)(point-slope eqn. of line)≫≫L(x)=f(c)+f′(c)(x−c)(linearization fcn.)

The graph of this linearization L(x) is the tangent line to the curve y=f(x) at the point (c,f(c)).

The linearization L(x) may be used as a replacement for f(x) for values of x near c. The closer x is to c, the more accurate the approximation L(x) is for f(x).

Computing a linearization

We set f(x)=x, and we let c=4.

We compute f(c)=2, and f′(x)=12x so f′(c)=14.

Plug everything in to find L(x):

L(x)=f(c)+f′(c)(x−c)≫≫L(x)=2+14(x−4)

Now approximate f(4.01)≈L(4.01):

L(4.01)=2+14(4.01−4)=2.0025

Theory 2

Taylor polynomials

The Taylor polynomials TN(x) of a function f(x) are the partial sums of the Taylor series of f(x):

TN(x)=∑i=0Nf(i)(c)i!(x−c)i=f(c)+f′(c)1!(x−c)+⋯+f(N)(c)N!(x−c)N

These polynomials are generalizations of linearization. Specifically, f(c)=T0(x), and L(x)=T1(x).

The Taylor series Tn(x) is a better approximation of f(x) than Ti(x) for any i<n.

center

center

Facts about Taylor series

The series Tn(x) has the same derivatives as f(x) at the point x=c. This fact can be verified by visual inspection of the series: apply the power rule and chain rule, then plug in x=c and all factors left with (x−c) will become zero.

The difference f(x)−Tn(x) vanishes to order n at x=c:

f(x)−Tn(x)=f(n)(c)n!(x−c)n+f(n+1)(c)(n+1)!(x−c)n+1+⋯=(x−c)n(f(n)(c)n!+f(n+1)(c)(n+1)!(x−c)+⋯)

The factor (x−c)n drives the whole function to zero with order n as x→c.

If we only considered orders up to n, we might say that f(x) and Tn(x) are the same near c.