Which mathematics you need for string theory, and in which order Image: Enrico Fermi at the blackboard, Smithsonian Institution Archives, public domain

Which mathematics you need for string theory, and in which order

Enrico Fermi, at the blackboard above, once said that before he came to Rome he could do any calculation but did not know what it was for. The mathematics of string theory has the opposite problem: students know what it is for and cannot see how to start. The list below is the order in which the subject actually uses its mathematics, with what each piece does and where to learn it for nothing. It is longer than the list for quantum mechanics and shorter than the rumours.

The Foundation level

Calculus of one variable. Derivatives as rates of change and slopes, the derivatives of powers, sine, cosine, and the exponential, integrals as sums, and the first-order approximation \((1 + x)^n \approx 1 + nx\). This is used on every page: the wave equation needs second derivatives, the action is an integral, and almost every estimate in physics is a first-order expansion. The first unit of the program teaches what it needs, and Paul's Online Notes at Lamar University cover the rest with worked problems. The Essence of Calculus videos by 3Blue1Brown are the best introduction to what a derivative means.

Vectors, complex numbers, and the exponential. Components, the dot product, and the index notation \(x^i\) for components lead directly to the four-vectors of relativity. Complex numbers with Euler's formula \(e^{i\theta} = \cos\theta + i\sin\theta\) are the language of waves and of quantum mechanics, and a string's modes are written as complex exponentials from Unit 7 on. Any first-year physics textbook covers these; the free one is the OpenStax University Physics, volume 1 for vectors and oscillations.

Partial derivatives and the wave equation. A string's displacement depends on position and time, so its equation involves derivatives with respect to each. The wave equation \(\partial^2 y/\partial t^2 = v^2\,\partial^2 y/\partial x^2\) and its solutions, travelling waves and standing waves, are the subject of Unit 6, and the same equation in the light-cone gauge governs the relativistic string. Fourier's idea that any motion of the string is a sum of its modes is used from that unit onwards.

Linear algebra and matrices. Quantum mechanics is linear algebra: states are vectors, observables are matrices, and the ladder operators of the oscillator in Unit 3 are matrices whose commutator is the identity. The 3Blue1Brown series Essence of Linear Algebra gives the pictures; Gilbert Strang's lectures on MIT OpenCourseWare give the full course.

Dimensional analysis and estimation. Not a branch of mathematics, but the tool a theoretical physicist uses more than any other. The Planck length comes from it, as does the Hawking temperature. Unit 1 teaches it and the program uses it throughout.

The Advanced level

Tensors and index notation. Special relativity in four-vector form, the Minkowski metric, the summation convention, and raising and lowering indices are introduced in Unit 2 and used in every later unit. General relativity adds the curved metric \(g_{\mu\nu}\) and the idea of a geodesic in Unit 5. The program does not use the full machinery of Christoffel symbols and the Riemann tensor; a student who wants it will find it in Sean Carroll's Lecture Notes on General Relativity, which are free on the arXiv and were the basis of his textbook.

Variational calculus. The principle of stationary action and the Euler-Lagrange equation, derived in Unit 6, are the way every theory in this subject is written down. The Nambu-Goto action says that a string extremizes the area of its worldsheet, and everything about the string's motion follows from varying that area. The derivation needs only integration by parts, and Unit 6 does it in a box.

Anticommuting numbers. Fermions require quantities that change sign when exchanged, Grassmann numbers, and the supersymmetric oscillator of Unit 9 is the smallest system that uses them. They look strange and take an afternoon.

Group theory. The gauge groups U(1), SU(2), SU(3), SO(32), and E8 × E8 appear by name in Units 4 and 9, and the dimension 496 is a count of generators. The program explains them in words and counts dimensions; a student who wants the theory behind them should read a short introduction to Lie groups for physicists, of which the free one is the chapter in David Tong's Quantum Field Theory notes, which are the standard first course and are free from Cambridge.

Complex analysis. The worldsheet of a string is a two-dimensional surface, and the natural coordinates on it are complex. Conformal field theory, the technique that professional string theorists use for the worldsheet, is built on complex analysis: contour integrals, residues, and the behaviour of functions near singularities. The program avoids it by using the light-cone gauge, which gets the spectrum without it, and says where it would enter. A student going on to research will need it, and a standard undergraduate course covers what is required.

The String Cosmology level and beyond

Differential geometry. Calabi-Yau spaces are complex manifolds with special metrics, and the words holonomy, Kähler, Ricci-flat, and Hodge number belong to differential geometry. Unit 11 explains each with pictures and one equation. The full subject, manifolds, forms, and curvature, is a graduate course, and the usual route for physicists is Nakahara's book or the geometry chapters of Tong's String Theory notes, which are free and are the best next step after this program.

Ordinary differential equations for cosmology. The Friedmann equation is a first-order differential equation for the scale factor, and the slow-roll conditions are statements about derivatives of a potential. Unit 13 solves what it needs; nothing beyond first-year methods is required.

Statistics and data. The last units compare predictions with the Planck power spectrum, the supernova Hubble diagram, and the pulsar timing correlations. Reading a plot with error bars and fitting a line are the skills, and the tools of the week in those units practise them on the real data.

The order, in one list

Calculus and vectors first, then complex numbers, then partial derivatives and the wave equation, then linear algebra. That is the Foundation, and a student who has done it has done the hard part. Tensors and index notation, variational calculus, and a reading knowledge of groups are the Advanced level. Differential geometry is the step beyond, and it is the step at which the program points outward rather than teaching. Everything on the list is taught in the first two years of a physics degree except the last item, which is usually the third or fourth. A motivated school student in the last two years can do the Foundation level with the sources above; several have.

What is not on the list

Category theory, algebraic topology, and the representation theory of infinite-dimensional algebras all appear in research papers on string theory and none of them is needed to understand what the theory says. The same is true of most of the mathematics in the popular image of the subject. The equations in a first course on strings are the wave equation, the harmonic oscillator, and the action principle, and a student who knows those three well can follow the argument that leads to the graviton and to 26 dimensions. The program's Olympiad Preparation page maps the Foundation units to the physics olympiad syllabus, which is one measure of the level, and the curriculum says what each unit assumes.

Learn string theory properly

The ST Masterclass: weekly units, quizzes, a final exam, and a certificate.
About the program