Type a command or search the notes. Tab cycles completions. Up and down recall history when blank. Escape dismisses, then leaves the prompt.
MATH
[1251]

Examples from Multivariable approximation

All examples from Multivariable approximation.

Linearise (x−y)2(x-y)^2

Let

f(x,y)=x2+y2−2xy=(x−y)2.f(x,y)=x^2+y^2-2xy=(x-y)^2.

At (1,3)(1,3),

f(1,3)=4,fx=2x−2y,fy=2y−2x,f(1,3)=4, \qquad f_x=2x-2y, \qquad f_y=2y-2x,

so

fx(1,3)=−4,fy(1,3)=4.f_x(1,3)=-4, \qquad f_y(1,3)=4.

The tangent-plane approximation is

L(x,y)=4−4(x−1)+4(y−3)=−4x+4y−4.\begin{aligned} L(x,y) &=4-4(x-1)+4(y-3)\\ &=-4x+4y-4. \end{aligned}

Thus, close to (1,3)(1,3),

(x−y)2≈−4x+4y−4.{(x-y)^2\approx -4x+4y-4}.

Writing x=1+hx=1+h and y=3+ky=3+k shows exactly what the linear model omits:

f(1+h,3+k)=4−4h+4k+(h−k)2.f(1+h,3+k)=4-4h+4k+(h-k)^2.

The approximation keeps the constant and first-degree terms and discards the quadratic error (h−k)2(h-k)^2. This also shows why the estimate improves faster than the displacement as (h,k)→(0,0)(h,k)\to(0,0).

ex−ye^{x-y} near the origin

Let

f(x,y)=ex−y.f(x,y)=e^{x-y}.

Set u=x−yu=x-y. The one-variable exponential expansion in uu gives

T3(x,y)=1+(x−y)+(x−y)22+(x−y)36.{ T_3(x,y) =1+(x-y)+\frac{(x-y)^2}{2} +\frac{(x-y)^3}{6} }.

Each power (x−y)k(x-y)^k has total degree kk, so truncating the series in uu after u3u^3 keeps exactly the terms of total degree at most three.

A function that is already a polynomial

For

f(x,y)=x2y,f(x,y)=x^2y,

the function has total degree three. Hence its Taylor polynomial through degree three about (0,0)(0,0) is exact:

T3(x,y)=x2y.{T_3(x,y)=x^2y}.

The derivative construction gives the same result: all lower-degree terms vanish at the origin and the third-order term reproduces x2yx^2y.

An exponential of three variables

For

f(x,y,z)=ex+y+zf(x,y,z)=e^{x+y+z}

near (0,0,0)(0,0,0), set s=x+y+zs=x+y+z. The degree-two Taylor polynomial is

T2(x,y,z)=1+(x+y+z)+12(x+y+z)2.{ T_2(x,y,z) =1+(x+y+z)+\frac12(x+y+z)^2 }.

The total degree counts the total number of factors drawn from all coordinate increments, so the same construction works in any number of variables.

On this page