Q6RP

Question

Solve the given initial value problem. 

 x'=y+z;x(0)=2y'=x+z;y(0)=2z'=x+y;z(0)=-1

Step-by-Step Solution

Verified
Answer

The solution for the given initial value problem is:

 x(t)=e-t+e2ty(t)=e-t+e2tz(t)=-2e-t+e2t

 

1Step 1: Using the elimination method

Let's rewrite the given system in operator form:

 

 Dx-y-z=0x-Dy+z=0x+y-Dz=0

 

One will solve this system using the method of elimination. Let eliminate z. We can obtain the first equation without z  by adding the first and the second equation together, so one will get:

 

 Dx+x-Dy-y=0

 

To obtain the second equation one will add the second equation of the initial system "multiplied" by   to the third equation:

 

 D[x]+x-D2[y]+y=0

 

So now we are solving a new system:

 D[x]+x-D[y]-y=0D[x]+x-D2[y]+y=0

 

2Step 2: Finding the roots

By subtracting the second equation from the first, one will get  D2[y]-D[y]-2y=0

The corresponding auxiliary equation is  r2-r-2=0 and its roots are:

 

 r1,2=1±1+82 r1=-1,   r2=2

 

So, the general solution for  y is  y(t)=c1e-t+c2e2t

 

One will now find the general solution for x. The equation  Dx+x-Dy-y=0 gives us that Dx+x=Dy+y.

 

So, one will find the first derivative of y and substitute it into the previous equation to obtain Dx-x.

 

 D[y]=Dc1e-t+c2e2t=-c1e-t+2c2e2tD[x]+x=D[y]+y=-c1e-t+2c2e2t+c1e-t+c2e2tD[x]+x=3c2e2t

3Step 3: Using the method of undetermined coefficients

One can find a homogeneous solution. The auxiliary equation is  r+1=0 and its solution is r=-1  so the homogeneous solution for x  is  xh(t)=d1e-t

 

Now, one can find a particular solution using the method of undetermined coefficients. 

Assume that xp(t)=Ae2t. One has that xp'(t)=2Ae2t, so

 Dxp(t)+xp(t)=xp\cent(t)+xp(t)=2Ae2t+Ae2t=3Ae2t=3c2e2tA=c2xp(t)=c2e2t

So, the general solution for x is x(t)=xh(t)+xp(t)=d1e-t+c2e2t.

4Step 4: Finding the value of z

Let find z. One has from Dx-y-z=0, one has that

 z(t)=D[x(t)]+y(t)=Dd1e-t+c2e2t-c1e-t-c2e2t=-d1e-t+2c2e2t-c1e-t-c2e2tz(t)=-c1+d1e-t+c2e2t

 

It remains to find the constants c1 ,  c2 and d1. One will find them from the initial conditions which are  x0=y0=2 and z0=-1, so one has to solve the following system:

 x0=d1+c2=2y0=c1+c2=2z0=-c1-d1+c2=-1

5Step 5: Finding the values of c 1 , c 2

From the first and the second equation one has that c1=d1. So, substituting it into the third equation one will get that -2c1+c2=-1. Also, from the second equation one has that c2=2-c1, so one has that:

 

 -c1-c1+(2-c1)=-1-3c1+2=-1-3c1=-1-2-3c1=-3c1=1d1=c1=1c2=2-c1=2-1c2=1

 

So, one has that the solution for the given initial value problem is:

 x(t)=e-t+e2ty(t)=e-t+e2tz(t)=-2e-t+e2t