Upload
cassidy-grandin
View
216
Download
2
Tags:
Embed Size (px)
Citation preview
Basic Juggling PatternsAxioms:1. The juggler must juggle at a constant rhythm.2. Only one throw may occur on each beat of the pattern.3. Throws on odd beats must be made from the right hand; throws on
even beats from the left hand.4. The pattern juggled must be periodic. It must repeat. It must repeat.5. All balls must be thrown to the same height.
1 32 4 5 76 8 9 ∙∙∙
dots represent
beats
arcs represent throws
R L R L L LR R R
Here, all throws are 3-throws.
Example: basic 3-ball pattern (illustrated by a juggling diagram)
1 32 4 5 76 8 9 ∙∙∙
Basic 3-ball Pattern
Basic 4-ball Pattern
Balls land in the opposite hand
from which they were thrown.
1 32 4 5 76 8 9 ∙∙∙
R L R L L LR R R
R L R L L LR R R
All throws are 3-throws.
Balls land in the same hand from which they were
thrown.
All throws are 4-throws.
The Basic -ball PatternsIf is odd:• Each throw lands in the opposite
hand from which it was thrown.• These are called cascade patterns.
If is even:• Each throw lands in the same hand
from which it was thrown.• These are called fountain patterns.
Let’s change things up a bit…Axioms:1. The juggler must juggle at a constant rhythm.2. Only one throw may occur on each beat of the pattern.3. Throws on even beats must be made from the right hand; throws on
odd beats from the left hand.4. The pattern juggled must be periodic. It must repeat. It must repeat.5. All balls must be thrown to the same height.
What if we allow throws of different heights?
Axioms 1-4 describe the simple juggling patterns.
ExampleWe can make a 4-throw, then a 4-throw, then a 1-throw, and repeat:
1 32 4 5 76 8 9 ∙∙∙
44
1
4 4
1
4 4
1
We call this pattern 4, 4, 1 (often written 441).
This is an example of a juggling sequence: a (finite) sequence of nonnegative integers corresponding to a simple juggling pattern.
The sequence 501 is a juggling sequence:
1 32 4 5 76 8 9 ∙∙∙
15
15 5
0 0 0
This sequence is juggled with only two balls!
The period of this sequence is 3.
This sequence is minimal, since it has the smallest period among all juggling sequence that represent this pattern.
1
10 11 12
5
0 1
Is every nonnegative integer sequence a juggling sequence?
No.Consider the sequence 54:
A 5-throw followed by a 4-throw results in a collision.
In general, an -throw followed by an -throw results in a collision.
5 4collision!
The sequence 311 is not a juggling sequence.
3 11 3 1 31 1 1 ∙∙∙∙∙∙
How can we tell if a sequence is a juggling sequence?Draw its juggling diagram and check that:a. At each dot, either exactly one arch ends and one
starts, or no arches end and start; andb. All dots with no arches correspond to 0-throws.
Examples of Juggling Sequences2-balls: 31, 312, 411, 330, 501
3-balls: 441, 531, 51, 4413, 45141
4-balls: 5551, 53, 534, 633, 71
5-balls: 66661, 744, 75751
4 15 4 1 54 1 4 ∙∙∙1 4 5
Transforming Juggling SequencesStart with the basic 4-ball pattern:
Concentrate on the landing sites of two throws. Now swap them!• The first 4-throw will land a beat later, making it a 5-throw.• The second 4-throw will land a beat earlier, making it a 3-throw.
This is the swap operation (also called a “site swap”).
4 44 4 4 44 4 45 3
Example: Swap the second and third elements of 4413.
4 14 3 4 14 3 ∙∙∙∙∙∙
4 41 3 4 41 3 ∙∙∙∙∙∙
We can’t just interchange the 4 and 1, because 4143 is not a juggling sequence.
Example: Swap the second and third elements of 4413.
4 14 3 4 14 3 ∙∙∙∙∙∙
4 32 3 4 32 3 ∙∙∙∙∙∙
Interchange the landing positions of the second and third throws:
4 4 1 3
4 2 3 3
4 4 1 3
4 2 3 3
‒1+1
‒1+1
Example: Swap the second and third elements of 4413.
4 14 3 4 14 3 ∙∙∙∙∙∙
4 32 3 4 32 3 ∙∙∙∙∙∙
Interchange the landing positions of the second and third throws:
4 4 1 3
4 2 3 3
4 4 1 3
4 2 3 3
‒1+1
‒1+1
The swap operation is its own inverse.
?How do we know if a given sequence is a juggling
sequence?For instance, is 6831445 a jugglable sequence?
The Transformation Theorem
Theorem: Any juggling sequence can be transformed into a constant juggling sequence using swaps. Conversely, any juggling sequence can be constructed from the constant juggling sequence using swaps.
Application: Let be any finite sequence of nonnegative integers. is a juggling sequence if and only if it can be transformed to a constant sequence by swaps.
Lemma: Let be a finite sequence of nonnegative integers. Let be the sequence that results from applying a swap to . Then is a juggling sequence if and only if is a juggling sequence.
Why? If is a juggling sequence, then applying a swap to will not cause a collision.
swap
The Flattening AlgorithmLet be a sequence of nonnegative integers:
The flattening algorithm transforms into a new sequence as follows:1. If is a constant sequence, stop and output this
sequence. Otherwise,2. use cyclic shifts to arrange the elements of such that a
maximum integer in , say , is at position 1 and a non-maximum integer in , say , is at position 2. If , stop and output this sequence. Otherwise,
3. perform a site swap of positions 1 and 2. Redefine to be the resulting sequence, and return to step 1.
444
The Flattening AlgorithmExample: start with the sequence 642
Observe: The Flattening Algorithm can be used to decide whether or not a sequence is a juggling sequence:• If the input is a -ball juggling sequence with period , this algorithm
outputs the basic -ball sequence of period .• If the input is not a juggling sequence, the algorithm outputs a
sequence of the form .This proves the Transformation Theorem.
642 552 525 345 534
Example: start with the sequence 514
swap shift swap shift swap jugglable!
also jugglable!
514 244 424 334 433swap shift swap shift not jugglable
also not jugglable
How many balls are required to juggle a given sequence?
Proof: Let be a juggling sequence.
Apply the Flattening Algorithm to , obtaining the constant -ball sequence for some .
The swap operation preserves both the number of balls and the average of a juggling sequence.
The average of the constant -ball sequence is , and this sequence requires balls.
The Average Theorem: The number of balls necessary to juggle a juggling sequence is the average of the numbers in the sequence.
𝑆 :𝑎1 ,𝑎2 ,…,𝑎𝑝
𝑏 ,𝑏 ,…,𝑏
Flattening Algorithm
Thus, sequence also has average and requires balls.
534 441 7575175314-ball
pattern
3523-ball
pattern4-ball
pattern5-ball
patternnot
jugglable!
Examples:
Corollary: A juggling sequence must have an integer average.
How many balls are required to juggle a given sequence?
The Average Theorem: The number of balls necessary to juggle a juggling sequence is the average of the numbers in the sequence.
Interlude: Modular ArithmeticIn arithmetic modulo n, we reduce numbers to their remainder after division by n.
7 modulo 5 is equal to 2 9 modulo 4 equals 17 (mod 5) = 2 9 (mod 4) = 1
Examples:
You frequently use modular arithmetic when you think about time.
What time is 4 hours after 10:00?10 + 4 (mod 12) = 2
so it will be 2:00
12
6
39
How do we know if a given sequence is a juggling sequence?
Theorem: Let , be a sequence of nonnegative integers and let . Then, is a juggling sequence if and only if the function defined
is a permutation of the set .
Observe: The ball thrown on beat lands on beat .
Theorem: Let , be a sequence of nonnegative integers and let . Then, is a juggling sequence if and only if the function defined
is a permutation of the set .
Example: Show 534 is a juggling sequence.
This is a permutation of , so 534 is a juggling sequence.
Let . The period is 3, so . Note .
Then
Theorem: Let , be a sequence of nonnegative integers and let . Then, is a juggling sequence if and only if the function defined
is a permutation of the set .
Example: Is 8587 a valid juggling sequence?
This is not a permutation of , so 8587 is not a juggling sequence.
Let . Then and .
Then
Theorem: Let , be a sequence of nonnegative integers and let . Then, is a juggling sequence if and only if the function defined
is a permutation of the set .
Proof: The function is a permutation if and only if the vector
contains all of the integers from to .
Suppose we apply swaps to the sequence to obtain sequence with corresponding vector . Then contains all of the elements of if and only if does.
Therefore, given a sequence , apply the flattening algorithm to obtain . Then is a juggling sequence if and only if is a constant sequence, if and only if contains all of the elements of .
?How many ways are
there to juggle?(Consider the basic -ball sequences for each integer .)
Infinitely many.
How many -ball juggling sequences are there with period ?
How many -ball juggling sequences are there of period ?
: There is one unique sequence, namely, 1.
: Starting with the sequence 22, we can perform site swaps to obtain two other sequences, 31 and 40 (unique up to cyclic shifts).
2 2 3 1 4 0
: Starting with 333 and performing site swaps, we (eventually) obtain 13 sequences (unique up to cyclic shifts).
1
How many -ball juggling sequences are there of period ?
: Starting with 333 and performing site swaps, we (eventually) obtain 13 sequences (unique up to cyclic shifts).
090
810
027
117
162
522
360
540
1350
63
144
324
333
Is there a better way to count juggling sequences?
Suppose we have a large number of each of the following juggling cards:
These cards can be used to construct all juggling sequences that are juggled with at most three balls.
4 14 4 4 41 4 1 ∙∙∙∙∙∙
Example: juggling sequence 441
4 14 4 4 41 4 1
juggling diagram
constructed with juggling
cards
Counting Juggling SequencesWith many copies of these four cards, we can construct any (not-necessarily minimal) juggling sequences that is juggled with at most three balls.
0-throwball that lands is the one that
was most recently thrown
ball that lands is the one that was second-most recently thrown
ball that lands is the one that was least recently thrown
Similarly, with many copies of distinct cards, we can construct any (not-necessarily minimal) juggling sequence that is juggled with at most balls.
Lemma: The number of all juggling sequences of period , juggled with at most balls, is:
Counting Juggling SequencesWith many copies of these four cards, we can construct any (not-necessarily minimal) juggling sequences that is juggled with at most three balls.
Lemma: The number of all juggling sequences of period , juggled with at most balls, is:
It follows that:Lemma: The number of all -ball juggling sequences of period is:
However, we have counted each cyclic permutation of every sequence, as well as non-minimal sequences.
Counting Juggling Sequences
How can we count the minimal -ball juggling sequences of period , not counting cyclic
permutations of the same sequence as distinct?
Counting Juggling SequencesWe know: The number of all (not necessarily minimal) -ball juggling sequences of period is:
Definition: Let be the number of minimal -ball juggling sequence of period , not counting cyclic permutations as distinct.
Observe: If divides , then each minimal juggling sequence of period gives rise to exactly sequences of period . Thus,
Question: How can we solve for ?
Interlude: Möbius InversionTheorem: If are functions such that
then
where denotes the Möbius function:
𝑆 (𝑏 ,𝑝 )=∑𝑑∨𝑝
𝑑𝑀 (𝑏 ,𝑑 ) .Observe: This allows us to “invert”
Counting Juggling SequencesTheorem: The number of all minimal -ball juggling sequences of period , with , is
if cyclic permutations of juggling sequences are not counted as distinct. Here, is the Möbius function.
Proof: The expression for follows from
and Möbius inversion.
Counting Juggling Sequences
Counts of minimal -ball juggling sequences for small periods :
𝑀 (𝑏 ,1 )=1𝑀 (𝑏 ,2 )=𝑏𝑀 (𝑏 ,3 )=𝑏 (𝑏+1 )𝑀 (𝑏 ,4 )=𝑏 (𝑏2+𝑏+1 )𝑀 (𝑏 ,5 )=𝑏 (𝑏3+2𝑏2+2𝑏+1 )
Juggling Simulators
Many software programs are available to simulate juggling:• jugglinglab.sourceforge.net• www.siteswap.net/JsJuggle.html• www.juggloid.com