Permutation Groups / Permutation Notations / Order of A Permutation / Transpositions
参考文献:
- 5. Permutation Groups
- The Order of a Permutation
- Class 17: More Permutations
- The Sign of a Permutation by Matt Baker
1. Permutation GroupsPermalink
Definition 1: Let
- 那既然 permutation 是一个双射函数,那 permutation 的 composition
也是一个 permutation - 同时,双射函数的逆函数存在,且也是双射的,所以
也是 permutation
Lemma 2: Let
Group 的概念见 Is vector space a field? And what are: Groups / Rings / Fields / Vector Spaces?。简而言之,我们说
- Closure:
- Associativity:
- Identity element:
such that - Inverse element:
such that
- 注意交换律 Commutativity 不是 Group 的 axiom
- i.e.
- i.e.
Lemma 3: If
Definition 4: The Group
2. Permutation Notations / Order of A PermutationPermalink
第一种写法是把 permutation
以下我们为了方便我们主要研究
这种写法的问题在于:看不出
Definition 5: Let
举例:
为此我们需要一种 “表达能力” 更强的 notation,于是我们有了下文的 cycle notation.
Definition 6: Let
- 注意这里并没有说
,比如你可以有 ,这也算是一个 -cycle
由此我们可以有第二种写法:如果 permutation
- 注意这个表达方式不唯一,明显你写成
也是可以的 - 明显,此时我们可以直接得出:
的 order 是- 好比你一路往右 shift,shift 了一圈 (
次) 又回到了起点
- 好比你一路往右 shift,shift 了一圈 (
但并不是每个 permutation 都能写成一个完整的
Definition-Lemma 7:
- 注意这里这个 “up to order” 指 “从 order 的角度来看 (是 unique 的)”,这是数学教材里的一个常用的表达式,具体可以参考 How do I understand the meaning of the phrase “up to~” in mathematics?
- 因为 cycle 的写法不唯一,所以这里它这里 “up to order” 的具体含义就是:如果两个 cycle 的 order 是相同的,就认为是 cycle 是相同的,而不算是违反了 unique
举例:
注意这里应该这么看:
- 换言之 cycle decomposition 是严格意义上的 function decomposition
Lemma 8: Let
3. TranspositionsPermalink
Definition: A transposition is simply a
E.g.
permutation 可以被 cycle decomposition;类似地,cycle 也能被 transposition decomposition,进而也可以认为 permutation 能被 transposition decomposition
- 我们可以特别定义 1-cycle
等价于两个 transposition where is a random member in other than ,为 transposition decomposition 的合法性铺路
3.1 Transposition Decomposition and CommutativityPermalink
但在讲 transposition decomposition 之前,我要强调一下 Commutativity 的问题。
前面有讲,
但在 transposition decomposition 的时候,我们并没有强调 disjoint,实际情况也不可能要求它 disjoint,所以一般情况下 transposition 是没有 Commutativity 的。举例:对
3.2 How to Decompose a -Cycle into Transpositions: Permalink
一个
注意根据 function composition 的定义,是右边的 transposition 先执行:
第一种分解方式:
第二种分解方式:
3.3 How to Compose a Permutation with A Transposition: Permalink
考虑这么一个问题:假设有一个 permutation
这个问题要分两种情况考虑:
(1) 假设
那么
相当于把
同理,
同样也是相当于把
因为
(2) 假设
类似地,有:
相当于把
因为
3.4 Inversions / Parity / Sign of A PermutationPermalink
Definition: Let
- 按照这个定义,任意一个 transposition 都算是一个 inversion
Definition: Permutaion
Definition: The sign of permutation
Lemma:
Lemma:
表示(a - b) % p == 0
Lemma:
Lemma: Suppose there are
Proof: 根据 transposition decomposition,任意一个
特别地,我们认为 1-cycle 贡献了 0 个 inversion
于是
Comments