| Download
Jupyter notebook Introduction/Permutation Groups/PermutationsNotes.ipynb
Project: Course
Views: 50Kernel: Python 2 (SageMath)
In [1]:
Today, we've encounter two concepts from group theory(Permutations group and homomorphism). It is instructive to manipulate permutations. Assume that you have To check if your cycle decompositions is correct, plug list thact contains pair (element, its image), in our case
In [2]:
[(1, 2, 3), (4, 5, 6, 7)]
For permutations group, you need to define the group first, then define an element by passing its representaion as string to the created group. Now you can do what ever you like.
In [3]:
(1,2,4,8,5,6,3)
In [4]:
* 1 f f^2 f^3 f^4 f^5 f^6 f^7 f^8 f^9
+----------------------------------------
1| 1 f f^2 f^3 f^4 f^5 f^6 f^7 f^8 f^9
f| f f^2 f^3 f^4 f^5 f^6 f^7 f^8 f^9 1
f^2| f^2 f^3 f^4 f^5 f^6 f^7 f^8 f^9 1 f
f^3| f^3 f^4 f^5 f^6 f^7 f^8 f^9 1 f f^2
f^4| f^4 f^5 f^6 f^7 f^8 f^9 1 f f^2 f^3
f^5| f^5 f^6 f^7 f^8 f^9 1 f f^2 f^3 f^4
f^6| f^6 f^7 f^8 f^9 1 f f^2 f^3 f^4 f^5
f^7| f^7 f^8 f^9 1 f f^2 f^3 f^4 f^5 f^6
f^8| f^8 f^9 1 f f^2 f^3 f^4 f^5 f^6 f^7
f^9| f^9 1 f f^2 f^3 f^4 f^5 f^6 f^7 f^8
In [5]:
385
210
116
In [6]:
Graphics object consisting of 81 graphics primitives
Appendix: permutations source code
In [7]:
In [ ]: