Q5RP

Question

Solve the given initial value problem.

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

Step-by-Step Solution

Verified
Answer

The solution for the given initial value problem is:

 x(t)=2sinty(t)=et-cost+sintz(t)=et+cost+sint

 

1Step 1: Using the elimination method

Substituting z=y' into the first and the third equation one will get:

 

 x'-y'+y=0x+y''-y'=0x'-y'+y=0x+y''-y'=0

 

One will solve this system using the elimination method. First, one will rewrite this system in operator form:

 

 D[x]-(D-1)[y]=01x+D2-D[y]=02

 

Now, one can eliminate y from the system by "multiplying" the first equation by D  and then adding those two equations together:

 

 D2[x]-D(D-1)[y]=0x+D(D-1)[y]=0D2[x]+x=0

2Step 2: Multiplying by -D

A corresponding auxiliary equation is  r2+1=0, and its roots are  r2=-1     r1,2=±i and the general solution to  x is  x(t)=c1cost+c2sint

To derive a general solution to y one will multiply the second equation of the system (1)  by  -D and then add those two equations together:

 D[x]-(D-1)[y]=0-D[x]-DD2-D[y]=0-D+1-D3+D2[y]=0D3-D2+D-1[y]=0

3Step 3: Substitute the derivatives of y

The auxiliary equation is  r3-r3+r-1=0 and its roots are

 

 r3-r3+r-1=(r-1)r2+1=0r1=1,   r2,3=±i

So, the general solution to y be y(t)=d1et+d2cost+d3sint

Butone has that x+DD-1y=0 .So, one will find the first and the second derivative of  y and substitute it into the previous equation to obtain the relation between constants ci,i=1,2¯ and di,i=1,3¯.

 

4Step 4: Finding the general solution for z

So, one has that:

 

 x+D(D-1)[y]=&x+D2[y]-D[y]=c1cost+c2sint+d1et-d2cost-d3sint-d1et-d2sint+d3cost=c1cost+c2sint-2d2cost-2d3cost=c1-d2-d3cost+c2-d3+d2sint=0c1-d2-d3=0,   c2-d3+d2=0c1=d2+d3,   c2=d3-d2

 

So, the general solution to  x is  x(t)=d2+d3cost+d3-d2sint

Now one can find the general solution for z. One will find it from z=y'. One has already found , so  z(t)=y'(t)=d1et+d3cost-d2sint

5Step 5: Finding d 1 , d 2 , d 3

It remains to find the constants d1,d2 and d3.  One will find them from initial conditions which are x(0)=y(0)=0,   z(0)=2, so one has,

 x0=d2+d3=0y0=d1+d2=0z0=d1+d3=2

 

 

The first two equations give us that d1=-d2=d3, so substituting d1=d3  into the third equation one gets that 2d2=2, so  d3=1. No one has that d1=1,   d2=-1,   d3=1 so, substituting the values for  d1,d2  and  d3 one hasthose solutions for xt,yt and zt are;

 x(t)=2sinty(t)=et-cost+sintz(t)=et+cost+sint