Q 3.7-4E

Question

Determine the recursive formulas for the Taylor method of order 4 for the initial value problem y'=x2+y,y(0)=0 .

Step-by-Step Solution

Verified
Answer

yn+1=yn+h(xn2+yn)+h22(2x+x2+y)+h36(2+2x+x2+y)+h424(2+2x+x2+y)

1Step 1: Find the value of f 2 (x,y)

Here y'=x2+y,y(0)=0

 

Apply the chain rule.

 f2(x,y)=fx(x,y)+fy(x,y)f(x,y)


 Since f(x,y) = x2 + y

 

fx(x,y)=2xfy(x,y)=1

 

So, the equation is f2(x,y)=2x+x2+y

2Step 2: Evaluate the values of f 3 ( x , y )     and     f 4   ( x , y )

Apply the same procedure as step 1

 

f3(x,y)=2+2x+x2+yf4(x,y)=2+2x+x+y

3Step 3: Apply the recursive formulas for order 4

The recursive formula is

xn+1=xn+hyn+1=yn+hf(xn+yn)+h22!f2(xn+yn)+.....hpp!fp(xn+yn)

xn+1=xn+hyn+1=yn+h(xn2+yn)+h22(2x+x2+y)+h36(2+2x+x2+y)+h424(2+2x+x2+y)



Where starting points are xo=0,y0=0 .

Hence the solution is

yn+1=yn+h(xn2+yn)+h22(2x+x2+y)+h36(2+2x+x2+y)+h424(2+2x+x2+y)