Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Use Euler’s method to approximatey(0.2) , where y(x)is the solution of the given initial-value problem.

y''4y'+4y=0,y(0)=2,y'(0)=1.

Useh=0.1 . Find the analytic solution of the problem and compare the actual value of y(0.2)with y2.

Short Answer

Expert verified

The solution of the problem calculated using Euler’s method is y=c1e2x+c2xe2xand the approximated value for y(0.2)is which is 1.6800lesser than the actual value 1.4918.

Step by step solution

01

Define Euler’s Method.

Euler's method, which works by resembling a solution curve with line segments, is used to approximate solutions to certain differential equations. The formula used in this method is,

yn+1=yn+hfxn

where,

is the step size.

02

Find the first-order differential equations.

We have the second order of differential equation,

y''4y'+4y=0(1)

with initial conditions

y(0)=2,y'(0)=1

and we have to approximate using Euler’s method as the following technique.

First we have to assume that,

y'=u(a)

Then differentiate with respect to we have the following

y''=u'(b)

Substitute in equation.

u'4u+4y=0(c)

Then from a,cwe can have the system of first order differential equations.

role="math" localid="1667982134373" y'=uu'=4(uy)

Hence the first order differential equations are y'=u,u'=4(uy).

03

Find the value of y2,u2.

Using Euler’s method using the step h=0.1along with the conditions x0,y0=(0,2),x0,u0=(0,1)we can have,

yn+1=y1=yn+hun=y0+hu0=2+0.1×1=1.9

and

u1=u0+h4u0y0=1+0.1[4(1(2))]=1+0.4(1+2)=1+0.4×3=1+1.2=2.2

We have,

y2=y1+hu1=1.9+0.1×2.2=1.9+0.22=1.68

Since y1=1.9,u1=2.2we have,

u2=u1+h4u1y1=2.2+0.1[4(2.2(1.9))]=2.2+0.4(2.2+1.9)=2.2+0.4×4.1=2.2+1.64=3.84

Hence the values are y2=1.68,u2=3.84.

04

Find the general solution for the equation.

Now to solve the second order homogenous differential equation shown in 1we have to follow the below steps:

Assume that y=emxis a solution for this homogenous differential equation. Then differentiate the assumption with respect to x. We get,

y'=memx(1a)

Differentiate 1awith respect to.

y''=m2emx(2a)

Substitute y=emx,1a,2a,in equation1 .

m2emx4memx+4emx=0emxm24m+4=0

Since emxcannot be equal to zero, we have

m24m+4=0(m2)2=0

Then the eigenvalues are

m1=1,m2=2

which are real and repeated.

Then the general solution of the homogenous differential equation is

.y=c1e2x+c2xe2x(2)

05

Find the approximated value.

Now we have to apply the initial condition (x,y)=(0,2)in equation2

2=c1e0+c2(0)e0c1=2(1b)

Differentiate 1with respect to x then we get,

y'=2c1e2x+c2e2x+2c2xe2x=2c1e2x+c2(2x+1)e2x(3)

We have to apply the initial conditionx,y'=(0,1) in equation (3)

1=2c1e0+c2(0+1)e02c1+c2=1(2b)

Solve (1a) and (2b).

c1=2,c2=5

Now we have to obtain the actual value of yat x=0.2.

y(0.2)=5(0.2)e0.42e0.4=1×1.49182×1.4918=1.4918

This value is greater than the approximated value 1.6800.

Hence the value of yat x=0.2is1.4918 .

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free