Cycles, Transpositions, and Bob Gardner ETSU Abstract Algebra Club Advisor Spring 2015.

Slides:



Advertisements
Similar presentations
Rules of Matrix Arithmetic
Advertisements

Chapter 4 Euclidean Vector Spaces
Math 3121 Abstract Algebra I Lecture 8 Sections 9 and 10.
Mathematics of Cryptography Part II: Algebraic Structures
1.5 Elementary Matrices and a Method for Finding
1 390-Elliptic Curves and Elliptic Curve Cryptography Michael Karls.
COUNTING AND PROBABILITY
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Math 3121 Abstract Algebra I
Algebraic Structures DEFINITIONS: PROPERTIES OF BINARY OPERATIONS Let S be a set and let  denote a binary operation on S. (Here  does not necessarily.
1.  Detailed Study of groups is a fundamental concept in the study of abstract algebra. To define the notion of groups,we require the concept of binary.
Foundations of Network and Computer Security J J ohn Black Lecture #10 Sep 18 th 2009 CSCI 6268/TLEN 5550, Fall 2009.
Recursive Definitions Rosen, 3.4 Recursive (or inductive) Definitions Sometimes easier to define an object in terms of itself. This process is called.
Matrix Algebra THE INVERSE OF A MATRIX © 2012 Pearson Education, Inc.
Section 4.1 Finite Permutation Groups Permutation of a Set Let A be the set { 1, 2, …, n }. A permutation on A is a function f : A  A that is both one-to-one.
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2011 Hawkes Learning Systems. All rights reserved. Hawkes Learning Systems: College Algebra.
Scott Vaughen, Professor of Mathematics
Table of Contents Matrices - Inverse Matrix Definition The inverse of matrix A is a matrix A -1 such that... and Note that... 1) For A to have an inverse,
1 Codes, Ciphers, and Cryptography-Ch 3.1 Michael A. Karls Ball State University.
GRAPH Learning Outcomes Students should be able to:
Chapter three: Far rings and some results Far rings and some results In This chapter, we introduce some results about far rings and period profiles, and.
Induction and recursion
Systems of Linear Equation and Matrices
Cycles, Transpositions, and Bob Gardner KME Advisor Fall 2013.
CSCI 115 Chapter 5 Functions. CSCI 115 §5.1 Functions.
Chapter 8. Section 8. 1 Section Summary Introduction Modeling with Recurrence Relations Fibonacci Numbers The Tower of Hanoi Counting Problems Algorithms.
Basic Counting. This Lecture We will study some basic rules for counting. Sum rule, product rule, generalized product rule Permutations, combinations.
Elementary Linear Algebra Anton & Rorres, 9th Edition
Solving ‘Rubik’s Polyhedra’ Using Three-Cycles Jerzy Wieczorek Franklin W. Olin College of Engineering Assisted by Dr. Sarah Spence Wellesley MAA Conference,
Section 2.4. Section Summary Sequences. Examples: Geometric Progression, Arithmetic Progression Recurrence Relations Example: Fibonacci Sequence Summations.
Data Structures and Algorithms Discrete Math Review.
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 9 (Part 2): Graphs  Graph Terminology (9.2)
6.3 Permutation groups and cyclic groups  Example: Consider the equilateral triangle with vertices 1 , 2 , and 3. Let l 1, l 2, and l 3 be the angle bisectors.
Permutation Groups Part 1. Definition A permutation of a set A is a function from A to A that is both one to one and onto.
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFunctions.
Temperature Readings The equation to convert the temperature from degrees Fahrenheit to degrees Celsius is: c(x) = (x - 32) The equation to convert the.
Section 2.4. Section Summary Sequences. Examples: Geometric Progression, Arithmetic Progression Recurrence Relations Example: Fibonacci Sequence Summations.
Math 3121 Abstract Algebra I Lecture 9 Finish Section 10 Section 11.
Great Theoretical Ideas in Computer Science.
Great Theoretical Ideas in Computer Science for Some.
Chapter 5: Permutation Groups  Definitions and Notations  Cycle Notation  Properties of Permutations.
Math 3121 Abstract Algebra I Lecture 7: Finish Section 7 Sections 8.
Great Theoretical Ideas in Computer Science.
Jeanine “Joni” Pinkney Central Washington University
CS Lecture 14 Powerful Tools     !. Build your toolbox of abstract structures and concepts. Know the capacities and limits of each tool.
Computer Graphics Matrices
Mathematical Induction Section 5.1. Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If.
CSNB 143 Discrete Mathematical Structures
SECTION 9 Orbits, Cycles, and the Alternating Groups Given a set A, a relation in A is defined by : For a, b  A, let a  b if and only if b =  n (a)
Math 3121 Abstract Algebra I Lecture 14 Sections
SECTION 8 Groups of Permutations Definition A permutation of a set A is a function  ϕ : A  A that is both one to one and onto. If  and  are both permutations.
CompSci 102 Discrete Math for Computer Science March 13, 2012 Prof. Rodger Slides modified from Rosen.
A function is a rule f that associates with each element in a set A one and only one element in a set B. If f associates the element b with the element.
Great Theoretical Ideas in Computer Science.
2 2.2 © 2016 Pearson Education, Ltd. Matrix Algebra THE INVERSE OF A MATRIX.
Foundations of Network and Computer Security J J ohn Black CSCI 6268/TLEN 5550, Spring 2014.
Chapter 2 1. Chapter Summary Sets The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions and sequences.
Introductory Lecture. What is Discrete Mathematics? Discrete mathematics is the part of mathematics devoted to the study of discrete (as opposed to continuous)
Prepared By Meri Dedania (AITS) Discrete Mathematics by Meri Dedania Assistant Professor MCA department Atmiya Institute of Technology & Science Yogidham.
Math 3121 Abstract Algebra I Lecture 6 Midterm back over+Section 7.
CS480 Cryptography and Information Security
Great Theoretical Ideas in Computer Science
Great Theoretical Ideas In Computer Science
Foundations of Network and Computer Security
Great Theoretical Ideas in Computer Science
Great Theoretical Ideas in Computer Science
Algebraic Structures: Group Theory
DETERMINANT MATH 80 - Linear Algebra.
Matrix Algebra THE INVERSE OF A MATRIX © 2012 Pearson Education, Inc.
Presentation transcript:

Cycles, Transpositions, and Bob Gardner ETSU Abstract Algebra Club Advisor Spring 2015

Futurama is an animated series about a pizza delivery boy, Philip J. Fry, who time-travels from New Year’s Eve 1999 to New Year’s Eve The show follows the underachieving Fry as he deals with talking robots, one eyed mutants, and various space aliens. The show aired from March 28, 1999 to September 4, 2013 on the Fox network (1999 to 2003) and Comedy Central (2008 to 2013),for a total of 140 shows. The show was created by Matt Groening, of The Simpsons fame.

Futurama has always been big on math and science related jokes. In fact, several of the writers have undergraduate and graduate degrees in mathematics, computer science, physics, and chemistry. Dr. Sarah Greenwald of Appalachian State University has a webpage devoted to the mathematical content of Futurama:

Writer Ken Keeler has a Ph.D. in applied math from Harvard University. He wrote the script for “The Prisoner of Benda” which first aired on Comedy Central on August 19, The plot concerns a body switching machine which allows two bodies to switch brains, but once a pair of bodies has switched brains then the same pair of bodies cannot switch again (due to the cerebral immune response). After several uses of the machine, the posed-problem is to return the brains to the correct bodies. Keeler proved a theorem about permutation groups and it is used in the show.

The Regular Characters Fry (F) Leela (L) Zoiberg (Z) Bender (B) Amy (A) Hermes (H) Professor Farnsworth (P)

Characters Relevant to “The Prisoner of Benda” Emperor Nikolai (E) Washbucket (W) Sweet Clyde (S) Bubblegum Tate (T)

1.Groups 2.Permutation Notation 3.Permutation Groups 4.Transpositions 5.The Inversion Theorem

Definition. A binary operation on a set is a rule that assigns to each ordered pair of elements of the set an element of the set. The element associated with ordered pair (a,b) is denoted Leela (L) Example. Consider the set M 2 of all matrices. A binary operation on M 2 is matrix multiplication. Notice that this binary operation is not commutative.

Definition. A group is a set G together with a binary operation on G such that: The binary operation is associative There is an element e in G such that for all, and For each there is an element with the property that Amy (A) Note. Element e is called the identity element of the group and element is called the inverse of element a.

Example. Here is an example of a “multiplication table” of a group with binary operation and set * abcde aabcde bbcdea ccdeab ddeabc eeabcd * G={a,b,c,d,e}. G={0,1,2,3,4}. Professor Farnsworth (P)

Zoiberg (Z)

Definition. A permutation of a set A is a one-to-one and onto function from set A to itself. Example. If A={1,2,3,4,5}, then a permutation is function  where:  )=4,  (2)=2,  (3)=5,  (4)=3,  (5)=1. This can be represented with permutation notation as: Bender (B)

Example. Another permutation on set A={1,2,3,4,5} is We can multiply two permutations to get the permutation product as follows: Fry (F)

Example. We can write the previous permutation as a “product of cycles”: Theorem. Every permutation of a finite set is a product of disjoint cycles. Hermes (H)

Example. When taking products of cycles, we read from right to left: Amy (A)

Example. Consider the two permutations on {1,2,3}: and The product of these permutations is: For this reason, is called the inverse of Bender (B)

Note. In fact, the permutations of a set form a group where the binary operation is permutation product. Definition. The group of all permutations of a set of size n is called the symmetric group on n letters, denoted S n. Note. Two important subgroups of S n are the dihedral group D n and the alternating group A n.

Definition. A cycle of length two is a transposition. Theorem. Any permutation of a finite set of at least two elements is a product of transpositions.

Now, pause this video and watch “The Prisoner of Benda.” This can be found on Netflix and Amazon video on demand. Watch for the seven main characters (Fry, Leela, Amy, Professor Farnsworth, Zoiberg, Hermes, and Bender), along with the other four characters: Emperor Nikolai (E) Washbucket (W) Sweet Clyde (S) Bubblegum Tate (T)

Note. We will represent a body switch with a transposition. The first body switch is between the Professor and Amy. We denote this as: or

After the First Three Body Switches… …the permutation is

Let’s explore some permutations and their inverses…

Suppose we start with this population… REDBLUE YELLOWGREEN

...and permute the red and blue disks: REDBLUE YELLOWGREEN

We can… REDBLUE YELLOWGREEN (Y,R)(G,B)(Y,B)(G,R)

Finally, we interchange Y and G REDBLUE YELLOWGREEN (Y,G)

Suppose we start with this population… REDBLUE YELLOWGREEN BLACK

Let’s mix things up to create a 3-cycle: REDBLUE YELLOWGREEN BLACK (R,B)(R,Bc) (RED,BLUE,BLACK)

Let’s mix things up to create a 3-cycle: REDBLUE YELLOWGREEN BLACK (Y,R)(G,B)(G,Bc)(Y,B)(G,R)(Y,G)

In The Prisoner of Benda, the initial transpositions are: This yields the resulting permutation: Body 1Body 2Transposition ProfessorAmy(P,A) AmyBender(A,B) ProfessorLeela(P,L) AmyWashbucket(A,W) FryZoiberg(F,Z) WashbucketEmperor(W,E) HermesLeela(H,L)

Note. The problem is to find an inverse of the permutation which does not repeat any of the previous transpositions (or repeat any new transpositions). Notice that this transposition can be written as the disjoint cycles:

Futurama gives the following transpositions (in order) which produce the inverse of the above permutation: Body 1Body 2Transposition FrySweet Clyde(F,S) ZoibergBubblegum Tate(Z,T) Sweet ClydeZoiberg(S,Z) Bubblegum TateFry(T,F) ProfessorSweet Clyde(P,S) WashbucketBubblegum Tate(W,T) Sweet ClydeLeela(S,L) Bubblegum TateEmperor(T,E) HermesSweet Clyde(H,S) BenderBubblegum Tate(B,T) Sweet ClydeAmy(S,A) Bubblegum TateProfessor(T,P) WashbucketSweet Clyde(W,S)

The transpositions give the permutation: which equals the product of disjoint cycles:

We can take the permutation product to get: This verifies that Futurama’s second permutation is the inverse of the first permutation.

In terms of cycles, we have:

Sweet Clyde’s Inversion Theorem. Any permutation on a set of n individuals created in the body switching machine can be restored by introducing at most two extra individuals and adhering to the cerebral immune response rule (i.e. no repeated transpositions).

Here is Futurama’s proof of Sweet Clyde’s Inversion Theorem:

Recall that: Theorem. Every permutation of a finite set is a product of disjoint cycles. So if we can show the theorem for a k-cycle, then this is sufficient for the proof.

First, let  be a k-cycle: Introduce two new elements, x and y. We perform a sequence of transpositions. Consider (this is a special case of Sweet Clyde’s proof, and we use a slightly different notation).

We now see that whatever permutation  did, permutation  undoes: or Notice that x and y are interchanged, but all other elements are fixed.

So for each cycle in the permutation, x and y are interchanged. If the permutation consists of an even number of cycles, then x and y will be fixed. If there are an odd number of cycles in the permutation, then at the end, apply the permutation (x,y).

UPDATE! This presentation was first given in September of 2010 (about a month after “The Prisoner of Benda” first aired) to the TN Beta chapter of Kappa Mu Epsilon. See:

UPDATE! This episode has gotten some additional publicity in: Simon Singh, The Simpsons and Their Mathematical Secrets, NY: Bloomsbury (2013). See Chapter 17, “The Futurama Theorem,” and Appendix 6.

Simon Singh argues that Fry and Zoiberg can replace Sweet Clyde and Bubblegum Tate to give an inverse consisting of only 9 transpositions instead of the 13 in the show: This means that the solution given in “The Prisoner of Benda” is not optimal in the sense of minimizing the number of new individuals who must be intro- duced in order to invert the permutation. Body 1Body 2Transposition ProfessorFry(P,F) WashbucketZoiberg(W,Z) FryLeela(F,L) ZoibergEmperor(Z,E) HermesFry(H,F) BenderZoiberg(B,Z) FryAmy(F,A) ZoibergProfessor(Z,P) WashbucketFry(W,F)

UPDATE! In 2014, Ron Evans, Lihua Huang, and Tuan Nguyen of the University of California, San Diego published: “Keeler’s Theorem and Products of Distinct Transpositions,” The American Mathematical Monthly, 121(2) (2014). See also: In this paper, the authors give an algorithm using the smallest possible number of switches (tanspositions) to invert the given permutation.

Oh yeah… the gratuitous cartoon nudity…

1.Fraleigh, John B., A First Course in Abstract Algebra, Seventh Edition, Pearson Education (2002). 2.Internet: The images in this presentation were shamelessly “borrowed” from the internet. Wikipedia and Google’s image search were of particular use. 3. Details on the proof are online at: References