Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Permutation
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Matrix representation=== {{main|Permutation matrix}} A ''permutation matrix'' is an [[Square matrix|''n'' Γ ''n'' matrix]] that has exactly one entry 1 in each column and in each row, and all other entries are 0. There are several ways to assign a permutation matrix to a permutation of {1, 2, ..., ''n''}. One natural approach is to define <math>L_{\sigma}</math> to be the [[Linear map|linear transformation]] of <math>\mathbb{R}^n</math> which permutes the [[standard basis]] <math>\{\mathbf{e}_1,\ldots,\mathbf{e}_n\}</math> by <math>L_\sigma(\mathbf{e}_j)=\mathbf{e}_{\sigma(j)}</math>, and define <math>M_{\sigma}</math> to be its matrix. That is, <math>M_{\sigma}</math> has its ''j''<sup>th</sup> column equal to the n Γ 1 column vector <math>\mathbf{e}_{\sigma(j)}</math>: its (''i'', ''j'') entry is to 1 if ''i'' = ''Ο''(''j''), and 0 otherwise. Since composition of linear mappings is described by matrix multiplication, it follows that this construction is compatible with composition of permutations:<blockquote><math>M_\sigma M_\tau = M_{\sigma\tau}</math>. </blockquote>For example, the one-line permutations <math>\sigma=213,\ \tau=231</math> have product <math>\sigma\tau = 132</math>, and the corresponding matrices are:<math display="block"> M_{\sigma} M_{\tau} = \begin{pmatrix} 0&1&0\\1&0&0\\0&0&1\end{pmatrix} \begin{pmatrix} 0&0&1\\1&0&0\\0&1&0\end{pmatrix} = \begin{pmatrix} 1&0&0\\0&0&1\\0&1&0\end{pmatrix} = M_{\sigma\tau}.</math> [[File:Symmetric group 3; Cayley table; matrices.svg|thumb|Composition of permutations corresponding to a multiplication of permutation matrices.]] It is also common in the literature to find the inverse convention, where a permutation ''Ο'' is associated to the matrix <math>P_{\sigma} = (M_{\sigma})^{-1} = (M_{\sigma})^{T}</math> whose (''i'', ''j'') entry is 1 if ''j'' = ''Ο''(''i'') and is 0 otherwise. In this convention, permutation matrices multiply in the opposite order from permutations, that is, <math>P_\sigma P_{\tau} = P_{\tau\sigma}</math>. In this correspondence, permutation matrices act on the right side of the standard <math>1 \times n</math> row vectors <math>({\bf e}_i)^T</math>: <math>({\bf e}_i)^T P_{\sigma} = ({\bf e}_{\sigma(i)})^T</math>. The [[Cayley table]] on the right shows these matrices for permutations of 3 elements.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Permutation
(section)
Add topic