Behold Modular Forms, the ‘Fifth Fundamental Operation’ of Math
Introduction
“There are five fundamental operations in mathematics,” the German mathematician Martin Eichler supposedly said. “Addition, subtraction, multiplication, division and modular forms.”
Part of the joke, of course, is that one of those is not like the others. Modular forms are much more complicated and enigmatic functions, and students don’t typically encounter them until graduate school. But “there are probably fewer areas of math where they don’t have applications than where they do,” said Don Zagier, a mathematician at the Max Planck Institute for Mathematics in Bonn, Germany. Every week, new papers extend their reach into number theory, geometry, combinatorics, topology, cryptography and even string theory.
They are often described as functions that satisfy symmetries so striking and elaborate that they shouldn’t be possible. The properties that come with those symmetries make modular forms immensely powerful. It’s what made them key players in the landmark 1994 proof of Fermat’s Last Theorem. It’s what made them central to more recent work on sphere packing. And it’s what now makes them crucial to the ongoing development of a “mathematical theory of everything” called the Langlands program.
But what are they?
Infinite Symmetries
To understand a modular form, it helps to first think about more familiar symmetries.
In general, a shape is said to have symmetry when there is some transformation that leaves it the same.
A function can also exhibit symmetries. Consider the parabola defined by the equation $latex f(x) = x^2$. It satisfies one symmetry: It can be reflected over the y-axis. For instance, $latex f(3) = f(−3) = 9$. More generally, if you shift any input $latex x$ to $latex -x$, then $latex x^2$ outputs the same value.
Infinitely many functions satisfy this symmetry. Here are just a few:
The last example is the cosine function from trigonometry. It exhibits reflection symmetry, but it also has other symmetries. If you shift $latex x$ by integer multiples of $latex 2\pi$, the function always returns the same value — meaning that there are infinitely many transformations that can leave the function unchanged.
This additional symmetry makes functions like cosine incredibly useful. “Much of basic physics begins with understanding the full implications of the trigonometric functions,” said Ken Ono, a mathematician at the University of Virginia.
“Modular forms are something like trigonometric functions, but on steroids,” he added. They satisfy infinitely many “hidden” symmetries.
The Complex Universe
Functions can only do so much when they’re defined in terms of the real numbers — values that can be expressed as a conventional decimal. As a result, mathematicians often turn to the complex numbers, which can be thought of as pairs of real numbers. Any complex number is described in terms of two values — a “real” component and an “imaginary” one, which is a real number multiplied by the square root of −1 (which mathematicians write as $latex i$).
Any complex number can therefore be represented as a point in a two-dimensional plane.
It is hard to visualize functions of complex numbers, so mathematicians often turn to color. For example, you can color the complex plane so that it looks like a rainbow wheel. The color of each point corresponds to its angle in polar coordinates. Directly to the right of center, where points have an angle of 0 degrees, you get red. At 90 degrees, or straight up, points are colored bright green. And so on. Finally, contour lines mark changes in size, or magnitude, as on a topographical map.
You can now use this as a reference graph to illustrate complex functions. A point’s position on the plane represents the input, and you’ll assign that point a color based on the reference graph. For instance, consider the function $latex f(z) = z^2$. When $latex z = 1 + i$, $latex f(z) = 2i$, since $latex (1 + i)^2 = 2i$. Because $latex 2i$ is colored bright green on the reference graph, on your new graph you’ll color the point $latex 1 + i$ bright green.
The graph of $latex f(z) = z^2$ runs through the colors twice, because squaring a complex number doubles its angle. It also has more contour lines, because the outputs grow in size more quickly.
More generally, the graph looks the same when you flip any point across the center (or origin).
This is one symmetry of a complex-valued function. Modular forms exhibit a bewildering variety of such symmetries. But it can be tough to make sense of the actual function those colors and contour lines represent.
The Fundamental Domain
To do so, it helps to try to simplify the way we look at these complicated functions.
Because of the modular form’s symmetries, you can compute the entire function based on just a narrow sliver of inputs, located in a region of the plane called the fundamental domain. This region looks like a strip going up from the horizontal axis with a semicircular hole cut out of its bottom.
If you know how the function behaves there, you’ll know what it does everywhere else.
Here’s how:
Two kinds of transformations copy the fundamental domain to the right and left, as well as to a series of ever-shrinking semicircles along the horizontal axis. These copies fill the entire upper half of the complex plane.
A modular form relates the copies to each other in a very particular way. That’s where its symmetries enter the picture.
If you can move from a point in one copy to a point in another through the first kind of transformation — by shifting one unit to the left or right — then the modular form assigns the same value to those two points. Just as the values of the cosine function repeat in intervals of $latex 2\pi$, a modular form is periodic in one-unit intervals.
Meanwhile, you can get from a point in one copy to a point in another through the second type of transformation — by reflecting over the boundary of the circle with radius 1 centered at the origin. In this case, the modular form doesn’t necessarily assign those points the same value. However, the values at the two points relate to each other in a regular way that also gives rise to symmetry.
You can combine these transformations in infinitely many ways, which gives you the infinitely many symmetry conditions that the modular form must satisfy.
“That doesn’t necessarily sound very exciting,” said John Voight, a mathematician at Dartmouth College. “I mean, carving up the upper half-plane and putting numbers on various places — who cares?”
“But they’re very elemental,” he added. And there’s a reason why that’s the case.
Controlled Spaces
In the 1920s and ’30s, the German mathematician Erich Hecke developed a deeper theory around modular forms. Crucially, he realized that they exist in certain spaces — spaces with specific dimensions and other properties. He figured out how to describe these spaces concretely and use them to relate different modular forms to one another.
This realization has driven a lot of 20th- and 21st-century mathematics.
To understand how, first consider an old question: How many ways can you write a given integer as the sum of four squares? There is only one way to write zero, for instance, while there are eight ways to express 1, 24 ways to express 2, and 32 ways to express 3. To study this sequence — 1, 8, 24, 32 and so on — mathematicians encoded it in an infinite sum called a generating function:
$latex 1 + 8q + {{24q}^2} + {{32q}^3} + {{24q}^4} + {{48q}^5} + …$
There wasn’t necessarily a way to know what the coefficient of, say, $latex q^{174}$ should be — that was precisely the question they were trying to answer. But by converting the sequence into a generating function, mathematicians could apply tools from calculus and other fields to infer information about it. They might, for instance, be able to come up with a way to approximate the value of any coefficient.
But it turns out that if the generating function is a modular form, you can do much better: You can get your hands on an exact formula for every coefficient.
“If you know it’s a modular form, then you know everything,” said Jan Bruinier of the Technical University of Darmstadt in Germany.
That’s because the infinitely many symmetries of the modular form aren’t just beautiful to look at — “they’re so constraining,” said Larry Rolen of Vanderbilt University, that they can be made into “a tool for automatically proving congruences and identities between things.”
Mathematicians and physicists often encode questions of interest in generating functions. They might want to count the number of points on special curves, or the number of states in certain physical systems. “If we are lucky, then it is a modular form,” said Claudia Alfes-Neumann, a mathematician at Bielefeld University in Germany. That can be very difficult to prove, but if you can, then “the theory of modular forms is so rich that it gives you tons of possibilities to investigate these [series] coefficients.”
Building Blocks
Any modular form is going to look very complicated. Some of the simplest — which are used as building blocks for other modular forms — are called Eisenstein series.
You can think of an Eisenstein series as an infinite sum of functions. To determine each of those functions, use the points on an infinite 2D grid:
Merrill Sherman/Quanta Magazine
When you add the functions associated to just four points in the grid near the origin, you can see how distinct symmetries begin to emerge.
If you take the full sum of the grid’s infinitely many functions, you get an Eisenstein series that’s arguably the easiest modular form to write down. The patterns reflect the form’s defining symmetries — repeating endlessly to the left and right, and transforming in more complicated ways closer to the horizontal axis.
The Game Continues
The study of modular forms has led to a flood of mathematical triumphs. For instance, recent work on sphere packing, for which the Ukrainian mathematician Maryna Viazovska won the Fields Medal last year, used modular forms. “When I saw that, I was quite surprised,” Bruinier said. “But it somehow works.”
Modular forms have turned out to be connected to an important algebraic object called the monster group. They’ve been used to construct special kinds of networks called expander graphs, which show up in computer science, communications theory and other applications. They’ve made it possible to study potential models of particle interactions in string theory and quantum physics.
Merrill Sherman/Quanta Magazine
Perhaps most famously, the 1994 proof of Fermat’s Last Theorem hinged on modular forms. The theorem, widely considered one of the most important problems in number theory, states that there are no three nonzero integers a, b and c that satisfy the equation $latex {a^n} + {b^n} = {c^n}$ when $latex n$ is an integer greater than 2. The mathematician Andrew Wiles proved it true by assuming the opposite — that a solution to the equation does exist — and then using modular forms to show that such an assumption must lead to a contradiction.
First he used his assumed solution to construct a mathematical object called an elliptic curve. He then showed that you can always associate a unique modular form to such a curve. However, the theory of modular forms dictated that in this case, that modular form couldn’t exist. “It’s too good to be true,” Voight said. Which meant, in turn, that the assumed solution couldn’t exist — thus confirming Fermat’s Last Theorem.
Not only did this resolve a centuries-old problem; it also provided a better understanding of elliptic curves, which can be difficult to study directly (and which play an important role in cryptography and error-correcting codes).
The proof also illuminated a bridge between geometry and number theory. That bridge has since been broadened into the Langlands program, a greater set of connections between the two fields — and the subject of one of the central research efforts of contemporary mathematics. Modular forms have also been generalized in other areas, where their potential applications are just starting to be recognized.
They continue to turn up all over the place in math and physics, sometimes quite mysteriously. “I look in a paper about black holes,” said Steve Kudla of the University of Toronto, “and I find modular forms that are friends of mine. But I don’t know why they’re there.”
“Somehow,” he added, “modular forms capture some of the most fundamental symmetries of the world.”
Correction: September 26, 2023
A earlier version of this article implied that the function $latex f(z)=z^2$ has a reflection symmetry it does not have. It is symmetric if points are rotated 180° around the origin.