MHB How do you solve the Euler ODE $x^2y'' + xy' - n^2y = 0$ using $y=x^p$?

  • Thread starter Thread starter ognik
  • Start date Start date
  • Tags Tags
    Ode
ognik
Messages
626
Reaction score
2
Given $ x^2y'' + xy' - n^2y = 0 $

I think this is an Euler ODE, so I try $y=x^p, \therefore y'=p x^{p-1}, \therefore y''= p (p-1) x^{p-2}$

Substituting: $x^p p(p-1) + x^p p - n^2 x^p = 0, \therefore p^2 = n^2, \therefore p= \pm n$

$ \therefore y=C_1 x^n + C_2 x^{-n} $?
 
Physics news on Phys.org
I will check your result using another approach to Cauchy-Euler equations, and that is to make the substitution:

$$x=e^t\implies\d{y}{t}=x\d{y}{x}\implies x^2\d{^2y}{x^2}=\d{^2y}{t^2}-\d{y}{t}$$

And so the given ODE becomes:

$$\d{^2y}{t^2}-n^2y=0$$

The characteristic equation is:

$$r^2-n^2=(r+n)(r-n)=0$$

And so the general solution is:

$$y(t)=c_1e^{-nt}+c_2e^{nt}$$

Back-substituting for $x$, we then obtain:

$$y(x)=c_1x^{-n}+c_2x^{n}$$

And this agrees with your result. :)
 
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