Taylor's Series For Two Variables Engineering Maths, Btech first year

Taylor Series | Btech Shots!

Taylor Series

For two variables :

Before diving into Taylor Series for two variables, you should know Taylor Series for one variable, so if you don't know Taylor Series for one variable Click Here for a quick look.

A function of two variables x,y can be expanded using Taylor Series using following formula: f(x,y)=f(a,b)+11![(xa)fx(a,b)+(yb)fy(a,b)] +12![(xa)2fxx(a,b)+2(xa)(yb)fxy(a,b)+(yb)2fyy(a,b)] +13![(xa)3fxxx(a,b)+(yb)3fyyy(a,b)+3(xa)2(yb)fxxy(a,b)+3(xa)(yb)2fxyy(a,b)] +..... where fx=fx;fy=fy fxx=2fx2;fxy=2fxy;fyy=2fy2 fxxx=3fx3;fyyy=3fy3 fxxy=3fx2y;fxyy=3fxy2 Yeah it's scary, but if you know Taylor Series for one variable, then it is easy to remember. In taylor Series for one variable, you had f(a), in two variable you have f(a,b); in one variable, you had derivatives of the function, in two variables, you have partial derivatives of the function w.r.t. x,y; in one variable you had (xa), in two variables, you have (xa) and (yb).
All the terms in Taylor Series for two variables follow a pattern known as identities of a,b. For example, the second term is simply (a+b)1, where 1 is both the degree of (xa) and (yb) and the order of partial derivatives of the function w.r.t. x,y, and the x terms are with partial derivative w.r.t. x and the y terms are with partial derivatives w.r.t. y.
The third term resembles with (a+b)2=a2+2ab+b2, here 2 is the degree of x and y terms and order of partial derivatives. Similarly the third term resembles (a+b)3=a3+b3+3a2b+3ab2 and 3 is the degree of x and y terms and order of partial derivatives.


Sample Problem 1 :

Expand x2y+3y2 in the powers of (x1) and (y+2) upto three degree terms.

Solution :

Here degree implies derivative.
Given function is f(x,y)=x2y+3y2
By Taylor Series- f(x,y)=f(a,b)+11![(xa)fx(a,b)+(yb)fy(a,b)] +12![(xa)2fxx(a,b)+2(xa)(yb)fxy(a,b)+(yb)2fyy(a,b)] +13![(xa)3fxxx(a,b)+(yb)3fyyy(a,b)+3(xa)2(yb)fxxy(a,b)+3(xa)(yb)2fxyy(a,b)] +..... Here, xa=x1a=1 yb=y+2b=2 f(1,2)=262=10 fx=fx=2xy,fx(1,2)=4 fy=fy=x2+3,fy(1,2)=1+3=4 fxx=2fx2=2y,fxx(1,2)=4 fyy=2fy2=0,fyy(1,2)=0 fxy=2fxy=2x,fxy(1,2)=2 fxxx=3fx3=0,fxxx(1,2)=0 fyyy=3fy3=0,fyyy(1,2)=0 fxxy=3fx2y=2,fxxy(1,2)=2 fxyy=3fxy2=0,fxyy(1,2)=0 Putting values, f(x,y)=10+11[(x1)(y)+(y+2)(4)] +12[(x1)2(4)+(y+2)2(0)+2(x1)(y+2)(2)] +13×2[(x1)3(0)+(y+2)3(0)+3(x1)2(y+2)(2)+2(x1)(y+2)2(0)]+... =104(x1)+4(y+2)2(x1)2+2(x1)(y+2)+(x1)2(y+2)+...

Sample Problem 2 :

Expand xy2+cosxy in the powers of (x1) and (yπ/2) upto two degree terms.

Solution :

f(x,y)=xy2+cosxy xa=x1a=1 yb=yπ/2b=π/2 By Taylor Series, f(x,y)=f(a,b)+11![(xa)fx(a,b)+(yb)fy(a,b)] +12![(xa)2fxx(a,b)+2(xa)(yb)fxy(a,b)+(yb)2fyy(a,b)] +13![(xa)3fxxx(a,b)+(yb)3fyyy(a,b)+3(xa)2(yb)fxxy(a,b)+3(xa)(yb)2fxyy(a,b)] +..... Here, xa=x1a=1 yπ/2=ybb=π/2 f(1,π/2)=(π/2)2+0=π24 fx=fx=y2ysinxy,fx(1,π/2)=π24π2 fy=fy=2xyxsinxy,fy(1,π/2)=π1 fxx=2fx2=y2cosxy,fxx(1,π/2)=0 fyy=2fy2=2xx2cosxy,fyy(1,π/2)=2 fxy=2fxy=2yxcosxy,fxy(1,π/2)=π Putting values, =π24+11[(x1)(π24π2)+(yπ2)(π1)] +12[(x1)2(0)+(yπ/2)2(2)+2(x1)(yπ/2)(π1)]+... =π24+(π24π2)(x1)+(π1)(yπ2) +(yπ2)2+(π1)(x1)(yπ2)+...



DC Motor, Basic Electrical Engineering, Btech first year

DC Motor | Btech Shots! DC Motor ...