# Magnetic quantum number

In atomic physics, a magnetic quantum number is a quantum number used to distinguish quantum states of an electron or other particle according to its angular momentum along a given axis in space. The orbital magnetic quantum number (m$_l$ or m) distinguishes the orbitals available within a given subshell of an atom. It specifies the component of the orbital angular momentum that lies along a given axis, conventionally called the z-axis, so it describes the orientation of the orbital in space. The spin magnetic quantum number m$_s$ specifies the z-axis component of the spin angular momentum for a particle having spin quantum number s. For an electron, s is 1⁄2, and m$_s$ is either +1⁄2 or −1⁄2, often called "spin-up" and "spin-down", or α and β. The term magnetic in the name refers to the magnetic dipole moment associated with each type of angular momentum, so states having different magnetic quantum numbers shift in energy in a magnetic field according to the Zeeman effect.
The four quantum numbers conventionally used to describe the quantum state of an electron in an atom are the principal quantum number n, the azimuthal (orbital) quantum number $\ell$, and the magnetic quantum numbers m$_l$ and m$_s$. Electrons in a given subshell of an atom (such as s, p, d, or f) are defined by values of $\ell$ (0, 1, 2, or 3). The orbital magnetic quantum number takes integer values in the range from $-\ell$ to $+\ell$, including zero. Thus the s, p, d, and f subshells contain 1, 3, 5, and 7 orbitals each. Each of these orbitals can accommodate up to two electrons (with opposite spins), forming the basis of the periodic table.
Other magnetic quantum numbers are similarly defined, such as m$_j$ for the z-axis component the total electronic angular momentum j, and m$_I$ for the nuclear spin I. Magnetic quantum numbers are capitalized to indicate totals for a system of particles, such as M$_L$ or m$_L$ for the total z-axis orbital angular momentum of all the electrons in an atom.

## Derivation

There is a set of quantum numbers associated with the energy states of the atom. The four quantum numbers $n$, $\ell$, $m_{l}$, and $m_{s}$ specify the complete quantum state of a single electron in an atom called its wavefunction or orbital. The Schrödinger equation for the wavefunction of an atom with one electron is a separable partial differential equation. (This is not the case for the neutral helium atom or other atoms with mutually interacting electrons, which require more sophisticated methods for solution) This means that the wavefunction as expressed in spherical coordinates can be broken down into the product of three functions of the radius, colatitude (or polar) angle, and azimuth:
    $\psi (r,\theta ,\phi )=R(r)P(\theta )F(\phi )$
The differential equation for $F$ can be solved in the form $F(\phi )=Ae^{\lambda \phi }$. Because values of the azimuth angle $\phi$ differing by 2$\pi$ radians (360 degrees) represent the same position in space, and the overall magnitude of $F$ does not grow with arbitrarily large $\phi$ as it would for a real exponent, the coefficient $\lambda$ must be quantized to integer multiples of $i$, producing an imaginary exponent: $\lambda =im_{l}$. These integers are the magnetic quantum numbers. The same constant appears in the colatitude equation, where larger values of ${m_{l}}^{2}$ tend to decrease the magnitude of $P(\theta ),$ and values of $m_{l}$ greater than the azimuthal quantum number $\ell$ do not permit any solution for $P(\theta ).$
Relationship between Quantum Numbers :
| Orbital | Values | Number of Values for $m_{l}$ | Electrons per subshell |
| s | $\ell =0,\quad m_{l}=0$ | 1 | 2 |
| p | $\ell =1,\quad m_{l}=-1,0,+1$ | 3 | 6 |
| d | $\ell =2,\quad m_{l}=-2,-1,0,+1,+2$ | 5 | 10 |
| f | $\ell =3,\quad m_{l}=-3,-2,-1,0,+1,+2,+3$ | 7 | 14 |
| g | $\ell =4,\quad m_{l}=-4,-3,-2,-1,0,+1,+2,+3,+4$ | 9 | 18 |

## As a component of angular momentum

The axis used for the polar coordinates in this analysis is chosen arbitrarily. The quantum number $m_{l}$ refers to the projection of the angular momentum in this arbitrarily-chosen direction, conventionally called the $z$-direction or quantization axis. $L_{z}$, the magnitude of the angular momentum in the $z$-direction, is given by the formula:
    $L_{z}=m_{l}\hbar$.
This is a component of the atomic electron's total orbital angular momentum $\mathbf {L}$, whose magnitude is related to the azimuthal quantum number of its subshell $\ell$ by the equation:
    $L=\hbar {\sqrt {\ell (\ell +1)}}$,
where $\hbar$ is the reduced Planck constant. Note that this $L=0$ for $\ell =0$ and approximates $L=\left(\ell +{\tfrac {1}{2}}\right)\hbar$ for high $\ell$. It is not possible to measure the angular momentum of the electron along all three axes simultaneously. These properties were first demonstrated in the Stern–Gerlach experiment, by Otto Stern and Walther Gerlach.

## Effect in magnetic fields

The quantum number $m_{l}$ refers, loosely, to the direction of the angular momentum vector. The magnetic quantum number $m_{l}$ only affects the electron's energy if it is in a magnetic field because in the absence of one, all spherical harmonics corresponding to the different arbitrary values of $m_{l}$ are equivalent. The magnetic quantum number determines the energy shift of an atomic orbital due to an external magnetic field (the Zeeman effect) — hence the name magnetic quantum number. However, the actual magnetic dipole moment of an electron in an atomic orbital arises not only from the electron angular momentum but also from the electron spin, expressed in the spin quantum number.
Since each electron has a magnetic moment in a magnetic field, it will be subject to a torque which tends to make the vector $\mathbf {L}$ parallel to the field, a phenomenon known as Larmor precession.