Answer to Question #171468 in Differential Equations for Jose

Question #171468


y'=1+x-2y



1
Expert's answer
2021-03-17T09:09:21-0400

y'=1+x-2y

Solution:

y+2y=1+xy'+2y=1+x

The complementary equation is:

y+2y=0y'+2y=0

The characteristic equation:

r+2=0r+2=0

r=2r=-2

The general solution for this homogeneous equation :

y0=Ce2xy_0=Ce^{-2x}

Now let's find the particular solution yp(x)y_p(x) of the nonhomogeneous equation. The particular solution might have the form:

yp(x)=Ax+By_p(x)=Ax+B

Then

yp(x)=Ay_p'(x)=A

For yp(x)y_p(x) to be a solution to the differential equation, we must find values for A and B such that

A+2(Ax+B)=1+xA+2(Ax+B)=1+x

Setting coefficients of like terms equal, we have

A+2B=1A+2B=1

2A=12A=1

Then

A=12A=\frac12 ; B=14B=\frac14 .

yp(x)=12x+14y_p(x)=\frac12 x+\frac14 .

The general solution of a nonhomogeneous equation is:

y(x)=y0(x)+yp(x)=Ce2x+12x+14y(x)=y_0(x)+y_p(x)=Ce^{-2x}+\frac12x+\frac14 .

Answer: y(x)=Ce2x+12x+14y(x)=Ce^{-2x}+\frac12x+\frac14 .


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment