Combinatorial Choreography

Year: 2012 Authors: Tom Verhoeff

Core claim

Carefully designed choreography can embody combinatorial structures and reveal both mathematical questions and educational possibilities.

Topics

permutations, combinations, Hamilton path, kinesthetic learning

Domains

combinatorics, graph theory, permutation generation, Hamiltonian paths, dance choreography, performance design, physical modeling

Methods

workshop exploration, neighbor swaps, cyclic rotations, paper-based design

Media

persons, physical objects, paper, stage performance

Paper text

The text below is the locally extracted OCR/Markdown version of the paper. Raw PDF files remain local and are not published here.

Bridges 2012: Mathematics, Music, Art, Architecture, Culture

Combinatorial Choreography

Tom Verhoeff Department of Mathematics and Computer Science Eindhoven University of Technology Den Dolech 2, 5612 AZ Eindhoven, The Netherlands T.Verhoeff@tue.nl

Abstract

Together with the workshop participants, we investigate various ways to express combinatorial structures through persons and/or physical objects in motion. For instance, the six permutations of three elements can be presented by three persons in a dance. Each person represents an element. They stand next to each other, and, five times, two appropriately selected neighbors swap places. Each swap can be artistically executed. Alternatively, the three persons can hold three physical objects to represent the three elements, and they exchange objects to present the six permutations.

This is a discovery workshop, where I will guide you through some of the combinatorial structures that I have investigated. Even simple combinatorial structures give rise to interesting mathematical questions when trying to present them through persons and physical objects. The design of a choreography can lead to surprising insights.

There will also be room to work on designing your own choreography for a combinatorial structure of your choice. Finally, we reflect on possible applications in education.

Introduction

The International Mathematical Olympiad (IMO, see [5]) is the premier annual contest in mathematics for high school students from all over the world. For the contestants, the IMO typically takes more than a week, including an opening ceremony, two competition days, various social and cultural events, and an awards ceremony. The opening ceremony involves a flag parade, where all delegations present themselves on stage. During this parade, some delegations just bow, others toss items into the audience, and occasionally a little act is performed. During the opening ceremony of IMO 2009, I started thinking about a mathematically inspired act for the Dutch team at a future IMO. This workshop derives from those thoughts.

An IMO delegation consists of (at most) six contestants and two accompanying adults. Only the deputy leader is present in the flag parade, because the team leader—being informed about the contest problem—is quarantined. What can a team of six contestants act out on stage? An obvious idea is to let the contestants show something mathematical.

Classical mathematics is concerned with numbers and shapes. More modern entities studied in mathematics are so-called structures. A simple and well-known structure is the sequence, consisting of items having a specific linear order, with a designated first and last item. The IMO contestants could stand next to each other, in all possible orders. Gracefully transitioning from one order to another constitutes a dance.

After this introduction, the workshop participants will be exploring some structures, first by physically performing them in small groups, and later also on paper. We conclude by discussing possible applications in education. Workshop material and further details can be found at [9].

607

Verhoeff

Permutations

The participants break up in groups of four or five persons. The first assignment for each group is to find an elegant way to have three persons stand in line and take on all possible orders. Once a satisfactory ‘dance’ has been worked out for three persons, the next question is how to do this with four or five persons.

Each possible order to place objects next to each other is called a permutation of the objects. There are (pronounced as “ factorial”) permutations of objects. Thus, zero and one object are not interesting, because there is just one order. With two objects (say, and ), there are two possible orders ( and ), but the “dance” is trivial, consisting of just one swap of places. Note that such a swap still can be executed in many ways; we shall explore that during the workshop, but not here.

With more objects it becomes more interesting. The six permutations of three objects , , and are (in alphabetic order): , , , , , and . In a choreography, one is concerned with the transition from one state to the next state. Let us have a look at those transitions in the preceding sequence. The first, third, and fifth transition are just neighbor swaps, where two adjacent dancers (objects) trade places. The second and fourth transition are cyclic rotations: the person on the far right moves all the way to the left, or the person on the far left moves (back) to the right. When changing the order of the permutations to , , , , , , all transitions are neighbor swaps, as illustrated below (permutations are shown vertically and each neighbor swap is marked by ):

Note that one further neighbor swap of at the end would return all dancers to their starting positions. It is well known that, in general, the permutations of objects can be ordered such that all transitions are neighbor swaps, e.g. via the so-called Steinhaus–Johnson–Trotter algorithm [6, 8, 11]. In fact, 17th-century English change ringers already applied this algorithm. Another algorithm, obtaining a different order for , is given in [2]. Both these algorithms are recursive, that is, the construction of an order of the permutations for objects involves application of the same algorithm on fewer than objects (if is not too small). Especially the Steinhaus–Johnson–Trotter algorithm is easy to memorize and apply by dancers.

In the workshop, we will explore the case on paper. Figure 1 shows the graph whose nodes are the permutations of four objects and whose edges connect permutations that differ by a single neighbor swap. This graph is known as a permutohedron. It is not so easy to find, in this rendering of the graph, a traversal that visits each permutation exactly once (see Fig. 3). Such a traversal is called a Hamilton path of the graph. In general, it is easy to check whether a give path on a graph is a Hamilton path, but it is hard (in fact, NP complete [3, pp.199–200]) to find out whether a graph admits a Hamilton path, and if it does, to exhibit such a path. The permutohedron of order 4 can be rendered in a nicer way, making it easier to find Hamilton paths. We do not show it here so as not to spoil the fun in the workshop; see [9] for details. Note that finding a Hamilton path can be considered a special case of the well-known Travelling Salesman Problem (TSP).

Unfortunately, the number of ways to place six items in a sequence is , a number that is too large to handle conveniently in the ten seconds of stage time at an IMO. It would take twelve minutes to perform at one permutation per second. What other combinatorial structures can six dancers exhibit?

Combinatorial Choreography

Combinations

If some of the dancers are indistinguishable, then they can present structures that are known as combinations. For instance, if two dancers are dressed in black, and two in white, then there are possible sequences of these two colors:

img-0.jpeg

Each combination amounts to selecting a 2-element subset from a 4-element set: e.g., (the positions of) the two white dancers among the four dancers. In the diagram above, two combinations that differ by a neighbor swap have been joined by a line segment. From the resulting adjacency graph, it is obvious that it is not possible to order the combinations such that the transition between adjacent combinations is a neighbor swap. In mathematical terms, there exists no Hamilton path on this adjacency graph.

If one dancer is dressed in black and five in white, then they can stand next to each other in six ways. It is trivial to present these six combinations by neighbor swaps. If two dancers are dressed in black and four in white, they can line up in ways. Here is the adjacency graph ( white, black):

img-1.jpeg

Unfortunately, there does not exist a Hamilton path in this graph (for an elegant proof, see Fig. 2). It turns out that also for 2-of-5, 2-of-7, and 3-of-7, such Hamilton paths do not exist. With three black and three white, the number of combinations is , a number that should be doable in ten seconds. Try to find a Hamilton path in its adjacency graph:

img-2.jpeg

In this case, it is possible to present these twenty combinations with neighbor swaps as transitions (see Fig. 4). Inspired by this topic, colleague Cor Hurkens recently found a general solution to the (non-)existence of Hamilton paths in the neighbor-swap graph of -of- combinations. Later, we discovered that this was already known [1, 4]: a Hamilton path exists for -of- combinations with neighbor swaps if and only if is even and is odd. In general, these dances are not so easy to memorize as those for permutations.

Verhoeff

Variations

A further generalization is possible by considering more than two colors, that can occur more than once. For instance, six dancers in three equally-colored pairs: two red, two white, two blue. There are such combinations. In this case, there exists no Hamilton path for neighbor swaps.

The restriction to neighbor swaps as means of transitioning from one state to the next could be relaxed. A ‘cool’ way to traverse all -of- combinations (for any and ) is given in [7]: determine the shortest prefix that ends in 010 or 011 (or the entire sequence if such a prefix does not exist), and do a cyclic rotation by one position to the right. The cyclic rotation can also be accomplished by at most two simultaneous swaps (not necessarily of neighbors). This algorithm is doable in a practical setting.

Also worth consideration are circular arrangements of dancers doing neighbor swaps. Other candidates for a choreography are de Bruijn sequences [10].

Education

The search for choreographies for combinatorial structures gives rise to nice mathematical questions. This can be used in the class room to stimulate students to do their own mathematical explorations, including the formulation of relevant questions. Especially, but not only, young students can be stimulated by physically acting out small cases, appealing to kinesthetic learning. However, this should not be an excuse to avoid thinking about the mathematical problems.

References

[1] P. Eades, M. Hickey and R. Read. “Some Hamilton Paths and a Minimal Change Algorithm”. J. of the ACM, 31:19–29 (1984).

[2] M. El-Hashash. “The Permutahedron is Hamiltonian”. Int. J. Contemp. Math. Sciences, 4(1):31–39 (2009).

[3] M.R. Garey and D.S. Johnson. Computers and Intractability: A Guide to the Theory of NP-Completeness. W.H. Freeman, 1979.

[4] T. Hough and F. Ruskey. “An Efficient Implementation of the Eades, Hickey, Read Adjacent Interchange Combination Generation Algorithm”. J. of Combinatorial Mathematics and Combinatorial Computing, 4:79–86 (1988).

[5] International Mathematical Olympiad, www.imo-official.org (accessed 29-Feb-2012).

[6] S. M. Johnson. “Generation of permutations by adjacent transpositions”, Math. Comp., 17:282–285 (1963).

[7] F. Ruskey and A. Williams. “The Coolest Way To Generate Combinations”. Discrete Mathematics, 309:5305–5320 (2009). webhome.cs.uvic.ca/~ruskey/Publications/Coollex/CoolComb.html (accessed 28-Apr-2012).

[8] H. F. Trotter. “PERM (Algorithm 115)”, Comm. ACM, 5(8):434–435 (1962).

[9] T. Verhoeff. Combinatorial Choreography: Additional workshop material. www.win.tue.nl/~wstomv/math-art/choreography/ (accessed 30-Apr-2012).

[10] Wikipedia. De Bruijn sequence — Wikipedia, The Free Encyclopedia. en.wikipedia.org/wiki/De_Bruijn_sequence (accessed 29-Feb-2012).

[11] Wikipedia. Steinhaus-Johnson-Trotter algorithm — Wikipedia, The Free Encyclopedia. en.wikipedia.org/wiki/Steinhaus-Johnson-Trotter_algorithm (accessed 29-Feb-2012).

Combinatorial Choreography

Appendix

Some further illustrations for the workshop.

img-3.jpeg Figure 1: Adjacency graph on the 24 permutations of four objects. Also see [9]

img-4.jpeg Figure 2: Adjacency graph for the fifteen 2-of-6 combinations, distinguishing ‘even’ and ‘odd’ combinations: on every path, the parities alternate; the difference in the number of ‘even’ and ‘odd’ combinations is 3; therefore, there exists no Hamilton path

Verhoeff

img-5.jpeg Figure 3: Hamilton path (solid black) in adjacency graph on the 24 permutations of four objects. N.B. There is a much nicer rendering, which will be shown in the workshop

img-6.jpeg Figure 4: Hamilton path (solid black) in adjacency graph on the twenty 3-of-6 combinations

0 items under this folder.