Q23E

Question

In Problems 21–26, solve the initial value problem.

(ety+tety)dt+(tet+2)dy=0,y(0)=-1

Step-by-Step Solution

Verified
Answer

The solution is .y=-2tet+2

1Step 1: Evaluate the equation is exact

Here (ety+tety)dt+(tet+2)dy=0,y(0)=-1

 

The condition for exact is My=Nt.

M(t,y)=(ety+tety)N(t,y)=(tet+2)My=et+tet=Nt

This equation is exact.

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

Here

M(t,y)=(ety+tety)F(t,y)=M(t,y)dt+g(y)=(ety+t ety)dt+g(y)=y t et+g(y)

3Step 3: Determine the value of g(y)


Fy(t,y)=N(t,y)tet+g'(y)=(t et+2)g'(y)=2g(y)=2y+C1


NowF(t,y)=ytet+2y+C1

 

Therefore the solution of the differential equation is 

 ytet+2y=Cy=ctet+2


 Apply the initial conditions.

 y(0)=-1y(0)

-1=c0+2C=-2

 The solutions isy=-2tet+2 .

 

Hence the solution is  y=-2tet+2