Given 2D2−D2+D=x2−y equivalently we have D2+D=x2−yThen we have:y′′+y′+y=x2 then the auxilliary equation of the D.E will bem2+m+1=0 using quadratic formula m=2(1)−1±12−4(1)(1)=2−1±−3=2−1±3i=2−1±23iThen the complementary function of the D.E will be of the form Yc(x)=e−2x(Acos(23x)+Bsin(23x)) where A and B are constants The particular integral of the D.E is of the form:Yp(x)=Cx2+Dx+EYp′=2Cx+D;Yp′′=2CYp′′+Yp′+Yp=x2⟹2C+2Cx+D+Cx2+Dx+E=x2⟹Cx2+(2C+D)x+2C+D+E=x2By comparison of the coefficients of x2 , x and the constant terms wehave C=1;2C+D=0⟹2(1)+D=0⟹D=−22C+D+E=0⟹2(1)−2+E=0⟹E=0Then the particular integral is Yp=2x2−2xThen the general solution of the D.E is given by: y(x)=Yc+Yp=e2−x(Acos(23x)+Bsin(23x))+2x2−2x
Comments