Complex harmonics against real ones
Solving the hydrogen atom gives a set of complex functions labelled by , and . Every chemistry textbook then draws , and , which are none of them.
The substitution is legitimate, universal, and made almost always without comment.
What the solutions actually are
The angular part of a hydrogenic wavefunction is a spherical harmonic , and it carries a factor .
For the three solutions have . The one is real and is . The other two are genuinely complex: , and neither has a shape that can be drawn as a signed lobe pattern, because its value at a point is a complex number.
What is drawn instead are the combinations
which are real, are orthonormal, and span exactly the same two-dimensional space.
The same substitution is made for d and f orbitals. The five familiar d shapes — , , , and — are real combinations of the five complex harmonics, with only () being a solution as it stands.
Why both sets are equally correct
Because the transformation between them is unitary, and a unitary transformation of a degenerate set changes nothing observable.
The three functions are degenerate: they have the same energy, so any combination of them is also an eigenfunction of the Hamiltonian with that energy. The real set and the complex set are two orthonormal bases for one three-dimensional space, and every quantity that depends only on the space — the total density of a filled subshell, the total energy, the number of orbitals — is the same in both.
This is the same argument the localisation transformation makes for methane’s bonding orbitals, arriving three chapters earlier and passing unremarked.
What each set is an eigenfunction of
Both sets are eigenfunctions of the Hamiltonian and of . They differ in one operator.
The complex set are eigenfunctions of , the component of angular momentum along the chosen axis, with eigenvalues . That is what the label means.
The real set are not. is a superposition of and , so a measurement of on an electron in returns or with equal probability and never returns the average.
So the two sets answer different questions. If the question is about angular momentum, the complex set is the natural basis. If the question is about direction in a molecule, the real set is, because points along and points nowhere in particular.
Chemistry asks about direction almost always, which is why chemistry uses the real set almost always.
When the distinction bites
Three cases, and they are the whole of the answer to “does this ever matter”.
A magnetic field. The field defines an axis and lifts the degeneracy: states of different acquire different energies, proportional to . That is the Zeeman effect, and once the degeneracy is lifted the three complex functions are no longer interchangeable with any combination of themselves. The real set stops being a valid basis in the sense that matters — is no longer an eigenstate, because the three states it is built from now have different energies.
That is the sharpest statement available: the freedom to choose a basis exists only within a degenerate set, and a magnetic field destroys the degeneracy.
Angular momentum coupling. Spin–orbit coupling, term symbols, and every selection rule involving are statements about eigenvalues. Working them in the real basis is possible and is much harder, because the operator is not diagonal there.
Circular polarisation. A photon carries one unit of angular momentum, so absorbing a circularly polarised photon changes by a definite amount. Circular dichroism and magnetic circular dichroism are experiments that distinguish from directly, and they cannot be described in a basis where those two are mixed.
Outside those three, the choice is free and the real set is more convenient.
The detail almost everybody gets slightly wrong
The orbital is not called by anybody being careful, and the reason is a small instance of this essay’s subject.
Its angular function is proportional to , so its proper name is , and it is written purely as an abbreviation.
The reason it looks different from the other four — two lobes and a doughnut, rather than four lobes — is that the five real d functions cannot all be made to look alike. Six combinations of the form , , and the three -type functions would be symmetric, and six is one too many: the three “difference” functions satisfy one linear relation, so only two of them are independent.
So the odd one out among the d orbitals is an artefact of a basis choice, and a different choice of the five real combinations would move the oddity elsewhere. Nothing about the atom singles out .
What was computed, and how
The real harmonics on this site are written out explicitly rather than assembled from complex ones at run time, which is a simplification worth declaring: no complex arithmetic appears anywhere in the machinery.
What is checked is that the set is a valid basis. Every orbital’s density integrates to one to a part in ; every pair of distinct orbitals on the same centre is orthogonal to the same tolerance; and the angular node count is for every one of them, counted by walking many randomly oriented great circles and taking the largest number of sign changes.
That last check earned its complexity. The first version walked one great circle, which works for a p orbital and fails badly for others — a circle lying in the plane containing both nodal planes of a orbital touches them tangentially, the function goes as along it and never changes sign, and the count came out zero for an orbital with two nodal surfaces. The drawing was unchanged and correct throughout.
The site’s gate feeds the counter an orbital claiming the wrong number and requires it to refuse, and it feeds the orthogonality assertion an orbital declared orthogonal to itself.
The complex functions are not computed anywhere. Everything on this page about is analysis rather than computation, and a figure of a complex harmonic would require a choice of how to display a complex-valued function, which is a different problem from the one this site solves.
The surprise: a picture cannot show which basis it is in
The observation that ties this essay to the rest of the site is that no orbital picture records its own basis choice.
A drawing of and a drawing of are the same shape in different orientations. Nothing in either says whether the artist chose the real set or happened to be drawing the function. Nothing distinguishes a degenerate set that has been rotated into a convenient orientation from one that was solved for in that orientation.
That is the same blindness an orbital contour has about its level: the picture carries less information than the object, and the missing information is a parameter somebody chose.
The difference is that a contour level can be stated in a caption, and a basis choice largely cannot — there is no short phrase that would distinguish “this is ” from “this is the real combination oriented along ”, and for a filled subshell there would be nothing to distinguish, because a filled subshell has spherical density in either basis.
Which is itself the cleanest demonstration of the essay’s claim. Fill all three p orbitals and the total density is a sphere, in the real basis and in the complex one, identically. The basis has vanished from the observable.
What it costs
Nothing computationally: the real harmonics are five short expressions.
The cost is in what has to be unlearned later, and it is a real cost paid by every student who meets magnetism.
A first course draws real orbitals, labels them by shape, and never mentions except as a counter for how many orbitals there are in a subshell. A second course introduces as an angular momentum quantum number with physical consequences — and the orbitals it applies to are not the ones the first course drew.
The two accounts are consistent and the bridge between them is one sentence about a unitary transformation, which is very rarely said. What gets learned instead is that labels the three p orbitals, which is wrong in a way that matters exactly when the degeneracy is lifted.
There is a smaller cost that is more often noticed and less important: the habit of saying “the electron is in the orbital” for an atom in free space, where has been chosen by whoever drew the picture and no direction is physically distinguished at all.
Where the model stops
Three limits.
Degeneracy is the licence. The freedom to recombine exists only among functions of the same energy. In a molecule, symmetry can split what is degenerate in an atom, and the surviving freedom is only within the sets the molecular group keeps degenerate.
This is a one-electron statement. The argument concerns a set of one-electron functions. In a many-electron atom the orbitals are an approximation, and what is really being recombined is the basis of that approximation.
And a filled subshell hides everything. The whole distinction becomes invisible for a closed shell, which is the case a great deal of chemistry deals with. That is convenient and it means the concept is usually met first in a context where it makes no difference, which is a poor place to learn it.
The one place the real set is genuinely worse
Everything above has argued that the choice is free within a degenerate set. It is worth closing with the case where the real set is not merely inconvenient but actively misleading, because it is a case a chemist meets.
A transition-metal ion in an octahedral field has its five d orbitals split into a set of three and a set of two, and every textbook draws the five real functions and assigns them to the two sets. That works, and it works because the octahedral group happens to keep those particular combinations apart.
Rotate the field — put the same ion in a tetragonal or trigonal environment — and the correct combinations are different real ones. The five pictures a reader has memorised are correct for one orientation of one field, and the habit of treating them as the five d orbitals survives the change of environment when it should not.
The general principle is the one site symmetry states: which combinations are equivalent is decided by the group of the environment, and a set of pictures fixed once cannot record a group that changes.
Who found it, and when
The spherical harmonics predate quantum mechanics by more than a century. Laplace and Legendre developed them in the 1780s for gravitational potential theory, and they arrived in atomic physics as ready-made mathematics.
The real combinations are older than their chemical use too — they are the standard real basis for the same functions, used in geodesy and in the theory of the potential long before anybody drew an orbital.
The convention of drawing the real set in chemistry is essentially Pauling’s, from the 1930s, and it was a good choice for the reason given above: chemistry is about directions in molecules, and the real functions point along directions.
The complex set kept its place in atomic spectroscopy the whole time, which is why a reader moving between a chemistry text and a spectroscopy text meets two apparently different sets of p orbitals with no note that they are the same three functions in different coordinates. Two literatures, one space, and a transformation nobody writes down.
Where the ladder goes next
The object being drawn is what an orbital is.
The general claim about bases is hybrids are a basis, and its numerical demonstration is the localisation transformation.
The count that survives every basis choice is nodes.
And the other parameter an orbital picture fails to record is the contour level.
The habit worth carrying away is a small scepticism about orbital pictures generally. Two parameters have to be chosen before one can be drawn — the contour level and the basis — and a picture records neither. This site states the first in every caption. The second cannot be stated in a caption, which is why it gets an essay.
One consolation for a reader who finds all this unsettling. Every quantity a first course actually computes with orbitals — energies, node counts, densities of filled shells, symmetry labels in a molecule — is basis-independent, so nothing learned in the real basis has to be unlearned. What has to be added is the sentence saying that a basis was chosen, and the three circumstances in which the choice stops being free.
There is one more reason the distinction is worth carrying, and it is about reading rather than about physics. A paper that says an electron is in the orbital and a paper that says it is in are not disagreeing, are not describing different systems, and are very likely to be describing the same measurement. Recognising that at sight saves more time than any of the three cases above.
The convention chemistry settled on is the right one for chemistry, and it is a convention.
What the pictures here cannot show. Every figure on this page is a real function, because a complex-valued function has no signed-lobe drawing — and the essay is about functions that are complex. What is drawn is one basis for the space; the other basis cannot be drawn in the same idiom at all, and its absence from this page is not an omission but the point.