Solving ODE Roots: y'' + 2y' + 5y = 0

  • Thread starter Thread starter kasse
  • Start date Start date
  • Tags Tags
    Ode Roots
kasse
Messages
383
Reaction score
1
y'' + 2y' + 5y = 0 (*)

OK, what I have done is computing the two roots y1 = exp(-x)*cos2x and y2 = exp(-x)*sin2x.

However, when I compute the derivatives of these two, and substitute into (*), the eq. doesn't equate 0.

Are my roots wrong?
 
Physics news on Phys.org
In that case you haven't taken the derivatives correctly, because the roots are correct.
 
Let us first look at the characteristic equation of the ODE.

P(\lambda) = \lambda^2 + 2\lamda + 5 = 0
(\lambda + 1)^2 = -4
\lambda + 1 = \pm2i
\lambda = -1 \pm2i

Your roots appear to be correct.
 
wbclark said:
Let us first look at the characteristic equation of the ODE.

P(\lambda) = \lambda^2 + 2\lamda + 5 = 0
(\lambda + 1)^2 = -4
\lambda + 1 = \pm2i
\lambda = -1 \pm2i

Your roots appear to be correct.

Yes...

The derivative of cos2x is -2sin2x, isn't it? I'm going to check this tomorrow. Now I need some sleep.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top