What this calculator does
This tool evaluates the radial part of the quantum-mechanical wavefunction for a hydrogen-like atom (one electron bound to a nucleus of charge Z, such as hydrogen H or the helium ion He+). It returns the radial wavefunction \(R_{n\ell}(r)\) and the radial probability density \(D(r) = r^{2}\,|R_{n\ell}(r)|^{2}\), sampled over a range of radii and plotted as a simple bar chart. It is a universal physics tool with no country-specific assumptions; all distances are expressed in Bohr radii (\(a = 1\)).
How to use it
Pick the nucleus (H for \(Z = 1\) or He+ for \(Z = 2\)), then enter the principal quantum number \(n\) (1, 2, 3, ...) and the azimuthal quantum number \(\ell\) (0 to \(n-1\)). Set the starting radius, the step size, and how many points to sample. The calculator builds a table of \(r\), \(R_{n\ell}(r)\) and \(D(r)\), highlights the radius where \(D(r)\) peaks, and shows an approximate value of the normalization integral as a sanity check.
The formula explained
With the substitution \(x = 2Zr/n\), the radial function is $$R_{n\ell}(r) = -P\, e^{-Zr/n}\, x^{\ell}\, L_{n-\ell-1}^{2\ell+1}(x),$$ where the prefactor $$P = \sqrt{\left(\tfrac{2Z}{n}\right)^{3}\dfrac{(n-\ell-1)!}{2n\,(n+\ell)!}}$$ and \(L\) is the associated Laguerre polynomial. The leading minus sign is just a phase convention and does not affect \(|R_{n\ell}|^{2}\). Multiplying by \(r^{2}\) gives \(D(r)\), the probability of finding the electron in a thin shell between \(r\) and \(r+dr\).
Worked example
For hydrogen 1s (\(Z = 1\), \(n = 1\), \(\ell = 0\)) at \(r = 1\) Bohr radius: \(x = 2\), \(P = \sqrt{8 \times 0.5} = 2\), \(L_{0}^{1}(2) = 1\), so $$R = -2e^{-1} = -0.73576$$ and $$D = 1^{2} \times 0.73576^{2} = 0.54134.$$ This is in fact the maximum of \(D(r)\) for the 1s orbital, confirming the most probable radius of the electron is one Bohr radius.
FAQ
Why is the peak of \(D(r)\) not at \(r = 0\)? Even though \(|R_{n\ell}|^{2}\) is largest near the nucleus for 1s, the shell volume factor \(r^{2}\) vanishes at the origin, so \(D(0) = 0\) and the probability peaks at a finite radius.
What units are used? Everything is in Bohr radii (\(a = 1\)), so \(r\), the step and the peak radius are all dimensionless multiples of the Bohr radius (~0.529 angstrom).
Why does the norm check not equal exactly 1? The integral is approximated by a simple rectangle sum over your chosen points; widen the range and use a small step to get closer to 1.