Question: dsolve gives an odd (but not incorrect) output

The problem, find the general solution of y '' + 4y = t cos (2t).

Maple input:


Maple output:


The odd thing is the inclusion of the term -(1/64)*sin(2*t). It is not incorrect since you can collect this term with sin(2*t)*_C2. Is there a reason why it's there, and how can i remove it without inspecting it? Note that Wolfram doesn't have this extra term.*cos(2*t)

I attached the worksheet and added a more detailed calculation.


Please Wait...