A Gallery of Gaussian Periods
Abstract
Gaussian periods are certain sums of roots of unity whose study dates back to Gauss’s seminal work in algebra and number theory. Recently, large scale plots of Gaussian periods have been revealed to exhibit striking visual patterns, some of which have been explored in the second named author’s prior work. In 2020, the first named author produced a new app, Gaussian periods, which allows anyone to create these plots much more efficiently and at a larger scale than before. In this paper, we introduce Gaussian periods, present illustrations created with the new app, and summarize how mathematics controls some visual features, including colorings left unexplained in earlier work.
Introduction
Gaussian periods, certain sums of roots of unity introduced by Gauss, have played a key role in several mathematical developments. For example, Gauss employed them in his work on constructibility of regular polygons by unmarked straightedge and compass, as well as in number theory. In the past few years, realizations of their role in the supercharacter theory of Diaconis and Isaacs have led in new directions [3].
The fast computations afforded by modern technology provide new insights into Gaussian periods by enabling us to study them at a scale that was until recently unfathomable. In particular, large-scale plots of Gaussian periods display striking visual properties that were previously unknown (see, e.g., Figure 1). The goals of this paper lie in the intersection of the mathematical and artistic aspects of Gaussian periods:
-
•
Introduce Gaussian periods, together with new illustrations representing some of their visual features.
-
•
Introduce a new app, created in 2020, that quickly produces illustrations of Gaussian periods and is appropriate as a tool for art, exploratory mathematical research, illustration at scale, and pedagogy.
-
•
Summarize how mathematics controls some features, including colorings unexplained in earlier work.


Before proceeding, we clarify what we mean by the term Gaussian period. Given a positive integer , an integer coprime to , and an integer , we set
where is the multiplicative order of mod ; that is, is the smallest positive integer such that . When is relatively prime to , we say that is a Gaussian period of modulus and generator . In this paper, by a slight abuse of notation that coincides with the conventions employed in [7, 4, 8], we still call a Gaussian period of modulus and generator even when is not coprime to . As we explain later in this paper, is a positive integer multiple of the Gaussian period , which allows us to preserve certain key structures of interest.
Creating and viewing plots of Gaussian periods
Each of the images in this paper is a plot in the complex plane of
Mathematical principles guarantee that exhibits certain basic symmetries. For large values of (which we refer to as large scale), however, plots of also exhibit striking patterns and intricacies whose aesthetic properties can be appreciated even by those without mathematical training.
That large-scale plots of Gaussian periods exhibit such variety and intricate patterns was a surprise. This was discovered by B. Lutz, an undergraduate, in the course of his senior thesis. In his explorations, he also introduced a coloring scheme, which is employed in the plots in this paper and discussed in the next section.
A new app, Gaussian Periods (written in Swift for Apple computers and freely available [6]) was produced in 2020 by the first named author, with assistance from R. Lipshitz. This app:
-
•
plots Gaussian periods faster than previous code (including the aforementioned Mathematica code), taking seconds to produce images that used to take hours;
-
•
allows larger scale plots than previously possible (e.g., Figure 4, which contains over 9 million points), which can be useful for exploring or illustrating asymptotic behavior;
-
•
does not require programming experience or mathematical expertise;
-
•
allows one to quickly modify values of and , as well as a coloring parameter ; and
-
•
includes an option to save layers suitable for further steps, e.g., manipulation in Adobe Photoshop to customize color choices (as was done to produce the images in this paper).
As a result, the app is suitable for projects ranging from art to exploratory mathematical investigations to illustration. We also used it to produce all the images in this paper. To improve the image quality in this paper, we layered the different color components (plotting all the points corresponding to a color at the same time), which is assisted by the layers option in the app.
While notions of “beauty” and “aesthetic appeal” are subjective, symmetry has often appeared in discussions of beauty in both art and math, dating back to the ancient Babylonians. In a historical context, given the algebraic origins of Gaussian periods, it is fitting to note that symmetry originally became a prominent concept in mathematics not through geometry, but through algebra [9, Preface]. Gaussian periods, together with the various symmetries they exhibit, can also be considered of independent artistic merit and be appreciated in their own right (even by those with no mathematical training). More broadly, patterns in plots of certain other families of algebraic numbers have also been recognized for their beauty [1]. For those who wish to delve further into philosophical considerations of the artistic merits of Gaussian periods, a brief survey of visual aesthetics in similar mathematical contexts can be found in [2, pp. 121-4].
Using color to reveal structures
Whether focusing on art or math, a coloring scheme can be used to highlight some structures in for a given and . Following [7, §3], fix a positive integer and, for , assign the same color to all points in the set . Two points and might have the same color even if , since for all integers .
Since this is the coloring scheme employed in each of the images here (and is implemented in Gaussian Periods), we begin with small-scale examples to help readers grasp the subtleties of this coloring scheme.
Example 1.
Suppose , , and . There are three orbits of acting on : , , and , and consists of the three points , and . So by our rules for coloring, since and , we must assign the same colors to and . Since elements in are not congruent modulo to elements divisible by , there are no restrictions on the color of . As seen in Figure 2, for this input, our recipe produces a plot with points and just colors, even though .
This approach to coloring was chosen not as a way to illustrate a particular mathematical principle but rather as a recipe Lutz discovered that produced visually appealing pictures. In fact, in the final paragraph of [7], he and his coauthors note that this approach to coloring is ad hoc and that “a general theory is necessary to formalize our intuition.”
Algebraic structures
Through the lens of Galois theory (which was never considered in prior work on illustrating ), the above coloring scheme can be linked to mathematical structure. The main theorem of Galois theory gives a bijection between the subfields of , with a primitive th of unity, and the subgroups of the Galois group , which is identified with via
Each subgroup corresponds to the fixed field . Then is the Galois group of over , i.e., the group of field automorphisms of fixing , and is the Galois group of over , i.e., the group of field automorphisms of .
To help identify elements of the subfields of , students in Galois theory courses are sometimes assigned to determine Gaussian periods (e.g., see [5, §14.5]). Indeed, if , then
So the plot of contains a (rescaled) plot of . If is the coloring number, then the plot of contains a single-colored plot of , rescaled by a factor of , with denoting the multiplicative order of . For clarification, we illustrate this in a simple example.
Example 2.
Let and . Note that has multiplicative order mod and mod . So for all . So , and . If we choose , then the points in all must be the same color as each other (the red, outer diamond in Figure 2), while the other points need not be colored that color (the blue, inner diamond). On the other hand, selecting forces the pair of points in to be the same color (shown in Figure 2 in red). As illustrated in Figure 2, the pair gets rotated by , with a new color allowed at each rotation.
Regarding the current coloring scheme, if two elements of are congruent , then the corresponding elements of the Galois group restrict to the same element of . So, for example, given an element and an integer , all points , as ranges over the extensions of to are colored the same. There are also other natural coloring schemes. For example, an option (called “period squared”) in Gaussian Periods is to color and the same, thus creating symmetry across the real axis. This corresponds to coloring the points in the Galois orbit of the complex conjugation automorphism the same. More generally, one might color all points in some other given Galois orbits the same. Furthermore, our reformulation in terms of elements of fixed fields should naturally generalize beyond Gaussian periods to the illustration of symmetries in other settings beyond the scope of this short paper (such as finite nonabelian extensions of ).
Asymptotic behavior
Symmetry is the most obvious feature in typical Gaussian-period plots. We say that has -fold dihedral symmetry if is invariant under the action of the dihedral group of order . That is, is invariant under complex conjugation and rotation by about the origin. It turns out that has at least -fold dihedral symmetry [4, Prop. 3.1]. This symmetry refers to the uncolored graph; the colors highlight additional features beyond the initial symmetry. This is illustrated in Figure 3.



Gaussian period plots often demonstrate great structural coherence if the parameters and vary in the appropriate manner. The following “filling out” of various shapes was discovered in [4, Thm. 6.3]. See the thorough exposition in [7, Thm. 1]. Let be a nonzero power of an odd prime and let be such that divides . Then is contained in the image of the Laurent polynomial function defined by
where the integers are determined by Here denotes the unit circle in , is the Euler totient function, and denotes the th cyclotomic polynomial. For a fixed , as becomes large, “fills out” the image of ; see Figure 4.



With ellipses, hypocycloids, and so forth as primitive graphical elements, one can use the Chinese remainder theorem to produce new images of startling complexity (as explained in [8]). We content ourselves here with a few aesthetically pleasing images produced in such a manner; see Figure 5. We encourage the reader to enjoy more examples by experimenting with our app Gaussian Periods (freely available at http://www.elleneischen.com/gaussianperiods.html).



Acknowledgments
Ellen Eischen was partially funded by NSF grant DMS-1751281. Stephan Ramon Garcia was partially funded by NSF grant DMS-1800123. This material is based partly upon work supported by the NSF grant DMS-1439786 and the Alfred P. Sloan Foundation award G-2019-11406 while the authors were in residence at the Institute for Computational and Experimental Research in Mathematics (ICERM) in Providence, RI, during the Illustrating Mathematics program (Fall 2019). We thank R. Lipshitz for help with the code.
References
- [1] J. Baez. The beauty of roots. 2011. http://math.ucr.edu/home/baez/roots/.
- [2] T. M. Brown, “Kaleidoscopes, Chessboards, and Symmetry,” Journal of Humanistic Mathematics, vol. 6, no. 1, 2016, pp. 110–126. https://scholarship.claremont.edu/jhm/vol6/iss1/8
- [3] J. L. Brumbaugh, M. Bulkow, P. S. Fleming, L. A. G. German, S. R. Garcia, G. Karaali, M. Michal, A. P. Turner, and H. Suh. “Supercharacters, exponential sums, and the uncertainty principle.” Journal of Number Theory, vol. 144, 2014, pp. 151–175.
- [4] W. Duke, S. R. Garcia, and B. Lutz. “The graphic nature of Gaussian periods.” Proceedings of the American Mathematical Society, vol. 143, no. 5, 2015, pp. 1849–1863.
- [5] D. S. Dummit and R. M. Foote. Abstract Algebra, 3rd ed., John Wiley & Sons, 2004.
- [6] E. E. Eischen and R. Lipshitz. Gaussian Periods. http://www.elleneischen.com/gaussianperiods.html, 2020.
- [7] S. R. Garcia, T. Hyde, and B. Lutz. “Gauss’s hidden menagerie: from cyclotomy to supercharacters.” Notices of the American Mathematical Society, vol. 62, no. 8, 2015, pp. 878–888.
- [8] B. Lutz. “Graphical cyclic supercharacters for composite moduli.” Proceedings of the American Mathematical Society, vol. 147, no. 9, 2019, pp. 3649–3663.
- [9] I. Stewart. Why Beauty is Truth: The History of Symmetry. Basic Books, 2007.