Skip to main content

Section 4.7 Taylor Polynomials

If g is a function of one variable then the Taylor polynomial of order n about a is defined by
Tn(a+h)=g(a)+g(a)h+g(a)2!h2++g(n)(a)n!hn.
As you know from first year calculus Tn is the best approximation of f near a by an n-th order polynomial. From the above formula we now want to derive the Taylor polynomials of order one and two for a function, f, defined on DRN. Given an interior point of aD and hRN we consider the function
gh(t):=f(a+th),
and write down its Taylor polynomial of order 2 about t=0:
gh(0)+gh(0)t+gh(0)2!t2.
Applying the chain rule (see Theorem 4.17) we obtain
gh(0)=(gradf(a))h.
If h0 then v:=h/h is a unit vector, and by the formula (4.3) the above becomes
gh(0)=h(gradf(a))v=hfv(a).
Applying the same arguments to gh(t) we get
gh(0)=h22fv2(a).
Using the formula for the second directional derivative from Proposition 4.43 and the definition of v we get
gh(0)=h2vTHf(a)v=h2hThHf(a)hh=hTHf(a)h,
where Hf(a) is the Hessian matrix as defined in Definition 4.40. The above motivates the following definition.

Definition 4.44. Taylor polynomials.

The functions
T1(a+h):=f(a)+(gradf(a))hT2(a+h):=f(a)+(gradf(a))h+12hTHf(a)h
are called the Taylor polynomial of f of order one and two, respectively, centred at a.
By construction T1 and T2 are the Taylor polynomials of gh at t=1, so we can apply Taylor’s theorem to gh at t=1. Doing this, with some effort involved in dealing with the remainder term, we get the following version of Taylor’s Theorem for a function of several variables. For a rigorous proof we refer to Apostol [2](pages 308-310).
We conclude this section by giving one example.

Example 4.46.

Suppose that f(x,y):=x33x2y for all (x,y)R2 is as in Example 4.37. Then we saw that
gradf(x,y)=(3x26xy,3x2)
and
Hf(x,y)=[6x6y6x6x0].
Hence the Taylor polynomial of order one centred at a=(1,1) is
T1(1+h1,1+h2)=2+(3,3)(h1,h2)=23(h1+h2)
for all (h1,h2)R2. The Taylor polynomial of order two centred at a=(1,1) is
T2(1+h1,1+h2)=T1(1+h1,1+h2)+12[h1h2][0660][h1h2]=23(h1+h2)6h1h2.