find the general solution of the differential equation using undetermined coefficients, y^(iv) -2y"'+2y"=3e^-x+2e^-x.x+e^-sinx.
Solution:
We can solve differential equation using undetermined coefficients if the right (heterogeneous) part of the equation is in the form:
enPm , where Pm is a polynomial of degree m;
or in the form:
eα(Pkcos(βx)+Plsin(βx)) , where Pk and Pl are polynomials of degrees k and l.
Since e−sinx cannot be presented as enPm or eα(Pkcos(βx)+Plsin(βx)), we can conclude that a question consists mistake. Assume the correct equation is the following:
yIV−2y′′′+2y′′=3e−x+2e−x⋅x+e−x⋅sinx (*)
Let's find the complementary solution to this differential equation:
yIV−2y′′′+2y′′=0
The characteristic equation for this differential equation is the following:
r4−2r3+2r2=0
r2(r2−2r+2)=0
r=0 ; r=1±i
The complementary solution:
yc=C1+C2⋅x+ex(C3cosx+C4sinx)
Let's proceed with finding a particular solution. The form of the particular solution would be:
yp=e−x(Ax+B+Ccosx+Dsinx)
yp′=e−x(A−Ax−B+(D−C)cosx−(C+D)sinx)
yp′′=e−x(Ax−2A+B−2Dcosx+2Csinx)
yp′′′=e−x(−Ax+3A−B+2(C+D)cosx+2(D−C)sinx)
ypIV=e−x(Ax−4A+B−4Ccosx−4Dsinx)
Substituting ypIV, yp′′′ and yp′′ into the (*) gives:
e−x(Ax−4A+B−4Ccosx−4Dsinx)−2e−x(−Ax+3A−B+2(C+D)cosx +2(D−C)sinx)+ 2e−x(Ax−2A+B−2Dcosx+2Csinx)= 3e−x+2e−x⋅x+e−x⋅sinx
Choose A , B , C, and D so that the coefficients of the exponentials on either side of the equal sign are the same:
A=52 , B=2543 , C=161, D=−161.
The particular solution:
yp=e−x(52x+2543+161cosx−161sinx)
General solution:
y=yc+yp= C1+C2⋅x+ex(C3cosx+C4sinx)+ e−x(52x+2543+161cosx−161sinx)
Solution:
y=C1+C2⋅x+ex(C3cosx+C4sinx)+ e−x(52x+2543+161cosx−161sinx)
Comments