Q23E

Question

Find the solution to the initial value problem.y'-y=1,      y(0)=0

Step-by-Step Solution

Verified
Answer

The solution to the initial value problem is:y=ex-1

1Step 1: Write the auxiliary equation of the given differential equation.

The differential equation is,

 

y'-y=1                                     (1)

 

The auxiliary equation for the above equation,

 

m-1=0

2Step 2: Now find the complementary solution of the given equation.

The root of an auxiliary equation is,

 

m=1

 

The complementary solution of the given equation is,

 

yc=c1ex

3Step 3: Now find the particular solution to find a general solution for the equation.

Assume, the particular solution of equation (1),

 

yp(x)=k                                         (2)

 

Now find the first derivative of the above equation,

 

yp'(x)=0

 

Substitute the value of  yp(x)  and yp'(x) the equation (1),

y'-y=10-k=1k=-1


Substitute the value of k in the equation (2),

 

yp(x)=-1

 

4Step 4: Find the general solution and use the given initial condition.

Therefore, the general solution is,


 y=yc(x)+yp(x)y=c1ex-1                                            ......(3)


 

Given the initial condition,

 y(0)=0


 

Substitute the value of y = 0 and x = 0 in the equation (3),

 

y=c1ex-10=c1e(0)-1c1=1

 

Substitute the value of  c1=1in the equation (3), and we get:

 y=(1)ex-1y=ex-1


 

Thus, the general solution is y=ex-1.