Solution: This is second order linear non−homogeneous differential equation with constant coefficient which is in the form ay′′+by′+cy=g(x)
∴Substitutedx2d2y=y′′∴ the given differential equation is written as y′′+9y=3+sin(3x)
General Solution to a(x)y′′+b(x)y′+c(x)y=g(x) can be written as y=yh+yp............................................................................................(1)Where yh is the solution to the homogenous ODE a(x)y′′+b(x)y′+c(x)y=0and yp particular solution,is any function that satisfies the non−homogenous equation
Now,we find,yh and yp.
To find yh:We know that ,the general solution of y′′+k2y=0 is y=c1 cos(kx)+c2 sin(kx)∴The general solution of y′′+9y=0 ⇒y′′+32y=0 is y=c1 cos(3x)+c2 sin(3x)∴yh=c1 cos(3x)+c2 sin(3x).............................................................(2)
To find yp: Find yp that satisfies y′′+9y=3+sin(3x)⇒y=31−6x cos(3x)∴yp=31−6x cos(3x)........................................................................(3)
∴The general solution y=yh+yp is y=c1 cos(3x)+c2 sin(3x)+31−6x cos(3x)
Comments
Leave a comment