I have this DE$$y''+ay'=c $$ I tried with undetermined coefficient method, but the ansatz of particular solution being a zeroth order polynomial obviously doesn't work(LHS is 0). How do I solve this problem? do I have to use variation of parameters or the ansatz is not right?
2026-04-30 05:04:44.1777525484
2nd order linear ODE with constant driving term
211 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
Integrating factor method works fine $$y''+ay'=c$$ use $\mu(x)=e^{ax}$ as integrating factor $$(y'e^{ax})'=ce^{ax}$$ Integrate $$y'e^{ax}=c\int e^{ax}dx =\frac ca {e^{ax}}+K$$ $$y'=e^{-ax} \left (\frac ca {e^{ax}}+K \right )$$ $$y'=\frac ca+Ke^{-ax}$$ Integrate again $$\boxed{y=\frac cax+K_1e^{-ax}+K_2}$$