Second order DE involving repeat roots

  • Thread starter Thread starter quietrain
  • Start date Start date
  • Tags Tags
    Roots Second order
quietrain
Messages
648
Reaction score
2
ok, for 2nd order differential equations, if we have repeat roots, like for example y" +4y = cos2x

, we would have repeat roots +2i,-2i.

so how do we try for the particular solution?

i tried Acos2x + Bsin2x, it all canceled out.
i tried (Ax+B)cos2x + (Cx+D)sin2x it all canceled out too

then i tried just (Ax2+Bx)cos2x, but apparently that is wrong.

apparently we have to substitute y = Re(Z), and let z" +4z = ei2x to solve

so my question is,

1)how do we know when we have to substitute, and when we can try AcosX +BsinX, also, for repeat roots, is the only way to solve is to let it be the real part of some substituted equation?

2)when the RHS is only cos 2x, do we have to try Acos2x +Bsin2x, or is Acos2x suffice? why?

help appreciated!
 
Physics news on Phys.org
Try Axsin(2x) + Bxcos(2x). It will work.

And your effort with (Ax+B)cos2x + (Cx+D)sin2x should have worked too.
 
oh isee. i just have to assume my B and D take on the values of 0? for convenience?

thanks!
 
quietrain said:
oh isee. i just have to assume my B and D take on the values of 0? for convenience?

thanks!

It isn't a matter of convenience. If you equate like terms on both sides after you substitute into the equation, those values must be 0 to make it work. In other words, if you don't have an x cosx on the right side you can't have one on the left, etc.
 
oh i see ha.. ok thanks a lot!
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top