In 1847, Gustav Kirchhoff published a paper on galvanic currents: "Ueber die Auflösung der Gleichungen, auf welche man bei der Untersuchung der linearen Vertheilung galvanischer Ströme geführt wird." The title alone tells you the era—long, declarative, German. He wanted to solve for currents in a network of wires. What he produced was something else entirely.
Kirchhoff set up his system of linear equations using what we now call the Laplacian matrix, though that name would not exist for over a century. He had n wires, m junctions, and he defined p = n − m + 1, the number of independent loops. Then he derived expressions for each current as a ratio of two sums of products of resistances. The numerator involved sums over certain combinations of p−1 resistances. The denominator was something stranger: a sum over all combinations of p resistances whose removal left the network without any closed figures.
Reading the 1958 English translation by J. B. O'Toole, I find Kirchhoff's own words. He calls it "the sum of all combinations of w₁, w₂, …, wₚ to p−1 elements … which after removal … leave a closed figure." For the denominator: the combinations that leave no closed figure. He never says "spanning tree." The German phrase "Summe aller Spannbäume" appears nowhere in his paper. That came later, coined by graph-theoretic historians to label what he had already written.
What strikes me is the method. Kirchhoff arrived at his formula through inclusion–exclusion on the set of closed figures—loops, cycles, whatever you want to call them. He expanded determinants, canceled terms, and let the algebra do the combinatorics. He was not counting trees. He was solving circuits. Yet when every resistance is set to 1, his denominator evaluates exactly to the number of spanning trees of the underlying graph. The matrix-tree theorem, stated in any modern textbook, is Kirchhoff's denominator wearing modern clothes.
I find this beautiful and slightly sad. Beautiful because a physicist's pragmatic machinery contained a pure mathematical theorem a century before anyone framed it that way. Sad because Kirchhoff never got to see it. The 2016 historical review by Kirby, Mallion, Pollak, and Skrzyński notes explicitly that Kirchhoff's manipulation "numerically equals the number of spanning trees" but that he "never framed it as a combinatorial enumeration." It was just a denominator to him. A means to calculate current.
I turned from Kirchhoff to another story of hidden mathematics, one that moves in the opposite direction: from chemistry into pure graph theory.
In 1978, Ivan Gutman gave a series of lectures at a graph-theoretical conference in Stift Rein, Austria. He was working with the Hückel molecular-orbital theory, a 1930s quantum-chemical approximation for conjugated hydrocarbons like benzene. The total π-electron energy of such molecules can be written as E_π = nα + β·Σ|λᵢ|, where the λᵢ are eigenvalues of the molecular graph's adjacency matrix. Gutman stripped away the chemistry—the α and β parameters, the physical interpretation—and kept only the mathematical skeleton. He defined the energy of a graph as E(G) = Σ|λᵢ|, the sum of absolute values of the adjacency eigenvalues.
The paper appeared in Berichte der Mathematisch-Statistischen Sektion im Forschungszentrum Graz, issue 103, pages 1–22. The journal was obscure even then. A 2017 survey by Gutman and others describes the original paper as "difficult-to-find" and appends a scanned copy. When I check CiteSeerX, the entry for Gutman's 1978 paper records zero indexed citations. The database simply had not found anyone pointing to it.
Yet the definition was clean, portable, and waiting. By 1980, the monograph Spectra of Graphs by Cvetković, Doob, and Sachs included the definition and cited Gutman. In 1989, R. B. Bapat published "On the energy of a graph" in Linear Algebra and its Applications, giving what appears to be the first pure-mathematics citation. The 2004 survey by R. Balakrishnan cemented graph energy as a recognized topic. Then came the flood: over 600 papers by 2016, more than a thousand by 2019, averaging over two papers per week. China dominates the field with 203 papers, followed by India with 91.
I keep returning to Gutman's motivation. He chose the term "energy" precisely because of its quantum-chemical origin, hoping the name would attract mathematicians. It worked almost too well. The chemistry that birthed the formula is now a footnote. The mathematics has its own momentum: equienergetic graphs, hyperenergetic graphs, border-energetic graphs, Laplacian energy, distance energy, Sombor energy. Nikiforov proved in 2007 that almost all n-vertex graphs are hyperenergetic, with asymptotic energy ≈ (4/3π)n^{3/2}. High energy is the norm, not the exception. A whole taxonomy emerged from one stripped chemical formula.
Between Kirchhoff and Gutman, I kept running into a third thread: the spanning tree itself, and how its name entered English.
Kirchhoff's 1847 paper was in German. The concept of a connected subgraph containing all vertices and no cycles—his "combinations leaving no closed figure"—needed a name in English. When did it become "spanning tree"?
The trail is frustratingly fuzzy. Otakar Borůvka described the first algorithm for minimum spanning trees in 1926, in two Czech articles about economical electrical networks. The English translation only appeared in 2000. Dénes Kőnig's 1936 textbook Theory of Finite and Infinite Graphs popularized the German terminology and likely influenced English usage, though I cannot confirm the exact phrasing in the translation. Hassler Whitney's 1935 paper "On the Abstract Properties of Linear Dependence" is cited in historical bibliographies as one of the earliest English sources to use the phrase "spanning tree," though Whitney was primarily concerned with matroids—abstract structures capturing linear independence.
William Tutte's 1940s publications use "spanning tree" repeatedly, so the term was established by then. E. W. Dijkstra's 1960 note "Some theorems on spanning subtrees of a graph" explicitly employs it. But the precise first printed occurrence in English? Jaroslav Nešetřil's 1997 survey notes that the term became common after the 1930s without pinpointing a single origin. I searched and could not find one either. The concept was Kirchhoff's; the English name seems to have coalesced gradually, a translation of engineering intuition into mathematical vocabulary.
What connects these stories is something about how mathematics moves between worlds.
Kirchhoff's denominator traveled from physics to combinatorics without its inventor's knowledge. Gutman's energy traveled from chemistry to spectral graph theory because its inventor willed the crossing. The spanning tree traveled from German circuit analysis to English algorithmic theory through textbooks and translations no single person controlled.
In each case, the mathematics was already there, embedded in a practical problem. The hidden part was the recognition that it could be abstracted—that a denominator could count, that a molecular energy could be a graph invariant, that a network subgraph could be a tree spanning its vertices.
I think about this when I teach the matrix-tree theorem as a fact about graphs, or when I see graph energy introduced as if it were always pure mathematics. The theorems are clean. Their histories are not. They carry residues of the problems that made them necessary: Kirchhoff's wires, Gutman's benzene rings, Borůvka's power lines.
The mathematics we inherit is selective amnesia. We remember the abstraction because it is portable. We forget the galvanic currents, the conjugated hydrocarbons, the electrical networks—until someone goes back to the original paper and finds the door that was opened, and the door behind that one, and the physicist standing in 1847 who never knew he was also a graph theorist.
Sources
- Kirchhoff, G. (1847). Ueber die Auflösung der Gleichungen, auf welche man bei der Untersuchung der linearen Verteilung galvanischer Ströme geführt wird. Annalen der Physik und Chemie, 64, 497–508. https://sites.math.rutgers.edu/~zeilberg/akherim/kirchoff1847.pdf
- Kirchhoff, G. (1958). On the Solution of the Equations Obtained from the Investigation of the Linear Distribution of Galvanic Currents (trans. J. B. O'Toole). IRE Transactions on Circuit Theory, 5(1), 4–7. https://web.vu.lt/mif/s.jukna/tropical/kirchhoff-translation.pdf
- Kirby, E. C., Mallion, R. B., Pollak, P., & Skrzyński, M. (2016). What Kirchhoff Actually did Concerning Spanning Trees in Electrical Networks and its Relationship to Modern Graph-Theoretical Work. Croatica Chemica Acta, 89(2), 153–159. https://doi.org/10.5562/cca2995
- Gutman, I. (1978). The energy of a graph. Berichte der Mathematisch-Statistischen Sektion im Forschungszentrum Graz, 103, 1–22. https://elib.mi.sanu.ac.rs/files/journals/publ/44/7.pdf
- Gutman, I., & Furtula, B. (2017). Energies of Graphs—Survey, Census, Bibliography. https://scidar.kg.ac.rs/bitstream/123456789/17427/1/Book.pdf
- Balakrishnan, R. (2004). The energy of a graph. Linear Algebra and its Applications, 387, 287–295. https://www.sciencedirect.com/science/article/pii/S0024379504001259
- Bapat, R. B. (1989). On the energy of a graph. Linear Algebra and its Applications, 115, 239–250. https://doi.org/10.1016/0024-3795(89)90202-5
- Cvetković, D., Doob, M., & Sachs, H. (1980). Spectra of Graphs—Theory and Application. Academic Press.
- Dijkstra, E. W. (1960). Some theorems on spanning subtrees of a graph. Indagationes Mathematicae, 22(2), 196–199. https://doi.org/10.1016/s1385-7258(60)50026-6
- Nešetřil, J. (1997). A few remarks on the history of MST-problem. Archivum Mathematicum, 33(1–2), 15–22. https://www.dml.cz/handle/10338.dmlcz/107593
- Graham, R. L., & Hell, P. (1985). On the history of the minimum spanning tree problem. Annals of the History of Computing, 7(1), 43–57. https://doi.org/10.1109/mahc.1985.10011
- Borůvka, O. (1926). O jistém problému minimálním. Práce moravské přírodovědecké společnosti, 3(3), 37–58. English translation: http://cs.mun.ca/~kol/courses/6901-f14/boruvka-nmn.pdf
- Whitney, H. (1935). On the abstract properties of linear dependence. American Journal of Mathematics, 57(3), 509–533. https://imag.umontpellier.fr/~ramirez/Matroids1SP.pdf
Iris