Answer to Question #222722 in Differential Equations for enrik

Question #222722

y''-2y'-3y=2e-x-10sinx


1
Expert's answer
2021-08-09T13:09:37-0400

Let us solve the differential equation y2y3y=2ex10sinx.y''-2y'-3y=2e^{-x}-10\sin x. The characteristic equation k22k3=0k^2-2k-3=0 is equivalent to (k+1)(k3)=0,(k+1)(k-3)=0, and hence has the roots k1=1,k2=3.k_1=-1,k_2=3.

The general solution of the differential equation is y=C1ex+C2e3x+yp,y=C_1e^{-x}+C_2e^{3x}+y_p, where the particular solution is yp=axex+bcosx+csinx.y_p=axe^{-x}+b\cos x+c\sin x. Then yp=aexaxexbsinx+ccosx,yp=aexaex+axexbcosxcsinx.y'_p=ae^{-x}-axe^{-x}-b\sin x+c\cos x, y''_p=-ae^{-x}-ae^{-x}+axe^{-x}-b\cos x-c\sin x.

It follows that

2aex+axexbcosxcsinx2(aexaxexbsinx+ccosx)3(axex+bcosx+csinx)=2ex10sinx.-2ae^{-x}+axe^{-x}-b\cos x-c\sin x-2(ae^{-x}-axe^{-x}-b\sin x+c\cos x)-3(axe^{-x}+b\cos x+c\sin x)=2e^{-x}-10\sin x.

Then

4aex+(4b2c)cosx+(2b4c)sinx=2ex10sinx.-4ae^{-x}+(-4b-2c)\cos x+(2b-4c)\sin x=2e^{-x}-10\sin x.

We conclude that 4a=2,4b2c=0,2b4c=10.-4a=2,-4b-2c=0, 2b-4c=-10. It follows that a=12,c=2b,10b=10.a=-\frac{1}{2},c=-2b, 10b=-10. Therefore, a=12,b=1,c=2.a=-\frac{1}{2}, b=-1,c=2.

We conclude that the general solutiion of the differential equation is

y=C1ex+C2e3x12xexcosx+2sinx.y=C_1e^{-x}+C_2e^{3x}-\frac{1}{2}xe^{-x}-\cos x+2\sin x.


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

LATEST TUTORIALS
New on Blog