Physics Stack Exchange is a question and answer site for active researchers, academics and students of physics. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to calculate the expectation value of an infinite quantum well in one dimension (L).

$$\phi_n = \sqrt{\frac{2}{L}}\sin\left(\frac{n\pi}{L}x\right)$$ and $$E_n=\left[\frac{\hbar^2\pi^2}{2mL^2}\right]n^2$$

I am trying co calculate $\langle\phi_n|\hat{T}|\phi_n\rangle$, where $\hat{T}$ is the kinetic energy operator.

So far I have:
$$\int_{-\infty}^\infty\sqrt{\frac{2}{L}}\sin\left(\frac{n\pi}{L}x\right)\left[\frac{-\hbar^2}{2m}\frac{\partial^2}{\partial x^2}\sqrt{\frac{2}{L}}\sin\left(\frac{n\pi}{L}x\right)\right]dx$$

which I reduce to:

Then I get stuck at this point. I'm not sure what to do with the integral as I'm pretty sure it diverges. What am I misunderstanding?

share|cite|improve this question
up vote 3 down vote accepted

By the eigenenergies you quote, I imagine you're dealing with an infinite potential well with walls at $x=0$ and $x=L$. In this case, the wavefunction is zero outside of the well, so $$\phi_n(x) = \left\{\begin{array}& \sqrt{\frac{2}{L}}\sin\left(\frac{n\pi}{L}x\right) &\text{if }0<x<L,\text{ and}\\ \qquad \quad0&\text{otherwise.}\end{array} \right.$$

The integral is therefore over $x\in[0,L]$, and converges without a problem.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.