Help solving a Cauchy-Euler Equation (Differential equation help)

  • Thread starter Thread starter Jim4592
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 14K views
Jim4592
Messages
49
Reaction score
0

Homework Statement


x2y'' + xy' + 4y = 0


Homework Equations


y = xr
y' = r xr-1
y'' = r(r-1)xr-2


The Attempt at a Solution



x2[r(r-1)xr-2] + x [r xr-1] + 4xr = 0

(r2-r)xr + r xr + 4xr = 0

[(r2-r) + r + 4]xr = 0

r2 - r + r + 4 = 0

r2 + 4 = 0

from the quadratic equation i know that: r = 2i and r = -2i

so y = c1x2i + c2x-2i

my question is how can i remove the imaginary number from the answer.

Thanks in advanced!
 
Physics news on Phys.org
If the roots of your characteristic equation [itex]r^2 + (b-1)r + c = 0[/itex] (here a = 1, where a is the coefficient of r^2, b = 1, and c = 4) are complex (occurs since b^2 - 4ac < 0), then the general solution is

[tex]y= c_1 e^{\alpha x}\cos{\beta x} + c_2 e^{\alpha x}\sin{\beta x}[/tex]

where

[tex]r_1 = \overline{r_2} = \alpha + i\beta = \frac{-b}{2a} + i\frac{\sqrt{4ac - b^2}}{2a}[/tex]

so that

[tex]\alpha = \frac{-b}{2a} \mbox{ and } \beta = \frac{\sqrt{4ac - b^2}}{2a}[/tex]

(All you are doing is reducing Cauchy-Euler equation to a homogeneous linear differential equation with constant coefficients)