1
$\begingroup$

I couldn't find anything similar using google. But I have a problem, which is find the general solution of

$$ y'' + 4y = 2\sin2x $$

And I know the answer is $C_1 \sin(2x) + C_2 cos(2x) - \frac{1}{2} x \cos(2x)$. I'm confused because I thought the complementary solution would be $C_1 e^0 + C_2 e^{-4x}$, since those are the roots of the characteristic equation. Can someone help me out with this? Thanks.

$\endgroup$
  • 2
    $\begingroup$ characteristic equation is $r^2+4=0$, not $r^2+4\color{red}{r}=0$ $\endgroup$ – ganeshie8 Mar 25 '15 at 19:32
  • $\begingroup$ oh oops that makes much more sense $\endgroup$ – Rohan A Mar 25 '15 at 19:34
  • $\begingroup$ rest should be pretty straightforward... see if you can finish it off :) $\endgroup$ – ganeshie8 Mar 25 '15 at 19:35
  • 1
    $\begingroup$ I'm actually having trouble getting the particular solution, when I guess Acos(2x) + Bsin(2x) = y_particular, I end up getting 0 = 2sin2x when I plug into the equation. $\endgroup$ – Rohan A Mar 25 '15 at 19:47
  • 1
    $\begingroup$ Right! thats because $\sin 2x $ is part of complementary solution itself. So change your guess to $Y_p = x(A\cos(2x) + B\sin(2x)) $ $\endgroup$ – ganeshie8 Mar 25 '15 at 19:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.