This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
 BUILT-IN MATHEMATICA SYMBOL Tutorials »| See Also »| More About »

# Permute

 Permute permutes the positions of the elements of expr according to the permutation perm. Permutereturns the list of permuted forms of expr under the elements of the permutation group gr.
• Permute works with any non-atomic expressions, operating on the first level of expressions.
• Permute reorders the elements of an expression but never changes its length.
• The permutation perm can be given in disjoint cyclic form or as a permutation list.
• When perm is given in cyclic form Cycles, a cycle moves the elements of expr in a cyclic manner so that is moved to position .
• When perm is given as a permutation list, the result is equivalent to the use of Permute[expr, PermutationCycles[perm]].
Cyclic permutation of three elements in a list:
Take the lowercase alphabet:
Exchange the first and last character:
Permute several characters:
Permute an expression under all elements of a group:
Cyclic permutation of three elements in a list:
 Out[1]=

Take the lowercase alphabet:
 Out[1]=
Exchange the first and last character:
 Out[2]=
Permute several characters:
 Out[3]=

Permute an expression under all elements of a group:
 Out[1]=
 Scope   (3)
Permute the parts of an expression:
Permute the parts of an expression under all elements of a group:
Give a permutation in list form. The length of the expression does not change:
 Applications   (1)
The eight possible rotations and reflections of a square:
Permute never changes the number of parts of an expression. It simply reorders them:
However, Part can change the number of parts:
When applied to permutation lists, Permute is the inverse of PermutationReplace:
Permute can also be used as an alternative to PermutationList:
Another way of inverting the action of Permute is using FindPermutation:
When all parts of the expression are different, the permutation can be uniquely recovered:
Permute is a right action with respect to the product of permutations:
New in 8