# Multiple Integration

I tried the following integration

$$\frac{1}{(2 \pi \hbar)^3} \int_{-\infty}^{\infty} dp^3 exp[i\frac{\vec{p}\vec{r}}{\hbar}-i\frac{ip^2t}{2m\hbar}]$$

with this code but failed to have the right answer.

With[{r = {x, y, z}, p = {px, py, pz}},
Integrate[1/(2 Pi h)^3 Exp[I (p.r) - I (p.p) t/(2 m h)], p \in Ball[]]]



Could anyone give me a hint? Any help would be appreciated!

• What answer did you get? What did you expect? What is the syntax you are attempting with the use of \in? Do you also see that you have not properly closed up the Exp? Jan 26, 2022 at 4:42
• Thanks for your reply. They are typos when I edited in the Stacks (sorry about that), and \in means the mathematical symbol \in (I don't know how to type it in the code block). I can run the code in my Mathematica, but it just didn't give me a correct answer. Jan 26, 2022 at 5:26
• Do you mean Sphere[] (the shell) or Ball[] (the region within the sphere) Jan 26, 2022 at 5:27
• The answer should be : $$(\frac{m}{2\pi i \hbar t})^{3/2} \exp [i \frac{m}{2\hbar t} r^2], t\geq 0$$ Jan 26, 2022 at 5:28
• @BobHanlon Thank you. I should use Ball. But the result is still not right. It simply doesn't give me a explicit answer. Jan 26, 2022 at 5:44

Try this 1D integration

Assuming[Element[r, Reals] && t > 0 && m > 0 && h > 0,
Integrate[
1/(2 Pi h) Exp[I (p *r) - (p*p) t/(2 m h)], {p, -Infinity,
Infinity}]]


$$\frac{e^{-\frac{h m r^2}{2 t}}}{\sqrt{2 \pi } \sqrt{\frac{h t}{m}}}$$

The 3D integral factorizes into 3 such 1D integrals.

• Thanks a lot! Sorry for the late acknowledgement. Feb 13, 2022 at 16:22