InversePermutation

InversePermutation[perm]
returns the inverse of permutation perm.

DetailsDetails

  • The product of a permutation with its inverse gives the identity permutation.
  • Every permutation has a uniquely defined inverse.
  • The support of a permutation is the same as the support of its inverse.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Inverse of a permutation:

In[1]:=
Click for copyable input
Out[1]=

Their product gives the identity permutation:

In[2]:=
Click for copyable input
Out[2]=

Some permutations, called involutions, are their own inverse:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2010
(8.0)