A quick expectant value question

  • Thread starter Thread starter StephenD420
  • Start date Start date
  • Tags Tags
    Value
Click For Summary

Homework Help Overview

The discussion revolves around evaluating an integral involving the cosine function, specifically , and its relation to wave functions in quantum mechanics. Participants are exploring the setup of the integral and its limits, questioning the context of the problem, and clarifying the definitions involved.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss using integration by parts to evaluate the integral and express concerns about the correctness of the integral setup. Questions arise regarding the context of the problem, particularly whether it relates to an infinite square well. There is also a discussion about the implications of limits and the nature of the integrand.

Discussion Status

Some participants have provided guidance on evaluating the integral and have pointed out potential errors in the original setup. There is an ongoing exploration of the implications of the integral's limits and the nature of the functions involved. Multiple interpretations of the problem are being considered, with no explicit consensus reached.

Contextual Notes

Participants note that the integral is defined from negative to positive infinity, and there are discussions about the implications of this setup in relation to wave functions. There is mention of the orthogonality of the integral and considerations regarding the units of the final result.

StephenD420
Messages
97
Reaction score
0
Solve <cos(n*pi*x/L)> = integral from negative infinity to positive infinity of x*cos^2(n*pi*x/L)dx
if we use integration by parts with u=x du=dx and dv=cos(2*n*pi*x/L) and v=(L/2*pi*n)*sin(2*pi*n*x/L)
gives
L/((2*pi*n)^2)x*sin(2*pi*n*x/L) + (L/2*pi*n)^2*cos(2*pi*n*x/L) + 1/4*x^2

but now how do I solve this from negative infinity to positive infinity??

Thanks.
Stephen
 
Physics news on Phys.org
StephenD420 said:
Solve <cos(n*pi*x/L)> = integral from negative infinity to positive infinity of x*cos^2(n*pi*x/L)dx
if we use integration by parts with u=x du=dx and dv=cos(2*n*pi*x/L) and v=(L/2*pi*n)*sin(2*pi*n*x/L)
gives
L/((2*pi*n)^2)x*sin(2*pi*n*x/L) + (L/2*pi*n)^2*cos(2*pi*n*x/L) + 1/4*x^2

but now how do I solve this from negative infinity to positive infinity??
Is this for the infinite square well? If so, the limits on your integral are wrong because the wave function is 0 outside the well.
 
nope no infinite square well
the question just asks us to find <cos(n*pi*x/L)>
thats it...
any help?
 
It would help if you provided more context. In any case, the integral in your original post isn't correct. I'm not sure why you're throwing in a factor of x and squaring the cosine.
 
According to my professor and the question <wave equation>=integral from negative to positive infinity of wave function * conjugate of wave function*x
so if wave function = cos(n*pi*x/L)
<cos(n*pi*x/L)>= the integral from negative to positive infinity of x*cos^2(n*pi*x/L) dx

I know this is right as it is in the problem statement so...
any help?
 
The notation ##\langle Y \rangle## means
$$\langle Y \rangle = \int_{-\infty}^\infty \psi^*(x)Y\psi(x)\,dx$$ where Y is some operator, so what you're writing is
$$\langle \cos(n\pi x/L) \rangle = \int_{-\infty}^\infty \psi^*(x) \cos(n\pi x/L) \psi(x)\,dx$$ What you seem to mean is you want to calculate
$$\langle x \rangle = \int_{-\infty}^\infty \psi^*(x) x \psi(x)\,dx$$ when the system is in the state given by ##\psi(x) = \cos(n\pi x/L)##.
 
Ok...my professor basically said that <x> and <wave function> was the same thing and when he wrote <wave function> then he means <wave function> = ∫∞−∞ψ∗(x)xψ(x)dx
when the system is in the state given by ψ(x)=cos(nπx/L).
So now that I solved the integral in my original post...How do I find the solution using
L/((2*pi*n)^2)x*sin(2*pi*n*x/L) + (L/2*pi*n)^2*cos(2*pi*n*x/L) + 1/4*x^2 + C
from a general solution to a specific solution from negative to positive infinity?
would it be lim n->infinity L/((2*pi*n)^2)x*sin(2*pi*n*x/L) + (L/2*pi*n)^2*cos(2*pi*n*x/L) + 1/4*x^2
so 0+ (L/2*pi*n)^2 +0 = (L/2*pi*n)^2 ?

Thanks for the help.
Stephen
 
Why would you take a limit as n goes to infinity?
 
Because since I found the general solution I have to input the integral limits which from CALC II you take the limit as n goes to negative infinity + limit as n goes to positive infinity...

so is the answer 2*(L/2*pi*n)^2
 
  • #10
But you're integrating with respect to x, not n.
 
  • #11
I meant x not n

but the integral should be 0+(L/2*pi*n)^2 +0-0+(L/2*pi*n)^2 +0 = 0

and since the integral is an orthogonality integral it should equal zero right or is the answer
2(L/2*pi*n)^2 ?
Any help would be apprecaited
 
  • #12
Evaluate the integral as
$$\lim_{b \to \infty} \int_{-b}^b x\,\cos^2(n\pi x/L)\,dx$$ You should find it comes out to be 0. Because of the sines, cosines, and diverging terms, you can't simply plug in infinity like usual. The other way to see it is that the integrand is an odd function of x.
 
  • #13
Is there a way to plug that equation into a ti-89 since we have several variable constants or mathematica?

So the answer is zero??

Thanks so much for the help.
Stephen
 
  • #14
I'm going to assume you integrated correctly. You get
$$\left[\frac{L}{(2\pi n)^2}x\sin\left(\frac{2\pi n}{L}x\right) + \frac{L}{(2\pi n)^2}\cos \left(\frac{2\pi n}{L}x\right) + \frac{1}{4}x^2 \right]_{-b}^b$$ You should be able to see that's equal to 0 pretty easily.

EDIT: The last term is obviously wrong. Perhaps it's missing factor of 1/L. If you look at the units of the original integral, you'll see it has units of length. So your answer should have units of length, which the first two terms do, but the last doesn't.
 

Similar threads

Replies
28
Views
2K
Replies
5
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 13 ·
Replies
13
Views
1K
Replies
8
Views
1K
Replies
8
Views
2K
Replies
7
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K