The characteristic equation for the given differential equation is given byy2+1=0⟹y=±iHence the complimentary solution is given byy=C1eix+C2e−ix⟹yc(x)=C1sinx+C2cosxThe general solution is given by yc(x)+yp(x)yp(x) is already given, that is, x⟹y=C1sinx+C2cosx+xLet y(x) = x be a solution, therefore y′(x)=1 and y′′(x)=0Hence substituting into the given differential equation, we havey′′+y=xShowing that y = x is a solution of the given differential equation
Comments