Quantum mechanics and an evil integral

In summary, the conversation discusses the implementation of the Rayleigh-Ritz variational method in solving a physics problem involving an infinite potential well. The participants share their difficulties and strategies in calculating the necessary integrals and provide tips and advice for approaching the problem. They also touch upon related topics such as dynamical systems and the use of qualitative methods in finding solutions. The conversation ends with a mention of a similar problem involving a harmonic oscillator.
  • #1
Beer-monster
296
0
Not usre if this could have gone in the maths section as its a maths question based on a physics problem.
I'm trying to get to grips with the Rayleigh-Ritz variational method by trying a few examples from the books myself. The first was to try and recreate the solution of the infinite potential well.
I chose as directed the trial function
[tex] \gamma = (a^2-x^2)(1-cx^2) [/tex]
where a is the width of the well from the origin (so the well is 2a wide in total) and c is a parameter which can be changed later.
The next step is to calculate the Energyfunction, unfortuantely that requires calculating:
[tex]\frac {\int (a^2-x^2)(1-cx^2) \frac{d^2}{dx^2}(a^2-x^2)(1-cx^2)dx}{\int(a^2-x^2)^2(1-cx^2)^2dx}[/tex]
I can calculate the differential using the product rule to get
[tex] 2c(a^2-x^2) - 8cx^2 - (1+cx^2) [/tex]
uh ...I think :blushing: (not sure about the middle term)
But after that I'm unsure how to procede in the numerator, trying by parts at the start usually leads to more chain rule derivations and more itegrals by parts and never seems to get me anywhere. I can't think of a suitable substitution to integrate with. Expanding all the factors leads to a huge string of numbers that is hard to keep track of.
Anyone have any clue they can lend me:biggrin:
Thanks
 
Last edited:
Physics news on Phys.org
  • #2
I'd just use the brute force "calculate until your head explodes"-method. I mean all you've got to integrate are polynomials. Long and annoying polynomials, but still nothing difficult.
 
  • #3
Would that be the expand everything and do each polynomial seperately method of brain exploding or the keep everything in the brackets method. And can't I opt of the less painful shotgun in the mouth method:wink:
 
  • #4
I can't think of an easier way. I'm not advicing you to give up but this seems like an awfully uninstructive excercise.
 
  • #5
Would it be easier if you part integrate...?

Daniel.
 
  • #6
That had occurred to me, but it seemed to require several steps of integration by parts and differentiation, and I wasn't sure it would simplify anything.

Does anyone have any tips as to how this method could work?
 
  • #7
Just use your instincts and everything will turn out fine, it always does!
 
  • #8
Feeling somewhat masochistic, I be mainly trying to to solve Beer-Monster's Little Problemo !

[tex]\lambda (x)= \left( {a}^{2}-{x}^{2} \right) \left( 1-c{x}^{2} \right) -(1)[/tex]

Taking derivative w.r.t.x of (1)

[tex]f(x)=\lambda'(x)=-2\,x \left( 1-c{x}^{2} \right) -2\, \left( {a}^{2}-{x}^{2} \right) cx -(2)[/tex]

Taking 2nd derivative w.r.t.x of (1)

[tex]g(x)=\lambda''(x)=-2+10\,c{x}^{2}-2\, \left( {a}^{2}-{x}^{2} \right) c -(3)[/tex]

Multiplying (1) by (3)

[tex]h(x)=\lambda(x) * \lambda''(x)=-2\,{a}^{2}+16\,{a}^{2}c{x}^{2}-2\,{a}^{4}c-14\,{a}^{2}{c}^{2}{x}^{4}+
2\,{a}^{4}{c}^{2}{x}^{2}+2\,{x}^{2}-14\,{x}^{4}c+12\,{x}^{6}{c}^{2} -(4)[/tex]

Integrating (4) w.r.t.x

[tex]i(x)={\frac {12}{7}}\,{c}^{2}{x}^{7}+ \left( {\frac {12}{5}}\, \left( -c{a}
^{2}-1 \right) c+1/5\,c \left( -2-2\,c{a}^{2} \right) \right) {x}^{5}
+ \left( 4\,c{a}^{2}+1/3\, \left( -c{a}^{2}-1 \right) \left( -2-2\,c{
a}^{2} \right) \right) {x}^{3}+{a}^{2} \left( -2-2\,c{a}^{2} \right)
x -(5)[/tex]

This looks a tad messy ! so substituting [itex]\alpha=-2-2*a^2*c[/itex]

[tex]j(x)={\frac {12}{7}}\,{c}^{2}{x}^{7}+7/5\,c\alpha\,{x}^{5}+ \left( 1/6\,{
\alpha}^{2}-4-2\,\alpha \right) {x}^{3}+{a}^{2}\alpha\,x -(6)[/tex] :tongue2:

That concludes the Numerator(for the time being), turning now to Denominator;

Forming [itex]\lambda^{2}(x)[/itex]

[tex]k(x)= \left( {a}^{2}-{x}^{2} \right) ^{2} \left( 1-c{x}^{2} \right) ^{2} -(7)[/tex]

Expanding (7)

[tex]l(x)={x}^{8}{c}^{2}+ \left( -2\,{a}^{2}{c}^{2}-2\,c \right) {x}^{6}+
\left( {a}^{4}{c}^{2}+4\,c{a}^{2}+1 \right) {x}^{4}+ \left( -2\,{a}^{
4}c-2\,{a}^{2} \right) {x}^{2}+{a}^{4} -(8)[/tex]

Integrating (8) w.r.t.x

[tex]m(x)=1/9\,{c}^{2}{x}^{9}+ \left( -2/7\,{a}^{2}{c}^{2}-2/7\,c \right) {x}^{7
}+ \left( 1/5\,{a}^{4}{c}^{2}+4/5\,c{a}^{2}+1/5 \right) {x}^{5}+
\left( -2/3\,{a}^{4}c-2/3\,{a}^{2} \right) {x}^{3}+{a}^{4}x -(9)[/tex]

Again substituting [itex]\alpha=-2-2*a^2*c[/itex] in (9)

[tex]n(x)=1/9\,{c}^{2}{x}^{9}+ \left( 1/7\,\alpha-2/7 \right) c{x}^{7}+ \left( -
2/5\,\alpha+1/20\,{\alpha}^{2}+1/5 \right) {x}^{5}+ \left( 1/3\,\alpha

-2/3 \right) {a}^{2}{x}^{3}+{a}^{4}x -(10)[/tex]

Forming our ratio of polynomials [itex]o(x)=\frac{j(x)}{n(x)}[/itex]=(6)/(10)
[tex]o(x)=\frac{ \left( {\frac {12}{7}}\,{c}^{2}{x}^{7}+7/5\,c\alpha\,{x}^{5}+ \left(
1/6\,{\alpha}^{2}-4-2\,\alpha \right) {x}^{3}+{a}^{2}\alpha\,x
\right)}{ \left( 1/9\,{c}^{2}{x}^{9}+ \left( 1/7\,\alpha-2/7 \right) c
{x}^{7}+ \left( -2/5\,\alpha+1/20\,{\alpha}^{2}+1/5 \right) {x}^{5}+
\left( 1/3\,\alpha-2/3 \right) {a}^{2}{x}^{3}+{a}^{4}x \right)} -(11)[/tex]

Tidying up (11)

[tex]p(x)=6\,{\frac {360\,{c}^{2}{x}^{6}+294\,c\alpha\,{x}^{4}+35\,{x}^{2}{
\alpha}^{2}-840\,{x}^{2}-420\,{x}^{2}\alpha+210\,{a}^{2}\alpha}{140\,{
c}^{2}{x}^{8}+180\,c{x}^{6}\alpha-360\,c{x}^{6}-504\,{x}^{4}\alpha+63
\,{x}^{4}{\alpha}^{2}+252\,{x}^{4}+420\,{a}^{2}{x}^{2}\alpha-840\,{a}^
{2}{x}^{2}+1260\,{a}^{4}}} -(12)[/tex]

Taking the Limit as x tends to 0 of p(x)

[tex]\lim_{x\to 0}p(x)={\frac {1}{{a}}+O \left( {x}^{2} \right) - (13)[/tex]

Taking the Limit as x tends to Infinity of p(x)

[tex]\lim_{x\to\infty}p(x)={\frac{108}{7x^2}+O \left( {x}^{-4} \right) -(14)[/tex]

So familiar inverse-square law for large +- x .

To get a handle of the behaviour of p(x) within the potential well
Now need to find the poles and zeros of p(x)
For Zeros: Set j(x)=0, and solve for x.
For Poles: Set n(x)=0, and solve for x.

I'll leave that to you !

Did this make things any easier, or have I just wasted several hours ?
As in, say Dynamical Systems, it's sometimes better to just try and get a qualitative feel for the solution,
rather than strive for that ultimately defeating (and exhausting !) analytical solution !

Hmm. Not as easy as it first appears :yuck: :cry:
 
Last edited:
  • #9
I'm scared just looking at that.

However, I'm with you all the way up to 11/12. Although when I posted the problem I forgot to include the limits of integration are between -a and a (for the well). Perhaps that will make the integration neater?

I've moved on to work on a similar problem but for the harmonic oscillator, which has been set by the lecturer. Now that I see that I can do this by the mind-exploding expansion, I hope I can crack this new problem too.

Thanks
 
  • #10
Nope no luck :cry:

I've been trying this new problem for 4 days and still can't get it right

Its the same thing - the variational method however now the trial function is

[tex] \psi = (c^2-x^2)^2 [/tex]

With limits -c to c

Tried expanding it all out and proceding but I get large powers with ridiculous fractions (I think I had 11 and 762/4732ths at one point) which makes me think I'm going very wrong. By parts doesn't help as it doesn't seem to simplify anything. Can anyone think of a substitution?
 
  • #11
Ugh! Why would anyone have you work such an awful problem! Whatever you do, don't expand it all out! It isn't actually that difficult to find the best value of c and the minimum value of [tex] \langle H \rangle [/tex]. Here is a hint: try to extract the c dependence from the integrals leaving only definite integrals independent of c (just numbers). Write your answer in terms of these integrals but do not try to evaluate them yet. At the end of the day the answer cleans up rather nicely and you can calculate the relevant integrals numerically (general closed form solutions are also available for less trouble than it would be to actually calculate a single one by hand).
 
  • #12
Physics monkey: I'm not sure what you mean by extract the c dependence? Are you suggesting I divide c out of the function or try and factorise it out so that it appears outside the integral (which I'm not sure is possible in this case)?
 
  • #13
Something like that, I'm suggesting you factor out the c dependence from the integrals (there are essentially three relevant integrals) by changing variables. This can be done because c is the only length scale in your trial wavefunction. Hint: try setting x = c u with u dimensionless.
 
  • #14
Similar to the substitution you make in solving a homoegeneous equation?
 
  • #15
For instance, when calculating [tex] \int \psi^2 dx [/tex] you have to evaluate the integral
[tex]
\int^c_{-c} (c^2 - x^2)^4 \,dx,
[/tex]
just try the suggested change of variable and see what happens. If you find something useful then try to repeat the procedure for the other two integrals you need to do.
 
  • #16
Right then

For the above integral I get [tex] c^9\int{(1-u^2)^2}du [/tex]. Which is probably wrong but seems integratable.

For the Harmonic potential term I get [tex] c^6\int{u^2(1-u^2)}du [/tex]
Which also seems do-able by parts.

However for the kinetic energy term I hit a bit of a problem as the second differential of the trial function has two different pwers of x making it hard to factorise.

I'm I in the ball park or at the swimming pool?
 
  • #17
Don't be so quick to beat yourself up about it, you did the wavefunction term right. The integral you have left is, of course, completely doable since it is just a polynomial. However, you did get the potential energy term wrong. Think about your dimensions in the integral [tex] \int^c_{-c} x^2 (c^2 - x^2)^4 dx.
[/tex]
The point of all this is that you've gotten the c dependence out which is what you really care about (since you have to differentiate with respect to it). The leftover integral is just a number, call it [tex] I_1 [/tex] for instance, and carry it through your calculation as a constant. At the end to the day, your answer for the best value of c and the expectation value of the Hamiltonian will involve these integrals just as it might involve pi or 3 or 7 or whatever. You can then calculate them numerically, or by directly expanding, or by playing some tricks with the integrals.
 
Last edited:
  • #18
Just to be sure. I do this substitution to take ouyt the c dependende. Refer to each integral as a constant and then differentiate with respect to c and fiddle to get the answer?

Sorry, this is just a far cry from what I've seen before, its taking a while to sink in.
 
  • #19
Yes, that is exactly right. If you think about the system for a bit from a physical point of view, the characteristic length scale is c, so the expectation value of the Hamiltonian has got to look something like
[tex]
n_1 \frac{\hbar^2}{2 m c^2} + n_2 \frac{m \omega^2 c^2}{2},
[/tex]
where n1 and n2 are just numbers. All you doing is leaving those numbers as simple symbols rather than immediately calculating them. At the end of the day, you can put all the numbers in at once.
 

1. What is Quantum Mechanics?

Quantum mechanics is a branch of physics that studies the behavior of matter and energy at a very small scale, such as atoms and subatomic particles. It explains how particles behave and interact with each other through the principles of quantum theory.

2. How does Quantum Mechanics relate to an evil integral?

The term "evil integral" is often used to describe an integral that is difficult or impossible to solve using traditional methods. In the context of quantum mechanics, it can refer to integrals that arise in the equations used to describe the behavior of particles. These integrals are often complex and require advanced mathematical techniques to solve.

3. What are the applications of Quantum Mechanics?

Quantum mechanics has a wide range of applications in various fields, including physics, chemistry, engineering, and technology. Some examples include the development of transistors, lasers, and computer memory, as well as the study of materials, chemical reactions, and atomic and molecular processes.

4. Can Quantum Mechanics be explained in simple terms?

Quantum mechanics is a complex and abstract theory that can be difficult to grasp. However, some of its key principles can be explained in simpler terms, such as the probabilistic nature of particles and the phenomenon of wave-particle duality.

5. Is Quantum Mechanics compatible with other theories, such as General Relativity?

Quantum mechanics and General Relativity are two of the most successful theories in physics, but they are not currently compatible with each other. Efforts are being made to develop a unified theory that can explain both the behavior of particles at a small scale and the behavior of the universe at a large scale.

Similar threads

  • Advanced Physics Homework Help
Replies
3
Views
888
Replies
1
Views
803
  • Advanced Physics Homework Help
Replies
10
Views
574
  • Advanced Physics Homework Help
Replies
3
Views
914
  • Advanced Physics Homework Help
Replies
2
Views
2K
  • Advanced Physics Homework Help
Replies
15
Views
2K
  • Advanced Physics Homework Help
Replies
19
Views
822
  • Advanced Physics Homework Help
Replies
7
Views
3K
  • Advanced Physics Homework Help
Replies
2
Views
2K
  • Advanced Physics Homework Help
Replies
4
Views
974
Back
Top