You are on page 1of 48

Teaches Mathematical Thinking

a
T ble
of 33
C ontents PUZZLE
TIME WITH
TERENCE
From contagious
cohorts to
counterfeit
coins, here are

15
two devilish
problems from
Terence’s class,

9
explained by
Math Is Art the man himself
Six of the many

28 39
ways mathematics
Equations Are has played a role in
Everywhere! major creative
From your morning works
commute to your Who’d Have ASSIGNMENTS

3 23
midnight snack, Thought? Test your growing
your days are Three laboratory mathematical
powered by mathe- accidents that prowess with
matical concepts were ground- three deceptively
Meet Your What’s Your breaking difficult word

11
discoveries in
Instructor Problem? problems
disguise
For Terence, Mathematical

29
mathematical thinking can help
thinking goes you solve virtually
far beyond Math any problem in
theorems and Misconceptions your life. Here’s how
solutions; it can Terence’s field is beset
What to Do
change minds by bleak assumptions
When You’re
and save lives that simply aren’t true
Stumped

7
Try these
time-tested tips
on breaking
through appar-
ent dead ends
Terence in math (and life)
Through the
Years
A timeline of
his triumphs in
the world of
numbers, start-
ing at age two

1
45
What Math
Can Teach You
About Life
Five lessons

43
Terence has
learned since he
attended his first
university-level
Math Apps math course (at
Looking to age nine)
sharpen your
math skills on
the go? These
mobile marvels
can help

44
Recommended
Reading
To nurture your
passion for
math, logic, and
problem-solving,
“The failure is add these books
to your shelf
often more
instructive than
the success.”

—TERENCE

2
3
Meet Your Instructor

Ter ence Tao


For the groundbreaking mathematician, logical thinking

goes beyond theorems and solutions—it’s the key to changing


minds and, in some cases, saving lives

T erence Tao loves a tough


problem—the kind that makes you
sweat. He’s taken on some of the
most baffling equations known to
humankind, and he’s won.
In the process, he’s been part of by nine, he was taking it at the
major advances in mathematics and university level. Within a few years,
sparked lifesaving innovation in the he was competing in international
field of medicine. His work in number mathematics competitions.
theory¹ and quantum mechanics 2 Terence went on to earn his Ph.D.
has solidified his reputation as one of from Princeton University in New
the most powerful minds on the plan- Jersey and join the faculty at the
et, all while opening countless eyes to University of California, Los Angeles
the beauty, artistry, and universal rel- (UCLA). At the age of twenty-four he
evance of mathematical thinking. was promoted to full professorship, a
Born and raised in Adelaide, role he continues to hold. He has re-
Australia, Terence found an early ceived the Fields Medal, the highest
mentor in his mother, a high school prize that mathematics has to offer; a
math teacher. “My parents tell me MacArthur Fellowship, also known as
[that] when I was two, they found me a “genius grant”; and a Royal Medal
trying to teach some older kids how from the U.K.’s Royal Society, the old-
to count,” he says. By the age of sev- est continuously running scientific
en, Terence was learning calculus 3 ; academy in the world. He’s also au-
thored or coauthored more than
three hundred research papers that
have been cited more than eighty-

4
Meet Your Instructor

three thousand times, and he’s


published more than a dozen books.
Among elite mathematicians,
Terence is particularly renowned for
his work on prime numbers (see
“Prime Time” on page 6). But his con- sensing technology, including seis-
tributions have spilled over into other mology and astronomy (the study of
areas, too, with profoundly practical earthquakes and space, respectively).
implications. In the mid- to late- While few will ever grapple with
2000s, he collaborated with French radical and complex mathematical
statistician Emmanuel Candès to ad- theories like these, Terence believes
vance concepts that allow the cre- that the foundational elements of
ation of high-quality images with less problem-solving are more accessible
data, slashing the time an MRI 4 ma- than you might expect. Now, he’s here
chine needs to collect information. to help you reimagine how you ap-
Terence’s work in this field heralded proach problems in your own life.
advances in other realms that rely on Knowing how to think mathematically,
Terence says, makes you better pre-
pared to attack myriad challenges. He
hopes this class will make the process
of problem-solving more manageable
and interesting—and even fun.

5
Notes
1.Number theory is a branch
of mathematics that handles the
properties and relationships of numbers
larger than zero. It is an example of
“pure mathematics,” or math that’s
typically performed without explicit or
immediate consideration of its practical
application. Mathematicians often
pursue it because of the intellectual
challenges it poses and the aesthetic
beauty it reveals.

2.Quantum mechanics is
a mathematical field concerning the
behavior of molecules, atoms, and
subatomic particles like photons and
electrons. Practitioners use it to
understand why stars shine and atoms
decay, how computer chips operate,
and why the floor beneath your feet
doesn’t spontaneously collapse.
Prime Time
For Terence, prime numbers are endlessly
3.Calculus is a field concerned fascinating. These are whole numbers
with derivatives, integrals, and
larger than one that can be divided evenly
functions. It has been described
by only themselves and one. (Think: 2, 3, 5,
more simply as the study of
7, and 11.) Primes are considered number
continuous change.
theory’s fundamental building blocks, but
they are enigmatic: Mathematicians don’t
4.MRI, or magnetic resonance exactly understand why they show up
imaging, is a technology whereby the
where they do. Sometimes pairs of primes,
inner workings of living beings are
or so-called “twin primes,” appear just two
rendered visible using magnetic
numbers apart, like 5 and 7. In collabora-
fields and radio waves.
tion with the British mathematician Ben
Green of the University of Oxford in Oxford,
England, Terence found that, no matter
how long of a string of primes (like 3, 7, and
11) with a constant gap (in this case, a dis-
tance of four) between them, there would
always be a string that’s longer. Their proof
stands among the most significant discov-
eries since the Greek mathematician
Euclid proved—more than two millennia
ago—that the number of prime numbers
is infinite.

6
Terence Through
the Years

2 8
he scored
760 out of 800
At age on the math
portion of the
standardized
test known as
the SAT, which
At age is usually
administered
to high school
students

he taug
ht hims
read an elf how
d do ba to
sic ari
thmeti c

43
At age

20
At age he earned
a Ph.D.
he was named a “Great
from New
Immigrant” by the
Jersey’s
Carnegie Corporation,
Princeton
a premier philanthropic
University
fund that each year
honors an elite number
of naturalized Americans

7
15
he was commissioned to
write a training book for
At secondary school math teachers
age on algebra, euclidean geometry,
and analytic geometry

10
At age At age

31
46
At age

he was
made a
MacArthur
Fellow he became the
youngest person
in history to
win a medal in
y the International
e n l i sted b
he was Joe Mathematical
P r e s ident
U.S. e r v e on the Olympiad
to s
Biden s Coun
cil
d e n t ’ e
Presi s o n Scienc
isor
of Adv gy
n d T e chnolo
a

24
At age

28
At age
he coauthored the
Green-Tao theorem,
a masterstroke
he became one of the
in the field of
youngest tenured
number theory
professors at UCLA

8
Equations Are 2

Everywhere!

1 2 3
Algebra Permutations, Newton’s
Farmers use math every day, Combinations, First Law
from measuring their fields Probabilities of Motion
and estimating crop yields If you were to take a math- Seventeenth-century
to predicting profit over ematical approach to the English mathematician Isaac
time. (Far more complicated lottery, you might compute Newton’s eponymous laws,
mathematical algorithms are the number of possible com- which define the relationship
now being used by drones binations on your ticket using between the motion of an
Your days

to forecast weather, monitor the combination formula object and the forces acting
soil health, and detect infec-
are powered by (if you don’t care about the on it, quickly become appar-
tious diseases from above.) order) or the permutation ent in life-or-death situations.
mathematical The oats in your breakfast formula (if you do). Or you His first law states that an
concepts bar may have been produced might use a probability for- object in motion will stay in
by Mother Nature, but mula to analyze the general motion, in a straight line, until
she got a lot of help from likelihood of a win. Unfortu- an external force acts upon
mathematical concepts nately, you’re much more it—hence seat belts, without
that allow us to work with likely to be killed by an which drivers and passen-
unknown quantities. asteroid (1 in 700,000) than gers would fly toward
to win the American Power- their windshields in the
ball jackpot (1 in 292 million). event of a sudden stop.

9
7
5

4 5 6 7
Navier-Stokes Newton’s Schrödinger Entropy
Equations Universal Law Equation First identified by German
These equations, which of Gravitation In 1926, the Austrian physicist mathematician Rudolf
describe the movement More than four thousand Erwin Schrödinger found Clausius in 1865, the
of fluids, have been used satellites are currently that electrons were more concept of entropy posits
to model everything from orbiting Earth, some of like waves than dots. Swiss that energy disperses and
ocean currents to the them no larger than a loaf scientist Felix Bloch and oth- systems inevitably dissolve
flow of blood inside your of bread. These spacecraft ers soon applied this theory into chaos. That may sound
body. (Terence has made transmit everything from to the complicated systems philosophical, but it also has
major contributions to this television shows to high- of atoms found in crystals profound practical implica-
field.) Formulated by resolution photos of reced- and metals; they discovered tions. It can, for instance,
French physicist Claude ing snowcaps. But how did that, if the crystal structure help people measure the way
Louis-Navier and Irish poly- they get out there in the first contained even a single out- heat spreads. Thanks to
math George Gabriel Stokes place? More Newton: He’s of-place atom, electron waves entropy, New York City’s main
in the nineteenth century, widely acknowledged as would travel a different energy provider, Consolidat-
they are now employed by the first scientist to prove path through it. This led to ed Edison, is able to estimate
car designers looking to that a projectile launched the development of semi- how much steam power it
ensure their roofs are in with sufficient speed conductors, now a critical can provide to roughly two
peak aerodynamic form. would orbit the planet. component in smartphones, thousand buildings through-
refrigerators, and more. out the city by boiling water.

10
at h
M s
o n
t i
e p
n c
c o
i s
M

11 
12
Math Misconceptions

Chances are, you’ve encountered a few


equations that left you feeling stumped. You


might have blamed yourself—or dismissed
math entirely. But problem-solving needn’t
be so punishing. To get a healthier view, start THE MYTH

by vanquishing a few common assumptions Math is all about


memorization.

THE REALITY

To tackle cutting-edge problems,


Terence sometimes needs to invent
new formulas. In this arena, creativi-
THE MYTH ty is key; standard equations don’t
always apply. When it comes to
Some people lower-level education, though, math
are inherently is often presented as misleadingly
cut-and-dried. Imagine if you weren’t
bad at math. allowed to write creatively in a litera-
ture class and were instead confined
THE REALITY to lessons on diagramming sentenc-
es: You might come away from these
Nearly everyone has some innate

lessons thinking, I don’t understand


mathematical talent. After all, the
prepositions, so I guess I can never
average child can understand that
be a writer. Focusing only on the
sharing a pizza among four people
rules leaves out the humanity and
gets them a smaller slice than
dazzling complexity that numbers
sharing it among three, and that
can possess.
whatever number they can think
of, there’s always one that’s larger.
Perhaps people would have more
confidence in their mathematical
abilities, Terence posits, if they
learned math in a way that
harnessed their natural intuitions
and curiosities.

13 
THE MYTH

Math is only
about numbers.

THE REALITY

Mathematics touches nearly


every aspect of modern life, from


computer software design to
questions about humanity’s exis-
tence in the universe. Even classic
children’s tales like Alice’s Adven-
tures in Wonderland can be full of
mathematical allegories. The point
is that math isn’t just moving num-
bers around; it’s a way of viewing
the world. “I think that people often
have a fear of mathematics—that
it is just too alien, too different from
their everyday experience for it to
be useful in their lives,” says
Even classic children’s tales
Terence. “[But] knowing how to
think mathematically can be a tool
like Alice’s Adventures in
that you can use to solve problems
in a systematic way, which can
Wonderland can be full of
give you reassurance and can
make a complex world a little bit
mathematical allegories.
more manageable.”
The point is that math isn’t
just moving numbers around;
it’s a way of viewing the world.
14
15 
a
M th and
Is Art

16
Math Is Art

Six of the many


ways mathematics
has played a role in
major creative works

P r o portion
Want to see an example of how art
and math have evolved in tandem?
Look no further than Diadoumenos,
a renowned sculpture from Greek Symmetry
antiquity. The piece is credited to Artists have known for millennia
the artist Polykleitos, whose trea- that symmetry—a correspondence
tise on how to depict the ideal in size, form, or arrangement in
proportions of the human figure different sections of the image—can
advises readers to see the body in evoke a sense of balance, sereni-
four parts, all of which relate to one ty, and purpose. From geometric
Above:
Diadoumenos another in a complementary fash- Moroccan architecture to ancient
(c. 430 BC), ion. With Diadoumenos, Polykleitos Chinese tapestries, symmetrical
by Polykleitos
sought to achieve an ideal balance layouts present the universe as a
Above right: between muscular tensions, with the highly ordered whole. Radial sym-
Twenty-three Deity figure resting his weight on his right metry, achieved by placing imag-
Nairatma Mandala
(14th century; leg while freeing his left to bend. The es around a central point or axis,
Sakya-affiliated mathematically determined result is commonly appear in sacred images.
monastery)
suffused with life. A fourteenth-century Tibetan piece
known as Twenty-three Deity Nairat-
ma Mandala shows several figures
radiating outward from the Buddhist
deity Vajrayogini.

17 
Above: Primavera (c. 1480), by Sandro Botticelli

Golden Ratio
This principle undergirds some of
the greatest artworks in history. Also
known as the “divine proportion” or
the “golden section,” the ratio refers
to phi (Φ ), an irrational number,
like pi, that can go on forever. First
described by the Greek mathe-
matician Euclid around 300 BCE,
the ratio is found by dividing a line
into two unequal parts; the longer
part, when divided by the shorter
part, should then be equal to the
overall length divided by the longer
part. When these proportions are
expressed as a spiral, it resembles
geometries found in nature. These
shapes are widespread in art and
architecture, too: Italian Renais-
Above: Bathers at Asnières (1884), by Georges Seurat sance artists Sandro Botticelli and
Michelangelo—and later artists like
nineteenth-century French painter
Georges Seurat—seem to have
used the ratio in their work.

18
Math Is Art

Above: The Last Judgment (late 16th century), by Giorgio Vasari and Federico Zuccari

L i n ear Perspective
During most of the medieval era,
the size of a person or object within appearance. (Brunelleschi designed
an artwork corresponded to their the dome reproduced above.) While
thematic or religious importance, some Chinese artists had used
often at the expense of realism. But techniques like oblique perspective
around 1415, the Italian Renaissance to give a more convincing view of
architect Filippo Brunelleschi began their subjects, linear perspective
employing a forgotten method to drew on ancient Greek and Roman
give painted surfaces a more lifelike principles to create the illusion of
depth. Painters used parallel lines,
vanishing points, and a horizon line
to arrange a work’s composition,
similar to how the human eye sees
the world. Christ Consigning the
Keys to St. Peter (see page 21), a
fifteenth-century painting by the
Italian artist Pietro Perugino, is a
prime example of this technique.

19 
F r ac t a l s a n d A . I .
By the 1980s, computer processing
speeds had progressed to such an
extent that algorithms (sets of rules
used in computer programming) have been “teaching” artificial intel-
could generate art. Fractals, a form ligence systems to produce original
of abstract art, are patterns that can visual works. A 2018 printed piece
be unimaginably complex and are called Edmond de Belamy, from La
often generated by a computer from Famille de Belamy, which later sold
a single formula. Additionally, artists at auction for more than $400,000,
was generated by an algorithm that
had ingested thousands of exam-
ples of portraiture.

Above: Icosahedron (c. 1509),


Below: Edmond de Belamy, from La Famille de Belamy by Leonardo Da Vinci
(2018), published by Obvious Art

Polyhedrons
Since the pre-Renaissance era,
artists have played with polyhe-
drons, or shapes with a multi-
tude of planes. (The dice in your
board game sets? Polyhedrons.)
These geometric figures show
up everywhere in the art world,
from the marble mosaics at
the San Marco Basilica in
Venice, Italy, to illustrations by
Leonardo Da Vinci. In a more
recent exploration, the twenti-
eth-century Dutch graphic artist
M. C. Escher garnered acclaim
from critics (and the admiration
of scholars) for the mathemat-
ical depth of his work—despite
the artist’s professed inability to
fully understand the subject.

20
Math Is Art

21  Christ Consigning the Keys to St. Peter (1481), by Pietro Perugino


22
W h a t’s
Your
Problem?

23 
24
What's Your Problem?

“There is a certain way in which mathematicians


approach problems,” says Terence. “We abstract them.


We break them up into pieces. We make analogies.
We try to find connections with other problems.”
You can begin to harness this creative approach to
problem-solving using a few simple strategies

Choose Wisely
Mathematicians can often select
the problems on which they work. Trim the Fat
They’re also free to change the When he’s working on a problem,
parameters of a problem to make it Terence will often use mathemati-
easier, harder, more generalized, or cal tools of abstraction to simplify
more specific. You can essentially things. This could involve taking
play around with the dials to modify key components of a problem and
all sorts of variables. What should representing them with mathe-
you look for in a potential problem? matical “objects” like numbers or
Like any creative field, math is most shapes. In order to do this in a way
exciting and rewarding when you’re that makes sense, you first need
working at the cutting edge of to figure out which elements of the
feasibility, Terence says. You want problem are most important. “We’re
problems that are just barely really stripping the problem down
outside the range of all your tools. to its bare essentials,” Terence says.
“By moving the inessential compo-
nents of a problem, you can focus
on what’s really going on.”

Use Analogies
Analogies can help you understand
the mechanics of a problem or even
its philosophical underpinnings. For
example, the process of polling—
gathering opinions from individuals

25 
Above: to assess public viewpoints—often wily enemy. Because solving a prob-
Polling involves statistical estimations. Ter- lem can be labor-intensive and often
depends
on well- ence compares this to testing ocean involves failing again and again, find-
chosen waters for salt content: To under- ing (or ascribing) some semblance of
sample
sizes stand the overall salinity, you need to meaning in the process is crucial.
collect results from multiple locations
within the ocean. Similarly, you need
to collect opinions from across a citi- Question Everything
zenry to measure a proposal’s politi- As a young student, Terence was
cal viability. (Mathematical theories, innately skeptical of the established
it’s worth noting, can also help cor- methods for solving problems. He
rect for problems in polling.) remembers trying to pass an exam
without using the quadratic formula
as recommended by his teacher;
Get Attached Terence tried his way first, only
If you aren’t motivated to solve a reverting to his teacher’s recommen-
problem, chances are you’re not truly dation after spending an hour failing
invested in the process. Instead of to solve the equation. He urges
solving for X or Y, Terence recom- others to challenge the status quo,
mends thinking of the endeavor as a even if they turn out to be wrong.
search for clues or a battle against a

26
Wha
at ' s Y o u r P r o b l e m ?

Be Patient
Citing the late German mathemati-
cian Alexander Grothendieck, Ter-
ence likens solving a tough problem the top of the mountain. What mat-
to opening a walnut: Instead of hit- ters is getting as far as you can.
ting the nut with a sledgehammer, “That’s how mathematics proceeds,”
try soaking it in water. “Eventually he says. “You have to learn how to be
the shell becomes so soft you can part of a bigger process that’s been
just peel it apart with your hands,” going on for thousands of years.”
he says. In a similar way, a problem
will become far easier to solve the Rethink “Eureka!”
more you (quietly, calmly) work on it. While Terence is working on a prob-
lem, moments of easily measurable
Maintain progress are few and far between.
Perspective More often, the progress he’s making
Terence has solved a few big prob- is beneath the surface. “You are set-
lems and he’s come close to solving ting the stage for putting the prob-
a few more—but he insists that lem in exactly the right perspective,”
progress, not perfection, is a noble he says. When the last puzzle piece is
aspiration. Even with the best tools finally in place, everything will sud-
and training, sometimes a rock denly make sense. Often, he says,
climber can’t make it all the way to your reaction will be less Yippee! and
more Oh, that was it?

27 
Safety Glass
Who’d Have French scientist and aesthete Édouard Bénédictus ce-
mented his legacy during a lab session in 1903, when he

Thought? accidentally knocked a glass flask off his shelf. As he was


grabbing a broom to collect the shards, he realized the
cleanup was unnecessary: The glass had remained intact
thanks to the concoction of cellulose nitrate plastic that
had dried inside of it, creating an adhesive film coating.
Bénédictus filed for a patent in 1910; his accidental inven-
tion, and subsequent iterations thereof, has since been
used to fortify everything from eyeglasses to skyscrapers.

Penicillin
In 1928, fresh off a vacation to his
native Scotland, bacteriologist
Alexander Fleming returned to his
London laboratory only to find that a
mold called Penicillium notatum had
contaminated his petri dishes. Placing
the dishes under a microscope, he
noticed that this spore had inhibited
growth of Staphylococcus aureus,
which causes serious bacterial
infections in patients with weakened
immune systems. His discovery led to
the mass-produced antibiotics that,
The old adage, often

according to the British Broadcasting


attributed to American Company (BBC), have saved more
researcher and sci-fi than two hundred million lives.
writer Isaac Asimov,
goes like this: “The
most exciting phrase
to hear in science, the New Blue
one that heralds
In 2009, a team led by Mas Subramanian, a professor
new discoveries, is not
of materials science at Oregon State University, was
‘eureka’ but ‘that’s studying the electronic properties of manganese
funny….’ ” Here are a oxide, a chemical compound, by heating it to a tem-
few laboratory perature of 2,000°F. One day, a sample developed a
accidents that were brilliant, ultramarine hue. Subramanian named the
sample “YInMn Blue” because of its chemical com-
ground-breaking ponents (yttrium, indium, and manganese) and filed
epiphanies in disguise for a patent. Not only is Subramanian’s invention
popular with artists; it’s also nontoxic and easier to
produce than many other colors.

28
29 
W h at
t o Do
W hen
Yo u ’r e
S t u m ped

30
What to Do When You’re Stumped

Even the most accomplished


mathematicians spend great swaths of


their careers pushed to the limits of
their abilities. But being stumped isn’t
cause for despair. Quite the opposite:
It’s usually a sign that you’re on the right
track. And continuing to fight with
problems you don’t think you can solve
is an essential aspect of learning

31 
Jump Right In
Stop worrying and take a stab at
it. Sure, there’s a chance that you
won’t land on an answer at first. But
putting in the effort could give you
ideas that lead to success down the
line—or prime your brain for solving
future problems. Cheat (Ethically)
In this context, cheating means
Simplify, approaching a novel problem with
Simplify, Simplify tools you already possess. Like a
In mathematics, this might entail video game’s “cheat code,” which al-
using smaller numbers, removing or lows you to skip over some tasks or
adding restrictions, and combining stages, math cheats can get you fur-
like terms by addition or subtrac- ther into a problem faster. Terence,
tion. In life, it could involve breaking for example, will sometimes take a
large problems into small chunks, curve and make it a straight line to
listing what you don’t understand, simplify a problem—a mathematical
and trying to take a bird’s-eye view tool called linearization.
of your tasks.
Try a New Approach
Build Yourself Up When Terence finds himself in a rut,
Recall the problems you do know sometimes it’s because he’s been
how to solve and see if you can looking at a problem and thinking, I
apply the knowledge you gained to must solve it this specific way. To get
the dilemma in front of you. You’ve past this mental dead end, he tries
done a lot thus far in your life, no to let go of his preconceived beliefs.
doubt. You’ve probably even solved He says that ideas formed in des-
problems similar to the one you’re peration can be your friend in these
currently facing. moments: “Sometimes they can jar
you out of one thought process and
Don’t Lament into a better one.”
Time Spent
The Danish physicist Niels Bohr Collaborate!
supposedly said that an expert is The more people working on a
someone “who has found out by his single problem, the better. May-
own painful experience all the mis- be one member of the team is an
takes that one can make in a very expert in an obscure mathematical
narrow field.” This concept helps field and another has read a piece of
Terence remind himself that there’s arcane-yet-relevant literature. Good!
no such thing as wasted time, so Terence also loves solving problems
long as you’re learning: The goal with collaborators because it height-
isn’t just to solve a problem quickly ens the joy of finding a solution.
or efficiently, but to enjoy yourself “When you and your collaborator are
and draw lessons from the process. both standing at the blackboard…
and everything checks out…that’s
a great experience [and] more fun
than if you’re working on your own.”

32
Puzzle
Time With
Terence
The group testing and counterfeit coin puzzles, explained by the man himself

little—by focusing on possible sce-

The Group Testing Puzzle


narios rather than individual patients.
One scenario might be that patients
24 and 58 are infected; you can rep-
resent this mathematically by a pair
(24,58), where you order the pair in

D
uring his class, Terence pres- then the infected patient must be in increasing order. Every pair of num-
ents some formidable logic the range 1–50. If the test is negative, bers from 1 to 100, with the second
puzzles. First, he asks you to the infected patient must instead be number larger than the first, is a pos-
identify a hypothetical infected per- in the range 51–100. Either way, you sible scenario that you have to either
son out of a population of a hundred. cut down the number of possibilities select or eliminate with your testing
Later, you must weigh twelve seem- by a factor of two. (see figure 1). As it turns out, the total
ingly identical coins to find the one But what if you knew that there number of scenarios is 4,950.
that’s counterfeit. In both cases, Ter- were two infected patients? If you test
ence gets to the answer in remarkably patients 1–50 and the test is negative, Figure 1
few steps. Here, in his own words, he then you can conclude that both in- (1,2), (1,3), (1,4), …,(1,100),
lays out all the logic—and explains fected patients are in the group of 51– (2,3), (2,4),…,(2,100),
how the math behind brain twisters 100. But if this test comes back posi- (3,4),…,(3,100),
.
like these can change the world. tive, it could be that both infected .
patients are in the range 1–50, but it .
The Problem could also be that one patient is in this (98, 99), (98, 100)
In my class, I showed you how to use range and the other is in the comple- (99, 100)
group testing to efficiently locate an mentary range 51–100. This is a more
infected patient from a pool of 100 by complicated conclusion, and it is not This is an intimidatingly large num-
mixing blood samples from a sub- as clear what the next step should be. ber, but the procedure is actually
group of this pool and testing that much the same as it was in the case
mixture. The first step is to test one- The Solution of one infected patient: You should
half of the patients—say, patients It becomes easier to see how to pro- always aim to design a test that, re-
1–50. If the blood test returns positive, ceed by transforming the problem a gardless of the outcome, is going to

33 
Terence uses one
hundred ping-pong
balls to explain
group testing

cut down the number of possible nal count. So this was not an optimal matics from the fields of probability
scenarios by a factor of about two. If, choice for the first test, as it did not theory and information theory—in
for instance, you test the group 1–50 divide the scenarios into two roughly which one assigns a probability to
as suggested above, then on a nega- equal halves. each potential scenario—and design
tive outcome you would only be left If you start off by testing the group tests that eliminate about half of the
with the scenarios below. 1–29, this will leave you with 2,485 scenarios (as measured by probabili-
scenarios when the test is negative ty) regardless of the outcome. Never-
Figure 2 and 2,465 scenarios if the test is pos- theless, the basic ideas are the same
(51,52), (51,53), (51, 54),…,(51,100), itive, so either way you are left with as in the simple case of having just
(52,53), (52,54),…,(52, 100), about half of the original scenarios. one infected patient. It is therefore
(53,54),…,(53, 100), By continuing in this fashion, you can important to work on these simpler
.
. isolate both infected patients using “toy” problems first, to gather the in-
. no more than fourteen blood tests, tuition and experience needed to
(98, 99), (98, 100) though the mathematics of verifying tackle the more complicated and re-
(99, 100) this are a little complicated and will alistic problems.
not be detailed here.
These turn out to be 1,225 in num- Further Reading
ber—much less than half of the origi- Real-Life Applications For an in-depth article on group test-
nal count. But if the outcome of the What if you don’t know the precise ing, I recommend the article “Pools of
group test was positive, you would be number of infected patients? Now a Blood” by Keith Ball, published by
left with 4,950 − 1,225 = 3,725, which lot more scenarios are in play. You'd Plus magazine in 2004.
is much larger than half of the origi- need to use more advanced mathe-

34
Puzzle Time with Terence

have to somehow use the weighings


much more efficiently.
The 12 Coins Puzzle There are many ways to solve this
puzzle. One of them involves a math-
ematical concept known as a matrix:
a rectangular array of numbers. To
The Problem make the puzzle more numerical,
You are given twelve identical-look- you will assign numbers to the twelve
ing coins; one is counterfeit, and the coins, from coin number 1 to coin
rest are genuine. All the genuine number 12; you will also label the
coins have the same weight, but the right side of the balance scale by +1
counterfeit coin is either heavier or and the left side by −1. To describe
lighter than the rest. Your task is to how you will weigh the coins, you will
determine which coin is counterfeit use a specific matrix, with three rows
and whether it is heavier or lighter. and twelve columns (see next page).
The only tool you are given for this is Let’s call this the measurement
a balance scale, which you can use matrix. The twelve columns of the
three times. How can you use these measurement matrix correspond to
three weighings to guarantee that the twelve coins, and the three rows
you will locate the counterfeit coin correspond to the three weighings.
and determine whether it is heavier The procedure for using the balance
or lighter? scale is as follows: For each weigh-
ing, look at the row corresponding to
The Solution that weighing. All the coins whose
At first glance it appears that you entry in this row is +1 are placed on
have far too few weighings to solve the right of the scale (which you la-
the problem. If, for instance, you tried beled +1); all the coins whose entry in
to test each coin separately, you this row is −1 are placed on the left of
would expect to need up to eleven the scale (which you labeled −1); and
weighings instead of three. So you the coins whose entry is 0 are set

35 
[ ]
MEASUREMENT MATRIX


+1 0 0 0 0 -1 -1 +1 -1 -1 +1 +1

0 +1 0 +1 -1 0 0 -1 -1 +1 -1 +1

0 0 +1 -1 -1 +1 -1 0 0 +1 +1 -1

aside. Thus, in the second weighing tor is also +1. Similarly, in the third
one places coins 2, 4, 10, and 12 on weighing, the coin is placed on the
the right scale, and coins 5, 8, 9, and left scale that is labeled −1, making
11 on the left scale, as directed by the that scale heavier; so the third and
second row of the measurement ma- final row of the outcome vector VECTOR 2

[]
trix. Note that each row has the same is −1, giving you the outcome vector
number of +1s as −1s, so each weigh- you see to the right. Note that this is 0
ing involves the same number of exactly the same as the fourth col- +1
coins on both sides. umn of the measurement matrix!
You record the outcome of the Now suppose instead that coin 4 -1
three weighings by a column of three is still counterfeit, but it is now lighter
numbers called the outcome vector. than the other coins. Then the out-
If a weighing shows that the coins on come of the weighings will all be re-
one side of the scale are heavier, you versed: Scales that were balanced in
record the label of that scale (+1 if it is the previous scenario will remain
the right side, −1 if it is the left side) balanced, but scales that tilted one
on the row of the vector correspond- way would now tilt the other. So the VECTOR 3

[]
ing to that weighing; if the scales are outcome vector is now the one you
balanced instead, you place a 0. For see to the right—the negation of the 0
instance, if in the first weighing the fourth column of the measurement -1
left scale is heavier, in the second matrix, in which all the +1s are re-
+1
weighing the right scale is heavier, placed with −1s and vice versa.
VECTOR 1 and in the third weighing the scales By pursuing this line of thought,

[]
are balanced, the outcome vector you can come up with the solution to
-1 would be the one you see to the left. the twelve coins puzzle. To recap:
+1 Now you can study what happens Perform the three weighings ac-
to this outcome vector in various cording to the measurement matrix
0
scenarios. Suppose that it is coin 4 given above and record the outcome
that is counterfeit, and it is heavier vector of these weighings.
than the others. In the first weighing, Compare the outcome vector
this coin is not used at all, because against the twelve columns of the
the fourth entry on the first row of the matrix. If there is a match, the column
measurement matrix is 0; so the first will correspond to the counterfeit
row of the outcome vector is 0. In the coin, which will be heavier than the
second weighing, the coin is placed other coins.
on the right scale that is labeled +1, If the outcome vector matches the
which makes that scale heavier; so negation of one of the twelve col-
the second row of the outcome vec- umns, then that column will corre-

36
Puzzle Time with Terence

spond to the counterfeit coin, which pulse of radio waves through the pa-
VECTOR 4 will be lighter than the other coins. tient’s body, measuring the resulting

[]
For instance, if the outcome vec- changes in the magnetic field. By ex-
-1 tor is the one you see to the left, this ecuting a sequence of such pulses,
+1 does not match any of the twelve col- the scanner obtains a sequence of
umns of the matrix—but it matches measurements of the internal struc-
-1
the negation of column 11, so you can ture of the patient. It used to be that
conclude that it is coin 11 that is in order to get a high-resolution im-
counterfeit, and that it is lighter than age of the patient, many such pulses
the rest. Note that all twelve columns were required, and a patient often
of the matrix are different from each had to stay immobile in the scanner
other, as well as from the flipped ver- for several minutes—with certain
sions of themselves, so this proce- scans taking more than an hour. In
dure is completely unambiguous. some cases, particularly when scan-
This solves the puzzle! ning children, the patient had to be
The mathematical study of anesthetized to get a good scan.
matrices and vectors is known as In 2004, I met with Emmanuel Can-
linear algebra. dès and Justin Romberg, two mathe-
maticians who were experimenting
Challenge with a new mathematical technique to
Can you devise a similar procedure reconstruct a usable MRI image using
to identify one counterfeit coin a much shorter scan. To their surprise,
“One can determine amongst three coins rather than when applying this technique to stan-
the location of an twelve—using only two weighings? dard test images, the reconstruction
object using only method worked extraordinarily well,
Takeaways yielding almost perfect images from a
a small number This puzzle shows that by using a bit much smaller set of measurements
of measurements.” of math, one can determine the loca- than what was traditionally used. It
tion of an object using only a small was as if they had discovered a way to
number of measurements. This is cut down the number of weighings
—TERENCE
somewhat surprising at first, since needed to locate a counterfeit coin
there are twelve possible locations from twelve to three.
for this coin and one might have When they first told me about this
imagined that twelve weighings discovery, I was extremely skeptical.
would have been needed to test each In fact, after they showed me their re-
location separately. By using a care- sults, I spent an entire evening trying
fully chosen measurement matrix, to prove that what they were claiming
one can significantly cut down the was mathematically impossible. But
number of weighings required. after several hours, I realized their
method could work. An MRI scan can
Real-Life Applications be described mathematically using a
Magnetic resonance imaging (MRI) is measurement matrix that is much
a medical imaging technique used to larger and more complicated than
scan patients for abnormal features the one used to solve the twelve
such as tumors or lesions. An MRI coins puzzle, but it is still a matrix
scanner immerses the patient in a that can be studied by the mathe-
magnetic field and then sends a matics of linear algebra. The col-

37 
umns of this matrix turn out to be required risky anesthesia before a
very different from each other, and scan no longer need it. Most of my
this is the key to solving the MRI work has been purely theoretical, so
scanning problem, much as it is in it’s been deeply satisfying to know that
the twelve coins puzzle (although the I helped contribute to a field that has
precise meaning of what “very differ- real-world impact on everyday people.
ent” means is much more technical). “A scan that may
After showing my preliminary cal- Further Reading have taken three
culations to Emmanuel and Justin, we For some recollections of my role in
or four minutes
worked together to refine the results the story of compressed sensing, see
and eventually published one of the post 225 in the mathoverflow.net might now only
pioneering papers in the field now thread titled, “Examples of unexpect- take twenty seconds.”
known as compressed sensing. Using ed mathematical images.” My paper
these methods, modern MRI ma- with Candès and Romberg (“Robust
chines significantly cut down the time Uncertainty Principles: Exact Signal —TERENCE
needed to obtain a medical image. A Reconstruction from Highly Incom-
scan that may have taken three or four plete Frequency Information”) can be
minutes might now only take twenty found on various scholarly websites.
seconds, and patients who may have

38
Assignments
Test your newfound


mathematical prowess with
three deceptively
difficult word problems

39 
Assignment 1

Th e T a l e n t S h o w

T
his year, creating the lineup for Boulderwood High
School’s talent show is proving to be a major head-
ache. Seven students—Satomi, Louis, Jeff, Viraj,
Teresa, Marianne, and Norris—all want to sing various
versions of the same pop song in seven consecutive slots,
and they’ve got some conditions that you, the beleaguered
drama teacher, must abide by. Here’s what you know so far:

• Jeff must perform immediately before Viraj,


so as to intimidate him
• Jeff and Norris are coming from an audition; Jeff’s
audition is before Norris’s, so Norris will perform after him
• Satomi and Teresa loathe one another and refuse
to perform in consecutive slots; in fact, they’ve requested
that two performances take place between them

PROBLEM #1 Case I:

SLOT 1 2 3 4 5 6 7
If Satomi was the second to perform, who was the
third performer in the ceremony?
PERFORMER S J V T N
A. Louis
B. Jeff
C. Viraj Case II:
D. Teresa
SLOT 1 2 3 4 5 6 7
E. Marianne
F. Norris
PERFORMER S J V T N

THE SOLUTION
In either scenario, the third performer is Jeff—so the
First, make a table: answer to the problem is B.

PROBLEM #2
SLOT 1 2 3 4 5 6 7

PERFORMER
Use the blank table to work out which of the following
slots Norris is not able to perform in.

Since there must be two spots between Satomi and Teresa, A. Second
the next step looks like this: B. Third
C. Fourth
D. Fifth
SLOT 1 2 3 4 5 6 7
E. Sixth
PERFORMER S T
THE SOLUTION

You know that Jeff and Viraj are performing consecutively You already know that Norris must follow both Jeff and Viraj.
with Norris following them. Thus, Jeff and Viraj must take The earliest Norris can perform is when Jeff is first and Viraj
up the third and fourth slots. Norris can be either in the sixth is second, which puts Norris at third. Thus, Norris cannot
or seventh slot. be the second performer. The answer is A.

40
Assignment 2

The B u s S t o p

THE PROBLEM

D
avid’s two aunts want to see him every weekend, but
they live on opposite sides of town. To appease them,
David tells both aunts that he’ll head to the bus stop
nearest to his apartment every Saturday at a random time and
board the first bus that arrives. If it happens to be an eastbound
bus, he’ll see Aunt Sarah. If it happens to be a westbound bus,
he’ll see his Aunt Maura. Both aunts agree to the plan because
they know both eastbound and westbound buses arrive every
fifteen minutes.

But after a few months of visiting under this arrangement, Aunt


Maura is crestfallen: David has only visited her around one out
of four Saturdays. How could this be? (Hint: the buses are al-
ways on time.)

THE SOLUTION

Both buses may come every fifteen minutes, but that doesn’t
mean the likelihood of David getting on a westbound bus is the
same as the likelihood of his getting on an eastbound bus.

Suppose eastbound buses come on the hour, the 15, the 30, Since David arrives at a random time every hour, his chance of
and the 45, but westbound buses come on the 4, 19, 34, and 49. getting on the westbound bus will always be 16 out of 60 or
This means that, in any given hour, there’s only 16 minutes in around 25 percent of the time. That’s the answer.
which the westbound bus will be the next bus to arrive. If David
arrives between 9:00–9:04, 9:15–9:19, 9:30–9:34, or 9:45–9:49, Aunt Maura may be upset with this arrangement—but she’s
he’ll board the westbound bus. Otherwise, he’ll get on the east- lucky her bus isn’t scheduled to arrive one minute after the
bound bus. The bus with the longer wait is the bus he’s more eastbound bus or David would only visit her a handful of times
likely to catch. each year!

41 
Assignment 3

The Bicycle Wheel

THE PROBLEM

I
magine you have a brand-new front tire on your bicycle.
You adore it, and your excitement blossoms into visions of
smooth rides down long roads into the distant future. Then
your fantasy is cut short. Your neighbor—nay, your nemesis—
Winston pulls up. He has the same bicycle that you do, with the
same size front wheel. He also has a new front tire.

Winston smugly remarks that the circumference of his new tire


is 12 millimeters longer than the circumference of your new tire.
Then he speeds off before you get a chance to measure his tire.
Now you’re really fuming. You’re determined to figure out the
difference between his tire and your own.

Using the knowledge that the total circumference of


Winston’s tire is 12 millimeters longer than yours, how much
farther from the center of the wheel does his tire extend
compared with your front tire? (Hint: You don’t need to know
the precise circumference of either tire to solve this problem.)

THE SOLUTION

Let’s say the tire’s radius—or an imaginary straight line running


from the center of the wheel to the tire’s outer edge—is R, mea-
sured in millimeters. You already know that the length around
your entire wheel is like the circumference of a circle. And so Let’s call the distance you’re looking for D. The radius of the
you use the standard circumference equation to find the length circle that Winston’s tire encompasses is then R+D. So the
of your tire: length of his tire must be its circumference, or: 2 × ∏ × (R+D).
But you already know his tire is 2 × ∏ × R + 12.
Circumference (your tire) = 2 × ∏ × R
Hooray, there’s an equation for this situation:
Winston’s tire is 12 millimeters longer:
2 × ∏ × R + 12 = 2 × ∏ × (R+D)
Winston’s tire = 2 × ∏× R + 12
Fortunately, the 2 ×∏ × R drops out on both sides, and you get:
If you removed both tires from the bicycles and laid them di-
rectly on top of each other, how much farther out does Win- D = 6 ÷∏
ston’s tire reach past yours?
Since ∏ is about 3, D is about 2 millimeters! Or, to be exact, D
is 1.91 millimeters.

42
Math Apps Khan Academy
Khan Academy’s free lesson
plans start easy and get
progressively more complex.
The app can help you
brush up on mathematical
concepts—from basic geome-
try to multivariable calculus—
while learning entirely new
ways to solve problems.

Sumaze!
Sumaze! is an educa-
tional puzzle for children
and adults that can help
you solve problems like
a pro. With beginner and
advanced versions, the
If you’re

game explores arithmetic,


looking to inequalities, logarithms,
sharpen your powers, primes, and more.
math skills,
these mobile
marvels
can help

Math | Riddles
and Puzzles
Train your mathematical brain
by solving geometric
and number-based puzzles
in this free, minimalist game.
Featuring a hundred levels,
the app can get you into the
spirit of problem-solving.

43 
Recommended Reading
To nurture your passion for math, logic, and problem-solving,

try adding these Terence-approved books to your shelf

How Not to Be Wrong: Mathematics: Against the Gods: Solving Mathematical


The Power of A Very Short The Remarkable Problems: A Personal
Mathematical Thinking Introduction Story of Risk Perspective
BY JORDAN ELLENBERG BY T I M OT H Y G OW E R S BY PETER BERNSTEIN B Y T E R E N C E TA O

Terence says: Terence says: Terence says: Terence says:


“A very entertaining and “The author is one of the “This is a fascinating and “This is my own book
accessible read, giving most eminent mathemati- well researched recount- on problem-solving,
many real-world examples cians in the world, but he ing of the ways humanity first written when
of how mathematical made great efforts to keep has managed uncertainty I was fifteen based on
thinking can explain a this book as nontechnical over the centuries, and my experience in
complex world and as possible. It should be how the mathematics mathematics competi-
prevent one from being accessible to anyone with of probability theory tions. I revised it when
seriously misled by a high school education and statistics gave rise I was thirty to add a
incorrect reasoning.” in mathematics.” to modern finance and slightly more mature
risk management.” perspective.”

44
What Math Can
Teach You About Life
Beyond the halls of academia, math can help you find

connections, gain insight, and expand your sense of what’s


possible. Here are some life lessons Terence has learned since
attending his first university-level math course at age nine

#1 #2 #4
You Can’t Getting Stuck There’s Power
Predict Can Be a in Numbers
Your Legacy Good Thing Mathematics might seem like
Your ideas could have a major When Terence is stuck on a solitary work, but collaboration
impact in your lifetime, or they problem, he knows he’s pushing is key to success. The best teams,
could influence scholars hundreds himself to the edge of his abilities. Terence says, include an optimist
of years from now. (We’re still Success, to him, means ending who can serve as an endless
using concepts developed in up in a better place than where font of ideas and a pessimist who
ancient Egypt more than two he started. After all, incremental can shoot down the untenable
thousand years ago.) But these progress is still progress. ones. He also recommends
considerations can be distracting, divvying up your workload
so don’t fixate on fame or according to interest and skill
posterity. Beginning the work levels, rather than aiming for
is what’s most important. #3 perfect parity.
Know When
to Let Go
When solving a specific problem
becomes an obsession—and other #5
pressing problems are falling by the Share Your
wayside—sometimes Terence is Successes
forced to admit defeat. In those Solving problems in the company
moments, he aims for acceptance. of others? Fun, rewarding, cathartic!
“We all have to learn to sometimes Solving problems alone? Not so
take a breath, step back, and much. Being part of a team isn’t just
admit that some problems are out helpful in the nitty-gritty of coming
of one’s reach,” he says. up with solutions; it also makes
the entire process more enjoyable.

45 
46
Credits
Assorted stills
Courtesy Alamy; the American Mathematical Society;
matematicasVisuales.com; Getty Images; the International
Mathematical Union; Graeme Mitchell/Redux; Sputnik/
Science Photo Library; Olena Shmahalo/Quanta
Magazine; Mas Subramanian/Oregon State University;
the University of California, Los Angeles; the Master and
Fellows of Trinity College, Cambridge, Add.MS.b.175

Assorted footage
Courtesy Australian Broadcasting Corporation
Library Sales; the Australian Consulate-General Los
Angeles; Pond5; The Colbert Report/ViacomCBS;
Simons Foundation; Park City Mathematics Institute/
Institute for Advanced Study; the University of
California, Los Angeles

You might also like