The solution of the differential equation
\[
\frac{d^2y}{dx^2} + 3y = -2x
\]
is
Show Hint
For non-homogeneous differential equations, find the complementary solution for the homogeneous part and the particular solution for the non-homogeneous part.
The given differential equation is a non-homogeneous second-order linear equation. The complementary solution is \( c_1 \cos \sqrt{3}x + c_2 \sin \sqrt{3}x \), and the particular solution is of the form \( -\frac{2}{3}x \). Therefore, the total solution is \( c_1 \cos \sqrt{3}x + c_2 \sin \sqrt{3}x - \frac{2}{3}x \).