SlideShare a Scribd company logo
1 of 78
Download to read offline
Permutation
 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 a finite set with n
elements
X = {1, 2, 3, …, n}
 The collection of all permutations of this set X will be
called the symmetric group on n symbols and is
denoted by Sn.
S3
 It is easier to study a smaller set first so we shatt
start with the case of n = 3.
 A bijective function f: X → X will be called a
permutation of X.
 Consider the case when X is a finite set with n
elements
X = {1, 2, 3}
 The collection of all permutations of this set X will
be called the symmetric group on n symbols and is
denoted by S3
S3
 A symmetry is an action that can be
performed on an object to leave it
looking the same as before.
 S3 corresponds to the set of
symmetries of an equilateral triangle.
 What symmetries can you see for an
equilateral triangle?
Symmetries of an equilateral Triangle
There are six symmetries in all.
The Six Symmetries
 E- Identity
 R - Rotation anticlockwise of 120
 R2 - Rotation anticlockwise of 240
 V- Reflection in the vertical
 RV – reflection in left vertical
 R2V - Reflection in right vertical
We can most easily see a bijective mapping
using the conventional two line notation.
For instance, R can be represented as:
Practice with a Cardboard model
Sometimes, we may prefer to use a physical model to see things. If
you want, cut out an equilateral triangle and place it on a flat surface
(board). Number the corners of the triangle as shown and also the
positions on the board.
R – Rotation of 120 degrees
We can most easily see a bijective mapping using the
conventional two line notation. For instance, R can be
represented as:
where the upper number represents the number on the triangle and the
lower the number on the board. Thus we have 1 → 2; 2 → 3 and 3 → 1.
E – The identity map
Using the notation described, what
would be the identity map?
R2 – Rotation of 240 degrees
What would be the
case for R2?
Naming the Permutations
 Lets use the symbol ρ to denote these three
permutations:
 E = ρ0 =
 R = ρ1 =
 R2 = ρ2 =
V – Reflection in the vertical
In this permutation, we just
switch 1 and 2. 3 remains
unchanged. This is an example
of a transposition.
RV – Reflection in the left vertical
In this permutation, we just switch
2 and 3, with 1 remaining
unchanged. This is another
example of a transposition.
Notation
 We shall use the notation RV = R * V to mean R
followed by V.
 Thus, R = (1, 2, 3) and V = (1, 2) and R * V = (2, 3)
R =
V = RV =
Using SAGE
Notation
 You may have been wondering why we have RV!
 It is easy to see that not even knowing the name, a
reflection in the left vertical just results in an
exchange in the elements 2 and 3.
 RV signifies that the permutation is equivalent to a
rotation of 120 followed by a reflection in the
vertical. Try this to see if you end up with the
result you expect.
RV
R V
Try VR…
V R
Take note…
VR is not the same as RV!!
R2V – Reflection in the right vertical
Complete this one as
an exercise.
Cycle Notation
 So far, we have been using the notation:
 This form is somewhat inefficient.
 If we have permutations which leave the majority of
the numbers unchanged then we just need to say what
happens to the changed numbers.
 We shall use instead what is known as cycle notation
for our permutations.
 In this case, we see that only 1 and 3 change places so
we say (1 3) meaning 1 → 3 and 3 → 1.
Definition
 Let x1, x2, . . . , xr be r distinct elements of Xn = {1, 2, . . .
, n} with 1 ≤ r ≤ n.
 The r-cycle (x1 , x2 ,. . . , xr) is the permutation in Sn
which maps x1 → x2, x2 → x3, . . . , xr−1 → xr, xr → x1 and
fixes all other points in {1, 2, . . . , n}.
 For instance, the permutation
written as a cycle is (1, 2, 3) which means 1 → 2, 2
→ 3 and 3 → 1.
This is the notation we shall use in SAGE notebook…
SAGE notation
Group Properties
 To show that a set G under a given operation is a
group, we need to show that it satisfies the group
axioms:
CLOSURE:Closure: x, y ∈ G ⇒ x * y ∈ G
 ASSOSIATIVE: x, y, z ∈ G , x * (y * z) = (x * y) * z
 IDENTITY: e ∈ G st g ∈ G3 , g * e = e * g = g
 INVERSES: g ∈ G, g’ ∈ G st g * g’= g’* g = e
Symmetric Group
 Let G = {E, R, R2, V, RV, R2V}. This set under the
permutations described form a group under
composition.
 We need to show that:
 any multiplications of elements results in
another element of the set.
 The operation is associative.
 There is an identity and each element has an
inverse.
 The normal way of showing this is via the
multiplication table.
Multiplying Permutations
Group Table
5/11/2020 27
* E R R2 V RV R2V
E E R R2 V RV R2V
R R R2 E RV R2V V
R2 R2 E R R2V V RV
V V R2V RV E R2 R
RV RV V R2V R E R2
R2V R2V RV V R2 R E
Group Properties
 Clearly the operation is closed as the
multiplication of any two elements results in
another element of the group.
 E is the identity
 Each element has an inverse.
 We can also show that for all elements:
 R.(V.RV) = R.R2 = E = (R.V).RV
 That is the operation is associative.
 We have a group!
The Six Symmetries
 E - Identity
 R - Rotation anticlockwise of 120
 R2 - Rotation anticlockwise of 240
 V- Reflection in the vertical
 RV – reflection in left vertical
 R2V - Reflection in right vertical
 We need to be quite familiar with the permutations in
this symmetric set so take a minute to review them.
Transpositions
Note that:
V * R2V = (1, 2) * (1, 3) = (1, 2, 3) = R
Conversely,
R = (1, 2, 3) = (1, 2) * (1, 3)
So that a 3-cycle can be written as a
product of 2-cycles (transpositions).
Order of the Permutations
The order of a permutation is the
number of transpositions when the
permutation of expressed in this form.
Thus (1, 2, 3) = (1, 2) * (1, 3) is of order 2
R = (1, 2, 3) is an EVEN permutation.
The identity E is an even permutation.
Even and Odd permutations
Expressing a permutation as a product
of 2-cycles enables us to determine the
parity of the permutation.
If the permutation can be expressed as
an even number of 2-clycles it is an
even permutation else it is an odd
permutation.
Even and Odd
The identity permutation is an even
permutation.
An even permutation can be obtained
from the identity permutation by an
even number of exchanges (called
transpositions) of two elements, while
an odd permutation can be obtained by
an odd number of transpositions.
Rules
 The following rules follow directly from the
corresponding rules about addition of integers:
 the composition of two even permutations is even
 the composition of two odd permutations is even
 the composition of an odd and an even permutation is
odd
 From these it follows that
 the inverse of every even permutation is even
 the inverse of every odd permutation is odd
Alternating Group
The even permutations for a subgroup of S3.
Alternating Group
A3 = AlternatingGroup(3)
5/11/2020 37
* E R R2
E E R R2
R R R2 E
R2 R2 E R
Note that if we explicitly want
to do a L-R evaluation, we
shall use Roman letters for the
permutations and insert the *
multiplication sign.
Properties of A3
SAGE Jupyter output
Observe that this is exactly the table
we had before!
Naming the Permutations
 Lets use the symbol μ to denote these last
three permutations:
 V = μ1 =
 RV = μ2 =
 R2V = μ3 =
Functional Notation
Permutations are bijective functions.
Thus, we can use function notion when
dealing with permutations.
But we have to be careful!
Familiarization
Permutations as Bijections
 A permutation on a set X= {1, 2, 3} is a bijection on
this set.
 As such, we shall adopt the formal approach for
composition of functions.
 Let ρ and τ be permutations on X. then, the
composition of ρ and τ, ρ o τ means (ρ o τ)(x) = (x)
 That is: (ρ o τ)(x) = ρ(τ(x))
 So, we apply τ and then ρ.
Composing permutations
We can now refer to S3 = {1, 2, 3} as the symmetric group.
Consider two permutations ρ1 and μ2 as follows:
ρ1 =
μ3 =
Then ρ1μ3 means ρ1(μ3(x)) using the conventional
multiplication of functions notation. This is a composition.
So we must apply μ3 and then ρ1. We go right to left.
Composition of functions
 Recall that when dealing with functions, we wrote
f(g(x)) meaning f o g but just represented it as fg..
 This was evaluated by first of all evaluating g and then
f.
 If we adopt the same notation when dealing with
permutations, we should evaluate then the same way.
Thus ρ1 μ3 would mean we evaluate μ3 then ρ1 .
 We shall also adopt the convention of not putting the
commas between the elements of the cycles so that μ =
(1 3).
 Don’t let this confuse you with the way we worked
before!!
Composing permutations
So,
ρ1 μ3 =
Evaluating as functions from right to left we can see that this
results in the mapping:
1 → 3 → 1
2 → 2 → 3
3 → 1 → 2
The resulting map is
Thus ρ1μ3 = μ2.
Another Example
So,
ρ1 μ3 =
We can see that this results in the mapping:
μ3 ρ1
1 → 3 → 1
2 → 2 → 3
3 → 1 → 2
The resulting map is
Thus ρ1μ3 = μ2.
Multiplication of Permutations
To multiply two permutations, we shall
follow the convention mentioned by
Herstein (p 110) whereby the
multiplication follows the normal
composition of functions.
We apply the permutation on the right
and this followed by that on the left.
Working with cycles
 Let us take two symmetries with which we are familiar:
 μ2 = (2 3)
 ρ1 = (1 2 3)
 Then μ2ρ1 = (2 3)(1 2 3)
ρ1 μ2
1 → 2 → 3
2 → 3 → 2
3 → 1 → 1
 So μ2 ρ1 = (1 3) = μ3
Another example
 Let us take two symmetries with which we are familiar:
 μ1 = (1 2)
 μ3 = (1 3)
 Then μ1 μ3 = (1 2)(1 3)
μ3 μ1
1 → 3 → 3
2 → 2 → 1
3 → 1 → 2
 So μ1 μ3 = (1 3 2) = ρ2
Permutation Calculator
Water Break for me…
 Get out a clean sheet of paper and a pencil.
 We are going to complete the group table using the
cycles
 I recommend converting the cycle into the two line
format to help you see things clearly as you go…
 Thus, for instance: (1 2 3)(1 3)=(2 3)
 As you may have noted, I have worked out some
examples for you. Try the others now…
Notation
= (1 3)
Transpositions
 Note that with the following permutations, we
could effect the change with one transposition
or one 2-cycle:
 μ1 = = (1 2)
 μ2 = = (2 3)
 μ3 = = (1 3)
Transpositions
 In the case of these, we need two 2-cycles:
 ρ0 = = (1) = (1 3) (1 3)
 ρ1 = = (1 2 3) = (1 2)(2 3)
 ρ2 = = (1 3 2) = (1 3)(3 2)
 Exercise: Confirm the last two cases above.
Parity Group
Let P = {e, o} where e are
the even permutations
and o are the odd
permutations.
(P, *) is a group under
compositions.
* e o
e e o
o o e
Transpositions
Question: Show that the permutation μ = 34521 can be
expressed as a product of 2-cycles.
Proof: Consider e = 12345
τ1 = (1 5) τ1(e) = 52341
τ2 = (2 4) τ2(τ1(e))= 54321
τ3 = (1 3) τ3(τ2(τ1(e)))= 34521
τ3(τ2(τ1(e)))= μ
So μ = τ3τ2τ1
And our permutation μ can be expressed as a product of
three 2-cycles.
Check
Show that the permutation μ = 34521 can be expressed as a
product of 2-cycles.
Proof: μ = τ3τ2τ1 with τ1 = (1 5), τ2 = (2 4) and τ3 = (1 3)
μ = τ3τ2τ1 = (1 5)(2 4)(1 3)
(1 3) (2 4) (1 5)
1 → 3 → 3 → 3
2 → 2 → 4 → 4
3 → 1 → 1 → 5
4 → 4 → 2 → 2
5 → 5 → 5 → 1
So μ = τ3τ2τ1
And our permutation μ can be expressed as a product of
three 2-cycles. Note that this is an odd permutation.
Note
The permutation μ = 34521 can be expressed as a
product of 2-cycles in a number of ways.
For instance, μ = 34521 =(2 3)(1 2)(2 4)(3 5)(4 5)
We have 5 2-cyles and it is an odd permutation.
Recall that we had expressed this as 3 2-cycles.
So even though there may be many ways of
expressing this permutation as a product of 2-cycles,
we will always get an odd number. It will always be
an odd permutation.
Another Example
 54213 = (1 5 3 2 4) = (1 5)(5 3)(3 2)(2 4)
 Check:
(2 4) (3 2) (5 3) (1 5)
1 ` → 1 → 1 → 1 → 5
2 → 4 → 4 → 4 → 4
3 → 3 → 2 → 2 → 2
4 → 2 → 3 → 5 → 1
5 → 5 → 5 → 3 → 3
 This gives us an easy way of producing the 2-cycles.
Exercise
 31254 =
 Complete this:
( ) ( ) ( )
1 ` → → → 3
2 → → → 1
3 → → → 2
4 → → → 5
5 → → → 4
Solution
 31254 = (1 3 2)(4 5) = (1 3)(3 2)(4 5)
 Check:
(4 5) (3 2) (1 3)
1 ` → 1 → 1 → 3
2 → 2 → 3 → 1
3 → 3 → 2 → 2
4 → 5 → 5 → 5
5 → 4 → 4 → 4
 Which gives us 31254. Excellent!
Exercise
Consider the permutation on the set S =
{1, 2, 3, 4, 5} given by 𝛔(x) = 6 – x for x
𝜖 S, write out the permutation table and
express this permutation as a product of
distinct cycles.
5/11/2020 73
Solution
Consider the permutation on the set S = {1, 2, 3, 4, 5} given by 𝛔(x) = 6 –
x for x 𝜖 S, write out the permutation table and express this permutation
as a product of distinct cycles.
5/11/2020 74
S = {1, 2, 3, 4, 5}
𝛔(x) = 6 – x for x 𝜖 S
1 → 5
2 → 4
3 → 3
4 → 2
5 → 1
And the permutation is (1 5)(2 4)
Note that the product contains
(i)an even number of even permutations – even.
(ii)an odd number of even permutations – odd
(iii) an odd number of even permutations - odd














162435
654321
)234)(156(
261453
654321
)256)(134(
)


b
)245)(163(
325146
654321
162435
654321
261453
654321
)(



















i
)46)(12(
456312
654321
261453
654321
513246
654321
)(
1




















ii
)1(
654321
654321
162435
654321
162435
654321
162435
654321
)(
3

























iii
Permutations 2020

More Related Content

What's hot

Differentiation
DifferentiationDifferentiation
Differentiationtimschmitz
 
PPt on Functions
PPt on FunctionsPPt on Functions
PPt on Functionscoolhanddav
 
9.5 Counting Principles
9.5 Counting Principles9.5 Counting Principles
9.5 Counting Principlessmiller5
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical inductionKriti Varshney
 
Factorials
FactorialsFactorials
Factorialsteamxxlp
 
Set Theory
Set TheorySet Theory
Set Theoryitutor
 
Relations and functions
Relations and functions Relations and functions
Relations and functions Seyid Kadher
 
Different types of functions
Different types of functionsDifferent types of functions
Different types of functionsKatrina Young
 
Rules of integration
Rules of integrationRules of integration
Rules of integrationklawdet
 
Pigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,CountabilityPigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,CountabilityKiran Munir
 
Pigeonhole Principle
Pigeonhole PrinciplePigeonhole Principle
Pigeonhole Principlenielsoli
 
Function and their graphs ppt
Function and their graphs pptFunction and their graphs ppt
Function and their graphs pptFarhana Shaheen
 
Gradient , Directional Derivative , Divergence , Curl
Gradient , Directional Derivative , Divergence , Curl Gradient , Directional Derivative , Divergence , Curl
Gradient , Directional Derivative , Divergence , Curl VishalVishwakarma59
 
Functions ordered pairs
Functions ordered pairsFunctions ordered pairs
Functions ordered pairsMegSingh
 

What's hot (20)

Differentiation
DifferentiationDifferentiation
Differentiation
 
PPt on Functions
PPt on FunctionsPPt on Functions
PPt on Functions
 
9.5 Counting Principles
9.5 Counting Principles9.5 Counting Principles
9.5 Counting Principles
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical induction
 
Factorials
FactorialsFactorials
Factorials
 
Sets, functions and groups
Sets, functions and groupsSets, functions and groups
Sets, functions and groups
 
Set Theory
Set TheorySet Theory
Set Theory
 
Relations and functions
Relations and functions Relations and functions
Relations and functions
 
Different types of functions
Different types of functionsDifferent types of functions
Different types of functions
 
Set Theory
Set TheorySet Theory
Set Theory
 
Combinatorics
CombinatoricsCombinatorics
Combinatorics
 
Rules of integration
Rules of integrationRules of integration
Rules of integration
 
Pigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,CountabilityPigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,Countability
 
Lattices
LatticesLattices
Lattices
 
Pigeonhole Principle
Pigeonhole PrinciplePigeonhole Principle
Pigeonhole Principle
 
Discrete math Truth Table
Discrete math Truth TableDiscrete math Truth Table
Discrete math Truth Table
 
Function and their graphs ppt
Function and their graphs pptFunction and their graphs ppt
Function and their graphs ppt
 
Gradient , Directional Derivative , Divergence , Curl
Gradient , Directional Derivative , Divergence , Curl Gradient , Directional Derivative , Divergence , Curl
Gradient , Directional Derivative , Divergence , Curl
 
Inverse functions
Inverse functionsInverse functions
Inverse functions
 
Functions ordered pairs
Functions ordered pairsFunctions ordered pairs
Functions ordered pairs
 

Similar to Permutations 2020

MC0082 –Theory of Computer Science
MC0082 –Theory of Computer ScienceMC0082 –Theory of Computer Science
MC0082 –Theory of Computer ScienceAravind NC
 
Brian Covello: Research in Mathematical Group Representation Theory and Symmetry
Brian Covello: Research in Mathematical Group Representation Theory and SymmetryBrian Covello: Research in Mathematical Group Representation Theory and Symmetry
Brian Covello: Research in Mathematical Group Representation Theory and SymmetryBrian Covello
 
DSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-TransformDSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-TransformAmr E. Mohamed
 
Tensor 1
Tensor  1Tensor  1
Tensor 1BAIJU V
 
Dynamical systems solved ex
Dynamical systems solved exDynamical systems solved ex
Dynamical systems solved exMaths Tutoring
 
Note on Character Theory-summer 2013
Note on Character Theory-summer 2013Note on Character Theory-summer 2013
Note on Character Theory-summer 2013Fan Huang (Wright)
 
Series_Solution_Methods_and_Special_Func.pdf
Series_Solution_Methods_and_Special_Func.pdfSeries_Solution_Methods_and_Special_Func.pdf
Series_Solution_Methods_and_Special_Func.pdfmohamedtawfik358886
 
sequence and series.docx
sequence and series.docxsequence and series.docx
sequence and series.docxGetachew Mulaw
 
4.6 Relative product and composition
4.6 Relative product and composition4.6 Relative product and composition
4.6 Relative product and compositionJan Plaza
 
Dericavion e integracion de funciones
Dericavion e integracion de funcionesDericavion e integracion de funciones
Dericavion e integracion de funcionesdiegoalejandroalgara
 
Relations & functions
Relations & functionsRelations & functions
Relations & functionsindu thakur
 
Double_Integral.pdf
Double_Integral.pdfDouble_Integral.pdf
Double_Integral.pdfd00a7ece
 
Dynamical systems
Dynamical systemsDynamical systems
Dynamical systemsSpringer
 
Module of algelbra analyses 2
Module of algelbra analyses 2Module of algelbra analyses 2
Module of algelbra analyses 2Bui Loi
 
Set Of Primes Is Infinite - Number Theory
Set Of Primes Is Infinite - Number TheorySet Of Primes Is Infinite - Number Theory
Set Of Primes Is Infinite - Number TheoryMethusael Cebrian
 

Similar to Permutations 2020 (20)

MC0082 –Theory of Computer Science
MC0082 –Theory of Computer ScienceMC0082 –Theory of Computer Science
MC0082 –Theory of Computer Science
 
Brian Covello: Research in Mathematical Group Representation Theory and Symmetry
Brian Covello: Research in Mathematical Group Representation Theory and SymmetryBrian Covello: Research in Mathematical Group Representation Theory and Symmetry
Brian Covello: Research in Mathematical Group Representation Theory and Symmetry
 
DSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-TransformDSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-Transform
 
Presntation11
Presntation11Presntation11
Presntation11
 
Tensor 1
Tensor  1Tensor  1
Tensor 1
 
Dynamical systems solved ex
Dynamical systems solved exDynamical systems solved ex
Dynamical systems solved ex
 
Note on Character Theory-summer 2013
Note on Character Theory-summer 2013Note on Character Theory-summer 2013
Note on Character Theory-summer 2013
 
AYUSH.pptx
AYUSH.pptxAYUSH.pptx
AYUSH.pptx
 
Series_Solution_Methods_and_Special_Func.pdf
Series_Solution_Methods_and_Special_Func.pdfSeries_Solution_Methods_and_Special_Func.pdf
Series_Solution_Methods_and_Special_Func.pdf
 
sequence and series.docx
sequence and series.docxsequence and series.docx
sequence and series.docx
 
4.6 Relative product and composition
4.6 Relative product and composition4.6 Relative product and composition
4.6 Relative product and composition
 
Dericavion e integracion de funciones
Dericavion e integracion de funcionesDericavion e integracion de funciones
Dericavion e integracion de funciones
 
Relations & functions
Relations & functionsRelations & functions
Relations & functions
 
Double_Integral.pdf
Double_Integral.pdfDouble_Integral.pdf
Double_Integral.pdf
 
Lecture 3 - Linear Regression
Lecture 3 - Linear RegressionLecture 3 - Linear Regression
Lecture 3 - Linear Regression
 
Dynamical systems
Dynamical systemsDynamical systems
Dynamical systems
 
Unit v
Unit vUnit v
Unit v
 
Exp integrals
Exp integralsExp integrals
Exp integrals
 
Module of algelbra analyses 2
Module of algelbra analyses 2Module of algelbra analyses 2
Module of algelbra analyses 2
 
Set Of Primes Is Infinite - Number Theory
Set Of Primes Is Infinite - Number TheorySet Of Primes Is Infinite - Number Theory
Set Of Primes Is Infinite - Number Theory
 

More from Robert Geofroy

ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptx
ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptxESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptx
ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptxRobert Geofroy
 
This is the introductory set of slides for the Basic English course.
This is the introductory set of slides for the Basic English course.This is the introductory set of slides for the Basic English course.
This is the introductory set of slides for the Basic English course.Robert Geofroy
 
Sampling Distribution of Sample proportion
Sampling Distribution of Sample proportionSampling Distribution of Sample proportion
Sampling Distribution of Sample proportionRobert Geofroy
 
Dm2021 binary operations
Dm2021 binary operationsDm2021 binary operations
Dm2021 binary operationsRobert Geofroy
 
DM2020 boolean algebra
DM2020 boolean algebraDM2020 boolean algebra
DM2020 boolean algebraRobert Geofroy
 
Course project solutions 2018
Course project solutions 2018Course project solutions 2018
Course project solutions 2018Robert Geofroy
 
Course project solutions 2019
Course project solutions 2019Course project solutions 2019
Course project solutions 2019Robert Geofroy
 
Arguments and methods of proof
Arguments and methods of proofArguments and methods of proof
Arguments and methods of proofRobert Geofroy
 
Using sage maths to solve systems of linear equations
Using sage maths to solve systems of linear equationsUsing sage maths to solve systems of linear equations
Using sage maths to solve systems of linear equationsRobert Geofroy
 

More from Robert Geofroy (11)

ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptx
ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptxESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptx
ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptx
 
This is the introductory set of slides for the Basic English course.
This is the introductory set of slides for the Basic English course.This is the introductory set of slides for the Basic English course.
This is the introductory set of slides for the Basic English course.
 
Sampling Distribution of Sample proportion
Sampling Distribution of Sample proportionSampling Distribution of Sample proportion
Sampling Distribution of Sample proportion
 
Dm2021 binary operations
Dm2021 binary operationsDm2021 binary operations
Dm2021 binary operations
 
Set theory
Set theorySet theory
Set theory
 
Datasets
DatasetsDatasets
Datasets
 
DM2020 boolean algebra
DM2020 boolean algebraDM2020 boolean algebra
DM2020 boolean algebra
 
Course project solutions 2018
Course project solutions 2018Course project solutions 2018
Course project solutions 2018
 
Course project solutions 2019
Course project solutions 2019Course project solutions 2019
Course project solutions 2019
 
Arguments and methods of proof
Arguments and methods of proofArguments and methods of proof
Arguments and methods of proof
 
Using sage maths to solve systems of linear equations
Using sage maths to solve systems of linear equationsUsing sage maths to solve systems of linear equations
Using sage maths to solve systems of linear equations
 

Recently uploaded

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 

Recently uploaded (20)

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 

Permutations 2020

  • 1.
  • 2. Permutation  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 a finite set with n elements X = {1, 2, 3, …, n}  The collection of all permutations of this set X will be called the symmetric group on n symbols and is denoted by Sn.
  • 3. S3  It is easier to study a smaller set first so we shatt start with the case of n = 3.  A bijective function f: X → X will be called a permutation of X.  Consider the case when X is a finite set with n elements X = {1, 2, 3}  The collection of all permutations of this set X will be called the symmetric group on n symbols and is denoted by S3
  • 4. S3  A symmetry is an action that can be performed on an object to leave it looking the same as before.  S3 corresponds to the set of symmetries of an equilateral triangle.  What symmetries can you see for an equilateral triangle?
  • 5. Symmetries of an equilateral Triangle There are six symmetries in all.
  • 6. The Six Symmetries  E- Identity  R - Rotation anticlockwise of 120  R2 - Rotation anticlockwise of 240  V- Reflection in the vertical  RV – reflection in left vertical  R2V - Reflection in right vertical We can most easily see a bijective mapping using the conventional two line notation. For instance, R can be represented as:
  • 7. Practice with a Cardboard model Sometimes, we may prefer to use a physical model to see things. If you want, cut out an equilateral triangle and place it on a flat surface (board). Number the corners of the triangle as shown and also the positions on the board.
  • 8. R – Rotation of 120 degrees We can most easily see a bijective mapping using the conventional two line notation. For instance, R can be represented as: where the upper number represents the number on the triangle and the lower the number on the board. Thus we have 1 → 2; 2 → 3 and 3 → 1.
  • 9. E – The identity map Using the notation described, what would be the identity map?
  • 10. R2 – Rotation of 240 degrees What would be the case for R2?
  • 11. Naming the Permutations  Lets use the symbol ρ to denote these three permutations:  E = ρ0 =  R = ρ1 =  R2 = ρ2 =
  • 12. V – Reflection in the vertical In this permutation, we just switch 1 and 2. 3 remains unchanged. This is an example of a transposition.
  • 13. RV – Reflection in the left vertical In this permutation, we just switch 2 and 3, with 1 remaining unchanged. This is another example of a transposition.
  • 14. Notation  We shall use the notation RV = R * V to mean R followed by V.  Thus, R = (1, 2, 3) and V = (1, 2) and R * V = (2, 3) R = V = RV =
  • 16. Notation  You may have been wondering why we have RV!  It is easy to see that not even knowing the name, a reflection in the left vertical just results in an exchange in the elements 2 and 3.  RV signifies that the permutation is equivalent to a rotation of 120 followed by a reflection in the vertical. Try this to see if you end up with the result you expect.
  • 19. Take note… VR is not the same as RV!!
  • 20. R2V – Reflection in the right vertical Complete this one as an exercise.
  • 21. Cycle Notation  So far, we have been using the notation:  This form is somewhat inefficient.  If we have permutations which leave the majority of the numbers unchanged then we just need to say what happens to the changed numbers.  We shall use instead what is known as cycle notation for our permutations.  In this case, we see that only 1 and 3 change places so we say (1 3) meaning 1 → 3 and 3 → 1.
  • 22. Definition  Let x1, x2, . . . , xr be r distinct elements of Xn = {1, 2, . . . , n} with 1 ≤ r ≤ n.  The r-cycle (x1 , x2 ,. . . , xr) is the permutation in Sn which maps x1 → x2, x2 → x3, . . . , xr−1 → xr, xr → x1 and fixes all other points in {1, 2, . . . , n}.  For instance, the permutation written as a cycle is (1, 2, 3) which means 1 → 2, 2 → 3 and 3 → 1. This is the notation we shall use in SAGE notebook…
  • 24. Group Properties  To show that a set G under a given operation is a group, we need to show that it satisfies the group axioms: CLOSURE:Closure: x, y ∈ G ⇒ x * y ∈ G  ASSOSIATIVE: x, y, z ∈ G , x * (y * z) = (x * y) * z  IDENTITY: e ∈ G st g ∈ G3 , g * e = e * g = g  INVERSES: g ∈ G, g’ ∈ G st g * g’= g’* g = e
  • 25. Symmetric Group  Let G = {E, R, R2, V, RV, R2V}. This set under the permutations described form a group under composition.  We need to show that:  any multiplications of elements results in another element of the set.  The operation is associative.  There is an identity and each element has an inverse.  The normal way of showing this is via the multiplication table.
  • 27. Group Table 5/11/2020 27 * E R R2 V RV R2V E E R R2 V RV R2V R R R2 E RV R2V V R2 R2 E R R2V V RV V V R2V RV E R2 R RV RV V R2V R E R2 R2V R2V RV V R2 R E
  • 28. Group Properties  Clearly the operation is closed as the multiplication of any two elements results in another element of the group.  E is the identity  Each element has an inverse.  We can also show that for all elements:  R.(V.RV) = R.R2 = E = (R.V).RV  That is the operation is associative.  We have a group!
  • 29. The Six Symmetries  E - Identity  R - Rotation anticlockwise of 120  R2 - Rotation anticlockwise of 240  V- Reflection in the vertical  RV – reflection in left vertical  R2V - Reflection in right vertical  We need to be quite familiar with the permutations in this symmetric set so take a minute to review them.
  • 30. Transpositions Note that: V * R2V = (1, 2) * (1, 3) = (1, 2, 3) = R Conversely, R = (1, 2, 3) = (1, 2) * (1, 3) So that a 3-cycle can be written as a product of 2-cycles (transpositions).
  • 31. Order of the Permutations The order of a permutation is the number of transpositions when the permutation of expressed in this form. Thus (1, 2, 3) = (1, 2) * (1, 3) is of order 2 R = (1, 2, 3) is an EVEN permutation. The identity E is an even permutation.
  • 32. Even and Odd permutations Expressing a permutation as a product of 2-cycles enables us to determine the parity of the permutation. If the permutation can be expressed as an even number of 2-clycles it is an even permutation else it is an odd permutation.
  • 33. Even and Odd The identity permutation is an even permutation. An even permutation can be obtained from the identity permutation by an even number of exchanges (called transpositions) of two elements, while an odd permutation can be obtained by an odd number of transpositions.
  • 34. Rules  The following rules follow directly from the corresponding rules about addition of integers:  the composition of two even permutations is even  the composition of two odd permutations is even  the composition of an odd and an even permutation is odd  From these it follows that  the inverse of every even permutation is even  the inverse of every odd permutation is odd
  • 35. Alternating Group The even permutations for a subgroup of S3.
  • 37. A3 = AlternatingGroup(3) 5/11/2020 37 * E R R2 E E R R2 R R R2 E R2 R2 E R Note that if we explicitly want to do a L-R evaluation, we shall use Roman letters for the permutations and insert the * multiplication sign.
  • 39. SAGE Jupyter output Observe that this is exactly the table we had before!
  • 40. Naming the Permutations  Lets use the symbol μ to denote these last three permutations:  V = μ1 =  RV = μ2 =  R2V = μ3 =
  • 41. Functional Notation Permutations are bijective functions. Thus, we can use function notion when dealing with permutations. But we have to be careful!
  • 43. Permutations as Bijections  A permutation on a set X= {1, 2, 3} is a bijection on this set.  As such, we shall adopt the formal approach for composition of functions.  Let ρ and τ be permutations on X. then, the composition of ρ and τ, ρ o τ means (ρ o τ)(x) = (x)  That is: (ρ o τ)(x) = ρ(τ(x))  So, we apply τ and then ρ.
  • 44. Composing permutations We can now refer to S3 = {1, 2, 3} as the symmetric group. Consider two permutations ρ1 and μ2 as follows: ρ1 = μ3 = Then ρ1μ3 means ρ1(μ3(x)) using the conventional multiplication of functions notation. This is a composition. So we must apply μ3 and then ρ1. We go right to left.
  • 45. Composition of functions  Recall that when dealing with functions, we wrote f(g(x)) meaning f o g but just represented it as fg..  This was evaluated by first of all evaluating g and then f.  If we adopt the same notation when dealing with permutations, we should evaluate then the same way. Thus ρ1 μ3 would mean we evaluate μ3 then ρ1 .  We shall also adopt the convention of not putting the commas between the elements of the cycles so that μ = (1 3).  Don’t let this confuse you with the way we worked before!!
  • 46. Composing permutations So, ρ1 μ3 = Evaluating as functions from right to left we can see that this results in the mapping: 1 → 3 → 1 2 → 2 → 3 3 → 1 → 2 The resulting map is Thus ρ1μ3 = μ2.
  • 47. Another Example So, ρ1 μ3 = We can see that this results in the mapping: μ3 ρ1 1 → 3 → 1 2 → 2 → 3 3 → 1 → 2 The resulting map is Thus ρ1μ3 = μ2.
  • 48. Multiplication of Permutations To multiply two permutations, we shall follow the convention mentioned by Herstein (p 110) whereby the multiplication follows the normal composition of functions. We apply the permutation on the right and this followed by that on the left.
  • 49. Working with cycles  Let us take two symmetries with which we are familiar:  μ2 = (2 3)  ρ1 = (1 2 3)  Then μ2ρ1 = (2 3)(1 2 3) ρ1 μ2 1 → 2 → 3 2 → 3 → 2 3 → 1 → 1  So μ2 ρ1 = (1 3) = μ3
  • 50. Another example  Let us take two symmetries with which we are familiar:  μ1 = (1 2)  μ3 = (1 3)  Then μ1 μ3 = (1 2)(1 3) μ3 μ1 1 → 3 → 3 2 → 2 → 1 3 → 1 → 2  So μ1 μ3 = (1 3 2) = ρ2
  • 52. Water Break for me…  Get out a clean sheet of paper and a pencil.  We are going to complete the group table using the cycles  I recommend converting the cycle into the two line format to help you see things clearly as you go…  Thus, for instance: (1 2 3)(1 3)=(2 3)  As you may have noted, I have worked out some examples for you. Try the others now…
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64. Transpositions  Note that with the following permutations, we could effect the change with one transposition or one 2-cycle:  μ1 = = (1 2)  μ2 = = (2 3)  μ3 = = (1 3)
  • 65. Transpositions  In the case of these, we need two 2-cycles:  ρ0 = = (1) = (1 3) (1 3)  ρ1 = = (1 2 3) = (1 2)(2 3)  ρ2 = = (1 3 2) = (1 3)(3 2)  Exercise: Confirm the last two cases above.
  • 66. Parity Group Let P = {e, o} where e are the even permutations and o are the odd permutations. (P, *) is a group under compositions. * e o e e o o o e
  • 67. Transpositions Question: Show that the permutation μ = 34521 can be expressed as a product of 2-cycles. Proof: Consider e = 12345 τ1 = (1 5) τ1(e) = 52341 τ2 = (2 4) τ2(τ1(e))= 54321 τ3 = (1 3) τ3(τ2(τ1(e)))= 34521 τ3(τ2(τ1(e)))= μ So μ = τ3τ2τ1 And our permutation μ can be expressed as a product of three 2-cycles.
  • 68. Check Show that the permutation μ = 34521 can be expressed as a product of 2-cycles. Proof: μ = τ3τ2τ1 with τ1 = (1 5), τ2 = (2 4) and τ3 = (1 3) μ = τ3τ2τ1 = (1 5)(2 4)(1 3) (1 3) (2 4) (1 5) 1 → 3 → 3 → 3 2 → 2 → 4 → 4 3 → 1 → 1 → 5 4 → 4 → 2 → 2 5 → 5 → 5 → 1 So μ = τ3τ2τ1 And our permutation μ can be expressed as a product of three 2-cycles. Note that this is an odd permutation.
  • 69. Note The permutation μ = 34521 can be expressed as a product of 2-cycles in a number of ways. For instance, μ = 34521 =(2 3)(1 2)(2 4)(3 5)(4 5) We have 5 2-cyles and it is an odd permutation. Recall that we had expressed this as 3 2-cycles. So even though there may be many ways of expressing this permutation as a product of 2-cycles, we will always get an odd number. It will always be an odd permutation.
  • 70. Another Example  54213 = (1 5 3 2 4) = (1 5)(5 3)(3 2)(2 4)  Check: (2 4) (3 2) (5 3) (1 5) 1 ` → 1 → 1 → 1 → 5 2 → 4 → 4 → 4 → 4 3 → 3 → 2 → 2 → 2 4 → 2 → 3 → 5 → 1 5 → 5 → 5 → 3 → 3  This gives us an easy way of producing the 2-cycles.
  • 71. Exercise  31254 =  Complete this: ( ) ( ) ( ) 1 ` → → → 3 2 → → → 1 3 → → → 2 4 → → → 5 5 → → → 4
  • 72. Solution  31254 = (1 3 2)(4 5) = (1 3)(3 2)(4 5)  Check: (4 5) (3 2) (1 3) 1 ` → 1 → 1 → 3 2 → 2 → 3 → 1 3 → 3 → 2 → 2 4 → 5 → 5 → 5 5 → 4 → 4 → 4  Which gives us 31254. Excellent!
  • 73. Exercise Consider the permutation on the set S = {1, 2, 3, 4, 5} given by 𝛔(x) = 6 – x for x 𝜖 S, write out the permutation table and express this permutation as a product of distinct cycles. 5/11/2020 73
  • 74. Solution Consider the permutation on the set S = {1, 2, 3, 4, 5} given by 𝛔(x) = 6 – x for x 𝜖 S, write out the permutation table and express this permutation as a product of distinct cycles. 5/11/2020 74 S = {1, 2, 3, 4, 5} 𝛔(x) = 6 – x for x 𝜖 S 1 → 5 2 → 4 3 → 3 4 → 2 5 → 1 And the permutation is (1 5)(2 4)
  • 75. Note that the product contains (i)an even number of even permutations – even. (ii)an odd number of even permutations – odd (iii) an odd number of even permutations - odd