Solve by the method of undetermined coefficients the equation (D2 + 1) y = 4x – 2 sin x.
The given differential equation is
Equating the coefficients