How to solve this 2nd order ODE?

  • Thread starter Thread starter Tony Hau
  • Start date Start date
  • Tags Tags
    2nd order Ode
Click For Summary
SUMMARY

The discussion focuses on solving the second-order ordinary differential equation (ODE) $$\frac{d^{2}\psi}{d\xi^2} = \xi^2\psi$$. Participants clarify that the proposed solutions $$\psi=c_{1}e^{-\xi^2}+c_{2}e^{\xi^2}$$ and $$\psi=Ae^{-\frac{\xi^2}{2}}+Be^{\frac{\xi^2}{2}}$$ do not satisfy the ODE. The correct solution involves the parabolic cylinder functions, specifically $$y(x)=c_1 D[-1/2,\sqrt{2} x]+c_2 D[-1/2,i\sqrt{2}x]$$. The discussion also highlights the importance of recognizing the non-constant coefficients in the ODE and the asymptotic behavior of solutions for large $$\xi$$.

PREREQUISITES
  • Understanding of second-order ordinary differential equations (ODEs)
  • Familiarity with special functions, particularly parabolic cylinder functions
  • Knowledge of asymptotic analysis in differential equations
  • Basic calculus, including differentiation and integration techniques
NEXT STEPS
  • Study the properties and applications of parabolic cylinder functions
  • Learn about asymptotic solutions to differential equations
  • Explore the method of power series for solving ODEs
  • Investigate Titchmarsh's Equation and its solutions
USEFUL FOR

Mathematicians, physicists, and students studying differential equations, particularly those interested in quantum mechanics and special functions.

Tony Hau
Messages
107
Reaction score
30
Homework Statement
Solve for ##\frac{d^{2}\psi}{d\xi^2} =\xi^2\psi##
Relevant Equations
For unequal roots 2nd order ODE, the solution is: ##y=c_{1}e^{-kx}+c_{2}e^{kx}##
This is a very simple question: I would like to solve for ##\psi## in this equation $$\frac{d^{2}\psi}{d\xi^2} =\xi^2\psi$$
I so apply ##y=c_{1}e^{-kx}+c_{2}e^{kx}## and ##\psi## should be equal to ##\psi=c_{1}e^{-\xi^2}+c_{2}e^{\xi^2}##, because ##(D^2-\xi^2)\psi=0##. However the answer is ##\psi(\xi) = c_{1}e^{-\frac{\xi^2}{2}}+c_{2}e^{\frac{\xi^2}{2}}##. Why is it so?
 
Physics news on Phys.org
Your relevant equation is for constant coefficients. Your ODE does not have constant coefficients.

Try the substitution \psi = e^{f(\xi)}.

EDIT: Also, (D - \xi)(D + \xi) \neq (D^2 - \xi^2) since multiplication by \xi and differentiation wrt \xi do not commute: By the product rule, <br /> D\xi = \xi D + 1.
 
Last edited:
  • Like
Likes   Reactions: Tony Hau and Delta2
Additionally, e^{\pm\xi^2/2} are not solutions, as can be determined by inspection: if \psi = e^{\pm\xi^2/2} then \begin{align*}<br /> \psi&#039; &amp;= \pm \xi \psi \\<br /> \psi&#039;&#039; &amp;= \pm(\psi + \xi \psi&#039;) = (\xi^2 \pm 1)\psi \\<br /> &amp;\neq \xi^2 \psi. <br /> \end{align*} If you want to sove this ODE I suspect you will need to look for a power series. (My proposed substitution will lead to a first -order ODE in f&#039;, but it has the drawback of being non-linear.)
 
  • Like
Likes   Reactions: Tony Hau
Try tweaking pasmith's non solution. I.e. try e^(x^2/2) + f, and see what f needs to be to kill off the extra terms coming from the first part. Maybe the solution is not "elementary", since you need an antiderivative of e^(x^2/2).
 
  • Like
Likes   Reactions: Tony Hau
mathwonk said:
Try tweaking pasmith's non solution. I.e. try e^(x^2/2) + f, and see what f needs to be to kill off the extra terms coming from the first part. Maybe the solution is not "elementary", since you need an antiderivative of e^(x^2/2).
I think it will turn out that ##f=e^{-\frac{x^2}{2}}##. In the OP he claims that the correct solution is ##\psi=c_1e^{\frac{x^2}{2}}+c_2e^{-\frac{x^2}{2}}## and I think that's correct.
 
I think I was wrong up to a constant, the solution seems to be $$\psi=c\left (e^{\frac{x^2}{2}}+e^{-\frac{x^2}{2}}\right )$$
 
  • Like
Likes   Reactions: Tony Hau
Nope I was totally wrong this solution doesn't work. SORRY!
 
Delta2 said:
I think I was wrong up to a constant, the solution seems to be $$\psi=c\left (e^{\frac{x^2}{2}}+e^{-\frac{x^2}{2}}\right )$$
The solution is same as I stated. Actually this is from a proof on my textbook on quantum mechanics, where the proof is about solving the simple harmonic oscillator. ##\psi(x)## refers to the wave function; ##\xi## refers to the constant ##\sqrt{\frac{m\omega}{\hbar}}x##
 
Tony Hau said:
The solution is same as I stated. Actually this is from a proof on my textbook on quantum mechanics, where the proof is about solving the simple harmonic oscillator. ##\psi(x)## refers to the wave function; ##\xi## refers to the constant ##\sqrt{\frac{m\omega}{\hbar}}x##
Can you post a screenshot from the book's page, cause the solution you state at the OP doesn't verify the differential equation.
 
  • #10
WhatsApp Image 2021-01-22 at 11.47.24.jpeg
WhatsApp Image 2021-01-22 at 11.47.23.jpeg
 
  • Like
Likes   Reactions: Delta2
  • #11
Delta2 said:
Can you post a screenshot from the book's page, cause the solution you state at the OP doesn't verify the differential equation.
By the way, it would be very nice if you could explain what asymptotic form is in the second picture. I don't understand the transition from ##\psi = Ae^{\frac{-\xi^2}{2}}+Be^{\frac{\xi^2}{2}}## to ##\psi = h(\xi)e^{\frac{-\xi^2}{2}}##
 
  • #12
Tony Hau said:
By the way, it would be very nice if you could explain what asymptotic form is in the second picture. I don't understand the transition from ##\psi = Ae^{\frac{-\xi^2}{2}}+Be^{\frac{\xi^2}{2}}## to ##\psi = h(\xi)e^{\frac{-\xi^2}{2}}##
TO be honest I don't understand that transition myself, however the book says that the solution you give at the OP is an approximate solution for large ##\xi##, something that you didn't tell us from start!
 
  • Like
Likes   Reactions: Tony Hau
  • #13
Delta2 said:
TO be honest I don't understand that transition myself, however the book says that the solution you give at the OP is an approximate solution for large ##\xi##, something that you didn't tell us from start!
I am sorry. I thought the approximation only refers to ##\frac{d^2\psi}{d\xi^2} \approx \xi^2\psi##; with regards to the approximation ##\frac{d^2\psi}{d\xi^2} \approx \xi^2\psi## , the following ##\psi = Ae^{-\frac{\xi^2}{2}}+ Be^{\frac{\xi^2}{2}}## is exact and is not an approximation.
 
  • #14
Tony Hau said:
I am sorry. I thought the approximation only refers to ##\frac{d^2\psi}{d\xi^2} \approx \xi^2\psi##; with regards to the approximation ##\frac{d^2\psi}{d\xi^2} \approx \xi^2\psi## , the following ##\psi = Ae^{-\frac{\xi^2}{2}}+ Be^{\frac{\xi^2}{2}}## is exact and is not an approximation.
No, ##\psi = Ae^{-\frac{\xi^2}{2}}+ Be^{\frac{\xi^2}{2}}## is not an exact solution of the ODE ##\frac{d^2\psi}{d\xi^2} = \xi^2\psi##. If you plug it in and calculate ##\frac{d^2\psi}{d\xi^2}## you ll find that it is equal to ##(\xi^2+1)\psi## as @pasmith first noted at post #3. But for large ##\xi## it is ##\xi^2+1\approx \xi^2## so it is indeed an approximate solution for large ##\xi## always.
 
  • Like
Likes   Reactions: Tony Hau
  • #15
Tony Hau said:
This is a very simple question: I would like to solve for ##\psi## in this equation $$\frac{d^{2}\psi}{d\xi^2} =\xi^2\psi$$

This is a special case of Titchmarsh's Equation, the solution of which is in terms of special functions. In your case, the solution of ##y''-x^2y=0## is
$$y(x)=c_1 D[-1/2,\sqrt{2} x]+c_2 D[-1/2,i\sqrt{2}x]$$
where ##D[v,u]## is the parabolic cylinder function: Parabolic Cylinder function
Might be interesting to study how the approximate solution differs from this solution.
 
  • Like
Likes   Reactions: Tony Hau and Delta2

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
4
Views
1K