InversePermutation[perm]
returns the inverse of permutation perm.


InversePermutation
InversePermutation[perm]
returns the inverse of permutation perm.
Examples
open all close allBasic Examples (2)
Generalizations & Extensions (1)
On symbolic expressions other than permutations the result is given in terms of PermutationPower:
Properties & Relations (4)
InversePermutation is equivalent to PermutationPower with exponent -1:
Inverting a permutation is equivalent to reversing its cycles:
For a permutation of finite degree, its inverse can always be obtained as the power with a positive integer:
Ordering gives the inverse of a permutation list:
Tech Notes
Related Guides
History
Text
Wolfram Research (2010), InversePermutation, Wolfram Language function, https://reference.wolfram.com/language/ref/InversePermutation.html.
CMS
Wolfram Language. 2010. "InversePermutation." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/InversePermutation.html.
APA
Wolfram Language. (2010). InversePermutation. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/InversePermutation.html
BibTeX
@misc{reference.wolfram_2025_inversepermutation, author="Wolfram Research", title="{InversePermutation}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/InversePermutation.html}", note=[Accessed: 11-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_inversepermutation, organization={Wolfram Research}, title={InversePermutation}, year={2010}, url={https://reference.wolfram.com/language/ref/InversePermutation.html}, note=[Accessed: 11-August-2025]}