In the differential equation
multiply on both sides by the integrating factor
Then the left side condenses to the derivative of a product.
Integrate both sides with respect to
, and use the initial condition
to solve for the constant
.
As an alternative to integration by parts, recall
Now
Solve for
.
Solve for
.
So, the particular solution to the initial value problem is
Recall that
Let
. Then
Whatever
and
may actually be, the point here is that we can condense
into a single cosine expression, so choice (D) is correct, since
is periodic. This also means choice (C) is also correct, since
for infinitely many integers
. This simultaneously eliminates (A) and (B).