How do I find expectation values for a particle in an infinite well?

E92M3
Messages
64
Reaction score
0
I want to find <x> and ,<x^2>, <p>, and <p^2> of a particle in an infinite well where:
V(x)=0, \frac{-a}{4}&lt;x&lt;\frac{3a}{4}

Using the usual method, I found the wavefunction to be:
\psi(x)=\sqrt{\frac{2}{a}}sin[\frac{n\pi}{a}(x+\frac{a}{4})]

I also found:
&lt;x&gt;=\frac{2}{a}\int_{\frac{-a}{4}}^{\frac{3a}{4}}xsin^2[\frac{n\pi}{a}(x+\frac{a}{4})]dx=\frac{a}{4}

<x^2> is where I encounter the 1st problem. Here's my attempt:
&lt;x^2&gt;=\frac{2}{a}\int_{\frac{-a}{4}}^{\frac{3a}{4}}x^2sin^2[\frac{n\pi}{a}(x+\frac{a}{4})]dx
Using by parts I let:
u=x^2
du=2xdx
dv=sin^2[\frac{n\pi}{a}(x+\frac{a}{4})]dx
v=\frac{x}{2}-\frac{a}{2n\pi}sin[\frac{n\pi}{a}(x+\frac{a}{4})]cos[\frac{n\pi}{a}(x+\frac{a}{4})]=\frac{x}{2}-\frac{a}{4n\pi}sin[\frac{2n\pi}{a}(x+\frac{a}{4})]
(double angle formula used)

&lt;x^2&gt;=uv-\int vdu=\frac{2}{a}\left [ \left ((x^2)(\frac{x}{2}-\frac{a}{4n\pi}sin[\frac{2n\pi}{a}(x+\frac{a}{4})]) \right )_{\frac{-a}{4}}^{\frac{3a}{4}} -\int_{\frac{-a}{4}}^{\frac{3a}{4}}2x(\frac{x}{2}-\frac{a}{4n\pi}sin[\frac{2n\pi}{a}(x+\frac{a}{4})])dx\right ]
=\frac{2}{a}\left [ \frac{27a^3}{128}-\frac{-a^3}{128}-\int_{\frac{-a}{4}}^{\frac{3a}{4}}x^3dx+\frac{a}{4n\pi}\int_{\frac{-a}{4}}^{\frac{3a}{4}}2xsin[\frac{2n\pi}{a}(x+\frac{a}{4})])dx\right ]
=\frac{2}{a}\left [ \frac{7a^3}{32}-\frac{5a^4}{64}+\frac{a}{2n\pi}\left ( \frac{a^2}{4n^2\pi^2}sin[\frac{2n\pi}{a}(x+\frac{a}{4})])-\frac{a}{2n\pi}xcos[\frac{2n\pi}{a}(x+\frac{a}{4})])\right )_{\frac{-a}{4}}^{\frac{3a}{4}}\right ]
Sine term vanishes at both limits while cosine term as 1 at both limits:
=\frac{2}{a}\left [ \frac{7a^3}{32}-\frac{5a^4}{64}+\frac{a}{2n\pi}\left ( \frac{-3a^2}{8n\pi}+\frac{a^2}{8n\pi} \right )\right ]=\frac{7a^2}{16}-\frac{a^2}{4n^2\pi^2}-\frac{5a^3}{32}=\frac{a^2(7n^2\pi^2-4)}{16n^2\pi^2}-\frac{5a^3}{32}

This is obviously wrong since the units don't add up/ How can there be a^2 and a^3 at the same time? I spend hours checking and still can't find my mistake.

I plug the equation into a graphic calculator, I think the answer should be:
\frac{a^2(7n^2\pi^2-24)}{64n^2\pi^2}


Now, for <p>, can I just have:
&lt;p&gt;=m\frac{d&lt;x&gt;}{dt}=m\frac{d}{dt}\frac{a}{4}=0
Is this alright or do I have to plug the operator in and integrate?
 
Physics news on Phys.org
I think I spot your mistake: from the line in <x^2>=... in the integral you pass from
\int_{\frac{-a}{4}}^{\frac{3a}{4}}2x(\frac{x}{2})dx in the firs line to \int_{\frac{-a}{4}}^{\frac{3a}{4}}x^3dx in the second one
 
Thread 'Need help understanding this figure on energy levels'
This figure is from "Introduction to Quantum Mechanics" by Griffiths (3rd edition). It is available to download. It is from page 142. I am hoping the usual people on this site will give me a hand understanding what is going on in the figure. After the equation (4.50) it says "It is customary to introduce the principal quantum number, ##n##, which simply orders the allowed energies, starting with 1 for the ground state. (see the figure)" I still don't understand the figure :( Here is...
Thread 'Understanding how to "tack on" the time wiggle factor'
The last problem I posted on QM made it into advanced homework help, that is why I am putting it here. I am sorry for any hassle imposed on the moderators by myself. Part (a) is quite easy. We get $$\sigma_1 = 2\lambda, \mathbf{v}_1 = \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix} \sigma_2 = \lambda, \mathbf{v}_2 = \begin{pmatrix} 1/\sqrt{2} \\ 1/\sqrt{2} \\ 0 \end{pmatrix} \sigma_3 = -\lambda, \mathbf{v}_3 = \begin{pmatrix} 1/\sqrt{2} \\ -1/\sqrt{2} \\ 0 \end{pmatrix} $$ There are two ways...
Back
Top