About Juggling by Numbers
Jugglers write their tricks as numbers. In this notation, called siteswap, the hands throw in turn, one throw on each beat, and each digit says how many beats later that ball is thrown again. A 3 goes up and comes down in time to be thrown three beats later; a 5 goes higher; a 1 is a quick flip across; a 2 is usually just held for a moment; a 0 is a beat with an empty hand. Odd numbers cross to the other hand and even numbers come back to the same hand. Juggling three balls in the plain way is 3, 3, 3 ... so it is written 3; 531 is a well-known three-ball trick, 97531 a five-ball one.
The surprise is how much the numbers tell you. The number of balls is always the average of the digits (531: 9 ÷ 3 = 3 balls), and a few lines of arithmetic say whether any string of digits can be juggled at all.
JUGGLE: type a pattern (or pick one) and press JUGGLE. The juggler throws it with real flight times: on each beat one hand throws (except on a 0, and a 2 is held unless you untick it), and each ball flies on a true ballistic path under gravity (9.81 m/s², no air) and lands in time for its next throw. Beat sets the time between throws, Hands hold how much of each hand's two-beat cycle it spends carrying a ball; together they decide every flight time, and the height follows from it (a ball in the air for F seconds rises about g F²/8). The view pulls back to fit the highest throw. Shannon's theorem is worked out with this page's numbers for patterns where every throw is the same; for mixed patterns it still holds with average times.
CHECK: type any digits. Each throw t at beat i lands at beat i + t; with the pattern repeating, take that beat's place in the period (the remainder after dividing by the length). The pattern can be juggled exactly when no two throws land on the same beat. If they do, two balls arrive in one hand at once, and the drawing shows it in red. The arrows between the digits are site swaps: they swap where two neighbouring throws land, which turns one good pattern into another with the same number of balls.
LADDER: the top drawing is a ladder diagram, time running left to right, the two hands as the rails, each throw an arc to the beat where it is next thrown. Below is the state diagram: a state lists the coming beats and which of them already have a ball due to land (filled circles). Each throw moves to a new state, and every walk that comes back to where it started is a pattern you can juggle. Build one with the throw buttons. Patterns that pass through the "ground state" (all the balls due as soon as possible, as in the plain cascade, or the fountain for an even number of balls) can be started straight from that basic pattern; the others, such as 51, need a different start.
FIND: lists every pattern with the number of balls and the length you choose, and counts them. Rotations of one pattern (531, 315, 153) are the same trick and are listed once, written with the largest digit first; repeats such as 33 for 3 are left out. A small dot marks the ground-state patterns. Click one to juggle it.
THE STORY
The notation was worked out more than once. Paul Klimek devised it in Santa Cruz, California, in 1981. In 1985 it was developed independently by Bruce Tiemann, Joel David Hamkins and Bengt Magnusson, undergraduates at the California Institute of Technology, and by Mike Day, Colin Wright and Adam Chalcraft in Cambridge, England, which is why it is sometimes called Cambridge notation. Tiemann and Magnusson described it in The Physics Teacher in 1989. Jugglers soon found new tricks by doing the arithmetic first and learning the throws afterwards, and the computer programs that animate patterns (such as Juggling Lab) are built on it.
Claude Shannon, the founder of information theory, juggled and built juggling machines. In an essay, "Scientific Aspects of Juggling", written around 1981 and printed in his collected papers in 1993, he gave the juggling theorem: (F + D) × H = (V + D) × N, where F is the time a ball is in the air, D the time it spends in a hand, V the time a hand is empty, H the number of hands and N the number of balls.
In 1994 Joe Buhler, David Eisenbud, Ron Graham and Colin Wright counted the patterns ("Juggling Drops and Descents", American Mathematical Monthly): there are bn sequences of n throws with fewer than b balls, so exactly (b + 1)n − bn with b balls, counting each rotation as a different sequence. FIND counts them all and compares.
HOW IT WORKS
Why the average is the number of balls. A throw of t keeps its ball busy (in the air, then in a hand) for t beats, until its next throw. With b balls, every beat has exactly b balls busy, so over the n beats of one period the throws must add up to b × n beats of busy time: the sum of the digits is b × n, and the average is b. The test for whether it can be juggled is the same bookkeeping: (i + t) mod n must give every beat once, so each hand catches one ball at a time. If the average isn't a whole number, some beat is bound to get two balls.
Shannon: each hand's cycle is two beats, which is V + D. A ball in a pattern where every throw is N spends N beats between throws, F + D. With two hands, (F + D) × 2 = N × 2 beats = (V + D) × N.
The juggler: beat i belongs to the left hand when i is even and the right when it is odd. A throw of t at beat i is caught t beats later less the hand's hold time, so its flight time is F = t × beat − hold; from F the page finds the speed it must leave the hand with, and the ball follows the parabola exactly. On this page a ball always gets at least a quarter of a beat in the air, so the hand catching a quick 1 holds it for less time (a choice of the model, not a law). Each ball is coloured so you can follow it through the trick.
Simplifications. This is an idealised juggler: the two hands throw strictly in turn (the patterns called asynchronous; the notation also has forms for throwing with both hands at once and for throwing two balls from one hand, which this page doesn't do), every throw leaves from the same spot and is caught at the same spot, the hands move round the same loop every time, there is no air resistance or spin, and the timing is perfect. A real juggler varies all of these, and needs a start and an end to a trick that the endless pattern leaves out. The highest throw is f (15).
FURTHER WATCHING AND READING