Search topics and sections

Mathematical visualization is the use of drawings, physical models, and computer images or animations to explore and explain mathematics. A graph of a function, a contour map, a plaster model of a curved surface, and a computer film of a four-dimensional cube are all examples.

Pictures help people spot patterns, test guesses, and share ideas that are hard to put into words.

Computers, used for this since the 1960s, can show objects too complex to draw by hand.[1] Some computer pictures have even pointed the way to new theorems.[2]

What visualization is for

Mathematicians have always pictured abstract objects in their "mind's eye". Visualization turns these private, vague pictures into exact ones that others can see.[2] Richard Palais, a mathematician who wrote visualization software, lists several uses:[2]

  • Teaching. Computer images add to the plaster models and textbook line drawings long used in teaching, and they can rotate and change shape on screen.
  • Research. A picture can reveal a symmetry (a way of moving or turning an object that leaves it looking the same) that is not clear from the formulas. Such a hidden symmetry was the key to proving a property of Costa's minimal surface (see the History section).
  • Experiments. In applied mathematics, which uses mathematics to solve practical problems, few systems have exact formula solutions, so researchers study them by looking at computed pictures. A few seconds of fluid flow near the start of turbulence (irregular, swirling motion), in a small region, can produce trillions of numbers, and a picture of the flow is needed to make sense of them.
  • Communication. Scientists who use mathematics but are not at ease with its notation (the symbols and rules used to write it) can often grasp a concept better when they can see it.
  • Public interest. Images such as fractals appeal to people outside mathematics.

This kind of picture-driven exploration is part of experimental mathematics.

Basic techniques

Graphs

A graph turns a rule into a shape. For a function ff, each input xx becomes the point (x,f(x))(x, f(x)) in a coordinate plane, and the graph is the set of all these points. When the inputs fill a whole interval, the points often form a curve.

The idea is old. In the 14th century, Nicole Oresme proposed using a graph to plot a quantity whose value depends on another quantity, a kind of coordinate geometry that came before Descartes.[3]

Slices and contour lines

A contour map shows a third dimension, height, on a flat page.[4] Each contour line joins points at the same height, like the shoreline of an island at one water level. Since each point has only one height, two contour lines never cross.[4]

The interesting heights are the critical levels where the picture changes as the water falls:[4]

  • Peak: a new shoreline appears.
  • Pit: a lake dries up.
  • Pass: two contour lines join into one.

For an island with a single shoreline, these counts always satisfy a simple rule, called the critical point theorem:[4]

peaks+pits=passes+1\text{peaks} + \text{pits} = \text{passes} + 1

An island with two peaks, one pass, and no pits fits the rule, since 2+0=1+12 + 0 = 1 + 1. This theorem is the start of Morse theory, which Marston Morse extended to higher dimensions.[4]

Contour map of an island with two peaksSide viewlevel 4level 3level 2level 1peakpeakpassContour map2 peaks + 0 pits = 1 pass + 1
The side view shows four water levels cutting an island with two peaks and a pass between them. The contour map below shows those cuts from above as nested closed curves that never cross. The island obeys peaks+pits=passes+1\text{peaks} + \text{pits} = \text{passes} + 1.

Color as an extra dimension

Color can stand in for a dimension that does not fit on the page. This matters for a complex function, whose inputs and outputs are complex numbers. Each complex number has two parts, a real part and an imaginary part, so the graph is a surface in four-dimensional space and cannot be drawn directly.[5]

Early pictures, called analytic landscapes, showed only the size (modulus) ∣f∣|f| of the output as a height. They were probably introduced by Edmond Maillet in 1903.[5]

Analytic landscapes lose the angle (argument or phase) of the output. Domain coloring fixes this by coloring each input point zz by its output f(z)f(z):[5]

  • The phase of f(z)f(z) sets the hue, read from a color wheel.
  • The modulus ∣f(z)∣|f(z)| can be shown by brightness or by repeating bands of shading.

A plot that shows only the phase is called a phase plot.[5] Two kinds of points stand out in it:

  • A zero, where f(z)=0f(z) = 0.
  • A pole, where ∣f(z)∣|f(z)| grows without bound, as 1/z1/z does at z=0z = 0.

The colors circle a zero and a pole in opposite orders.[5] A zero at z0z_0 has order mm when, near z0z_0, f(z)f(z) equals (z−z0)m(z - z_0)^m times a factor that is not zero at z0z_0. Near such a zero the plot looks like that of zmz^m, so each color appears mm times around the point.[5]

Domain coloring near a zero and a pole Phase color wheel Zero, f(z) = z Pole, f(z) = 1/z 0° 180° zero (black) pole (white) colors circle in opposite orders
Domain coloring gives each point zz a hue set by the phase of f(z)f(z), using the wheel at left. Around a simple zero of f(z)=zf(z) = z the hues run red, yellow, green, cyan, blue, magenta counterclockwise, and around a simple pole of f(z)=1/zf(z) = 1/z they run in the reverse order.

Color coding of complex functions has been used since at least the 1980s, for example by Larry Crone. It became popular after Frank Farris reviewed Tristan Needham's book Visual Complex Analysis, and Farris came up with the name "domain coloring".[5]

Motion and morphing

Animation shows how a whole family of objects changes. Most mathematical objects come in families described by a few numbers called parameters.[2] Palais calls the resulting movie a morph, made in three steps:[2]

  1. Choose a path through the parameter values.
  2. Draw the object at many points along the path.
  3. Play the frames in order.

An ellipse is a simple case. Leaving aside where it sits and how it is turned, an ellipse is fixed by its two semi-axes, which are half its longest width and half its shortest width, and when these are equal it is a circle.[2] A morph that shrinks the longer semi-axis until both are equal turns the ellipse into a circle.

A morph can also suggest that some feature stays the same across a family. Such a feature, called an invariant, may then be worth proving.[2]

Interactive geometry

Interactive geometry software lets a user build a construction and then drag its points while the program keeps every defining rule in place.[6]

The Geometer's Sketchpad grew out of work by Eugene Klotz and his student Nicholas Jackiw at Swarthmore College and went on sale in spring 1991.[6] In France, Jean-Marie Laborde's team built Cabri Geometry, which also had dragging, at the same time and without knowing of the other program.[6]

Dragging turns one drawing into hundreds of cases. Join the midpoints (the points halfway along each side) of any four-sided figure, and the inner shape always appears to be a parallelogram, a four-sided shape whose opposite sides are parallel.[6] Such evidence is strong, but it is not a proof and does not explain why the result holds.[6]

Midpoint parallelogram in a convex and a dart quadrilateralOuter shapeMidpointsDragInner parallelogram
Joining the midpoints of the sides of any quadrilateral gives a parallelogram, whether the outer shape is convex (left) or a dart with one corner pushed inward (right). In dynamic geometry software, dragging a corner changes the outer shape, but the inner shape stays a parallelogram.

Picturing higher dimensions

No one can see four-dimensional space directly, so mathematicians reason by analogy with lower dimensions. A classic guide is Edwin Abbott's 1884 novel Flatland, about two-dimensional beings who meet a three-dimensional object.[7] Thomas Banchoff, a geometer at Brown University, uses this analogy to explain three main methods: shadows, slices, and unfolding.[1][8][9]

The standard test object is the hypercube, the four-dimensional cube. It has 16 corners, 32 edges, 24 square faces, and 8 cube-shaped parts on its boundary.[7] Each method below is shown first for an ordinary cube, then for the hypercube.

Shadows

A shadow, or projection, flattens an object into fewer dimensions. A drawing of a cube on paper is the shadow of a three-dimensional cube.[1] In the same way, a hypercube can be drawn by starting with four edges from one corner and completing four groups of eight parallel edges.[1]

In a perspective shadow cast into three-dimensional space, the hypercube looks like a small cube inside a large cube. Six more cubes link them, and the projection squashes these into shapes like pyramids with their tips cut off.[7] When the hypercube turns in four dimensions, the inner cube moves and the cells stretch and squash.[7]

Perspective shadows of a cube and a hypercubeCube (3D) to plane8 corners, 12 edgesHypercube (4D) to spaceinner cubeouter cubeone of 6 connectingcubes (distorted)16 corners, 32 edges, 8 cubes
A cube casts a perspective shadow on a plane as a small square inside a large one. A hypercube casts a shadow in space as a small cube inside a large cube, with 16 corners and 32 edges, and six distorted connecting cubes between matching faces.

Slices

Slicing shows an object one cross section at a time, where a cross section is the shape made where a plane or space cuts through the object. It works like a flood that slowly covers the object. An ordinary cube pushed corner first through a plane gives this sequence:[8]

  1. A point.
  2. A growing triangle.
  3. A hexagon.
  4. A shrinking triangle.
  5. A point.

The cube's 8 corners are met in groups of 1, 3, 3, and 1.[8] A hypercube pushed corner first through three-dimensional space gives a matching sequence of solids:[8]

  1. A single point.
  2. A tetrahedron that grows until it reaches 4 corners of the hypercube.
  3. A truncated tetrahedron, with four triangles and four hexagons as faces, three-eighths of the way through.
  4. A regular octahedron, with all edges and all faces equal, exactly halfway through. Its 6 corners are corners of the hypercube.
  5. The same steps in reverse, ending at a point.

The 16 corners are met in groups of 1, 4, 6, 4, and 1.[8] These are the binomial coefficients, the numbers that appear when (a+b)4(a + b)^4 is multiplied out, and they also form a row of Pascal's triangle.[8] In the 19th century, Alicia Boole Stott predicted such slicing sequences for four-dimensional solids, though she had no formal training in higher-dimensional geometry.[8]

Corner-first slices of a cube and a hypercube Cube passing corner first through a plane Halfway Corners met: 1, 3, 3, 1 Time / slicing level Hypercube passing corner first through space 3/8 of the way Halfway Corners met: 1, 4, 6, 4, 1 Time / slicing level
A cube passing corner first through a plane leaves a point, a growing triangle, a hexagon at the halfway point, an inverted triangle, and a point, meeting corners in groups of 1,3,3,11, 3, 3, 1. A hypercube passing corner first through space leaves a point, a tetrahedron, a truncated tetrahedron, an octahedron at the halfway point, and then the same solids in reverse, meeting corners in groups of 1,4,6,4,11, 4, 6, 4, 1.

Unfolding

Unfolding lays an object's boundary out flat, one dimension down. A cube unfolds into a cross of six squares in the plane. A hypercube unfolds into eight cubes in three-dimensional space, arranged as one cube with six cubes on its faces and an eighth cube below the bottom one.[9]

The unfolded hypercube has reached art and fiction. Salvador Dalí used it as the main symbol of his 1954 painting Corpus Hypercubicus.[9]

Nets of a cube and a hypercubeCube unfolded into the planeHypercube unfolded into space6 squares8 cubes
A cube unfolds into a net of 6 squares in the plane. A hypercube unfolds into a net of 8 cubes in space, with the central cube touched on all six faces by other cubes.

Visual proofs and their limits

Proofs without words

A proof without words is a picture that helps the viewer see why a statement may be true, and how one might start to prove it.[10] It may include an equation or two, but the picture does the work.[10]

A classic example shows that the odd numbers add up to square numbers:

1+3+5+⋯+(2n−1)=n21 + 3 + 5 + \cdots + (2n - 1) = n^2

Here nn is any positive whole number. In the picture, each odd number is an L-shaped layer of unit squares, and each new layer turns an (n−1)×(n−1)(n-1) \times (n-1) square into an n×nn \times n square.

Sum of the first five odd numbers as a square 1 3 5 7 9 1 + 3 + 5 + 7 + 9 = 25 = 5²
A 5 by 5 grid split into nested L-shaped layers of 1, 3, 5, 7, and 9 squares shows that the first five odd numbers add up to a square: 1+3+5+7+9=25=521 + 3 + 5 + 7 + 9 = 25 = 5^2. Each L turns a k×kk \times k square into a (k+1)×(k+1)(k+1) \times (k+1) square.

Martin Gardner discussed such "look-see" diagrams in his Scientific American column in October 1973. They began to appear in Mathematics Magazine about 1975 and have since become regular features in journals of the Mathematical Association of America.[10] Roger Nelsen, who collected them, notes that they are generally not considered proofs in the strict sense.[10]

Diagrams in Euclid

Diagrams have been part of geometry since ancient times. Euclid's *Elements*, about 2,300 years old, came with diagrams beside its text.[11]

Critics later argued that some of its proofs lean on the diagram instead of on logic. Bertrand Russell wrote in 1902 that "a valid proof retains its demonstrative force [its power to show the claim is true] when no figure is drawn, but very many of Euclid's earlier proofs fail before this test".[11] The first proof of the Elements builds an equilateral triangle from two circles and uses the diagram, not an argument, to show that the circles meet.[11]

Euclid, Elements Book I, Proposition 1ABCC: the diagram assumesthis point existsThe circles' meeting is takenfrom the drawing, not proved
Euclid's construction of an equilateral triangle on segment ABAB. Two equal circles centered at AA and BB meet at CC, so AC=BC=ABAC = BC = AB. The proof takes the existence of CC from the drawing.

Since the 1990s, scholars such as Reviel Netz and Kenneth Manders have argued that ancient diagrams deserve closer study. The philosopher John Mumma argues that Euclid's diagrams hold information the proof itself needs.[11]

When pictures mislead

A picture can suggest something false, so modern practice treats it as a guide to be checked by proof. Benoit Mandelbrot's first computer images of the set later named for him looked like one large island surrounded by many small ones, and he first suspected the set was not connected.[12]

Sharper color images showed thin threads joining the pieces, and Adrien Douady and John Hubbard proved that the set is connected.[12] Their work was one of several cases where pictures suggested a claim and a rigorous proof then settled it, as with Costa's surface below.[2][12]

Accuracy versus art

Palais separates mathematical visualization from mathematical art. Artists such as M. C. Escher, Anatoly Fomenko, and the sculptor Helaman Ferguson start from mathematics but are free to depart from it for artistic reasons.[2] A visualization should instead show the mathematical properties as clearly as possible, even when a prettier picture would hide them.[2]

Surface rendering shows the trade-off. Palais names three common styles:[2]

  • Wire-frame: only a mesh of lines on the surface.
  • Patch: the mesh plus shaded tiles that give a solid look.
  • Ceramic: shaded tiles with no mesh, so the surface looks smooth.

The ceramic style may look nicer, but it throws away the mesh, and a well-chosen mesh shows how the surface is measured and bent.[2] For example, a morph between two minimal surfaces, the helicoid and the catenoid, bends the surface without stretching it. This fact is plain in wire-frame and patch views and hidden in a ceramic view.[2]

Wire-frame, patch, and ceramic renderings of a saddle surface Wire-frame Patch Ceramic mesh shows structure mesh shows structure mesh hidden
Three renderings of the same saddle surface z=x2−y2z = x^2 - y^2 from one viewpoint. The wire-frame shows only the mesh, the patch rendering adds colored tiles to the mesh, and the ceramic rendering shows colored regions with no mesh.

A second example is a tube drawn around a curve in space. A tube with a square cross section shows how a frame, a set of reference directions carried along the curve, twists, which a round tube hides.[2]

History

Before computers

Mathematical diagrams on clay tablets survive from almost 4,000 years ago. YBC 7289, a tablet from the Old Babylonian period (19th to 17th century BCE), is one of the few tablets made up entirely of a geometric diagram, a square and its diagonals.[13] An accurate value of the square root of 2 is written along one diagonal, showing that Babylonian scribes knew the Pythagorean theorem and could estimate square roots.[13]

Physical models had their peak from about 1870 to 1930. In that period, most leading mathematics departments in Europe and North America collected models made of plaster, metal, paper, wood, and string.[14] Key steps in this trade were:[14]

  1. Felix Klein and Alexander Brill set up a laboratory at the Munich Technical College to design and make models.
  2. Alexander's brother Ludwig Brill sold the models in series, with mathematical guides, from his bookshop in Darmstadt.
  3. Klein brought a large selection to the World's Columbian Exposition in Chicago in 1893.
  4. Martin Schilling took over publication in 1899, and his 1911 catalogue offered over four hundred models.

Many plaster models showed surfaces defined by algebraic equations, such as the Kummer surface. String models showed ruled surfaces, which are swept out by straight lines.[14]

The computer era

Computer graphics made it possible to picture objects that could not be built and to animate them.[1] Some landmarks:

Year Work Who What it showed
1960s First films of rotating hypercubes A. Michael Noll and colleagues, Bell Laboratories A four-dimensional object in motion[1]
1977 Turning a Sphere Inside Out (film) Nelson Max A sphere eversion, based on wire models[2][15]
1978 The Hypercube: Projections and Slicing (film) Thomas Banchoff and Charles Strauss, Brown University Shadows and slices of the hypercube[1]
1978 First published picture of the Mandelbrot set Robert Brooks and J. Peter Matelski A rough plot of a couple hundred asterisks[12]
1980 Better computer images of the Mandelbrot set Benoit Mandelbrot, IBM The set's shape, later made famous[12][16]
Mid-1980s Images of Costa's surface David Hoffman, William Meeks, James Hoffman Symmetries that led to a proof[2][17]
1991 The Geometer's Sketchpad released Eugene Klotz, Nicholas Jackiw Geometry by dragging[6]
1994 Outside In (film) Geometry Center Thurston's sphere eversion[15]

Turning a sphere inside out

Sphere eversion means turning a sphere inside out without cutting it or making a sharp crease, while letting the surface pass through itself.[15]

Work by Stephen Smale in the late 1950s showed that this is possible, which surprised most experts.[2][15] His proof did not give a usable method. Every explicit eversion since has been so complex that most people grasp it only by watching an animation many times.[2]

The story of picturing it runs over several decades:[2][15]

  1. Arnold Shapiro found an explicit eversion in 1961 but never published it. Anthony Phillips described it with drawings in Scientific American in 1966.
  2. Bernard Morin found a fairly simple eversion in 1967. Charles Pugh built chicken-wire models of its stages.
  3. Nelson Max measured Pugh's models by hand, used a computer to fill in the steps, and made the film Turning a Sphere Inside Out.
  4. William Thurston invented a different method in 1974, based on corrugations, which are wave-like ripples added to the surface.
  5. The Geometry Center's 22-minute video Outside In (1994), made by Silvio Levy, Delle Maxwell, and Tamara Munzner, showed Thurston's method to a general audience.

Costa's surface

A minimal surface is a mathematical model of a soap film.[2] The story of Costa's surface runs in five steps:

  1. Background. For about two centuries, the only known complete minimal surfaces of their kind that never cross themselves were the plane, the catenoid, and the helicoid, and many mathematicians believed there were no others.[2][17]
  2. The formula. In 1982, in his doctoral thesis, Celso Costa wrote down the formula for a new candidate, published in 1984.[18][19] Its equations were too complex to check by hand whether the surface crossed itself.[2]
  3. The images. David Hoffman and William Meeks, with programmer James Hoffman, used computer graphics to draw it. The images were crude, but after one long night of study, David and James Hoffman could see that the surface appeared not to cross itself and that it was highly symmetric.[2]
  4. The proof. The symmetry was the key. Within a week, they had worked out how to prove that the surface never crosses itself, going back and forth between the equations and the pictures.[2]
  5. Later work. Many new minimal surfaces have been found since.[17]

Hoffman concluded that computer models "can be part of the process of doing mathematics", not only illustrations of finished results.[2]

The Mandelbrot set

The Mandelbrot set is built from very simple arithmetic, repeated millions of times. Its famous pictures could not have been drawn by hand and depended on computers.[12]

The first published picture, by Brooks and Matelski in 1978, was a rough plot made while they studied an unrelated question about groups (the algebra of symmetries) and hyperbolic geometry.[12] In 1980, at IBM's Thomas J. Watson Research Center, Benoit Mandelbrot made a much better image after plotting hundreds of related Julia sets.[12][16] His method became the basis of later programs for drawing fractals.[16]

References

  1. Shadows of Hypercubes, Thomas F. Banchoff, Beyond the Third Dimension (Scientific American Library), 1990.
  2. The Visualization of Mathematics: Towards a Mathematical Exploratorium, Richard S. Palais, Notices of the American Mathematical Society, 1999.
  3. Nicole Oresme, Biography, MacTutor History of Mathematics, University of St Andrews.
  4. Contour Lines and Contour Surfaces, Thomas F. Banchoff, Beyond the Third Dimension (Scientific American Library), 1990.
  5. Visual Exploration of Complex Functions, Elias Wegert, Springer, 2016.
  6. Geometry Software, Dynamic, Daniel Scher, Mathematics (Gale), via Encyclopedia.com.
  7. Animating the 4th Dimension, Animation Journal, volume 13.
  8. Slicing the Hypercube, Thomas F. Banchoff, Beyond the Third Dimension (Scientific American Library), 1990.
  9. Fold-Out Patterns in Different Dimensions, Thomas F. Banchoff, Beyond the Third Dimension (Scientific American Library), 1990.
  10. Proofs Without Words: Exercises in Visual Thinking, Roger B. Nelsen, Mathematical Association of America, 1993.
  11. Science and Culture: Researchers find history in the diagrams of Euclid's Elements, Proceedings of the National Academy of Sciences, 2017.
  12. The Quest to Decode the Mandelbrot Set, Math's Famed Fractal, Quanta Magazine, 2024.
  13. Tablet illustrating Pythagoras' Theorem and the square root of 2 (YBC 7289), Institute for the Study of the Ancient World, New York University, 2010.
  14. Mathematical Objects, Philip Ording, Cabinet, 2011.
  15. About the Outside In Sphere Eversion, The Geometry Center, 1995.
  16. Benoit Mandelbrot papers, circa 1932-2010, Online Archive of California.
  17. Costa's minimal surface, Matthias Weber, Department of Mathematics, Indiana University Bloomington.
  18. Mean curvature 1 surfaces of Costa type in hyperbolic three-space, Celso J. Costa and Vicente Francisco de Sousa Neto, Tohoku Mathematical Journal, 2001.
  19. Example of a complete minimal immersion in IR3 of genus one and three embedded ends, Celso J. Costa, Boletim da Sociedade Brasileira de Matemática, 1984.

Figure