X = {1, 2,...,n} n 1f 2f 3f... nf

Similar documents
Permutation Groups. Every permutation can be written as a product of disjoint cycles. This factorization is unique up to the order of the factors.

Lecture 3 Presentations and more Great Groups

MATH 433 Applied Algebra Lecture 12: Sign of a permutation (continued). Abstract groups.

The Sign of a Permutation Matt Baker

Permutation Groups. Definition and Notation

Lecture 2.3: Symmetric and alternating groups

The Math Behind Futurama: The Prisoner of Benda

Determinants, Part 1

16 Alternating Groups

LECTURE 8: DETERMINANTS AND PERMUTATIONS

Permutations. = f 1 f = I A

17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees.

1111: Linear Algebra I

REU 2006 Discrete Math Lecture 3

Know how to represent permutations in the two rowed notation, and how to multiply permutations using this notation.

Chained Permutations. Dylan Heuer. North Dakota State University. July 26, 2018

Ma/CS 6a Class 16: Permutations

Chapter 1. The alternating groups. 1.1 Introduction. 1.2 Permutations

Pattern Avoidance in Unimodal and V-unimodal Permutations

Section II.9. Orbits, Cycles, and the Alternating Groups

Fifteen puzzle. Sasha Patotski. Cornell University November 16, 2015

Solutions to Exercises Chapter 6: Latin squares and SDRs

The Place of Group Theory in Decision-Making in Organizational Management A case of 16- Puzzle

Chapter 6.1. Cycles in Permutations

5 Symmetric and alternating groups

A NEW COMPUTATION OF THE CODIMENSION SEQUENCE OF THE GRASSMANN ALGEBRA

Combinatorics in the group of parity alternating permutations

Permutation group and determinants. (Dated: September 19, 2018)

Section Summary. Permutations Combinations Combinatorial Proofs

Lecture 2. 1 Nondeterministic Communication Complexity

Weighted Polya Theorem. Solitaire

Math 127: Equivalence Relations

COUNTING AND PROBABILITY

Crossings and patterns in signed permutations

MA 524 Midterm Solutions October 16, 2018

EXPLAINING THE SHAPE OF RSK

Permutation Tableaux and the Dashed Permutation Pattern 32 1

Math236 Discrete Maths with Applications

Stacking Blocks and Counting Permutations

Factorization of permutation

1. Functions and set sizes 2. Infinite set sizes. ! Let X,Y be finite sets, f:x!y a function. ! Theorem: If f is injective then X Y.

Discrete Mathematics with Applications MATH236

A STUDY OF EULERIAN NUMBERS FOR PERMUTATIONS IN THE ALTERNATING GROUP

STRATEGY AND COMPLEXITY OF THE GAME OF SQUARES

THE SIGN OF A PERMUTATION

Domino Tilings of Aztec Diamonds, Baxter Permutations, and Snow Leopard Permutations

Counting. Chapter 6. With Question/Answer Animations

Lossy Compression of Permutations

Equivalence classes of length-changing replacements of size-3 patterns

Sec$on Summary. Permutations Combinations Combinatorial Proofs

Introduction to Combinatorial Mathematics

Dyck paths, standard Young tableaux, and pattern avoiding permutations

Finite Math - Fall 2016

Restricted Permutations Related to Fibonacci Numbers and k-generalized Fibonacci Numbers

arxiv: v2 [math.ho] 23 Aug 2018

Symmetry Groups of Platonic Solids

THE 15-PUZZLE (AND RUBIK S CUBE)

The mathematics of the flip and horseshoe shuffles

Counting Snakes, Differentiating the Tangent Function, and Investigating the Bernoulli-Euler Triangle by Harold Reiter

Permutations and codes:

The Futurama Theorem.

Simple permutations and pattern restricted permutations

Permutation Tableaux and the Dashed Permutation Pattern 32 1

International Journal of Combinatorial Optimization Problems and Informatics. E-ISSN:

Permutations with short monotone subsequences

A Graph Theory of Rook Placements

arxiv: v1 [cs.cc] 21 Jun 2017

The mathematics of the flip and horseshoe shuffles

Elementary Combinatorics

CSE 20 DISCRETE MATH. Fall

and problem sheet 7

#A2 INTEGERS 18 (2018) ON PATTERN AVOIDING INDECOMPOSABLE PERMUTATIONS

Math Lecture 2 Inverse Functions & Logarithms

On Hultman Numbers. 1 Introduction

Class 8 - Sets (Lecture Notes)

Combinatorial Proofs

Asymptotic behaviour of permutations avoiding generalized patterns

With Question/Answer Animations. Chapter 6

Enumeration of Two Particular Sets of Minimal Permutations

SOLUTIONS TO PROBLEM SET 5. Section 9.1

Cryptography. Module in Autumn Term 2016 University of Birmingham. Lecturers: Mark D. Ryan and David Galindo

#A13 INTEGERS 15 (2015) THE LOCATION OF THE FIRST ASCENT IN A 123-AVOIDING PERMUTATION

Fermat s little theorem. RSA.

Fast Sorting and Pattern-Avoiding Permutations

The Chinese Remainder Theorem

A Group-theoretic Approach to Human Solving Strategies in Sudoku

Remember that represents the set of all permutations of {1, 2,... n}

MATHEMATICS S-152, SUMMER 2005 THE MATHEMATICS OF SYMMETRY Outline #1 (Counting, symmetry, Platonic solids, permutations)

Lecture 2: Sum rule, partition method, difference method, bijection method, product rules

Week 3-4: Permutations and Combinations

Transitivity Action of A n on (n=4,5,6,7) on Unordered and Ordered Quadrupples

TOPOLOGY, LIMITS OF COMPLEX NUMBERS. Contents 1. Topology and limits of complex numbers 1

Lecture 18 - Counting

Adventures with Rubik s UFO. Bill Higgins Wittenberg University

Postprint.

Exploiting the disjoint cycle decomposition in genome rearrangements

arxiv: v2 [math.co] 16 Dec 2014

Crossing Game Strategies

Principle of Inclusion-Exclusion Notes

Greedy Flipping of Pancakes and Burnt Pancakes

Transcription:

Section 11 Permutations Definition 11.1 Let X be a non-empty set. A bijective function f : X X will be called a permutation of X. Consider the case when X is the finite set with n elements: X {1, 2,...,n}. The collection of all permutations of this set X will be called the symmetric group on n symbols and is denoted by S n. (We shall meet the definition of the term group in the next section.) Observation: S n contains n! permutations. This holds since we have n choices for the image of 1, then n 1 choices for the image of 2, etc. We conclude that S n n(n 1)(n 2)...2 1 n!. If f is a permutation of the set X, we shall write xf for the image of the element x X under f (rather than f(x)). The principal reason for doing this is that it makes composition of permutations much easier: f g will mean apply f first and then apply g rather than the other way around. If f S n, then we denote it as follows: 1 2 3... n 1f 2f 3f... nf In this two-row notation, we write the image of an element k in the second row below the occurrence of k in the first row. Thus denotes the permutation of {1, 2, 3, 4} which maps 1 to 2, 2 to 4, 3 to 1 and finally 4 to 3. 68

Note that as f is a bijective function, all n of the elements in X {1, 2,...,n} must occur in the second row. It is for this reason that such functions are termed permutations : one can think of them as simply reordering the elements in X. The composite of two permutations f and g is the function obtained by applying f first and then applying g. Since we are writing maps on the right, we denote this by fg. It is easy to calculate the permutation obtained by composing two permutations written in the above two-row notation: 3 2 4 1 Here 1 2 by the first permutation and then 2 2 by the second. Thus the composite does the first then the second, so 1 2. Equally the composite has the following effects: Hence Similarly? 2 4 1, 3 1 3, 4 3 4 3 2 4 1 3 2 4 1 2 1 3 4 1 4 3 2 (Since 1 3 1, 2 2 4, 3 4 3 and 4 1 2.) Note this already illustrates one phenomenon: in general, for two permutations f and g. Cycle Notation fg gf The above two-row notation is quite inefficient and also difficult to understand the permutations in great detail. For example, the permutation 1 4 3 2 fixes both 1 and 3, while swaps round 2 and 4. It would be nice to have a more efficient way to describe this element (ideally one which misses out 1 and 3 since they are not moved by the permutation). 69

Definition 11.2 Let x 1, x 2,..., x r be r distinct elements of {1, 2,...,n} (so 1 r n). The r-cycle (x 1 x 2...x r ) is the permutation in S n which maps x 1 x 2, x 2 x 3,..., x r 1 x r, x r x 1 and fixes all other points in {1, 2,...,n}. Such a cycle may be described by drawing the points x i in a circular picture. Thus the cycle could also be written as (x 2 x 3...x r x 1 ), or (x 3 x 4...x r x 1 x 2 ), etc. For example, the above permutation 1 4 3 2 could be written more simply as (2 4) or (4 2). This tells us that this permutation fixes both 1 and 3. What about the identity permutation? This is the permutation 1 2 3... n. 1 2 3... n This is often written as the cycle (1). (Such a cycle fixes all elements except 1 and moves 1 to 1: so it really is the identity.) Of course, it could also be written (x) for any x {1, 2,...,n}, but to avoid confusion its probably best to stick to x 1. Definition 11.3 Two cycles (x 1 x 2...x r ) and (y 1 y 2...y s ) in S n are disjoint if no element in {1, 2,...,n} is moved by both cycles. If these cycles are non-identity (i.e., if r 2 and s 2) then this condition can be expressed as {x 1, x 2,...,x r } {y 1, y 2,...,y s }. The crucial observation that will enable us to make use of cycles is the following: Theorem 11.4 Every permutation (of n points) can be written as a product of disjoint cycles. The proof is omitted. A proof is not too hard, but it is more helpful to give an example to illustrate and this should be fairly convincing of the truth of the theorem. 70

Example 11.5 (1 2 4 5)(3)(6)(7 8) 2 4 3 5 1 6 8 7 (1 2 4 5)(7 8) To calculate this one starts with 1, follow the images round until we get back to 1. Then we start again with the next symbol not accounted for. It should be reasonably clear that we can follow this process with any permutation and consequently the truth of the above theorem is assured (if not proved in careful detail). Example 11.6 (1 3 7)(2 5)(6 8) 3 5 7 4 2 8 1 6 We can use the same method used to calculate the composite of two permutations when these permutations are expressed as products of cycles: Example 11.7 (4 5 3) (1 2 3 4 5) (1 2 3 5 4) [Can be done by following images.] Definition 11.8 We say two permutations f and g commute if f g gf. We have noticed that we cannot expect two permutations commute. Of course, a permutation f always commutes with itself. The following is easy to establish: Lemma 11.9 Disjoint cycles commute. (This may simply be described: the effect of a product of disjoint cycles is the same no matter which was around it is calculated.) This has the consequence that (1 3 7)(2 5)(6 8) 3 5 7 4 2 8 1 6 (2 5)(1 3 7)(6 8) (2 5)(3 7 1)(6 8) etc. Note that (2 5) commutes with this permutation: (2 5)f (2 5)(1 3 7)(2 5)(6 8) (1 3 7)(2 5)(2 5)(6 8) (1 3 7)(2 5)(6 8)(2 5) f(2 5) since disjoint cycles commute. Similar calculations can be done for other examples. 71

Definition 11.10 The order of a permutation f is the smallest positive integer m such that f m is the identity. The idea here is that the order of f is the number of permutations we can produce by taking powers of f. Once we have reached the identity, any further powers just produce ones we already have calculated. How do we calculate the order of f? One method is just to calculate powers (f, f 2, f 3,...) and wait until we hit the identity. The problem is that this can be laborious. Instead we can exploit the way we can write permutations as products of disjoint cycles. First consider a cycle f (x 1 x 2...x r ). Note that powers of f first map x 1 to x 2, then to x 3, then to x 4, and so on. Hence to produce the identity, we need to use f r. (So the order of an r-cycle is r.) Now consider any permutation f and write it as a product of disjoint cycles: f f 1 f 2...f s. Since disjoint cycles commute, we find f m f m 1 f m 2... f m s. To obtain the identity we therefore need to take the m which makes the power of each cycle the identity. We thus have: Theorem 11.11 The order of a permutation is equal to the lowest common multiple of the lengths of the cycles occurring in its decomposition into disjoint cycles. Example 11.12 Take 9 10 f 3 4 7 9 5 10 8 1 2 6 (1 3 7 8)(2 4 9)(6 10). We need fourth powers to make the first cycle the identity, cubes to make the second cycle the identity, and squares for the final cycle. Thus the order of σ is 4 3 12. We give a special name to the following very short cycles. Definition 11.13 A 2-cycle (that is, a cycle of length 2) is also called a transposition. Thus a transposition is a permutation (x y) which simply swaps round the two elements x and y. Transpositions are useful for the following reason: Theorem 11.14 Every permutation can be expressed as a product of transpositions. 72

Proof: We can express every permutation as a product of disjoint cycles. The next step is to express any cycle as a product of transpositions. For example, (1 2)(1 3)(1 4)(1 5) (1 2 3 4 5) does what we want for a 5-cycle. Analogous calculations establish the same for other lengths. The final thing we can do with permutations is invert them: Definition 11.15 If f is a permutation of the set X, then the inverse f 1 of f is the permutation that undoes the effect of applying f; i.e., if f : x y, then f 1 : y x. Calculating Inverses, Method 1: If f is written in two-row notation, then interchanging the rows produces its inverse: e.g., if f 2 4 3 5 1 6 8 7 then f 1 2 4 3 5 1 6 8 7. 5 1 3 2 4 6 8 7 Calculating Inverses, Method 2: If g is a cycle, say g (x 1 x 2...x r ), so g: x 1 x 2, x 2 x 3,..., x r 1 x r, x r x 1, then That is, g 1 : x r x r 1, x r 1 x r 2,..., x 2 x 1, x 1 x r. g 1 (x r x r 1...x 2 x 1 ), i.e., we write the cycle for g backwards. Hence for f (1 2 4 5)(7 8), we have f 1 (5 4 2 1)(8 7) (1 5 4 2)(7 8). (Note this agrees with the answer obtained by Method 1!) 73