Guineafowl
- 883
- 409
- TL;DR
- …keeps coming out wrong, despite each step being seemingly right, as checked on an online integral calculator. It may simply be a silly mistake with algebra. Self study.
Solving the integral for a wave function:
$$1 = |C|^2 \int_0^\infty \frac{x^2}{a^2} e^{-2x/a} dx$$
Shunting out the ##\frac{1}{a^2}## term, I went for integration by parts, a couple of times, first one being:##u=x^2, \frac {du}{dx}=2x, \frac {dv}{dx}=e^{-2x/a}, v=\frac {-ae^{-2x/a}}{2}##
Now, I come up with:
$$\frac {-ax^2e^{-2x/a}}{2} - \frac {2a^2 xe^{-2x/a}+a^3e^{-2x/a}}{4}$$
Multiplying through by the ##\frac{1}{a^2}## term, and simplifying (ignoring the ##|C|^2## term and definite integral for now):
$$\frac {-(2x^2-2ax+a^2)e^{-2x/a}}{4a}$$
The right answer has a ##+2ax## instead of the ##-2ax## and I can’t find where it’s coming from, despite checking each integration step individually on the integral calculator. If someone could point out my idiocy, I’d be grateful.
Also, some guidance on evaluating the integral between 0 and ##\infty##, which I’m not familiar with, would be appreciated.
$$1 = |C|^2 \int_0^\infty \frac{x^2}{a^2} e^{-2x/a} dx$$
Shunting out the ##\frac{1}{a^2}## term, I went for integration by parts, a couple of times, first one being:##u=x^2, \frac {du}{dx}=2x, \frac {dv}{dx}=e^{-2x/a}, v=\frac {-ae^{-2x/a}}{2}##
Now, I come up with:
$$\frac {-ax^2e^{-2x/a}}{2} - \frac {2a^2 xe^{-2x/a}+a^3e^{-2x/a}}{4}$$
Multiplying through by the ##\frac{1}{a^2}## term, and simplifying (ignoring the ##|C|^2## term and definite integral for now):
$$\frac {-(2x^2-2ax+a^2)e^{-2x/a}}{4a}$$
The right answer has a ##+2ax## instead of the ##-2ax## and I can’t find where it’s coming from, despite checking each integration step individually on the integral calculator. If someone could point out my idiocy, I’d be grateful.
Also, some guidance on evaluating the integral between 0 and ##\infty##, which I’m not familiar with, would be appreciated.
Last edited: