solve the undetermined coefficient y''+y=x
given differential equation,
y"+y=x
homogeneous equation,
y"+y=0
solution is given by,
y=acosx+bsinx
where a and b and constants.
The undetermined coefficient function is 1 and x.
where e and f and constants.
substitute the above values in the given differential equation,
comparing both side ,we get,
e=0, f=1
therefore ,general solution is y=a cosx +b sinx+x
Comments