How Do You Calculate the Square of a Permutation Matrix?

Click For Summary

Discussion Overview

The discussion revolves around calculating the square of a permutation matrix, specifically using the example of the permutation represented by the matrix (4,2,5,6,3,1) over the set (1,2,3,4,5,6). Participants explore different methods for computing (sigma)^2 and clarify the relationship between permutation matrices and their inverses.

Discussion Character

  • Technical explanation, Debate/contested, Mathematical reasoning

Main Points Raised

  • One participant proposes breaking down the permutation into cycles to calculate (sigma)^2.
  • Another participant suggests calculating the square element by element, mapping outputs to find entries in the resulting matrix.
  • Some participants argue that the method of mapping elements could lead to confusion with finding the inverse of the permutation.
  • There is a discussion about the correct approach to finding the inverse of a permutation, with one participant describing a method involving swapping lines and sorting columns.
  • One participant expresses uncertainty about whether the suggested method for calculating (sigma)^2 is the same as finding the inverse.

Areas of Agreement / Disagreement

Participants express differing views on the methods for calculating (sigma)^2 and the relationship to finding the inverse. There is no consensus on the best approach, and some confusion remains regarding the methods discussed.

Contextual Notes

Participants highlight potential misunderstandings in the methods for calculating permutation squares and inverses, indicating that the approaches may not be straightforward and depend on careful mapping of elements.

ilyas.h
Messages
60
Reaction score
0
say i have the matrix (4,2,5,6,3,1) and on top I have (1,2,3,4,5,6) i.e. a 2x6 permutation matrix. Let's call it sigma.

how would I calculate (sigma)^2?

I can break it down into cycles:

sigma = <1,4,6>compose<3,5>

thanks.
 
Physics news on Phys.org
You can do it element by element. For example, 4 gets mapped to 6. What does 6 get mapped to? That will give you one entry in your matrix for sigma^2.
Alternatively, do it cycle by cycle with a similar approach.
 
mfb said:
You can do it element by element. For example, 4 gets mapped to 6. What does 6 get mapped to? That will give you one entry in your matrix for sigma^2.
Alternatively, do it cycle by cycle with a similar approach.
sigma=

1 2 3 4 5 6
4 2 5 6 3 1

1 gets mapped to 4, 4 gets mapped to 6 => 1 gets mapped to 6.

This is the wrong approach because by doing this, you're calculating (sigma)^-1, that's the inverse.
 
ilyas.h said:
This is the wrong approach because by doing this, you're calculating (sigma)^-1, that's the inverse.
No, 1->6 is a part of sigma2. This specific example happens to have some mappings common with its inverse because sigma3 keeps several elements unchanged, but that is pure coincidence.
 
mfb said:
No, 1->6 is a part of sigma2. This specific example happens to have some mappings common with its inverse because sigma3 keeps several elements unchanged, but that is pure coincidence.

but isn't that method you suggested the exact same algorithm for finding the inverse of a permutation? maybe I am getting mixed up.

how would you find the inverse of the permutation then?
 
ilyas.h said:
how would you find the inverse of the permutation then?
Swap the two lines and sort the columns to make the first line "1 2 3 4 5 6" again.
This is equivalent to "for 1, look where it appears in the bottom line, find which elements gets mapped to 1, map 1 to this element" and so on.
 
mfb said:
Swap the two lines and sort the columns to make the first line "1 2 3 4 5 6" again.
This is equivalent to "for 1, look where it appears in the bottom line, find which elements gets mapped to 1, map 1 to this element" and so on.

thank you, very helpful. I understand everything now.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 33 ·
2
Replies
33
Views
3K
  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K