Why Does Mathematica Give a Different Result for Spherical Harmonics?

Dustinsfl
Messages
2,217
Reaction score
5
$$
Y_{\ell}^m = \sqrt{\frac{(2\ell + 1)(\ell - m)!}{4\pi(\ell + m)!}}P^m_{\ell}(\cos\theta)e^{im\varphi}
$$

For ##\ell = m = 1##, we have
$$
\sqrt{\frac{(2 + 1)(0)!}{4\pi(2)!}}P^1_{1}(\cos\theta)e^{i\varphi} = \frac{1}{2}\sqrt{\frac{3}{2\pi}}e^{i\varphi}\sin \theta
$$

But Mathematica is telling me the solution is
$$
-\frac{1}{2} e^{i\varphi} \sqrt{\frac{3}{2\pi}} \sin\theta
$$

What is going wrong?
 
Physics news on Phys.org
Have you checked the definitions/conventions for the associated Legendre functions ? The definitions for Mathematica you can find on the functions.wolfram.com website. Unfortunately, it's difficult to say that special functions theory is a unitary process with unique definitions.
 
dextercioby said:
Have you checked the definitions/conventions for the associated Legendre functions ? The definitions for Mathematica you can find on the functions.wolfram.com website. Unfortunately, it's difficult to say that special functions theory is a unitary process with unique definitions.

Some are defined with a (-1)^m which is weird my professor was using that definition since we were not in class.
 
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