Find the ODE with the following solution: $y = ae^{x} + be^{-x} + c\cos x + d\sin x$.
Kush Motwani, AIR 11, 2023
Wkt: for $(D^2+1)y = 0$, $y = c_1\cos x + c_2\sin x$
for $(D-m)y = 0$, $y = e^{mx}$. ①
Using ①: ODE for given y: auxiliary eq$^n$ will have $(m^2+1)$ as a factor, $(m-1)$ and $(m+1)$ as factors ②
(auxiliary eq$^n$)
$\Rightarrow$ Reqd ODE: $(D^4-1)y = 0$
Hence solved.