Content deleted Content added
Fix link to definition of "inverse permutation" and reword for clarity. |
→Definitions: rv unsourced and certainly erroneous addition |
||
Line 10:
Let <math>\pi</math> be a [[permutation]].
There is an '''inversion''' of <math>\pi</math> between <math>i</math> and <math>j</math> if <math>i < j</math> and <math>\pi(i) > \pi(j)</math>. The inversion is indicated by an ordered pair containing either the places <math>(i, j)</math>{{sfn|Aigner|2007|pp=27}}{{sfn|Comtet|1974|pp=237}} or the
The '''inversion set''' is the set of all inversions. A permutation's inversion set using place-based notation is the same as the [[Permutation#Definition|inverse permutation's]] inversion set using element-based notation with the elements of each pair exchanged. Likewise, a permutation's inversion set using element-based notation is the same as the inverse permutation's inversion set using place-based notation with the elements of each pair exchanged.{{sfn|Gratzer|2016|pp=221}}
For sequences, inversions according to the element-based definition are not unique, because different pairs of places may have the same pair of values.
|