Generating a Permutation Matrix P for All Permutations of A

AI Thread Summary
Generating a permutation matrix P that allows for cycling through all permutations of a matrix A by repeated application is not feasible for sizes greater than 2. The discussion highlights that such a matrix would imply that the symmetric group Sm is a cyclic group, which it is not for m > 2. Various methods and resources were suggested for generating permutation matrices, but ultimately, the conclusion is that no single permutation can achieve the desired cycling effect for larger matrices. The inquiry reflects a broader interest in permutation theory and its limitations. The consensus confirms the non-existence of a solution for m > 2.
xnull
Messages
16
Reaction score
0
Hello!

I was wondering if there is a way to generate a permutation matrix P such that each application of P to another matrix A will find the "next" permutation of A. I'm looking for a way to generate a permutation matrix P (size m x m) such that applying it m! times to A (m x m) returns A (after having rolled through all possible permutations of A).

Am I looking for something I'm not going to be able to find?

Thanks!
 
Mathematics news on Phys.org
If I understood you correctly you are trying to calculate P^{(m!)}, where P is a permutation matrix. One way I can think of is to use the http://www.ece.cmu.edu/~smart/examples/cycle/cycle.html" , e.g. (4,1,3,2) stands for the matrix

<br /> \begin{bmatrix}<br /> 0 &amp; 0 &amp; 1 &amp; 0 \\<br /> 0 &amp; 0 &amp; 0 &amp; 1 \\<br /> 0 &amp; 1 &amp; 0 &amp; 0 \\<br /> 1 &amp; 0 &amp; 0 &amp; 0 \\<br /> \end{bmatrix}<br /> [/itex]<br /> <br /> (See also <a href="http://en.wikipedia.org/wiki/Permutation_matrix#Examples&quot;" target="_blank" class="link link--external" rel="nofollow ugc noopener">http://en.wikipedia.org/wiki/Permutation_matrix#Examples&quot;</a>)<br /> <br /> Then you have to calculate (4,1,3,2)^(m!) = (4,1,3,2)^(4!). You can use the program http://www.gap-system.org/&quot; and type into the command line: (4,1,3,2)^24 <br /> (see also http://people.math.jussieu.fr/~jmichel/htm/CHAP020.htm&quot; )<br /> <br /> There is a probably a theorem to calculate (a1,a2,...,am)^(m!).
 
Last edited by a moderator:
Let me ask it another way...

Is there some permutation that can be done to a list of elements such that the recursive application of that permutation to that list will cycle through all possible permutations?

Basically I'd like something like C++'s next_permutation (but without having each application of the function permute the input list in a different manner than the previous one).

[After experimenting I think I'm looking for something that doesn't exist?]

Thank you to everyone who has replied so far.
 
Indeed, for size m > 2, this does not exist, because it would imply that Sm is a cyclic group (i.e. generated by one element), which it is not for m > 2.
 
Oh phoey!

Thank you Moo of Doom (and the greater whole that is PF).
 
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Replies
1
Views
2K
Replies
3
Views
2K
Replies
32
Views
2K
Replies
4
Views
5K
Replies
5
Views
2K
Replies
4
Views
2K
Replies
4
Views
4K
Back
Top