This is a second-order non-homogeneous linear differential equation.
First, we find the complementary solution $y_c$ by solving the homogeneous equation $y'' + y = 0$.
The characteristic equation is $r^2 + 1 = 0$, which has roots $r = \pm i$.
Therefore, the
Show more…