Solution

ID: past-exam-of-the-mathematics-course-of-the-year-1-of-the-natural-sciences-course-of-the-university-of-cambridge/2021/paper-1/13/a/ii/solution

Use the method of undetermined coefficients, choosing a particular solution . Substitution gives
Matching the constant and cosine coefficients to gives , . Thus
Neither forcing term is resonant with the homogeneous angular frequency one.

New to topics? Read the docs here!