ODE Problem: Solution for y'' + (1/x)y' - lambda y = 0 with Boundary Conditions

  • Thread starter Thread starter member 428835
  • Start date Start date
  • Tags Tags
    Ode
Click For Summary

Homework Help Overview

The discussion revolves around solving the ordinary differential equation (ODE) given by $$y'' + \frac{1}{x}y' - \lambda y = 0$$ with specific boundary conditions as \(x\) approaches infinity and zero. Participants explore the implications of the boundary conditions and the nature of the solutions, particularly in relation to Bessel's equation.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants discuss the challenges of applying standard solution methods due to the presence of the \(x^{-1}\) term. There are considerations of using series solutions and transformations to relate the ODE to Bessel's equation. Questions arise regarding the implications of boundary conditions on the constants in the solution.

Discussion Status

The discussion is active, with participants providing insights into the transformation of the ODE and the nature of the solutions. Some participants have suggested specific rescaling techniques and the implications of boundary conditions on the constants involved in the solution. There is an ongoing exploration of how to match the constants to the boundary conditions without reaching a consensus on the final approach.

Contextual Notes

Participants note the complexity introduced by the boundary conditions and the original PDE from which the ODE is derived. There is an acknowledgment of the need for careful consideration of the behavior of the solutions as \(x\) approaches zero and infinity, as well as the implications of the constants involved in the solution.

member 428835

Homework Statement


$$y'' + \frac{1}{x}y' - \lambda y = 0$$
where ##x \to \infty \implies y \to 0## and ##x \to 0 \implies y' \to 0##

The Attempt at a Solution


to begin, this was initially a pde, and I've applied separation of variables. to solve this ODE, it seems i cannot assume ##y=e^{rx}## since the ##x^{-1}## term is present. I've thought of a series solution like ##\Sigma_{-\infty}^{\infty} A_n x^n## but the boundary conditions are bringing me to a stop.

any advice would be great! how would you solve this??
 
Physics news on Phys.org
joshmccraney said:

Homework Statement


$$y'' + \frac{1}{x}y' - \lambda y = 0$$
where ##x \to \infty \implies y \to 0## and ##x \to 0 \implies y' \to 0##

The Attempt at a Solution


to begin, this was initially a pde, and I've applied separation of variables. to solve this ODE, it seems i cannot assume ##y=e^{rx}## since the ##x^{-1}## term is present. I've thought of a series solution like ##\Sigma_{-\infty}^{\infty} A_n x^n## but the boundary conditions are bringing me to a stop.

any advice would be great! how would you solve this??

Multiplying by [itex]x^2[/itex] gives [tex] x^2 y'' + xy' - (\lambda x^2)y = 0[/tex] which if [itex]\lambda = -k^2 < 0[/itex] can be turned into Bessel's equation of order zero by a rescaling of the independent variable; if [itex]\lambda = k^2 > 0[/itex] the ODE can be turned into the modified Bessel's equation of order zero by the same rescaling.

Don't forget the case [itex]\lambda = 0[/itex].
 
  • Like
Likes   Reactions: 1 person
pasmith said:
Multiplying by [itex]x^2[/itex] gives [tex] x^2 y'' + xy' - (\lambda x^2)y = 0[/tex] which if [itex]\lambda = -k^2 < 0[/itex] can be turned into Bessel's equation of order zero by a rescaling of the independent variable

thanks! could you help me with the rescaling? I'm new to this and not sure how. i was thinking of letting ##x = z / \lambda ^{1/2}## but this doesn't look like it will help me beyond the ##y## term.

thanks so much for the help!
 
joshmccraney said:
thanks! could you help me with the rescaling? I'm new to this and not sure how. i was thinking of letting ##x = z / \lambda ^{1/2}## but this doesn't look like it will help me beyond the ##y## term.

thanks so much for the help!
It should help you on all three terms. Don't forget, λ is a constant.

Chet
 
  • Like
Likes   Reactions: 1 person
joshmccraney said:
thanks! could you help me with the rescaling? I'm new to this and not sure how. i was thinking of letting ##x = z / \lambda ^{1/2}## but this doesn't look like it will help me beyond the ##y## term.

If [itex]z = kx[/itex], then the chain rule gives [itex]\dfrac{dy}{dx} = k \dfrac{dy}{dz}[/itex]. But [itex]x = z/k[/itex], so [itex]x\dfrac{dy}{dx} = z\dfrac{dy}{dz}[/itex].
 
  • Like
Likes   Reactions: 1 person
oh my gosh, of course! ##\frac{dy}{dz} = \frac{dy}{dx} \frac{dx}{dz} \implies \frac{dy}{dz} / \frac{dx}{dz} = \frac{dy}{dx}##

thanks to both of you! (i made a multiplication error). sorry, i should at least triple check before I ask for more help.

thanks!
 
i did have another question for you both, if you don't mind?

it seems obvious that the Bessel function of first and second kind on order of zero solve the bessel equation, and it also seems, even with the independent variable change, my boundary conditions stay the same: ##z \to \infty \implies y \to 0## and ##z \to 0 \implies y' \to 0##

my question is, if ##y(z) = a_1 J_0 (z) + a_2 Y_0 (z)## where ##J_0 (z)## and ##Y_0(z)## are bessel functions of first and second kind, respectively, then to satisfy ##z \to 0 \implies y' \to 0## we need to set ##a_2 = 0## from the natural logarithm in ##Y_0##; is this correct?

if so, we now have $$y(z) = a_1J_0(z)$$ where ##z \to \infty \implies y \to 0## governs ##a_1##.

i have two questions left (assuming the above is correct). firstly, the bessel function does converge (by the alternating series test i believe), but what does it converge to? wouldn't i need to know this to fully solve?

and secondly, as i mentioned earlier, Bessels equation arises from a PDE, where i have taken separation of variables. if so, what's the point of solving ##a_1## since we will have more constants from the other ODE (much easier to solve)?

this being said, I'm still real curious on how to match ##a_1## to the b.c.

thanks so much!
 
joshmccraney said:
i did have another question for you both, if you don't mind?

it seems obvious that the Bessel function of first and second kind on order of zero solve the bessel equation, and it also seems, even with the independent variable change, my boundary conditions stay the same: ##z \to \infty \implies y \to 0## and ##z \to 0 \implies y' \to 0##

my question is, if ##y(z) = a_1 J_0 (z) + a_2 Y_0 (z)## where ##J_0 (z)## and ##Y_0(z)## are bessel functions of first and second kind, respectively, then to satisfy ##z \to 0 \implies y' \to 0## we need to set ##a_2 = 0## from the natural logarithm in ##Y_0##; is this correct?

if so, we now have $$y(z) = a_1J_0(z)$$ where ##z \to \infty \implies y \to 0## governs ##a_1##.

i have two questions left (assuming the above is correct). firstly, the bessel function does converge (by the alternating series test i believe), but what does it converge to? wouldn't i need to know this to fully solve?

Both [itex]J_0(x)[/itex] and [itex]Y_0(x)[/itex] are oscillatory with the amplitude decaying so that [itex]J_0(x) \to 0[/itex] and [itex]Y_0(x) \to 0[/itex] as [itex]x \to \infty[/itex]. However [itex]Y_0 \to -\infty[/itex] as [itex]x \to 0[/itex], and so cannot be used if x = 0 is in the region you are interested in.

and secondly, as i mentioned earlier, Bessels equation arises from a PDE, where i have taken separation of variables.

Can you post the original PDE and boundary conditions?

if so, what's the point of solving ##a_1## since we will have more constants from the other ODE (much easier to solve)?

You cannot determine [itex]a_1[/itex] from the eigenvalue problem; a constant multiple of an eigenfunction is also an eigenfunction. It is simplest to take [itex]a_1 = 1[/itex].

this being said, I'm still real curious on how to match ##a_1## to the b.c.

It depends on the nature of the boundary conditions. If [itex]0 < x < \infty[/itex] then all values of [itex]\lambda < 0[/itex] are possible and one must use the Hankel transform. This assumes that the eigenvalue problems in the other independent variables don't restrict the possible values of [itex]\lambda[/itex].
 
joshmccraney said:
and secondly, as i mentioned earlier, Bessels equation arises from a PDE, where i have taken separation of variables. if so, what's the point of solving ##a_1## since we will have more constants from the other ODE (much easier to solve)?

this being said, I'm still real curious on how to match ##a_1## to the b.c.
You don't solve for a1 separately. You combine it with the constant from the other ODE and then apply the BCs.

Chet
 
  • #10
pasmith said:
Can you post the original PDE and boundary conditions?

sure! it is $$\alpha \frac{\partial f}{\partial x} = \frac{1}{x}\frac{\partial}{\partial u}(x\frac{\partial f}{\partial x}) + \frac{\partial^2 f}{\partial u^2}$$ where ##\alpha## is a constant. this is subject to $$\lim_{x \to \infty}f(x,u) = 0$$ $$\lim_{u \to \infty}f(x,u) = 0$$ $$\lim_{\substack{{u \to 0 \\ x \to 0}}}-4 \pi \frac{1}{u} (x^2+u^2)^{3/2} C \frac{\partial f}{\partial u} = W$$ $$\lim_{x \to 0}\frac{\partial f}{\partial x}= 0$$

and ##C## and ##W## are constants. I've broken this down by separation of variables. now that i can solve the ##x## portion, i think i can get it all. i'll try it tonight (i can't right now) and post what i get!

thanks for both your help!
 
Last edited by a moderator:
  • #11
i should comment here. this boundary condition: $$\lim_{\substack{{u \to 0 \\ x \to 0}}}-4 \pi \frac{1}{u} (x^2+u^2)^{3/2} C \frac{\partial f}{\partial u} = W$$ initially looked like $$\lim_{r \to 0}-4 \pi r^2 C \frac{\partial f}{\partial r}= W$$ such that ##r := \sqrt {u^2 + x^2}##. i changed the boundary condition as shown, which i believe still holds. but, please check me here:
$$\frac{\partial f}{\partial u} = \frac{\partial f}{\partial r} \frac{\partial r}{\partial u}$$ and ##\frac{\partial r}{\partial u} = \frac{u}{r} \implies \frac{\partial f}{\partial r} = \frac{\partial f}{\partial u} \frac{r}{u}##
 
Last edited by a moderator:
  • #12
if either of you are interested, i have formally written the initial problem in latex and turned it into a pdf. it's probably a little too big to post on pf, but if you have an email and are willing to check it out i can forward the .tex and pdf to you.

either way, thanks so much for the help!
 
  • #13
joshmccraney said:
if either of you are interested, i have formally written the initial problem in latex and turned it into a pdf. it's probably a little too big to post on pf, but if you have an email and are willing to check it out i can forward the .tex and pdf to you.

either way, thanks so much for the help!
Sure. I'll send you a PM with my email address.

Chet
 
  • Like
Likes   Reactions: 1 person
  • #14
thanks, i just emailed you!
 

Similar threads

Replies
11
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
1K
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K