Read Collected Essays Online

Authors: Rudy Rucker

Collected Essays (35 page)

BOOK: Collected Essays
13.18Mb size Format: txt, pdf, ePub
ads

The ultimate prize would be a simple computer program type thing that is the universe—not a model of the universe but the thing itself. One of the famous, if minor, successes of the cellular automata programs which Wolfram studied in the 1980s is that they’re good for modeling the intricate patterns which appear on the South Pacific seashells known as cone shells. But these cellular automata models are
just
models. Wolfram says, “If you can get a truly fundamental theory it’s
not
a model anymore, it’s the thing itself. It’s
it
.”

Talking about how useful
Mathematica
is to him, Wolfram says, “I can do my science because I use
Mathematica
so much. I can start typing in complicated things and they work. I can experiment. Programs are always smarter than you are. You have an idea for some kind of computation and you think this will never do anything interesting, but then you experiment and some version of it
is
interesting. Experiment is necessary. You have to look at lots of things. If it takes a minute to experiment, you’ll do it. If it takes an hour you won’t.”

Comparing his work on
Mathematica
to his scientific research, Wolfram says that his skill lies in finding the essence. “When I do science, I’m asking what is the essence of what goes on in nature. In designing
Mathematica
I ask what is the common essence of what people do when they do math. Every person just has one real skill. My skill is finding the essence of mechanisms of things.”

But would anyone outside a university ever need Magic Paper? One out of twelve copies of
Mathematica
are sold in Wall Street, where the software is used to build trading systems. And there are many engineering uses. When researching this review, I looked at a page of the
Mathematica
Web site with a lot of information about applications such as skateboards, shampoo, playground equipment, plastic surgery, and bicycle racetrack design.

Dale Hughes and the engineering consultant Chris Nadovich used
Mathematica
to design the bicycle velodrome track used in the 1996 Olympics. “Our design was in steel, which made the accuracy issue more demanding,” says Nadovich. “In wood you can always cut things to fit as you nail the boards together. Here the whole thing was manufactured in another place, shipped to Atlanta, and yes, everything fit. Well, it was off a quarter of an inch after a quarter-kilometer because the thickness of the paint wasn’t accounted for. The way they used to do bridges was to have two hundred guys calculating every piece. I just had me and a desktop PC and a couple of weeks. I couldn’t use AutoCAD [the popular computer-aided design program] because you don’t do 20,000 different parts by sitting there clicking and dragging.
Mathematica
has a tremendous amount of symbolic math capability. Initially I didn’t even know how many sections the track would have. I just solved the problem symbolically.
Mathematica
produced coordinate lists that I could load into AutoCAD to render the blueprints.”

Nadovich goes on to describe one of the formulae involved in the design. “We used a special curve called the Cornu spiral for the turns. It dates back to the 1800s when people were designing railroads for what they considered high speed. You can’t just go from a straight-away with zero curvature into a circular arc with a non-zero curvature. What you need is to have the curvature increase linearly as you go into the turn and decrease linearly as you come out. The centrifugal force is a linear function of the curvature, so if you change curvature in a linear way it make sit easier for the riders to hold their position. They can concentrate on racing and not on steering.”

How did the riders like it? “They hated it! They didn’t like how the track felt. They said it was slow, it was bumpy, it was an ugly color, and they didn’t like the texture. Everybody was afraid of it. It was very depressing. But the riders that won
did
like it. In fact the track really was fast. They set two world records and twenty-one Olympic records on it. It felt different because it was a different material, most tracks are wood or concrete, just banked concrete roads.”

The most devoted user of a computer algebra program I know is Bill Gosper, an old-time hacker who was involved with the original
Macsyma
project. In fact he still uses
Macsyma
; not the modernized retail
Windows
version, but a massively customized, or one might say Gosperized, version of the program that lives on a file-cabinet-sized old Symbolics computer in his basement.

Going to visit Gosper has been a touchstone experience for me ever since moving to Silicon Valley eleven years ago. I find him grayer than before, sitting in a dusty, autumnal room of antique beige plastic artifacts. An ellipsoidal electric pencil sharpener. A stack of Symbolics computer monitors. Danish Modern chairs.

Gosper uses
Macsyma
to find weird algebraic equations. In high school algebra many of us may learned a few simple algebraic identities like

(x + y)
2
= x
2
+ 2xy + y
2
.

Gosper interests himself in identities like this, only much gnarlier. The all-time champion of gnarly identities was the legendary Indian mathematician Sri Ramanujan. Gosper, who speaks in arcane hacker language, modestly rates the gnarliness of his own equations in milliRamanujans, and he gets his machine to show me one of his best, which he rates at a full 800 milliRamanunjans.

The left side of Gosper’s gnarly identity is a product of terms involving the geometrical constant pi divided by the trigonometric arctangent function. The right side of the identity is the
pi
th
root of 4. Not the
cube
root, mind you, the
pi
th
root. “Genius does what it must,” says Gosper of Ramanujan, “Talent does what it can. When I’m doing this stuff, I find something surprising and then try to make more surprising. I go for sensationalism.”

He begins rapidly keyboarding so as to show me more wonders, talking all the while. He is an artist, a symbolic acrobat without a care in the world for real world applications.

“The computer algebra field supports itself on one percent of what it can do. A key thing about computer algebra is that you have infinite precision. No roundoff. I’ll invert the same matrix twice and show how limited precision can screw it. Let’s set mumble to mumble.” He uses “mumble” as an ordinary word, as shorthand for expressions too complicated or dull to actually say. “Now we invert it. Oh my God, how long is this going to take. Twenty seconds, thirty seconds, whew. I’m worried if I’ve even got a patch in here to make this feasible. We can check while this is running. Says here it should work. This is a little discouraging. Christ on a crutch. Ah here it is, it’s done. Now we’ll set mumble and do it again. Ooh! It’s not converging. What the hell’s going on? 572??!!! It’s supposed to be 570! God help us. No, it’s still batshit. No no no it
is
572. Oh, this should be a Taylor series, right? I have to stun it, I have to neutralize it. Now we can crank up the value. Now this is the
right
answer.” Gosper pauses and gives me a sly smile. “Now let’s see if I can earn my nerd merit badge.” “How?” “By typing in this number, which is the nineteen digits of two to the sixty-fourth power.”

Why does Gosper still use
Macsyma
instead of switching to
Mathematica
? That’s a little like asking why Steve Jobs doesn’t use Microsoft
Windows
. Gosper wrote a lot of the
Macsyma
code and it’s what he’s used to. He knows it inside out. If he were to switch to
Mathematica
, he’d be at the mercy of design decisions made by Wolfram’s team, and not all of these decisions are things Gosper would agree with. If you ask around in the symbolic mathematics community, you can find a real diversity of opinions about the best way to proceed.

Seeking further enlightenment, I talk to Bruce Smith, a programmer who’s done some third-party work for Wolfram Research. He talks about plans to extend the language you use to enter problems into the
Mathematica
. The dream would be to evolve a mathematical language in which one can readily write down expressions for everyday phenomena—including not only physics, but also biology and sociology. “Having an expression for something is a powerful concept that will become more popular in programming,” says Smith. “It’s not a coincidence that the word ‘expression’ is related to expressiveness.” Smith recalls a comment he heard in a 1970s talk by John Walker, one of the original developers of AutoCAD. Speaking about the future of computer-aided design, Walker said, “In the future, every manufactured object in the world will be modeled in a computer.” Smith feels that, in thinking about the future of the
Mathematica
language, we might extend this: “For every object we think about, we will want an expression for it so that a computer can think about it with us.”

Might there some day be a futuristic super programming language with expressions like Live, Think, Truth and Beauty? Realistically, it seems doubtful that anyone will ever take a comfortable human-scale problem like whom to date or where to go to lunch and say “let us calculate.” As G. K. Chesterton once put it, “Man knows that there are in the soul tints more bewildering, more numberless, and more nameless than the colors of an autumn forest.”

But within the domain of readily scientifically quantifiable problems, symbolic mathematics works great and is well worth the trouble of dealing with computers. The entire range of what is considered to be a reasonable solution to a problem is something that will expand greatly. Instead of just putting a vague bend where your track goes into a turn, you put in a Cornu spiral. Instead of guessing how a plastic-surgery patient’s appearance is going to change, you simulate the tectonics of the facial landscape. Instead of making dozens of cardboard models of your jungle-gym, you build it from equations in Virtual Reality.

How will all this affect the future of mathematics? The important thing about mathematics is that it acts as a concise, almost hieroglyphic, language for describing forms. The
Mathematica
program is an immense help for the tedious rote-work involved manipulating math’s hieroglyphs and converting them into visual images.
Mathematica
makes math more valuable than ever—for it takes a well-trained mathematical mind to know which kind of “hieroglyph” to use to model some particular situation. And it takes a mathematical genius to come up with a really good new hieroglyph.

New mathematics is developed as a result of a feedback loop involving theory and experiment. The great thing about programs like
Mathematica
is how much they accelerate the process. Thanks to computers, mathematics is at the dawn of a new golden age.

Note on “Mathematica: A New Golden Age of Calculation”

Written Fall, 1997.

Appeared in
Seek!
, 1999

I started working with
Mathematica
in 1988, when I got a job as a software engineer at the software company Autodesk in Sausalito.
Mathematica
was new then, and my employers gave me a nice big Mac computer with
Mathematica
on it. The two things I worked on were kappa-tau curves and three-dimensional Mandelbrot sets—which evolved into the Mandelbulb of the 2000s.

Over the years I’d gotten to know Wolfram, and it was easy for me to interview him. For his part, he was eager to promote his latest version of
Mathematica
. This article was supposed to appear in
Wired
magazine, but they chose not to run it.

The next essay details my work on the kappa-tau curves.

How Flies Fly: Kappa Tau Curves

It’s interesting to watch flies buzz around. They trace out curves in space that are marvelously three-dimensional. Birds fly along space curves too, but their airy swoops are not nearly so bent and twisted as are the paths of flies.

Is there a mathematical language for talking about the shapes of curves in space? Sure there is. Math is the science of form, and mathematicians are always studying nature for new forms to talk about.

Historically, space curves were first discussed by the mathematician Alexis-Claude Clairaut in a paper called “
Recherche sur les Courbes a Double Courbure
,” published in 1731 when Clairaut was eighteen. Clairaut is said to have been an attractive, engaging man; he was a popular figure in eighteenth-century Paris society.

In speaking of “double curvature,” Clairaut meant that a path through three-dimensional space can warp itself in two independent ways; he thought of a curve in terms of its shadow projections onto, say, the floor and a wall. In discussing the bending of the planar, “shadow” curves, Clairaut drew on then recent work by the incomparable Isaac Newton.

Newton’s mathematical curvature measures a curve’s tendency to bend away from being a straight line. The more the curve bends, the greater is the absolute value of its curvature. From the viewpoint of a point moving along the curve, the curvature is said to be positive when the curve bends to the left, and negative when the curve bends to the right. The size of the curvature is determined by the principle that a circle of radius R is defined to have a curvature of 1/R. The smaller the radius, the greater the curvature. The figure below shows some examples of circular arcs, with each arc drawn to be the same length.

BOOK: Collected Essays
13.18Mb size Format: txt, pdf, ePub
ads

Other books

The Hammer of the Sun by Michael Scott Rohan
The Fan-Maker's Inquisition by Rikki Ducornet
Luna Grey by Emily Fox
Craving Absolution by Nicole Jacquelyn
Danza de espejos by Lois McMaster Bujold
Mine to Hold by Shayla Black
A Boy and His Corpse by Richard B. Knight