<<

fea-palais.qxp 5/12/99 12:54 PM Page 647

The of Mathematics: Towards a Mathematical Exploratorium Richard S. Palais

Let us help one another to see things better.— CLAUDE MONET

Introduction However, my main for writing this arti- cle is not to dwell on past successes of mathe- Mathematicians have always used their “mind’s matical visualization; rather, it is to consider the eye” to visualize the abstract objects and processes question, Where do we go from here? I have been that arise in all branches of mathematical research. working on a mathematical visualization program1 But it is only in recent years that remarkable im- provements in technology have made it for more than five years now. In the course of de- easy to externalize these vague and subjective pic- veloping that program I have had some insights and tures that we “see” in our heads, replacing them made some observations that I believe may be of with precise and objective visualizations that can interest to a general audience, and I will try to ex- be shared with others. This marriage of mathe- plain some of them in this article. In particular, matics and computer will be my topic in working on my program has forced me to think se- what follows, and I will refer to it as mathemati- riously about possibilities for interesting new ap- cal visualization. plications of mathematical visualization, and I The subject is of such recent vintage and in would like to mention one in particular that I hope such a state of flux that it would be difficult to write others will find as exciting a prospect as I do: the a detailed account of its development or of the cur- creation of an online, interactive gallery of math- rent state of the . But there are two important ematical visualization and art that I call the “Math- threads of research that established the reputation ematical Exploratorium”. of computer-generated visualizations as a serious Let me begin by reviewing some of the familiar tool in mathematical research. These are the ex- applications of mathematical visualization tech- plicit constructions of eversions of the sphere and niques. One obvious use is as an educational tool of embedded, complete minimal surfaces of higher to augment those carefully crafted plaster models genus. The history of both of these is well docu- of mathematical surfaces that inhabit display cases mented, and I will retell some of it later in this in many mathematics centers [Fi] and the line article. drawings of textbooks and in such wonderful clas- sics as and the Imagination [HC]. The ad- Richard Palais is professor emeritus of mathematics at vantage of supplementing these and other such Brandeis University. His e-mail address is classic representations of mathematical objects [email protected]. by computer-generated is not only that a This article is dedicated to the memory of Alfred Gray. computer allows one to produce such static dis- Because some illustrated figures become clearer or more plays quickly and easily, but in addition it then be- impressive when viewed in color or when animated, the comes straightforward to create rotation and mor- author has made available a Web version of the article with links to such enhanced . It is to be found at: 1The program is called 3D-Filmstrip, but I will refer to it http://rsp.math.brandeis.edu/ simply as “my program” in this article. Later in the arti- VisualizationOfMath.html. cle I will explain how to obtain a copy for personal use.

JUNE/JULY 1999 NOTICES OF THE AMS 647 fea-palais.qxp 5/12/99 12:54 PM Page 648

of only a few seconds can generate trillions of floating point numbers. While there are statistical techniques for making sense of such huge data sets, displaying the velocity field vi- sually is essential to get an insight into what is going on. Also, scientists who need and use mathematics but are not completely at ease with abstract mathematical notations and formulas can often better understand the mathemati- cal concepts they have to deal with if these concepts can be given a vi- sual embodiment. Finally, there is no denying that mathematical visu- alization has a strong aesthetic ap- peal, even to the lay public—witness the remarkable success of coffee Figure 1. Symmetries of the Costa surface. The Costa surface (left) is cut by the picture books of fractal im- three coordinate planes into eight congruent tiles, fundamental domains for ages! the symmetry group. The horizontal plane cuts the Costa surface along two straight lines; the upper and the lower half are moved apart so that they do not Mathematical Visualization 6⊆ overlap. The vertical planes are planes of reflectional symmetry and the symmetry lines are emphasized as gaps in the top and bottom part. The eight fundamental domains, one per octant, can each be represented as a graph, and One important lesson I have learned Hoffman-Meek’s theorem that the Costa surface is embedded follows easily from my own is that from this . mathematical visualization pro- gramming should not be approached phing that can bring the known math- as just a special case of 3-dimensional (3D) graph- ematical landscape to life in unprecedented ways. ics programming. While the two share concepts and Even more exciting for the research mathe- , their goals and methods are quite dis- matician are the possibilities that now exist to use tinct. Indeed, there are peculiarities inherent in dis- mathematical visualization to obtain fresh playing mathematical objects and processes that insights concerning complex and poorly under- if properly taken into account can greatly simplify stood mathematical objects. For example, giving programming tasks and lead to algorithms more an abstract mathematical object a geometric rep- efficient than the standard techniques of 3D graph- resentation and then displaying it visually can ics programming. Conversely, if one ignores these sometimes reveal a new symmetry that was not ap- special features and, for example, displays a math- parent from the theoretical description. Just such ematical surface with software techniques de- a hidden symmetry, disclosed by visualization, signed for showing the boundary of a real-world played a key role in the Hoffman-Meeks proof of solid object, many essential features of the surface the embeddedness of the Costa minimal surface that a mathematician is interested in observing will [H]. (See Figure 1.) Similarly, a morphing end up hidden. The mathematician’s fine catego- in which a particular visual feature of a family of rization of surfaces into parametric, implicit, al- objects remains fixed when certain parameters gebraic, pseudo-spherical, minimal, constant mean are changed can suggest the existence of a nonob- curvature, Riemann surfaces, etc., becomes blurred vious invariant. The helicoid-catenoid morph that by the computer graphics notion of surface, and we discuss later is an example of this kind. (See Fig- one quickly learns that not only are off-the-shelf ure 2.) computer graphics methods inadequate for cre- Applied mathematicians find that the highly ating and displaying all of these various types of interactive nature of the images produced by re- surfaces but also that a special method designed cent mathematical visualization software allows to optimize the display of one type of mathemat- them to do mathematical experiments with an ical surface may not be appropriate for others. ease never before possible. Since very few of the One corollary of this is that it is not a good strat- systems they deal with admit explicit, closed form egy to base mathematical visualization on some solutions, this ability to investigate solutions vi- small fixed number of predefined, high- graph- sually has become an essential tool in many fields. ics routines and expect that one will be able to shoe- For example, in studying fluid flow close to the horn in all varieties of mathematical objects. Of onset of turbulence, the description of a velocity course, one needs a number of low-level graphics field in a small 3-dimensional region over a period primitives to get going, but instead of the Pro-

648 NOTICES OF THE AMS VOLUME 46, NUMBER 6 fea-palais.qxp 5/12/99 12:54 PM Page 649

Figure 2. Helicoid-Catenoid Morph. Shown here (using three rendering methods) are six frames of the associate family morph joining the helicoid and catenoid minimal surfaces. Patch rendering (top) and wireframe rendering (middle) expose the isometric quality of the deformation, while ceramic rendering conceals it. Note how the automatic hidden lines feature of the painter’s makes the patch version visually superior to the wireframe one.

crustean approach, attempting to fit each mathe- they are highly intuitive and so require less ex- matical object to one of a few high-level display planation. But it is important to realize that almost methods, it is better to use the low-level routines all of the same points could be made in relation to optimal display algorithms for each spe- to the display of conformal mappings, solutions cial kind of mathematical situation. This entails of ordinary and partial differential equations, or more effort for the programmer, but the superior visualizations associated to almost any other cat- results warrant the extra effort. A second corollary egory of mathematical object. is that one or more mathematicians must play a Multiobject vs. Single-Object Graphics Worlds central and ongoing role in the planning and de- I claimed above that mathematical visualization has velopment of any serious mathematical visualiza- features that set it apart from general computer tion software project. I consider myself fairly graphics and that requires some special techniques knowledgeable in differential geometry, and for and algorithms. In this and the next section I will much of the basic programming of the curves and surfaces parts of my program I played both the role give two simple examples that illustrate this point. of programmer and of mathematical consultant. If one examines a typical visual created by a 3D But I found that it was absolutely essential for me graphics program, say the lead-in to a nightly TV to work closely with experts (Hermann Karcher news program, one sees many different objects and Chuu-Lian Terng respectively) to do a profes- moving in disparate ways. A globe representing the sional job in programming the creation and display earth spins around a vertical axis, while a logo of minimal surfaces and pseudospherical surfaces. zooms in as it simultaneously rotates about a hor- In what follows I will, as above, often illustrate izontal axis, etc. This is an example of what I will some point by referring to the visualization of refer to as a multiobject graphics world. The nor- geometric objects like curves, surfaces, and poly- mal method for animating such a world is to cre- hedra. I choose such examples mainly because ate each 3D object in a “fiducial” location and ori-

JUNE/JULY 1999 NOTICES OF THE AMS 649 fea-palais.qxp 5/12/99 12:54 PM Page 650

entation and then associate to the object a 4 × 4 portant details on far sheets will be obscured by “update matrix” that, for each frame of the ani- the nearer sheets. Watching such a surface grad- mation, will have the values needed to translate and ually being built up by the painter’s algorithm can rotate the object from its original position to the be a remarkably revealing experience, playing the position appropriate for that frame. To create one role for a geometer akin to dissection for an frame of such an animation requires that each anatomist. point of each object in this multiobject world be Nevertheless, I receive occasional well-meaning transformed by the matrix appropriate to its ob- e-mail messages from nonmathematicians with a ject. To create a real-time animation for a scene of of who have any complexity using this method, one needs a very somehow come across my program. The message powerful computer—usually one with specialized is always the same: my program is very nice, but graphics hardware. I should really get hold of an elementary text on On the other hand, if one examines a typical computer graphics and learn about double-buffer- mathematical visualization, one sees that it con- ing so that I can get rid of those silly partially sists of a single object (curve, surface, polyhedron, drawn surfaces! (I usually respond that I do use etc.) that is usually centered on the screen, and a double-buffering: after the surface is completely rotation animation is almost always about the drawn on-screen, I copy the video RAM to an off- screen center. Let me refer to such a graphics screen buffer that I use for screen updating. I sus- setup as a single-object graphics world. Now, of pect this completely backwards way of doing things course, one could treat such a setup as just a spe- convinces them I am hopeless, since the exchange cial case of an n object world, ignoring the fact that usually ends there.) n =1. But 1 is a rather special integer, and in fact there is a more efficient way to rotate a single-ob- Processes ject world about an axis than applying the associ- It Is Important to Visualize Processes As Well As ated rotation matrix M to each of the points defin- Objects ing the object—namely, apply the matrix inverse When I started developing my program, I felt that of M to the viewing camera location and the three the main task of a mathematical visualization pro- vectors defining its orientation. Visually this will gram was to display various mathematical objects. have the same effect, but in general it will be con- But as time has passed I have come to realize that siderably more efficient, and it can make it possi- this is only part of the story and perhaps much ble to do real-time rotation on simple desktop more important is the display of mathematical without special graphics hardware. processes. I would be hard put to give a precise Offscreen vs. Onscreen Drawing mathematical definition of what I mean here by A standard rendering technique for displaying a “process”—one that would cover all the impor- surface on a is the “painter’s al- tant cases that might arise—but, roughly speaking, gorithm”. The surface is represented as the union I mean an animation that shows a related family of “facets” (colored polygons, often triangles or rec- of mathematical objects or else an object that tangles). These facets are sorted by their distance arises by some procedure naturally associated to from the viewing camera; then they are “painted” another object. Perhaps it is best to explain with on the screen from back to front. This has the ob- a few examples. vious advantage of automatically hiding those Morphing facets that are behind other facets. Morphing is one of the most important processes, Computer graphics experts nearly always cou- so let me explain it first. Most mathematical ob- ple the painter’s algorithm with a second tech- jects occur in natural families that are described nique called “double-buffering” or “offscreen draw- by certain parameters—also called moduli if we ing”. That is, they first draw the entire surface in first divide out an appropriate group of automor- a so-called “offscreen buffer”, a block of computer phisms. For example, an ellipse can be described memory that duplicates the video display memory. by five parameters, the coefficients of its implicit Only when the surface is complete is this buffer equation, and, if we divide out by the rigid motions copied back to the video display. The result is that of the plane, by two moduli, namely, the lengths the completed surface suddenly appears on the of the two semi-axes. One initial goal for a math- monitor. The reason for double-buffering is that, ematical theory of some new kind of object is usu- in most situations, the user is not supposed to see ally a “classification theorem”—roughly speaking, the ugly sight of a partially painted surface. discovering the of moduli. The next step is But in certain situations, using offscreen draw- a detailed investigation of the moduli space to see ing to display a mathematical surface is a pro- how various properties of the object depend on the gramming offense that approaches a felony! Most moduli and to see what values of the moduli give interesting surfaces are highly complex and often rise to objects with special, interesting properties. immersed rather than imbedded. Viewed from any For example, when its two semi-axes are equal, an location, there will be several “sheets”, and im- ellipse is a circle and has a continuous group of

650 NOTICES OF THE AMS VOLUME 46, NUMBER 6 fea-palais.qxp 5/12/99 12:54 PM Page 651

symmetries, while the generic ellipse has only a fi- nite symmetry group. If we can devise a good way of displaying an ob- ject graphically, including its dependence on mod- uli, then we can move along a curve in the moduli space and draw frames consisting of the graphi- cal representation of the object at various points along the curve. If we then play these frames back in rapid succession, we get a movie of how the ob- ject changes as we change the moduli along the curve, and this is what I call a morph. Clearly this can be a powerful tool in investigating the moduli space. Often, even when the moduli space is infi- nite dimensional, it will contain special curves that provide interesting morphs. For example, minimal surfaces come in one-pa- rameter families (so-called associate families), all of whose members are isometric, though usually not congruent. Using the associated family para- meter as a morphing parameter provides a par- ticularly beautiful animation, one that in principle can be modeled in sheet metal. The helicoid and the catenoid belong to an associate family, and dif- ferential geometry books often show several frames of a morph between them. (See Figure 2.) Similarly, the space of moduli for pseudospher- ical surfaces can be identified with the space of so- lutions of the Sine-Gordon partial differential equa- tion. The latter contains certain n-parameter families (the pure n-soliton solutions) that correspond to Figure 3. Pseudospherical Surfaces. Solutions of particularly interesting surfaces. The 1-solitons cor- the Sine-Gordon Equation (SGE), utt − uxx = sin(u), respond to the well-known Dini family, which con- correspond one-to-one with surfaces in R3 that tains the pseudosphere, and it was Chuu-Lian Terng’s model Lobachevsky’s hyperbolic geometry. SGE is desire to see how properties of the corresponding a soliton equation, and at top we see the surface surfaces changed as one morphed within the 2- corresponding to a time-periodic solution with soliton family that provided the original motivation soliton number 2 called The Breather. Below that is for starting work on my program. (See Figure 3.) a six frame morph through the Dini family of The morphing process is such a powerful and surfaces, corresponding to the 1-parameter family revealing tool that whenever I add a new category of SGE 1-solitons. of mathematical objects to the repertory of my pro- gram, I spend a lot of time thinking about and ex- If a plane curve is given, it is revealing to show perimenting with creative ways to use morphs that an animation in which the “osculating circles” are are particularly adapted to that category. For ex- drawn at a point that moves along the curve, the ample, I found that in displaying conformal , centers of curvature tracing out the evolute of the morphing along a carefully chosen path between curve as the animation proceeds. In fact, there are a given and the identity map is a particularly many such classical processes that associate other good way to reveal the structure of the map. And curves with a given curve (pedals, strophoids, morphing is the obvious method for displaying the epicycloids, parallel curves, etc.), most of which be- bifurcations of solutions of ordinary differential come much easier to understand and illustrate equations or for watching the onset of chaos as with a computer. some key parameter is varied. A typical case of the For a space curve, an interesting process is the latter is the well-known Lorenz equation that pro- construction of a “tube” about the curve. This con- vided one of the motivations for early work on struction involves choosing a framing for the nor- chaos. In fact, Lorenz used the primitive computer mal bundle to the curve, usually the “Frenet frame”, techniques available to him at that time to vary the and the tube serves to reveal the important (but Reynolds number and watch as an attracting fixed usually invisible) framing. One’s first impulse is to point turned into the “Lorenz Attractor”. choose a tube with a round cross-section on aes- More Processes thetic grounds, but to see the framing clearly, one Let me quickly mention just a few other “processes” should use a tube with a square cross-section. to illustrate further the scope of that term. Once they see the point, mathematicians will almost

JUNE/JULY 1999 NOTICES OF THE AMS 651 fea-palais.qxp 5/12/99 12:54 PM Page 652

always prefer the latter. Most people are usually very surprised to see how fast the Frenet frame may twist where the curvature is small. It is also inter- esting to switch from the Frenet frame to a paral- lel framing of the normal bundle. In this case there is no twisting, and the framing indeed looks par- allel. But now the holonomy becomes strikingly vis- ible: in going around a closed curve, the frame does not usually return to its starting value. (See Figure 4.) For a surface, important processes are the con- struction of its focal sets and parallel surfaces. For a polyhedron, two interesting processes are the constructions of its stellation and its trunca- tion (the latter is what converts a regular icosahe- dron into a buckyball), and I find it instructive to morph between the untruncated and truncated forms.

Mathematics vs. Art One should not confuse mathematical visual- ization with mathematical art. By the latter I am referring to the work of talented graphic artists and sculptors whose principal subject matter origi- nates in the world of mathematics. Everyone has seen the fascinating and beautiful mathematical drawings of M. C. Escher [Sc], the famous Dutch graphic artist of the first half of this century. More recently, the Russian mathematician and artist Anatoli˘ı Fomenko has enriched our mathematical heritage with spectacular images of surreal vistas, drawn from the depths of his own inspired imag- ination, that illustrate and illuminate complex mathematical concepts [Fo]. Currently a new gen- eration of artists is finding inspiration from the pla- tonic world of mathematics. Prominent among these are the sculptors Helaman Ferguson, Charles Perry, and Brent Collins. All of them use mathe- matical visualization software to create the ob- jects that underlie their sculpture, but like Escher before them, they then impress their own artistic vision on the mathematical raw material from which they start. One seeming distinction between a mathemat- ical visualization graphic and a piece of mathe- matical art is the apparent difference in time and difficulty it takes to produce them. The former is usually generated completely automatically, often in only a few moments of computer time, while the Figure 4. Tubes about a Torus Knot. A latter often takes days or even weeks of skilled projection of the 2, 5-torus knot, and of two handwork by the artist, perhaps preceded by an tubes about it with square cross-section. The even longer period of thoughtful planning. But upper tube uses the Frenet framing of the this way of seeing things distorts a deeper reality. normal bundle; the other uses parallel framing. The serious work of planning and creating a math- Notice how the tubes expose the 3-dimensional ematical visualization graphic really takes place nature of the knot. One can see the Frenet when the algorithms are developed and coded, frame twist more rapidly in the inside of the and for complicated objects this can be a long and torus, and the eye also detects the nontrivial arduous piece of research. It is the programmer, holonomy of the parallel framing, shown by the not the computer, that creates a mathematical vi- tube not matching up in the lower right. sualization.

652 NOTICES OF THE AMS VOLUME 46, NUMBER 6 fea-palais.qxp 5/12/99 12:54 PM Page 653

The real difference between the two lies in their an associate family deformation is isometric, fairly ultimate goals. In the creation of mathematical jumps out of the screen in the first two versions art, mathematics is a starting point, but art con- but is completely hidden with a ceramic rendering trols—“artistic license” is granted the artist to de- (Figure 2). My point is not that a patch rendering viate from perfect fidelity to the mathematics and is necessarily always better than a ceramic one, but to use other aesthetic principles to emphasize as- rather that when using software to create a math- pects of reality that the artist is trying to show us. ematical visualization, the ideal should be to care- But in the creation of a mathematical visual- fully tailor all available options to display best the ization, the controlling principle should always be mathematical features that need emphasizing in to show as clearly as possible the underlying math- a particular situation, and aesthetics should not be ematical qualities and properties of the objects permitted to override mathematical considera- being visualized. The temptation to “pretty up” a tions. visualization should be resisted, particularly if mathematical gets lost in the process. The Mathematical Exploratorium One example of this principle was mentioned It is no secret that the incredible quantity of in- above, namely, using square rather than circular formation on the is as yet poorly cross-sections for tubes around space-curves in organized and is not easily classified as to relevance order to make visible the framing of the normal and quality. Trying to separate nuggets of serious bundle. value from all the dross can be a frustrating ex- Here is another example, this time from surface perience. Asking any of the theory. Examination of a great many computer-gen- various Web search engines to erated surface visualizations will show that they provide a list of Web sites that almost all fall into one of three main types that I contain references to almost will refer to as wire-frame, patch, and ceramic. any imaginable topic will re- I think of my The term “wire-frame surface” is self-explanatory. sult in bushels of possibly rel- In a patch rendering, one still displays the wire- evant Web addresses (i.e., drawings as if frame skeleton but in addition fills in each of the URLs), but sifting through they were rectangular patches with a color that mimics the them to find the few that are way white paint on the surface would reflect light of serious interest is usually from several light sources with different positions an arduous and time-con- and colors. If these positions and colors are cho- suming task. of a strange sen with care, a patch mode rendering will give a Over the past year I have realistic 3-dimensional appearance to the surface. been diligently searching the but real In a ceramic rendering of a surface, the wire-frame Internet for sources of math- is removed and only the colored patches are dis- ematical visualizations,3 both world. played. If the patches are small enough, the color as preparation for writing this of the surface will appear to vary smoothly, and article and for use in another —Anatoli˘ı the resulting rendering is again realistic. project in which I am involved. Fomenko Now, a nonmathematician may feel that the It was a pleasant surprise to wire-frame skeleton is extraneous and that the ce- see how many things one can ramic version looks more beautiful. But beauty, it find already, and this corpus is said, is in the eye of the beholder, and to the eye is growing rapidly. Of course of a geometer it is the wire-frame2 or patch ver- it is not of uniform quality—some is amateurish sion that frequently looks more beautiful, since it and slapdash—but there is also much of profes- conveys extra mathematical information that is sional quality. As I gradually arranged this mate- discarded along with the wire-frame mesh. In fact, rial for my own immediate purposes, I began to re- if chosen with care, the mesh will be an orthogo- alize what a useful resource could be created by nal net that displays the conformal structure or carefully organizing all the best-quality visualiza- even the Riemannian metric induced from the im- tions and animations of mathematical objects and mersion of the surface into R3 . A dramatic way to processes, cataloging and documenting them to illustrate this is to watch in succession three ver- form an online virtual museum of mathematics that sions of the helicoid-catenoid morph, using first I refer to as The Mathematical Exploratorium. Let wire-frame, then patch, then ceramic rendering. The crucial fact that one wants to illustrate, namely, that 3I have created a gallery of 3D-Filmstrip visualizations and 2To be sure, wire-frame rendering lacks 3-dimensional- animations and placed it on the Web. The main catalog ity, but that defect can be easily overcome by using var- is at the Web address http://rsp.math.brandeis. ious stereo vision techniques. The name of my program, edu/3D-Filmstrip_html/Galleries/Catalogs/ 3D-Filmstrip, was chosen because it emphasizes stereo ren- MainCatalog.html, and that catalog also contains links dering of 3D objects using the anaglyph method (i.e., to many of the best examples of mathematical visualiza- using red/green glasses). tion that I know of on the Web.

JUNE/JULY 1999 NOTICES OF THE AMS 653 fea-palais.qxp 5/12/99 12:54 PM Page 654

me explain what I have in mind in a little more de- Gf (p) is that one of the two unit normals to V that tail. extends the orientation of V to the standard ori- n+1 The Mathematical Exploratorium would be di- entation of R . We call the degree of Gf the turn- vided into “wings”. There would be a Surface Wing, ing number of f. a Polyhedron Wing, a Fractal Wing, a Tiling Wing, A homotopy ft of f = f0 is called a regular ho- an Ordinary Differential Equation Wing, etc. There motopy if each stage is an immersion and if, in ad- would also be a wing devoted to a Museum School, dition, ft (x) is jointly smooth in t and x. In that where there would be software packages for the case, Dft is a homotopy and is easily seen to in-

creation of visualizations as well as documentation duce a homotopy Gft of Gauss maps so that the and tutorials explaining their use. Each wing would turning numbers of f0 and f1 will be equal. It is a be divided into galleries: for example, the Surface simple exercise to compute that the turning num- Wing would have a Pseudospherical Surface Gallery, ber of the identity map is 1 while that of the an- a Minimal Surface Gallery, and so on, and some gal- tipodal map is (−1)n. leries would be further divided into alcoves. An eversion of the n-sphere is by definition a There would be a main catalog that would list regular homotopy between the identity map and in an abbreviated format all the “holdings” of the the antipodal map—in effect it turns the n-sphere Exploratorium, and each wing and gallery would inside out without creasing it along the way. By have its own more detailed catalog, with thumb- what we have just seen, there can be no eversion nail previews of all the objects it contains. Of of a circle (or any odd-dimensional sphere). But how course, these catalogs would be written in html (the about the 2-sphere? The turning number is not an “ markup language”), and clicking on the obstruction, but can we really turn it inside out? name of an object or an animation would bring it For most differential topologists in the mid-1950s up on the computer screen. it seemed that the answer must be no, so there was Each visualization would be accompanied by a considerable surprise—and even some disbelief— short label giving its identity, its creator, and other when Stephen Smale in his thesis [Sm] proved a items of a bibliographic nature. In addition, the general result having as a corollary that any two label would contain a link to detailed mathemati- immersions of the 2-sphere in R3 were regularly cal documentation of the object being visualized— homotopic. Smale’s proof was in principle con- discoverer, special properties, mathematical the- structive, but it was so complicated that it did not orems it illustrates, relations to other objects, really provide an effective method for giving an ex- interesting ways to morph it, etc. Similarly, each plicit eversion. The first explicit eversion was ap- wing and gallery would have documentation that parently discovered by Arnold Shapiro in 1961. gives a quick overview of the mathematical area it Shapiro never published it, but it was described covers and references to one or more monographs (with ) by Anthony Phillips in a 1966 that cover the subject in detail. Scientific American article [Ph] that first brought the sphere eversion problem to public attention. A Little History All proposed explicit eversions have been so complicated that most people are able to under- Two problems in mathematics have helped push stand how they work only by watching an ani- the state of the art in mathematical visualization— mated visualization played many times over. The namely, the problems of everting the 2-sphere first reasonably simple eversion was discovered by and of constructing new, embedded, complete Bernard Morin in 1967, and a number of stages of minimal surfaces, especially higher-genus exam- Morin’s eversion were rendered into chicken-wire ples. In the case of eversion, the goal was to illu- models by Charles Pugh. Nelson Max [MC] digitized minate a process so complex that very few people, the grid points of these models by making careful even experts, could picture the full details mentally. hand measurements of their locations and then In the case of minimal surfaces, the visualizations using a computer to interpolate the resulting 3- actually helped point the way to rigorous mathe- dimensional grids, creating in this way a morph- matical proofs. ing animation in the form of a movie (Turning a Everting the Sphere Sphere Inside Out) that provided the final “seeing Let f : Sn → Rn+1 be a smooth map of the n-sphere is believing” argument to convince any remaining into Euclidean space of dimension n +1. We recall doubters that the 2-sphere could indeed be everted. that f is called an immersion if it is locally a non- In two further films (Regular Homotopies in the singular embedding or, equivalently (by the Implicit Plane, Parts I and II ) Max used visualization tech- Function Theorem), if at each point p of the sphere niques to explain the statement and proof of the the differential, Dfp , is injective. In this case, we so-called Whitney-Graustein Theorem—the fact n can associate to f a self-mapping Gf of S (called that equality of turning numbers is not only nec- the Gauss map of f) as follows. The (oriented) tan- essary but also sufficient for two smooth immer- n gent space of S at p is mapped by Dfp onto an sions of the circle in the plane to be regularly ho- oriented n-dimensional subspace V of Rn+1, and motopic.

654 NOTICES OF THE AMS VOLUME 46, NUMBER 6 fea-palais.qxp 5/12/99 12:54 PM Page 655

Many more computer-generated visualizations images and finding rigorous proofs for the sur- of eversions have been proposed since that first prising conjectures those pictures suggested. (See one. One, suggested by William Thurston, has been Figure 1.) David Hoffman’s well-written article [H] made into a beautiful video called Outside In [L]. describing this project makes wonderful reading. It is available, accompanied by a highly readable I can do no better than quote a little from his brochure called Making Waves, written by Silvio telling of the story: Levy. The latter documents the making of the video and the mathematics behind it and also gives fur- ... we were able to create pictures of ther details concerning the history of sphere ever- the surface. They were imperfect ... sions through 1995. A recent and very interesting [H]owever, Jim Hoffman and I could sphere eversion that uses Brakke’s Surface Evolver see after one long night of staring at or- software is described in [Sc] and [FSKB]. thogonal projections of the surface from a variety of viewpoints that it was Constructing Embedded Minimal Surfaces The theory of minimal surfaces is a fascinating mix- free of self-intersections. Also, it was ture of complex function theory, partial differen- highly symmetric. This turned out to be tial equations, and differential geometry, and for the key to getting a proof of embed- well over a century it has attracted the creative en- dedness. Within a week, the way to ergies of successive generations of mathemati- prove embeddedness was worked out. cians. Recent activity has centered on the study of During that time we used computer embedded, complete minimal surfaces of “finite graphics as a guide to “verify” certain ” (i.e., conformal to a compact Riemann conjectures about the geometry of the surface with a finite number of points removed). surface. We were able to go back and Two decades ago the only known examples of such forth between the equations and the minimal surfaces were the plane, the catenoid, images. The pictures were extremely and the helicoid, all of which were already known useful as a guide to the analysis. to the geometer J. Meusnier at the time of the The article ends with these words: American Revolution. The fact that no more had been discovered over such a long period led to the The computer-created model is not re- obvious conjecture that there were in fact no oth- stricted to the role of illustrating the ers. About thirty years ago Robert Osserman end product of mathematical under- started investigating a somewhat more restrictive standing, as the plaster models are. class of complete minimal surfaces, namely, those They can be part of the process of doing for which the total curvature (i.e., the integral of mathematics. the Gaussian curvature) was finite. Osserman’s in- vestigations eventually led to very tight constraints Software for Mathematical Visualization for any possible new embedded example of such a surface. Another decade passed before Celsoe My program, 3D-Filmstrip, is a mathematical vi- Costa, in his thesis, discovered an example of a fi- sualization tool for Macintosh computers that is nite-curvature minimal immersion of the square written in Object Pascal. The principal goal that has torus with three punctures that fit all the known guided me in its development has been to make constraints for it to be embedded. But the equa- available a wide variety of interesting mathemat- tions were so complicated that there seemed no ical visualizations from many areas of mathemat- way to approach the problem of providing the an- ics, using an interface that is easily accessible, alytic details required for a rigorous demonstra- even to new users and nonprogrammers. One sim- tion that Costa’s surface had no self-intersections. ply chooses an object from a pull-down menu (or David Hoffman heard about the Costa example describes a “user object” by entering a few alge- in a telephone conversation with Osserman and braic formulas) and then immediately sees a de- quickly decided to use computer graphics tech- fault view of that object. There are several menus niques to attempt to visualize Costa’s surface well for customizing the view in various ways and an- enough to check whether it at least appeared to be other for creating animations. For a more complete embedded and, if so, then perhaps also to see description, including full documentation in hy- some visual clues that might help prove embed- pertext (HTML) format, the 3D-Filmstrip home dedness rigorously. Hoffman discussed his page on the Web {3dfs}.4 The home page also has with William Meeks, who also became excited about a link to a gallery of visualizations and QuickTime the possibility of using computers in such an in- animations produced using the program. Macintosh novative way. Working together with James Hoff- users can obtain a copy for their personal use by man, an expert in computer graphics program- ming, they were able to carry out this program over 4References in curly brackets refer to Universal Resource the course of several weeks, during which they al- Locators (URLs) that will be found in the references at the ternated between staring at computer-generated end of the article.

JUNE/JULY 1999 NOTICES OF THE AMS 655 fea-palais.qxp 5/12/99 12:54 PM Page 656

Online Mathematics Visualization Software user must create a 2D or 3D object in a prescribed {3dfs} 3D-Filmstrip Home Page, http://rsp.math. brandeis.edu/public_html format, either by writing a program to do so or by {Evol} Ken Brakke’s Surface Evolver Home Page, using some program (such as Surface Evolver; see http://www.susqu.edu/facstaff/b/brakke/ below) that has a Geomview interface built in. evolver/evolver.html Grape {Grp} and Oorange {Oor} are similar to Ge- {Geom} Geomview Home Page, http://www.geom.umn. omView, but they provide more tightly integrated edu/software/download/geomview.html facilities for the creation of the mathematical con- {Grp} Grape Home Page, http://www-sfb288.math. tent to be displayed. Competent C programmers tu-berlin.de/~konrad/grape/grape.html used to working on a UNIX will prob- {Oor} Oorange Home Page, http://www-sfb288.math. ably find that using one of these programs provides tu-berlin.de/oorange the easiest approach to creating sophisticated {Snap} SnapPea Home Page, http://www.geom.umn.edu/ software/download/snappea.html mathematical visualizations on their own. But Mac {Sup} Superficies FTP Site, ftp://topologia.geomet. or Wintel users and those without programming uv.es/pub/montesin/Superficies_Folder/ experience using a compiled language will proba- {Surf} Surf Home Page, http://www.mathematik. bly be more comfortable working with one of the uni-mainz.de/AlgebraischeGeometrie/ commercial programs mentioned above. surf/surf.shtml I should also mention some special-purpose {MLb} Mathworks (Matlab) Home Page, http://www. mathematical visualization programs. There are mathworks.com/products/matlab/ many programs for displaying solutions of ordi- {Mpl} Maple Home Page, http://www.maplesoft.on.ca/ nary differential equations and analyzing them {Wri} Wolfram Research (Mathematica) Home Page, for various dynamical systems-related properties http://www.wri.com/ (closed orbits, limit cycles, etc.). Indeed, the use of such programs is rapidly becoming an essential component in the teaching of this subject. Some downloading it from a link on the home page or of these programs are stand-alone, while others are using an ftp client aimed at: written to be used in conjunction with Matlab, ftp://rsp.math.brandeis.edu/pub/ Maple, or Mathematica. As a developer of a particular mathematical vi- Creating visualizations of implicitly defined sualization software package, I think it would be curves and surfaces leads to many interesting inappropriate in an article such as this for me to problems, both for the mathematician and for the review other “competing” packages, so I will restrict programmer. The need to solve the equations in- myself to listing some of the better-known ones, volved numerically is one major difficulty. Con- with a few descriptive remarks about each. structing reliable and efficient algorithms for find- There are a number of commercial software ing all the solutions when there are no restrictions packages with mathematical visualization capa- on permitted singularities is not a completely bilities. Of these, perhaps the best known are The solved problem. This is so even for the important Three M’s: Matlab {MLb}, Maple {Mpl}, and Mathe- special case of interest to algebraic geometers, matica {Wri}. The standard licenses for these pro- namely, when the objects in question are defined grams are expensive, but there are also inexpen- as the solutions of polynomial equations. Another sive student versions available, and many difficulty is that implicitly defined surfaces do not universities have site licenses. These are not pri- come equipped with a natural grid, and so special marily mathematical visualization programs. Maple techniques (such as so-called “ray-tracing” meth- and Mathematica are symbolic manipulation pro- ods) must be used to render them. Because of grams, and Matlab is a pro- these challenges (and the importance of algebraic gram, but all three have very good graphic back- geometry), it should come as no surprise that there ends for displaying the results of their are a number of programs that specialize in dis- computations, making them excellent platforms for playing implicit surfaces. On the Macintosh there mathematical visualization. One minor drawback is Angel Montesinos Amilibia’s Superficies pro- is that each of these programs has its own pro- gram {Sup}. This has the kind of intuitive user in- gramming language that a user must learn in order terface one expects from a Macintosh program; and to do anything nontrivial with them. But these are in addition to displaying a surface from a user-sup- very high-level interpreted languages, and they plied implicit equation, it will also draw geodes- are considerably easier to learn and to use than the ics, asymptotic lines, and curvature lines on the sur- standard compiled languages. An important point face.5 In the UNIX world, there is a program called in their favor is that there are versions of each for Surf, written by Stephen Endraß {Surf}. (Endraß Macintosh, Wintel, and various flavors of UNIX, has made his source code available under the GNU and software developed for any of these platforms license.) is readily transportable to the others. Geomview {Geom} is not really a mathematical 5I would like to thank Angel Montesinos Amilibia for per- visualization program in itself, but rather, as its mitting me to use some of his algorithms and code for han- name suggests, a viewing program. To use it, the dling implicit curves and surfaces in 3D-Filmstrip.

656 NOTICES OF THE AMS VOLUME 46, NUMBER 6 fea-palais.qxp 5/12/99 12:54 PM Page 657

Two other notable special-purpose programs ers to create ever better software for giving life to are Jeff Weeks’s SnapPea {Snap}, for creating and our mathematical imaginings. investigating 3-dimensional hyperbolic geome- tries, and Ken Brakke’s Surface Evolver {Evol}, for Acknowledgments investigating the evolution of surfaces under var- Many people have contributed to my education in ious “energy”-minimizing gradient flows. mathematical visualization, but I would like to ex- press very special thanks to Hermann Karcher, Why Write Mathematical Visualization from whom I learned most of what I know. Her- Software? mann is a true pioneer in the field. He was creat- At this point I should confess that one of my goals ing amazing visualizations on his Atari a dozen is to encourage others to become involved in build- years ago, before the subject became fashionable. ing the Mathematical Exploratorium. The creation He is also one of the leading experts in the mod- of mathematical visualization software and content ern rebirth of minimal surface theory that resulted is a relatively new and growing area, full of op- from the discovery of the Costa surface. The fea- portunities to make significant, original contribu- ture of 3D-Filmstrip that many people find most tions. I work on mathematical visualization mainly appealing is the large repertory of minimal surfaces because I enjoy the challenge of making abstract it can display, both classic surfaces and recently mathematical concepts “come alive” by imple- discovered ones. All the sophisticated mathemat- menting them in software. But more than that, I ical algorithms required to build and render these think of it as a new form of publication. Part of the surfaces came from Hermann, and I shall always obligation (and joy) of the academic life is giving remember with pleasure the long programming ses- some form of permanent expression to the ideas sions as we wrote the code that made the screen we have thought hard about. That, after all, is what light up with one after another of these beautiful we mean by publication. objects. Hermann’s wife, Traudel, is responsible for Traditionally, mathematicians have satisfied perhaps the single most striking visualization in this obligation by writing books and research ar- 3D-Filmstrip: it models the remarkable gyrations ticles, and these will no doubt continue to be the of a charged particle in the Van Allen Belt as it primary form of mathematical . A moves under the influence of the Earth’s dipole program is not a substitute for a theorem, and an magnetic field. assistant professor worried about publishing enough papers to qualify for tenure should prob- References ably think twice before becoming involved in a Articles time-consuming software project. Nevertheless, [Ab] J. ABOUAF, Variations of perfection: The Séquin- as mathematics gets ever more complex, it be- Collins sculpture generator, IEEE Computer Graph- comes increasingly important to have good tools ics and Applications 18 (1998). to supplement our intuition and for communicat- [CHH] M. CALLAHAN, D. HOFFMAN, and J. HOFFMAN, Com- puter graphics tools for the study of minimal sur- ing our intuitive ideas to others. faces, Comm. ACM 31 (1988), 641–661. Until recently graphics systems powerful enough [FSKB] G. FRANCIS, J. SULLIVAN, R. KUSNER, K. BRAKKE, C. HART- to do interesting geometric modeling existed only MAN, and G. CHAPPELL, The minimax sphere eversion, in a few centers that could afford the expensive Visualization and Mathematics (Berlin-Dahlem, 1995), combination of hardware and software that such Springer, 1997, pp. 3–20. systems required. Moreover, these systems re- [HMF] A. HANSON, T. MUNZNER, and G. FRANCIS, Interactive quired special proprietary hardware and drivers so methods for visualizable geometry, IEEE Computer that they could not run even slowly on the stan- 27 (1994), 78–83; http://graphics.stanford. dard Macintosh and PC-type that edu/papers/visgeom/. [H] D. HOFFMAN, Computer-aided discovery of new em- have become ubiquitous in academia. But the su- bedded minimal surfaces, Mathematical Intelligencer percomputer of a decade ago was no more pow- 9 (1987). erful than today’s high-end Macs and PCs, and [HWK] D. HOFFMAN, F. WEI, and H. KARCHER, The genus one very respectable mathematical visualization pro- helicoid and the minimal surfaces that led to its dis- grams can now be written for these machines. The covery, Global Analysis in Modern Mathematics time has clearly arrived to make the powerful geo- (K. Uhlenbeck, ed.), Publish or Perish Press, Hous- metric modeling algorithms that have been devel- ton, TX, 1993, pp. 119–170. oped in recent years more widely available to the [MC] N. MAX and W. CLIFFORD, of the whole mathematical community. It is not easy. sphere eversion, ACM J. of Comput. Graphics 9 The problem is not just to translate the code, but (1975), 32–39; films available from International Film Bureau, 332 S. Michigan Ave., Chicago, IL 60604. also to create programs with good user interfaces [Ph] A. PHILLIPS, Turning a surface inside out, Scientific that are easy to use for someone other than the pro- American (May 1966), 112–120. grammer. I am hoping that 3D-Filmstrip will serve [PLM] M. PHILLIPS, S. LEVY, and T. MUNZNER, Geomview: An as an early example of this kind of mathematical interactive geometry viewer, Notices 40 (October visualization program, one that will stimulate oth- 1993).

JUNE/JULY 1999 NOTICES OF THE AMS 657 fea-palais.qxp 5/12/99 12:54 PM Page 658

[PP] U. PINKALL and K. POLTHIER, discrete min- imal surfaces and their conjugates, Experimental About the Cover Mathematics 2 (1993). On the cover we see a portion of a minimal sur- [Sc] Sphere does elegant gymnastics in new video, Science face, the whole of which extends to infinity. 281 (July 31, 1998), 634. Numerical data for parametrizing the surface [Sm] S. SMALE, A classification of immersions of the two- were created using MATLAB routines written by sphere, Trans. Amer. Math. Soc. 90 (1958), 281–290. H. Karcher, and then imported into 3D-Filmstrip Books for rendering. [B] T. F. BANCHOFF, Beyond the Third Dimension, Scientific A minimal surface is a mathematical model American , New York, 1990. of a soap film, and this fact can be used to [DHKW] U. DIERKES, S. HILDEBRANDT, A. KÜSTER, and compute it numerically: if a closed wire (to be O. WOHLRAB, Minimal Surfaces, Springer-Verlag, Berlin and New York, 1992, two volumes. dipped into liquid soap) is described by a math- [EG] D. EPSTEIN and C. GUNN, Supplement to Not Knot, Jones ematical curve, then one can compute the span- and Bartlett, 1991. ning minimal surface numerically by simulat- [Fe] C. FERGUSON, Helaman Ferguson: Mathematics in Stone ing a characteristic property of a soap film, and Bronze, Meridian Creative Group, 1994. namely that it attempts to “pull itself together” [Fi] G. FISCHER, Mathematical Models, Vols. I and II, (i.e., minimize its area). Vieweg, Braunschweig and Wiesbaden, 1986 Karcher’s numerical algorithm uses a dif- [Fo] A. FOMENKO, Mathematical Impressions, American ferent approach. It starts from the so-called Mathematical Society, Providence, RI, 1990. Weierstrass representation of a minimal surface, [Fr] G. K. FRANCIS, A Topological Picturebook, Springer- coming from the field of complex analysis. This Verlag, New York, 1987. has the advantage that the input data (two mero- [G] A. GRAY, Modern Differential Geometry of Curves and Surfaces, CRC Press, Boca Raton, FL, 1993. morphic functions on the parameter domain) are [HC] D. HILBERT and S. COHN-VOSSEN, Geometry and the closely related to the global geometry of the sur- Imagination, Chelsea, New York, 1952. Translation face. Moreover, it leads to an efficient and nu- of Anshauliche Geometrie (1932). merically stable algorithm for computing the co- [L] S. LEVY, Making Waves, A. K. Peters, 1995. ordinates of all points of the surface. [Sc] D. SCHATTSCHNEIDER, Visions of Symmetry, Freeman, San The particular surface on the cover is known Francisco, CA, 1990. by the name “Karcher’s JE Saddle Towers”. (JE [W] J. WEEKS, The Shape of Space, Marcel Dekker, New York, refers to a particular Jacobi elliptic function 1985. that is part of the Weierstrass data.) This sur- face exhibits a Z ⊕ Z group of translational symmetries. Both generators are visually evi- dent—one is a vertical translation and the other is a translation in the direction of the horizon- tal straight line that cuts the figure in half. (Ro- tation by 180 degrees about that line is another symmetry of the surface.) The two sides of the surface have been given slightly different re- flectivities. The top of the lower horizontal wing appears lighter than the top of the wing above it because these are on different sides of the sur- face. —H. Karcher and R. Palais

658 NOTICES OF THE AMS VOLUME 46, NUMBER 6