|
|
(One intermediate revision by one other user not shown) |
Line 1: |
Line 1: |
| [[File:Symmetric group 4; permutation list with matrices.svg|thumb|[[File:Loupe light.svg|15px|link=http://upload.wikimedia.org/wikipedia/commons/thumb/6/6d/Symmetric_group_4%3B_permutation_list_with_matrices.svg/1000px-Symmetric_group_4%3B_permutation_list_with_matrices.svg.png]] Permutations of 4 elements<br><br>Odd permutations have a green or orange background. The numbers in the right column are the [[Inversion (discrete mathematics)|inversion]] numbers {{OEIS|A034968}}, which have the same parity as the permutation.]]
| | The title of the writer is Numbers but it's not the most masucline title out there. What I adore doing is taking part in baseball but I haven't made a dime with it. Years in the past we moved to North Dakota. For many years I've been working as a payroll clerk.<br><br>Here is my web blog; [http://drupal.amalroshan.in/node/1864 drupal.amalroshan.in] |
| In [[mathematics]], when ''X'' is a [[finite set]] of at least two elements, the [[permutation]]s of ''X'' (i.e. the [[bijective map]]pings from ''X'' to ''X'') fall into two classes of equal size: the '''even permutations''' and the '''odd permutations'''. If any [[total ordering]] of ''X'' is fixed, the '''parity''' ('''oddness''' or '''evenness''') of a permutation <math>\sigma</math> of ''X'' can be defined as the parity of the number of [[inversion (discrete mathematics)|inversions]] for σ, i.e., of pairs of elements {{math|1={{mvar|x}}, {{mvar|y}}}} of ''X'' such that <math>x<y</math> and <math>\sigma(x)>\sigma(y)</math>.
| |
| | |
| The '''sign''' or '''signature ''' of a permutation σ is denoted '''sgn(σ)''' and defined as +1 if σ is even and −1 if σ is odd. The signature defines the '''alternating [[character (mathematics)|character]]''' of the [[symmetric group]] ''S''<sub>''n''</sub>. Another notation for the sign of a permutation is given by the more general [[Levi-Civita symbol]] (<math>\epsilon_\sigma</math>), which is defined for all maps from ''X'' to ''X'', and has value zero for non-bijective maps.
| |
| | |
| The sign of a permutation can be explicitly expressed as
| |
| :{{math|1=sgn(σ) = (−1)<sup>''N''(σ)</sup>}}<!-- do not use <math> here. see https://bugzilla.wikimedia.org/show_bug.cgi?id=1594#c4 -->
| |
| where ''N''(σ) is the number of [[inversion (discrete mathematics)|inversion]]s in σ.
| |
| | |
| Alternatively, the sign of a permutation σ can be defined from its decomposition into the product of [[transposition (mathematics)|transpositions]] as
| |
| :{{math|1=sgn(σ) = (−1)<sup>{{mvar|m}}</sup>}}<!-- do not use <math> here. see https://bugzilla.wikimedia.org/show_bug.cgi?id=1594#c4 -->
| |
| where {{mvar|m}} is the number of transpositions in the decomposition. Although such a decomposition is not unique, the parity of the number of transpositions in all decompositions is the same, implying that the sign of a permutation is [[well-defined]].<ref name="Jacobson">Jacobson (2009), p. 50.</ref>
| |
| | |
| == Example ==
| |
| Consider the permutation σ of the set {{math|{1, 2, 3, 4, 5} }} which turns the initial arrangement 12345 into 34521.
| |
| It can be obtained by three transpositions: first exchange the places of 1 and 3, then exchange the places of 2 and 4, and finally exchange the places of 1 and 5. This shows that the given permutation σ is odd. Using the notation explained in the [[Permutation#Notation|Permutation]] article, we can write
| |
| : <math>\sigma=\begin{pmatrix}1&2&3&4&5\\
| |
| 3&4&5&2&1\end{pmatrix} = \begin{pmatrix}1&3&5\end{pmatrix} \begin{pmatrix}2&4\end{pmatrix} = \begin{pmatrix}1&5\end{pmatrix} \begin{pmatrix}1&3\end{pmatrix} \begin{pmatrix}2&4\end{pmatrix}.</math>
| |
| There are many other ways of writing σ as a [[functional composition|composition]] of transpositions, for instance
| |
| :{{math|1=σ = (2 3) (1 2) (2 4) (3 5) (4 5)}},
| |
| but it is impossible to write it as a product of an even number of transpositions. | |
| | |
| == Properties ==
| |
| The identity permutation is an even permutation.<ref name="Jacobson" /> An even permutation can be obtained as the composition of an [[even and odd numbers|even number]] and only an even number of exchanges (called [[transposition (mathematics)|transposition]]s) of two elements, while an odd permutation be obtained by (only) an odd number of transpositions.
| |
| | |
| The following rules follow directly from the corresponding rules about addition of integers:<ref name="Jacobson" />
| |
| * 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
| |
| | |
| Considering the [[symmetric group]] ''S''<sub>{{mvar|n}}</sub> of all permutations of the set {1, ..., {{mvar|n}}}, we can conclude that the map
| |
| :{{math|1=sgn: ''S''<sub>{{mvar|n}}</sub> → {−1, 1} }}<!-- do not use <math> here. see https://bugzilla.wikimedia.org/show_bug.cgi?id=1594#c4 -->
| |
| that assigns to every permutation its signature is a [[group homomorphism]].<ref>Rotman (1995), {{Google books quote|id=lYrsiaHSHKcC|page=9|text=sgn|p. 9, Theorem 1.6.}}</ref>
| |
| | |
| Furthermore, we see that the even permutations form a [[subgroup]] of ''S''<sub>{{mvar|n}}</sub>.<ref name="Jacobson" /> This is the [[alternating group]] on {{mvar|n}} letters, denoted by ''A''<sub>{{mvar|n}}</sub>.<ref name="Jacobson_a">Jacobson (2009), p. 51.</ref> It is the [[Kernel (algebra)|kernel]] of the homomorphism sgn.<ref>Goodman, {{Google books quote|id=l1TKk4InOQ4C|page=116|text=kernel of the sign homomorphism|p. 116, definition 2.4.21}}</ref> The odd permutations cannot form a subgroup, since the composite of two odd permutations is even, but they form a [[coset]] of ''A''<sub>{{mvar|n}}</sub> (in ''S''<sub>{{mvar|n}}</sub>).<ref>Meijer & Bauer (2004), {{Google books quote|id=ZakN8Y7dcC8C|page=72|text=these permutations do not form a subgroup since the product of two odd permutations is even|p. 72}}</ref>
| |
| | |
| If {{mvar|n}} > 1 , then there are just as many even permutations in ''S''<sub>{{mvar|n}}</sub> as there are odd ones;<ref name="Jacobson_a" /> consequently, ''A''<sub>{{mvar|n}}</sub> contains [[factorial|{{mvar|n}}!]]/2 permutations. [The reason: if σ is even, then {{math|(1 2) σ}} is odd; if σ is odd, then {{math|(1 2) σ}} is even; the two maps are inverse to each other.]<ref name="Jacobson_a" />
| |
| | |
| A [[Cycle (mathematics)|cycle]] is even if and only if its length is odd. This follows from formulas like
| |
| :(''a'' ''b'' ''c'' ''d'' ''e'') = (''d'' ''e'') (''c'' ''e'') (''b'' ''e'') (''a'' ''e'')
| |
| In practice, in order to determine whether a given permutation is even or odd, one writes the permutation as a product of disjoint cycles. The permutation is odd if and only if this factorization contains an odd number of even-length cycles.
| |
| | |
| Another method for determining whether a given permutation is even or odd is to construct the corresponding [[Permutation matrix]] and compute its determinant. The value of the determinant is same as the parity of the permutation.
| |
| | |
| Every permutation of odd [[order (group theory)|order]] must be even. The permutation (12)(34) in ''A''<sub>4</sub> shows that the converse is not true in general.
| |
| | |
| == Equivalence of the two definitions ==
| |
| === Proof 1 ===
| |
| | |
| Every permutation can be produced by a sequence of [[Transposition (mathematics)|transpositions]] (2-element exchanges): with the first transposition we put the first element of the permutation in its proper place, the second transposition puts the second element right etc. Given a permutation σ, we can write it as a product of transpositions in many different ways. We want to show that either all of those decompositions have an even number of transpositions, or all have an odd number.
| |
| | |
| Suppose we have two such decompositions:
| |
| :σ = T<sub>1</sub> T<sub>2</sub> ... T<sub>k</sub>
| |
| :σ = Q<sub>1</sub> Q<sub>2</sub> ... Q<sub>m</sub>.
| |
| We want to show that k and m are either both even, or both odd.
| |
| | |
| Every transposition can be written as a product of an odd number of transpositions of adjacent elements, e.g.
| |
| :(2 5) = (2 3) (3 4) (4 5) (4 3) (3 2)
| |
| If we decompose in this way each of the transpositions T<sub>1</sub>...T<sub>k</sub> and Q<sub>1</sub>...Q<sub>m</sub> above
| |
| into an odd number of adjacent transpositions, we get the new decompositions:
| |
| :σ = T<sub>1′</sub> T<sub>2′</sub> ... T<sub>k′</sub>
| |
| :σ = Q<sub>1′</sub> Q<sub>2′</sub> ... Q<sub>m′</sub>
| |
| where all of the ''T''<sub>1′</sub>...''T<sub>k′</sub>'' ''Q''<sub>1′</sub>...''Q<sub>m′</sub>'' are adjacent, ''k'' − ''k''′ is even, and ''m'' − ''m''′ is even.
| |
| | |
| Now compose the inverse of T<sub>1'</sub> with σ. ''T''<sub>1'</sub> is the transposition (''i'', ''i'' + 1) of two adjacent numbers, so, compared to σ, the new permutation σ (''i'', ''i'' + 1) will have exactly one inversion pair less (in case (''i'', ''i'' + 1) was an inversion pair for σ) or more (in case (''i'', ''i'' + 1) was not an inversion pair). Then apply the inverses of ''T''<sub>2'</sub>, ''T''<sub>3'</sub>, ... ''T<sub>k'</sub>'' in the same way, "unraveling" the permutation σ. At the end we get the identity permutation, whose ''N'' is zero. This means that the original ''N''(σ) less ''k''' is even and also ''N''(σ) less ''k'' is even.
| |
| | |
| We can do the same thing with the other decomposition, ''Q''<sub>1'</sub>...''Q<sub>m'</sub>'', and it will turn out that the original ''N''(σ) less m is even.
| |
| | |
| Therefore, ''m'' − ''k'' is even, as we wanted to show.
| |
| | |
| We can now define the permutation σ to be even if ''N''(σ) is an even number, and odd if ''N''(σ) is odd. This coincides with the definition given earlier but it is now clear that every permutation is either even or odd.
| |
| | |
| === Proof 2 ===
| |
| | |
| An alternative proof uses the [[polynomial]]
| |
| | |
| :<math>P(x_1,\ldots,x_n)=\prod_{i<j} (x_i - x_j)\;</math>
| |
| | |
| So for instance in the case {{mvar|n}} = 3, we have
| |
| | |
| :<math>P(x_1, x_2, x_3) = (x_1 - x_2)(x_2 - x_3)(x_1 - x_3)\;</math>
| |
| | |
| Now for a given permutation σ of the numbers {1, ..., {{mvar|n}}}, we define
| |
| | |
| :<math>\operatorname{sgn}(\sigma)=\frac{P(x_{\sigma(1)},\ldots,x_{\sigma(n)})}{P(x_1,\ldots,x_n)}</math>
| |
| | |
| Since the polynomial <math>P(x_{\sigma(1)},\dots,x_{\sigma(n)})</math> has the same factors as <math>P(x_1,\dots,x_n)</math> except for their signs, if follows that sgn(σ) is either +1 or −1. Furthermore, if σ and τ are two permutations, we see that
| |
| | |
| :<math>\operatorname{sgn}(\sigma\tau) = \frac{P(x_{\sigma(\tau(1))},\ldots,x_{\sigma(\tau(n))})}{P(x_1,\ldots,x_n)}</math>
| |
| | |
| ::::<math> = \frac{P(x_{\sigma(1)},\ldots,x_{\sigma(n)})}{P(x_1,\ldots,x_n)} \cdot \frac{P(x_{\sigma(\tau(1))},\ldots, x_{\sigma(\tau(n))})}{P(x_{\sigma(1)},\ldots,x_{\sigma(n)})}</math>
| |
| | |
| ::::<math> = \operatorname{sgn}(\sigma)\cdot\operatorname{sgn}(\tau)</math>
| |
| | |
| Since with this definition it is furthermore clear that any transposition of two elements has signature −1, we do indeed recover the signature as defined earlier.
| |
| | |
| === Proof 3 ===
| |
| | |
| A third approach uses the [[presentation of a group|presentation]] of the group ''S<sub>n</sub>'' in terms of generators <math>\tau_1,\dots,\tau_{n-1}</math> and relations
| |
| * <math>\tau_i^2 = 1</math> for all ''i''
| |
| * <math>\tau_i^{}\tau_{i+1}\tau_i = \tau_{i+1}\tau_i\tau_{i+1}</math> for all ''i'' < ''n'' − 1
| |
| * <math>\tau_i^{}\tau_j = \tau_j\tau_i</math> if |''i'' − ''j''| ≥ 2.
| |
| [Here the generator <math>\tau_i</math> represents the transposition (''i'', ''i'' + 1).] All relations keep the length of a word the same or change it by two. Starting with an even-length word will thus always result in an even-length word after using the relations, and similarly for odd-length words. It is therefore unambiguous to call the elements of ''S<sub>n</sub>'' represented by even-length words "even", and the elements represented by odd-length words "odd".
| |
| | |
| == Other definitions and proofs ==
| |
| The parity of a permutation of <math>n</math> points is also encoded in its [[cyclic permutation|cycle structure]].
| |
| | |
| Let <math>\sigma=(i_1 i_2 \dots i_{r+1})(j_1 j_2 \dots j_{s+1}) \dots (l_1 l_2 \dots l_{u+1})</math> be the unique [[cycle notation|decomposition of <math>\sigma</math> into disjoint cycles]], which can be composed in any order because they commute. A cycle <math>(abc \dots xyz)</math> involving <math>k+1</math> points can always be obtained by composing <math>k</math> transpositions (2-cycles):
| |
| | |
| :<math>(abc \dots xyz)=(ab)(bc) \dots (xy)(yz)</math>,
| |
| | |
| so call <math>k</math> the ''size'' of the cycle, and observe that transpositions are cycles of size 1. From the decomposition into disjoint cycles we can obtain a decomposition of <math>\sigma</math> into <math> r + s + \dots + u </math> transpositions. The number <math>N(\sigma)=r+s+\dots+u</math> is called the discriminant of <math>\sigma</math>, and can also be computed as
| |
| | |
| :<math>n - \text{number of disjoint cycles in the decomposition of }\sigma</math>
| |
| | |
| if we take care to include the fixed points of <math>\sigma</math> as 1-cycles.
| |
| | |
| When a transposition <math>(ab)</math> is applied after a permutation <math>\sigma</math>, either <math>a</math> and <math>b</math> are in different cycles of <math>\sigma</math> and
| |
| | |
| :<math>(ab)(a c_1 c_2 \dots c_r)(b d_1 d_2 \dots d_s) = (a c_1 c_2 \dots c_r b d_1 d_2 \dots d_s)</math>,
| |
| | |
| or <math>a</math> and <math>b</math> are in the same cycle of <math>\sigma</math> and
| |
| | |
| :<math>(ab)(a c_1 c_2 \dots c_r b d_1 d_2 \dots d_s) = (a c_1 c_2 \dots c_r)(b d_1 d_2 \dots d_s)</math>.
| |
| | |
| In both cases, it can be seen that <math>N((ab)\sigma) = N(\sigma) \pm 1</math>, so the parity of <math>N((ab)\sigma)</math> will be different from the parity of <math>N(\sigma)</math>.
| |
| | |
| If <math>\sigma = t_1 t_2 \dots t_m </math> is an arbitrary decomposition of a permutation <math>\sigma</math> into transpositions, by applying the <math>m</math> transpositions <math>t_1</math> after <math>t_2</math> after ... after <math>t_m</math> after the identity (whose <math>N</math> is zero) we see that <math>N(\sigma)</math> and <math>m</math> have the same parity. If we define the parity of <math>\sigma</math> as the parity of <math>N(\sigma)</math>, what we have shown is that a permutation that has an even length decomposition is even and a permutation that has one odd length decomposition is odd.
| |
| | |
| Remarks:
| |
| | |
| * A careful examination of the above argument shows that <math>m\geq N(\sigma)</math>, and since any decomposition of <math>\sigma</math> into cycles whose size sum <math>m</math> can be expressed as a composition of <math>m</math> transpositions, the number <math>N(\sigma)</math> is the minimum possible sum of the sizes of the cycles in a decomposition of <math>\sigma</math>, including the cases in which all cycles are transpositions.
| |
| | |
| * This proof does not introduce a (possibly arbitrary) order into the set of points on which <math>\sigma</math> acts.
| |
| | |
| == Generalizations ==
| |
| Parity can be generalized to [[Coxeter group]]s: one defines a [[length function]] <math>l(v),</math> which depends on a choice of generators (for the symmetric group, [[adjacent transposition]]s), and then the function <math>v \mapsto (-1)^{l(v)}</math> gives a generalized sign map.
| |
| | |
| == See also ==
| |
| * The [[fifteen puzzle]] is a classic application, though it actually involves a [[groupoid]].
| |
| * [[Zolotarev's lemma]]
| |
| | |
| == Notes ==
| |
| {{Reflist}}
| |
| | |
| ==References==
| |
| * {{MathWorld|urlname=EvenPermutation|title=Even Permutation}}
| |
| * {{Cite book| last=Jacobson| first=Nathan| author-link=Nathan Jacobson| year=2009| title=Basic algebra| edition=2nd| volume = 1 | series= | publisher=Dover| isbn = 978-0-486-47189-1| postscript=<!-- Bot inserted parameter. Either remove it; or change its value to "." for the cite to end in a ".", as necessary. -->{{inconsistent citations}}}}
| |
| * {{cite book |last1=Rotman |first1=J.J. |authorlink1= |last2= |first2= |authorlink2= |title=An introduction to the theory of groups |url= |edition= |series=Graduate texts in mathematics |volume= |year=1995 |publisher=Springer-Verlag |location= |isbn=978-0-387-94285-8 }}
| |
| * {{cite book |last1=Goodman |first1=Frederick M. |authorlink1= |last2= |first2= |authorlink2= |title=Algebra: Abstract and Concrete |url= |edition= |series= |volume= |year= |publisher= |location= |isbn=978-0-9799142-0-1 }}
| |
| * {{cite book |last1=Meijer |first1=Paul Herman Ernst |authorlink1= |last2=Bauer |first2=Edmond |authorlink2= |title=Group theory: the application to quantum mechanics |url= |edition= |series=Dover classics of science and mathematics |volume= |year=2004 |publisher=Dover Publications |location= |isbn=978-0-486-43798-9 }}
| |
| | |
| [[Category:Group theory]]
| |
| [[Category:Permutations]]
| |
| [[Category:Parity]]
| |
| [[Category:Articles containing proofs]]
| |
| | |
| [[ru:Перестановка#Связанные определения]]
| |