Given function is f(x,y)=(cos x)(cos y)
The quadratic approximation of f(X,y) at origin is
f(X,y)=f(0,0)+xfx(0,0)+yfy(0,0)+21[x2fxx(0,0)+2xyfXY(0,0)+y2fyy(0,0)]....(1)
Compute the value of f(0,0) as follows
f(X,y)=cos x cos yf(0,0)=cos (0) cos (0)=(1)(1)=1
Compute the value of fx(0,0) as follows
fx(X,y)=−sin(X)fx(0,0)=−sin(0)=0
Compute the value of fxx(0,0) as follows
fxx(X,y)=−cos(X)fxx(0,0)=−cos(0)=0
Compute the value of fy(0,0) as follows
fy(X,y)=−sin(y)fy(0,0)=−sin(0)=0
Compute the value of fyy(0,0) as follows
fyy(X,y)=−cos(y)fyy(0,0)=−cos(0)=1
Compute the value of fxy(0,0) as follows
f0,0(X,y)=sin(X)sin(y)fXy(0,0)=sin(0)sin(0)=0
Now substitute the above values in equition 1
f(X,y)=1+0+0+21(−x2+0−y2)=1−2x2−2y2
Compute the error in approximation if f∣x∣≤0.1 and ∣y∣≤0.1 as follows
E(X,y)=61(x3fxxx+3x2yfxxy+3xy2fxyy+y3fyyy)
Since the partial derivatives are given f(X,y) are the multiples of sines and cosines function the absolute value of the derivatives will always be less than or equal to 1. Therefore
E(X,y)≤61((0.1)3+3(0.1)3+3(0.1)3+(0.1)3)≤0.00134
Thus the error in the approximation is E(X,y)≤0.00134
Comments