Taylor's theorem for multivariate functions



Taylor's theorem

As we have seen in a previous post, the essence of differentiation is a linear approximation. 

See also: Partial and total differentiation of multivariate functions

Given a totally differentiable function z=f(x,y), we have in the neighbor of P=(a,b),

f(x,y)=f(a,b)+fx(a,b)(xa)+fy(a,b)(yb)+o(XP)

where X=(x,y). By discarding the higher order terms o(XP), we have the equation of the tangent plane at P:

z=f(a,b)+fx(a,b)(xa)+fy(a,b)(yb)

that gives the linear approximation of z=f(x,y) around the point P. But we may obtain better approximations by looking into the details of o(XP), that is, by incorporating higher-order derivatives. Just as in the univariate case, we have a multivariate version of Taylor's theorem, which can be stated concisely and proved easily by using differential operators.

See also: Differential operators

Theorem (Taylor's theorem)

Let f(x,y) be a function of class Cn on an open region UR2, and (a,b)U. If the line segment between (x,y) and (a,b) is in U, the following holds:

f(x,y)=m=0n11m!(hx+ky)mf(a,b)(Eq:Taylor)+1n!(hx+ky)nf(a+θh,b+θk)

where h=xa, k=yb, and θ(0,1)

Remark. In (Eq:Taylor), h and k in the differential operators are regarded as constants. That is, we mean

(hx+ky)mf(a,b)=l=1m(ml)[mfxlyml(a,b)](xa)l(yb)ml.

Remark. Eq. (Eq:Taylor) is called the finite Taylor expansion of f(x,y), and its last term (that involving θ) is called the remainder or residual. In particular, when (a,b)=(0,0), the finite Taylor expansion is also called the finite Maclaurin expansion. □

Proof. Let us define the function g(t)=f(a+ht,b+kt). Since the line segment between (x,y) and (a,b) is in U, g(t) is a function of class Cn defined on an open interval containing [0,1], and

g(0)=f(a,b),g(1)=f(x,y).

By the finite (univariate) Maclaurin expansion of g(t), we have

(Eq:gMac)g(t)=m=0n11m!g(m)(0)tm+1n!g(n)(θt)tn

where 0<θ<1. g(m)(t) (the m-th derivative of g(t)) is given as

g(m)(t)=dmdtmf(a+ht,b+kt)=(hx+ky)mf(a+ht,b+kt).

where we have used the "total differential operator" ddt defined by using the chain rule:

ddtf(x(t),y(t))=(dxdtx+dydty)f(x(t),y(t)).

By setting t=0, we have

g(m)(0)=(hx+ky)mf(a,b).

Substituting these into (Eq:gMac) and setting t=1, we have (Eq:Taylor). ■

Example. Let's find the Maclaurin expansion of f(x,y)=e2x3y at (x,y)=(0,0) with n=2.

fx(x,y)=2e2x3y,fy(x,y)=3e2x3y,fxx(x,y)=4e2x3y,fxy(x,y)=6e2x3y,fyy(x,y)=9e2x3y. 

The finite Maclaurin expansion with n=2 is given by 

 f(x,y)=f(0,0)+fx(0,0)x+fy(0,0)y+12{fxx(θx,θy)x2+2fxy(θx,θy)xy+fyy(θx,θy)y2}

where 0<θ<1. Thus, we have

e2x3y=1+2x3y+12(4x212xy+9y2)e2θx3θy.

Asymptotic expansion

Corollary (Second-order asymptotic expansion)

Let f(x,y) be a function of class C2on an open region UR2, and P=(a,b),X=(x,y)U. Suppose that the line segment between X and P is in U. Then,

f(x,y)=f(a,b)+fx(a,b)(xa)+fy(a,b)(yb)+12[fxx(a,b)(xa)2+2fxy(a,b)(xa)(yb)+fyy(a,b)(yb)2]+o(XP2)

as XP.

Proof. Let h=xa , k=yb, then XP2=h2+k2. Let A=fxx(a,b), B=fxy(a,b), C=fyy(a,b). By Taylor's theorem, 

f(x,y)=f(a,b)+fx(a,b)h+fy(a,b)k+12[Ah2+2Bhk+Ck2]+12r(h,k)

where

r(h,k)=(AA)h2+2(BB)hk+(CC)k2A=fxx(a+θh,b+θk),B=fxy(a+θh,b+θk),C=fyy(a+θh,b+θk)

for some θ(0,1). Since f(x,y) is of class C2, all the second derivatives are continuous. Therefore, AA, BB and CC all converge to 0 as XP. Hence

(AA)h2h2+k2, (BB)hkh2+k2, (CC)k2h2+k2

all converge to 0 as XP. In fact,

|(AA)h2h2+k2||AA|0,|(BB)hkh2+k2||BB|0,|(CC)k2h2+k2||CC|0.

Thus, r(h,k)=o(XP2). ■

Example. The second-order asymptotic expansion of f(x,y)=e2x3y at (x,y)=(0,0) is

e2x3y=1+2x3y+12(4x212xy+9y2)+o(x2+y2).



Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic