LECTURE 8: DETERMINANTS AND PERMUTATIONS

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

1111: Linear Algebra I

Determinants, Part 1

THE SIGN OF A PERMUTATION

The Sign of a Permutation Matt Baker

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

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

Lecture 2.3: Symmetric and alternating groups

Chapter 6.1. Cycles in Permutations

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

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

Permutations. = f 1 f = I A

To Your Hearts Content

Permutation Groups. Definition and Notation

Solutions to Exercises Chapter 6: Latin squares and SDRs

16 Alternating Groups

Permutation Generation Method on Evaluating Determinant of Matrices

A NEW COMPUTATION OF THE CODIMENSION SEQUENCE OF THE GRASSMANN ALGEBRA

STRATEGY AND COMPLEXITY OF THE GAME OF SQUARES

1.6 Congruence Modulo m

REU 2006 Discrete Math Lecture 3

Math 3560 HW Set 6. Kara. October 17, 2013

The Math Behind Futurama: The Prisoner of Benda

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

Enumeration of Two Particular Sets of Minimal Permutations

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

Combinatorial Proofs

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

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

Edge-disjoint tree representation of three tree degree sequences

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

Math236 Discrete Maths with Applications

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

A Group-theoretic Approach to Human Solving Strategies in Sudoku

Hamming Codes as Error-Reducing Codes

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

Quotients of the Malvenuto-Reutenauer algebra and permutation enumeration

Fast Sorting and Pattern-Avoiding Permutations

Exploiting the disjoint cycle decomposition in genome rearrangements

A STUDY OF EULERIAN NUMBERS FOR PERMUTATIONS IN THE ALTERNATING GROUP

Elementary Combinatorics

Combinatorics in the group of parity alternating permutations

SOLUTIONS TO PROBLEM SET 5. Section 9.1

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

The number of mates of latin squares of sizes 7 and 8

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

PUTNAM PROBLEMS FINITE MATHEMATICS, COMBINATORICS

THE 15-PUZZLE (AND RUBIK S CUBE)

Ma/CS 6a Class 16: Permutations

Distribution of Primes

Harmonic numbers, Catalan s triangle and mesh patterns

THE ERDŐS-KO-RADO THEOREM FOR INTERSECTING FAMILIES OF PERMUTATIONS

PRIMES 2017 final paper. NEW RESULTS ON PATTERN-REPLACEMENT EQUIVALENCES: GENERALIZING A CLASSICAL THEOREM AND REVISING A RECENT CONJECTURE Michael Ma

Adventures with Rubik s UFO. Bill Higgins Wittenberg University

Introductory Probability

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1:

Yet Another Triangle for the Genocchi Numbers

PERMUTATIONS AS PRODUCT OF PARALLEL TRANSPOSITIONS *

EXPLAINING THE SHAPE OF RSK

Teacher s Notes. Problem of the Month: Courtney s Collection

Three of these grids share a property that the other three do not. Can you find such a property? + mod

THE REMOTENESS OF THE PERMUTATION CODE OF THE GROUP U 6n. Communicated by S. Alikhani

Dyck paths, standard Young tableaux, and pattern avoiding permutations

Launchpad Maths. Arithmetic II

Section 1.6 The Factor Game

1 = 3 2 = 3 ( ) = = = 33( ) 98 = = =

Topspin: Oval-Track Puzzle, Taking Apart The Topspin One Tile At A Time

MAT Modular arithmetic and number theory. Modular arithmetic

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

Introduction to Combinatorial Mathematics

You ve seen them played in coffee shops, on planes, and

Counting in Algorithms

LESSON 2: THE INCLUSION-EXCLUSION PRINCIPLE

CALCULATING SQUARE ROOTS BY HAND By James D. Nickel

Math 412: Number Theory Lecture 6: congruence system and

A NUMBER THEORY APPROACH TO PROBLEM REPRESENTATION AND SOLUTION

arxiv: v1 [math.co] 16 Aug 2018

On Hultman Numbers. 1 Introduction

CSE 21 Mathematics for Algorithm and System Analysis

LECTURE 3: CONGRUENCES. 1. Basic properties of congruences We begin by introducing some definitions and elementary properties.

FREDRIK TUFVESSON ELECTRICAL AND INFORMATION TECHNOLOGY

Section 2.1 Factors and Multiples

Symmetry Groups of Platonic Solids

MATHEMATICS ON THE CHESSBOARD

GLOSSARY. a * (b * c) = (a * b) * c. A property of operations. An operation * is called associative if:

Applications of Fermat s Little Theorem and Congruences

Study Guide: 5.3 Prime/Composite and Even/Odd

Math 127: Equivalence Relations

Theory of Probability - Brett Bernstein

Mathematics Explorers Club Fall 2012 Number Theory and Cryptography

Error-Correcting Codes

4.3. Trigonometric Identities. Introduction. Prerequisites. Learning Outcomes

Multiple Input Multiple Output (MIMO) Operation Principles

Permutation Tableaux and the Dashed Permutation Pattern 32 1

Exercises to Chapter 2 solutions

A FAMILY OF t-regular SELF-COMPLEMENTARY k-hypergraphs. Communicated by Behruz Tayfeh Rezaie. 1. Introduction

m-partition Boards and Poly-Stirling Numbers

Square Involutions. Filippo Disanto Dipartimento di Scienze Matematiche e Informatiche Università di Siena Pian dei Mantellini Siena, Italy

LAMC Beginners Circle April 27, Oleg Gleizer. Warm-up

Transcription:

LECTURE 8: DETERMINANTS AND PERMUTATIONS MA1111: LINEAR ALGEBRA I, MICHAELMAS 2016 1 Determinants In the last lecture, we saw some applications of invertible matrices We would now like to describe how to detect whether a matrix is invertible Last time, we proved that if a matrix is invertible, then its RREF is I n In the first tutorial, we showed that if ad bc 0, then the matrix ( a c d b ) reduces to I 2 is hence invertible Following the steps of that proof, it isn t hard to see that in fact this is an if only if statement It will turn out for every square matrix of any size that there is a number associated to it, called the determinant, which vanishes if only if the matrix isn t invertible In the case of 2 2 matrices, this happens to be the number ad bc For general n, there is a unique function det A of matrices of size n n satisfying a few simple properties We will first think of the determinant as a function of n variables, det(r 1,, r n ), where r i is the i-th row of A, thought of as a vector The characterizing properties of det are the following: (1) det is a multilinear function (2) det is alternating, which means that if any two rows of A are equal, say r i = r j, then the determinant is 0 (3) The value of det on I n is 1 Here is a simple consequence of the above properties: if we swap two rows in A, say rows i j, then we have, by the alternating property by multilinearity, 0 = det(r 1,, r i + r j,, r i + r j,, r n ) = det(r 1,, r i,, r i,, r n ) + det(r 1,, r i,, r j,, r n ) + det(r 1,, r j,, r i,, r n ) + det(r 1,, r j,, r j,, r n ) = det(r 1,, r i,, r j,, r n ) + det(r 1,, r j,, r i,, r n ), so that swapping two rows of a matrix multiplies the determinant by 1 Moreover, if we add a multiple c of row j to row i, we find, again using multilinearity the alternating property, that det(r 1,, r i + cr j,, r j,, r n ) = det(r 1,, r i,, r j,, r n ) + c det(r 1,, r j,, r j,, r n ) = det(r 1,, r i,, r j,, r n ), Date: October 14, 2016 1

2 MA1111: LINEAR ALGEBRA I, MICHAELMAS 2016 so that adding a multiple of one row to another leaves a determinant unchanged Finally, if we multiply a row by a constant, then multilinearity again shows that the determinant is multiplied by the same constant Example We use the properties above to find that (with e 1 = (1, 0) e 2 = (0, 1)) a b det = det((a, b), (c, d)) = det(ae c d 1 + be 2, ce 1 + de 2 ) ac det(e 1, e 1 ) + ad det(e 1, e 2 ) + bc det(e 2, e 1 ) + bd det(e 2, e 2 ) = ad det(e 1, e 2 ) bc det(e 1, e 2 ) = ad det I 2 bc det I 2 = ad bc Example We compute (with e 1 = (1, 0, 0), e 2 = (0, 1, 0), e 3 = (0, 0, 1)) det 1 2 3 1 0 2 = det(e 1 + 2e 2 + 3e 3, e 1 + 2e 3, e 2 ) 0 1 0 = det(e 1, e 1 + 2e 3, e 2 ) + 2 det(e 2, e 1 + 2e 3, e 2 ) + 3 det(e 3, e 1 + 2e 3, e 2 ) = det(e 1, e 1, e 2 ) + 2 det(e 1, e 3, e 2 ) + 2 det(e 2, e 1, e 2 ) + 4 det(e 2, e 3, e 2 ) + 3 det(e 3, e 1, e 2 ) + 6 det(e 3, e 3, e 2 ) = 2 det(e 1, e 3, e 2 ) + 3 det(e 3, e 1, e 2 ) = 2 det(e 1, e 2, e 3 ) + 3 det(e 1, e 2, e 3 ) = 2 det I 3 + 3 det I 3 = 1 After doing a few such numerical examples, you discover that there are some patterns which seem to emerge We will explain this by giving another definition of the determinant Firstly, however, we need to describe a new mathematical object 2 Permutations A permutation of a set with n elements is simply a rearrangement of the elements We will usually describe these by taking as a set of size n the set of the first n natural numbers 1, 2,, n For example, we may rearrange the numbers 1, 2, 3 according to a permutation π, giving 3, 1, 2 One convenient way of keeping track of this action is to use the two row notation: 1 2 3 π = 3 1 2 In this notation, the numbers in the second row are the results of applying the permutation to the elements of the first row There is one very special type of permutation we shall need, called a transpostion We will denote by (ij) the permutation which only switches i j leaves all other elements unchanged Note that we must know by context what n is, since (ij) can denote a permutation of any number n of elements For example, 1 2 3 (23) = 1 3 2

LECTURE 8: DETERMINANTS AND PERMUTATIONS 3 More generally, a k-cycle is a permutation (a 1, a 2,, a k ) which sends a 1 to a 2, a 2 to a 3, a k 1 to a k finally a k to a 1, leaves all elements not listed fixed For example, we have (152) = 5 1 3 4 2 We can define products of permutations by writing them next to one another by applying the actions of each working from right to left (the reason being that these are really compositions of functions) This will give a new permutation Example If we consider two permutations π =, σ = 2 4 1 3 5 then πσ =, σπ = 5 3 1 4 2 Note that multiplication of permutations is not commutative, 5 4 3 2 1 4 2 5 3 1 What we are interested in is decomposing permutations into cycles This can be done using the following simple procedure Algorithm To write a permutation π as a product of disjoint cycles (ie, a product of cycles with no common elements between any two of them), pick the first number among 1, 2, n which isn t fixed (going to itself) by π This is the first element of the first cycle To find the rest of the first cycle, keep applying π to successive elements until you get back to the first element you started with, in which case you have closed off the first cycle Now repeat this process on the set of all remaining numbers from 1, n until every element is either fixed by π or is in one of the cycles you have already written down Example For the permutations in the last example, we have We also have π = (1243), σ = (15)(24) πσ = (1523), σπ = (1435) The key application of these cycle decompositions is the following result, whose proof would require too much time for the application we have in mind in this class

4 MA1111: LINEAR ALGEBRA I, MICHAELMAS 2016 Theorem If π is is any permutation, then there is a certain unique number ±1, called sign(π) or the sign of π, associated to π If π can be written as a product of m transpositions (this in general isn t unique, but the claim is that its true for any representation as a product of transpositions that you find), then sign(π) = ( 1) m We also say that π is even if sign(π) = +1 that π is odd if sign(π) = 1 The point is that every permutation can be written as a product of transpositions This can be found by first finding the cycle decomposition of the preceding algorithm then using the following elementary decomposition of any cycle into transpositions: (a 1, a k ) = (a 1 a k ) (a 1 a 3 )(a 1 a 2 ) This directly shows that any k cycle has sign ( 1) k+1 Note that the parity of an k-cycle as a permutation is opposite the parity of k as an integer Thus, if we use the algorithm above, then the parity of any permutation which is a product of cycles of lengths k 1,, k l can be read off as the product ( 1) k 1+1 ( 1) k l+1 Example Assuming the notation of the last example, we can use the cycle decompositions directly to read off the signs of all the permutations involved: sign(π) = ( 1) 4+1 = 1, sign(σ) = ( 1) 3 ( 1) 3 = +1, sign(πσ) = ( 1) 5 = 1, sign(σπ) = ( 1) 5 = 1 3 Leibniz form of the determinant Using the reasoning in the above examples for determinants, we can write down a general formula for determinants using permutations As we extrapolate from the examples above, we can see that if we want to use the defining properties of a determinant to compute it, we first write each row vector in terms of the stard basis vectors e 1,, e n, where e i is the i-th row of I n, then use multilinearity to exp We will then get a sum of products of coordinates of the row vectors, namely matrix entries, with one term in each product coming from each row, times values of determinants on some ordering of the e i s Now, by the alternating property, whenever one of these e j functions appears twice, we will get a zero in that term Otherwise, we are exactly in the case that the entries in the corresponding term are just a permutation of e 1,, e n Finally, using the property that switching two rows just multiplies the determinant by a factor of 1, we take each of these remaining terms perform a series of transpositions

LECTURE 8: DETERMINANTS AND PERMUTATIONS 5 (swapping two entries), to reduce it to the sign of the corresponding permutation times the determinant of I n, which is of course 1 All of this is summarized in the following result, where if x = 1,, n π is a permutation, then π(x) is the result of applying π to x Theorem The determinant function defined by the properties above can be computed for any matrix A as det A = sign(π)a 1π(1) A 2π(2) A nπ(n), π where in the sum, π runs over all permutations of 1, 2, n