Taylor Polynomials


The definition of limit, f(a)=limxaf(x)f(a)xa can be thought of, informally, as saying that for x near a. f(x)f(a)xa is approximately equal to f(x). That is, f(x)f(a)+f(a)(xa). Of course, y=f(a)+f(a)(xa) is the equation of a line through the point (a,f(a)) with slope f(a), so this is the tangent line approximation. The tangent line at a is the best linear approximation to the function y=f(x) near a. We can try to get a better approximation for f near a by using higher degree polynomials.

Suppose that f(x) is n times differentiable at a. That is, f(a), f(a),f(a),,f(n)(a) all exist. We can look for a polynomial p(x) of degree n whose values for the first n derivatives at a are the sames as the values for the derivatives of f(x) at a. There is only one polynomial that works. To see this, we need to write p(x) as a polynomial in powers of (xa). If we write p(x)=c0+c1(xa)+c2(xa)2++cn(xa)n, then we have p(x)=c0+c1(xa)+c2(xa)2++cn(xa)np(a)=c0p(x)=c1+2c2(xa)+3c3(xa)2++ncn(xa)n1p(a)=c1p(x)=2c2+32c3(xa)+43(xa)2+n(n1)cn(xa)n2p(a)=2c2p(x)=32c3+432(xa)++n(n1)(n2)cn(xa)n3p(a)=32c3p(4)(x)=432(xa)++n(n1)(n2)(n3)cn(xa)n4p(4)(a)=432c4p(n)(x)=n(n1)(n2)(n3)21cnp(n)(a)=n!cn We can write the general case as p(k)(a)=k!ck. So if we want p(k)(a)=f(k)(a) for k=0,1,,n, then we must have k!ck=f(k)(a), that is, ck=f(k)(a)k!.

Definition:

Let nN and let f(x) be a function that has derivatives up to order n at x=a. Then the Taylor Polynomial for f of degree n at a is defined to be the polynomial pn,a(x)=k=0nf(k)(a)k!(xa)k=f(a)+f(a)(xa)+f(a)2(xa)2++f(n)(a)n!(xa)n

We expect that a Taylor polynomial pn,a(x) for f can be used as an approximation for f(x) when x is near a. But the question has to be how good the approximation is. That is, we want to put some bound on the error in the approximation. We can define a remainder term, rn,a(x) that represents the error. The remainder is the difference between pn,a(x) and f(x). So we have f(x)=pn,a(x)+rn,a(x)=(k=0nf(k)(a)k!(xa)k)+rn,a(x)=f(a)+f(a)(xa)+f(a)2(xa)2++f(n)(a)n!(xa)n+rn,a(x)

Taylor's Theorem gives a formula for the remainder, with the assumption that f has a continuous derivative of order (n+1) on an interval containing a. The formula for rn,a(x) in this theorem is called the integral form of the remainder.

Theorem (Taylor's Theorem with Remainder): Suppose that f has a continuous derivative of order (n+1) on an open interval that contains a. Then for any x in that interval, the remainder term rn,a(x)=f(x)pn,a(x) is given by rn,a(x)=axf(n+1)(t)n!(xt)ndt

An interesting case is when it can be shown that the remainder term approaches zero as n approaches infinity. In that case, we will be able to write f(x) near a as an infinite series in powers of xa. That series will be called the Taylor series for f at a. Taylor series will be covered in Chapter 4.

There are two other ways to write the remainder in Taylor's Theorem, still assuming that f has a continuous derivative of order (n+1). The Cauchy form of the remainder says that rn,a(x)=f(n+1)(ξ)n!(xt)n(xa), for some ξ between x and a while the Lagrange form of the remainder says rn,a(x)=f(n+1)(ξ)(n+1)!(xa)n+1, for some ξ between x and a

(Note, by the way, that if f has a continuous (n+1)st derivative on some interval, then all of the derivatives of order less than n must exist and be continuous on that interval. We say that f is ``n times continuously differentiable'' on the interval.)


(back to contents)