There is a scene in the movie *Jurassic Park* in which the character of
Ian Malcolm (played by Jeff Goldblum) attempts to explain to Dr. Sattler (Laura Dern) the theory of chaos. Dropping a bead of water onto
her knuckles, he asserts that "tiny variations, the orientation of hairs on
your hand, the amount of blood distending your vessels ... vastly affect the outcome", ultimately preventing the droplet's trajectory from
being foreseen.

What happened in Jurassic Park?

Malcolm attributes this unpredictability to chaos, as he does repeatedly
throughout the film whenever events evolve in unanticipated ways.
With equally-grating parts
flirtation and self-righteousness, he
flaunts
his mathematical discipline as an effective guarantee that the park will
spin out of its caretakers' control. Of course, he is correct in his prediction of the park's downfall, but is chaos theory really the explanation?
At the risk of spoiling Dr. Malcolm's practiced mystique, let us explore
the mathematics of chaos and its role — if any — in the unfolding of
*Jurassic Park*.

### What is chaos?

Chaos theory is a subfield of the more general study of dynamical systems, which are mathematical models of how quantities evolve over time. For example, one might set up a dynamical system for the number of predator animals (say, Tyrannasaurus rex) and prey animals (say, goats) on an island at the start of each passing month. This system would be described by a function $f(x, y)$ that takes two numbers as input and produces two numbers as output. An equation such as $$f(10,20) = (12,18)$$ means that, if there are ten Tyrannasaurus rex and twenty goats at the beginning of January, then there will be twelve Tyrannasaurus rex and eighteen goats at the beginning of February. Inputting the pair $(12, 18)$ back into $f(x, y)$ would show the populations at the start of March, which could then be fed back into $f(x, y)$ to give the populations at the start of April, and so on. In general, depending on the specific scenario one wishes to describe, the function that represents its dynamics might have any number of variables. The steps of time might be months or milliseconds or millenia. Regardless, if $p$ is the state of the system at one moment in time, $f(p)$ will always mean its state after one step of time has elapsed, and the dynamics of the system will be recorded by whether the sequence of states $$p, f(p), f(f(p)), f(f(f(p))), f(f(f(f(p)))), ...$$ displays any pattern.### A tame example

To make matters simpler, let's imagine that we have a system described by a function with just one variable, $$f(x)=2x(1-x),$$ where $x$ can be any number between 0 and 1. What happens when you plug some value of $x$ into the formula, then plug $f(x)$ into the formula again, and so on? When $x = 0.25,$ for example, we have $$f(0.25) = 0.375$$ $$f(0.375) = 0.46875$$ $$f(0.46875) = 0.498047$$ $$f(0.498047) = 0.499992$$ $$f(0.499992) = 0.499999999872.$$ In words: if the system starts at state 0.25, then it gets closer and closer to state 0.5 as time elapses. In fact, the same occurs for almost any seed value of $x$: iterate the function $f(x)$ on any starting number between 0 and 1 (not including the two extremes), and the results will be pulled toward the center of the interval as though by quicksand.### A wild example

The function $f(x) = 2x(1-x)$ is an example of a dynamical system, but it is not an example of chaos. Let us make, however, a seemingly innocent modification, switching to the function $$g(x) = 4x(1 - x).$$ Suddenly, the dynamics get a lot more interesting. For some starting values called \emph{fxed points}, $g(x)$ will simply get stuck: $$g(0.75) = 0.75$$ $$g(g(0.75)) = 0.75$$ $$g(g(g(0.75))) = 0.75,$$ and so on. It can also get locked in a loop wherein it bounces back and forth between two values forever. For example, using decimal approximations, the starting value $$x = \frac{1}{8}(5 + \sqrt{5}) \approx 0.90451$$ gives $$g(0.90451) = 0.3459$$ $$g(0.3459) = 0.90451$$ $$g(0.90451) = 0.3459$$ etcetera. A loop of length three is also possible, with $g(x)$ cycling through three different numbers indefinitely. In fact, there are starting values of $x$ for which repeated application of $g(x)$ results in \emph{any} length of loop.Sensitivity to initial conditions is popularly know as the butterfly effect.

The popular buzz-word for this phenonemon is *the butterfly effect*,
a phrase inspired by a 1972 paper by the chaos theory pioneer Edward
Lorenz. The astounding thing is that the unpredictability arises from a *deterministic system*: the function that describes the system tells you exactly what its next value will be. Nothing is left to randomness or chance, and yet accurate prediction is still impossible.
To describe this strange state of affairs, Lorenz reportedly used the slogan

*Chaos: When the present determines the future, but
the approximate present does not determine the approximate future.*

Chaotic dynamics have been observed in a wide range of phenomena, from the motion of fluids to insect populations and even the paths of planets in our solar system.

### Can we always blame chaos?

One thing that \emph{Jurassic Park} got right in its loose portrayal of chaos was the suggestion that it can arise out a gradual disintegration of order. The two functions $f(x)$ and $g(x)$, for example, are members of the family $$h_r(x) = rx(1 - x),$$ in which $r$ is an unspecified constant. If one imagines a dial on which the value of $r$ can be adjusted, then slowly increasing the dial's setting from $r=2$ upward makes the dynamics of $h_r(x)$ become gradually more complicated, yet never chaotic. Then, at a particular value of $r$ equal to approximately $3.56995,$ a crisis occurs (that's actually the technical term) and chaos abruptly ensues.Still, Dr. Malcolm is a bit too assured in his diagnosis of chaos as the reason for Jurassic Park's tragic falling apart. While chaos limits one's forecasting ability, there are other possible explanations for unpredictability in nature.

One issue is that many real-world systems are extraordinarily complicated. It's probably not true that the populations of Tyrannasaurus rex and goats on an island one month really determine their values the next month, but instead, a host of other environmental factors also come into play: the presence of other animals, for example, or diseases, or the availability of food for the prey animals to eat.This doesn't mean that the predator-prey relationship cannot be modelled by a mathematical dynamical system, but it does mean that the system may require many, many variables. Once this can of worms is opened, how can one ever truly know whether sufficiently many factors are being taken into account? And can all of the factors be simultaneously measured with any reliability? These issues that arise out of very complex systems can lead to empirical unpredictability even when no chaos is present.

Another potential cause of unpredictability is sheer randomness. In public discourse, chaos and randomness are often conflated, but in mathematical terms the two are very different. As Lorenz's maxim summarises, a chaotic system is deterministic, so its future state is in principle determined by current conditions. When randomness is involved, no such determinism holds.

The Lorenz attractor is a strange attractor for a three-variable chaotic system.

Though not directly related to the theme of unpredictability, there is another feature of chaotic systems worth mentioning that distinguishes them from random ones. In the presence of either chaos or randomness, certain seed values evolve in trajectories that neither repeat nor stabilise. Yet in a chaotic system, this apparently erratic motion can outline an exquisitely structured shape even as it leaps around; the mathematical term for this type of shape, a *strange attractor*, even makes a brief cameo in *Jurassic Park*. The image on the right is an example of a strange attractor that arises from a dynamical system that takes three variables as input and returns three outputs (as opposed to the one-variable examples considered above), so the evolution of a certain seed value is illustrated as a path in three-dimensional space. The beautiful shape shown here emerges only gradually over the course of a chaotic, wildly-jumping trajectory. Such delicate patterning amidst apparent disorder is one of chaos theory's profound surprises.

### Back to the park

So was it chaos that destroyed *Jurassic Park*, as Dr. Malcolm predicted? Maybe, maybe not. Situations in the film often develop in
unanticipated ways, but we are given no particular reason to attribute
this unpredictability to chaos as opposed to complexity or randomness.
In some ways, this diminishes the credibility of Dr. Malcolm as a
character. Yet on another level, it plays directly into the point he so
persistently advocates. Full understanding of a dynamical system as it
arises in nature is a very difficult thing to come by, and the qualities
of such a system — its order or randomness, chaos or complexity —
rarely present themselves in a straightforward way. One must always
be careful not to mistake a degree of understanding, even of simplicity,
for any guarantee of enduring predictability. Confidence in the future
of most dynamic situations, as John Hammond so disastrously displays
for his creation in *Jurassic Park*, is a sign not of comprehension but of
hubris.

### About the author

Emily Clader received her PhD in Mathematics from the University of Michigan in May 2014, where her research focused on questions in geometry related to the theoretical physics of string theory. She is currently a Junior Fellow at the Institute for Mathematical Research of the ETH Zürich.

## Comments

## Strange attractor

"the mathematical term for this type of shape, a strange attractor"

I think the name of the shape is the invariant set (that is the name of the set), the strange attractor is the name of the dynamics.

## Chaos

Dear Ms. Clader,

You quote Edward Lorentz:

"Chaos: When the present determines the future, but the approximate present does not determine the approximate future."

The Wikipedia entry for Chaos Theory has the quote:

"Chaos: When the present determines the future, but the approximate present does not approximately determine the future."

http://en.wikipedia.org/wiki/Chaos_theory

I do not know which is correct, not having the source at hand, but it seems to me that second version better expresses the implications.

Regards,

Roy

## Nice walk through the park

Nice walk through the big concepts in chaos... and distinctions of not chaos.

## the credibility of Dr. Malcolm as a character

What really diminishes the credibility of Dr. Malcolm as a character is the fact that he is effectively saying that we might as well not try to do X, because X is hopeless, based on Chaos Theory. Following Dr. Malcolm's advice, we may as well shut down all the Zoos in the world, because after all, "Nature will find a way!

## Chaos

Turning to a real life case, I wonder about the relevancy of chaos to the Ebola outbreak and the CDC's confidence in USA healthcare system. Your last line is a beautiful assessment of what is wrong with their view. So many factors could influence what happens and they don't realize it could be overwhelmed just by sheer numbers of patients. And they dismiss it as not possible because of their confidence in the future. Recent events should show just how unprepared they are.

## The Book

Read the book for gods sake. Chaos Theory is a super minor subject in the movie, which completely disregards the background and studies of our good friend Dr. Malcolm. You'll find that in the books, chaos theory is a much more touched on subject.

## I'm 3/4 of the way through

I'm 3/4 of the way through the book right now, and I can tell you that Chaos Theory is discussed in a lot more detail while Speilberg took most of it out in the movie's adaptation of Crichton's telling.

In the novel, Dr. Malcolm explains that one of the reasons the park will fail is that the dinosaurs are reintroduced to a world that is way different then the they left. For instance, when they come across the sick Stego (Triceratops in the movie), Malcolm explains that it's wheezing because of the different air pressure.

The book's telling of chaos theory and fractals is a lot better than the movie, and I recommend checking it out!