Conditions when a permutation matrix is symmetric Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Symmetric Permutation Matrixeigendecomposition of a symmetric singular matrix and definition of unitary matrixNot getting the right answer for a matrix in reduced column echelon form.Prove or disprove that trace of matrix $X$ is zeroSpectral radius of the product of a right stochastic matrix and hermitian matrixReducible matrices and strongly connected graphsEigenvalues and eigenspaces in a symmetric matrixbinary indexing matrixMatrix permutation-similarity invariantsMaximal diagonalization of a matrix by permutation matricesA very interesting property of symmetric positive definite matrix. Need proof! (Citation needed)

Conditions when a permutation matrix is symmetric

Getting prompted for verification code but where do I put it in?

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

What does this say in Elvish?

Is multiple magic items in one inherently imbalanced?

Tannaka duality for semisimple groups

Co-worker has annoying ringtone

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Semigroups with no morphisms between them

How were pictures turned from film to a big picture in a picture frame before digital scanning?

How does Belgium enforce obligatory attendance in elections?

What is the chair depicted in Cesare Maccari's 1889 painting "Cicerone denuncia Catilina"?

If the probability of a dog barking one or more times in a given hour is 84%, then what is the probability of a dog barking in 30 minutes?

macOS: Name for app shortcut screen found by pinching with thumb and three fingers

Crossing US/Canada Border for less than 24 hours

Deconstruction is ambiguous

Sum letters are not two different

How does light 'choose' between wave and particle behaviour?

Drawing spherical mirrors

How often does castling occur in grandmaster games?

What would you call this weird metallic apparatus that allows you to lift people?

How did Fremen produce and carry enough thumpers to use Sandworms as de facto Ubers?

How many morphisms from 1 to 1+1 can there be?

Do I really need to have a message in a novel to appeal to readers?



Conditions when a permutation matrix is symmetric



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Symmetric Permutation Matrixeigendecomposition of a symmetric singular matrix and definition of unitary matrixNot getting the right answer for a matrix in reduced column echelon form.Prove or disprove that trace of matrix $X$ is zeroSpectral radius of the product of a right stochastic matrix and hermitian matrixReducible matrices and strongly connected graphsEigenvalues and eigenspaces in a symmetric matrixbinary indexing matrixMatrix permutation-similarity invariantsMaximal diagonalization of a matrix by permutation matricesA very interesting property of symmetric positive definite matrix. Need proof! (Citation needed)










1












$begingroup$


I am now playing with permutation matrices, http://mathworld.wolfram.com/PermutationMatrix.html.



Also, there is a similar discussion: Symmetric Permutation Matrix.
I want to ask more details than this one.



As we know, a permutation matrix is orthogonal, i.e., $E^T=E^-1$. I am interested in when it is symmetric, i.e., $E^T=E^-1 = E$



Suppose



  1. Start from an identity matrix $I_n$.


  2. $n$ can be even or odd number.

  3. Pick $(i,j)$, where $0<i,jleq n$ and $i, j$ are integer. Exchange $i$-th and $j$-th columns of $I_n$ (identity matrix) and get $E$. Then $E$ is symmetric. This is because $E_ii=E_jj=0$ and $E_ij=E_ji=1$.

  4. Based on 3., if I pick a number of sets $(i,j)$, $(k,l)$, $(q,r), ldots$, without repeated index in each $(cdot,cdot)$, and permute columns of $I_n$ according to these sets, then the resulting permutation matrix $E$ is symmetric.

One key thing here is "without repeated index in each $(cdot,cdot)$". This is because if I do $(1,2)$ and $(2,3)$ for $I_3$ for example, I get



$$beginbmatrix0 & 0 & 1 \ 1 & 0 & 0 \ 0 & 1 & 0 endbmatrix,$$



which is not symmetric. In this case, I repeat $2$ in each suit.



Is the above correct? Or I miss some key assumptions?










share|cite|improve this question









$endgroup$







  • 1




    $begingroup$
    Yes, in general the permutation is idempotent when is a disjoint product of fix points and cycles of length $2.$
    $endgroup$
    – Phicar
    4 hours ago






  • 1




    $begingroup$
    Yes, it's correct. A permutation matrix describes a permutation $pi$. You want $E^2 = I$, so $picircpi = id$.
    $endgroup$
    – amsmath
    4 hours ago















1












$begingroup$


I am now playing with permutation matrices, http://mathworld.wolfram.com/PermutationMatrix.html.



Also, there is a similar discussion: Symmetric Permutation Matrix.
I want to ask more details than this one.



As we know, a permutation matrix is orthogonal, i.e., $E^T=E^-1$. I am interested in when it is symmetric, i.e., $E^T=E^-1 = E$



Suppose



  1. Start from an identity matrix $I_n$.


  2. $n$ can be even or odd number.

  3. Pick $(i,j)$, where $0<i,jleq n$ and $i, j$ are integer. Exchange $i$-th and $j$-th columns of $I_n$ (identity matrix) and get $E$. Then $E$ is symmetric. This is because $E_ii=E_jj=0$ and $E_ij=E_ji=1$.

  4. Based on 3., if I pick a number of sets $(i,j)$, $(k,l)$, $(q,r), ldots$, without repeated index in each $(cdot,cdot)$, and permute columns of $I_n$ according to these sets, then the resulting permutation matrix $E$ is symmetric.

One key thing here is "without repeated index in each $(cdot,cdot)$". This is because if I do $(1,2)$ and $(2,3)$ for $I_3$ for example, I get



$$beginbmatrix0 & 0 & 1 \ 1 & 0 & 0 \ 0 & 1 & 0 endbmatrix,$$



which is not symmetric. In this case, I repeat $2$ in each suit.



Is the above correct? Or I miss some key assumptions?










share|cite|improve this question









$endgroup$







  • 1




    $begingroup$
    Yes, in general the permutation is idempotent when is a disjoint product of fix points and cycles of length $2.$
    $endgroup$
    – Phicar
    4 hours ago






  • 1




    $begingroup$
    Yes, it's correct. A permutation matrix describes a permutation $pi$. You want $E^2 = I$, so $picircpi = id$.
    $endgroup$
    – amsmath
    4 hours ago













1












1








1





$begingroup$


I am now playing with permutation matrices, http://mathworld.wolfram.com/PermutationMatrix.html.



Also, there is a similar discussion: Symmetric Permutation Matrix.
I want to ask more details than this one.



As we know, a permutation matrix is orthogonal, i.e., $E^T=E^-1$. I am interested in when it is symmetric, i.e., $E^T=E^-1 = E$



Suppose



  1. Start from an identity matrix $I_n$.


  2. $n$ can be even or odd number.

  3. Pick $(i,j)$, where $0<i,jleq n$ and $i, j$ are integer. Exchange $i$-th and $j$-th columns of $I_n$ (identity matrix) and get $E$. Then $E$ is symmetric. This is because $E_ii=E_jj=0$ and $E_ij=E_ji=1$.

  4. Based on 3., if I pick a number of sets $(i,j)$, $(k,l)$, $(q,r), ldots$, without repeated index in each $(cdot,cdot)$, and permute columns of $I_n$ according to these sets, then the resulting permutation matrix $E$ is symmetric.

One key thing here is "without repeated index in each $(cdot,cdot)$". This is because if I do $(1,2)$ and $(2,3)$ for $I_3$ for example, I get



$$beginbmatrix0 & 0 & 1 \ 1 & 0 & 0 \ 0 & 1 & 0 endbmatrix,$$



which is not symmetric. In this case, I repeat $2$ in each suit.



Is the above correct? Or I miss some key assumptions?










share|cite|improve this question









$endgroup$




I am now playing with permutation matrices, http://mathworld.wolfram.com/PermutationMatrix.html.



Also, there is a similar discussion: Symmetric Permutation Matrix.
I want to ask more details than this one.



As we know, a permutation matrix is orthogonal, i.e., $E^T=E^-1$. I am interested in when it is symmetric, i.e., $E^T=E^-1 = E$



Suppose



  1. Start from an identity matrix $I_n$.


  2. $n$ can be even or odd number.

  3. Pick $(i,j)$, where $0<i,jleq n$ and $i, j$ are integer. Exchange $i$-th and $j$-th columns of $I_n$ (identity matrix) and get $E$. Then $E$ is symmetric. This is because $E_ii=E_jj=0$ and $E_ij=E_ji=1$.

  4. Based on 3., if I pick a number of sets $(i,j)$, $(k,l)$, $(q,r), ldots$, without repeated index in each $(cdot,cdot)$, and permute columns of $I_n$ according to these sets, then the resulting permutation matrix $E$ is symmetric.

One key thing here is "without repeated index in each $(cdot,cdot)$". This is because if I do $(1,2)$ and $(2,3)$ for $I_3$ for example, I get



$$beginbmatrix0 & 0 & 1 \ 1 & 0 & 0 \ 0 & 1 & 0 endbmatrix,$$



which is not symmetric. In this case, I repeat $2$ in each suit.



Is the above correct? Or I miss some key assumptions?







linear-algebra matrices permutations






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked 4 hours ago









sleeve chensleeve chen

3,20042256




3,20042256







  • 1




    $begingroup$
    Yes, in general the permutation is idempotent when is a disjoint product of fix points and cycles of length $2.$
    $endgroup$
    – Phicar
    4 hours ago






  • 1




    $begingroup$
    Yes, it's correct. A permutation matrix describes a permutation $pi$. You want $E^2 = I$, so $picircpi = id$.
    $endgroup$
    – amsmath
    4 hours ago












  • 1




    $begingroup$
    Yes, in general the permutation is idempotent when is a disjoint product of fix points and cycles of length $2.$
    $endgroup$
    – Phicar
    4 hours ago






  • 1




    $begingroup$
    Yes, it's correct. A permutation matrix describes a permutation $pi$. You want $E^2 = I$, so $picircpi = id$.
    $endgroup$
    – amsmath
    4 hours ago







1




1




$begingroup$
Yes, in general the permutation is idempotent when is a disjoint product of fix points and cycles of length $2.$
$endgroup$
– Phicar
4 hours ago




$begingroup$
Yes, in general the permutation is idempotent when is a disjoint product of fix points and cycles of length $2.$
$endgroup$
– Phicar
4 hours ago




1




1




$begingroup$
Yes, it's correct. A permutation matrix describes a permutation $pi$. You want $E^2 = I$, so $picircpi = id$.
$endgroup$
– amsmath
4 hours ago




$begingroup$
Yes, it's correct. A permutation matrix describes a permutation $pi$. You want $E^2 = I$, so $picircpi = id$.
$endgroup$
– amsmath
4 hours ago










2 Answers
2






active

oldest

votes


















2












$begingroup$

You’re correct!



We can think of the action of $E$ on the set of $n$ standard basis vectors as a permutation $sigma$ on $1,dots,n$ and vice versa.



Let $E$ be symmetric, and let $i$ be the only nonzero entry in the first row. This means that $e_1i=e_i1$ by symmetry. Thus $E$ swaps the first and the $i^th$ standard basis vectors, so $(1~i)$ is a cycle in the cycle decomposition of $sigma$. This argument applies to the rest of the rows to show that $sigma$ is a product of disjoint transpositions.






share|cite|improve this answer









$endgroup$




















    2












    $begingroup$

    As you have noted condition for a permutation matrix $E$ to be symmetric
    is that $E^-1=E$, and this condition can be expressed as $E^2=I$.



    Interpreting the last condition as repeating the permutation is identity. So this represents a permutation that is its own inverse. That is if $E$ sends a basis vector $v$ to $W$ $E^2=I$ implies $Ew=v$. (possible that $v=w$)



    So this corresponds to a permutation where an element is fixed, or if it sends $x$ to $y$ then it has to send $y$ to $x$. Thus this consists of many disjoint swaps (and possibly some fixed points).



    In group theory it is a permutation of cycle type corresponding to the partition of $n$ into $2$'s and $1$'s. For example $9=2+2+2+ 1^6 $ (that is 1 repeated six times).






    share|cite|improve this answer









    $endgroup$













      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "69"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      noCode: true, onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3194162%2fconditions-when-a-permutation-matrix-is-symmetric%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      2












      $begingroup$

      You’re correct!



      We can think of the action of $E$ on the set of $n$ standard basis vectors as a permutation $sigma$ on $1,dots,n$ and vice versa.



      Let $E$ be symmetric, and let $i$ be the only nonzero entry in the first row. This means that $e_1i=e_i1$ by symmetry. Thus $E$ swaps the first and the $i^th$ standard basis vectors, so $(1~i)$ is a cycle in the cycle decomposition of $sigma$. This argument applies to the rest of the rows to show that $sigma$ is a product of disjoint transpositions.






      share|cite|improve this answer









      $endgroup$

















        2












        $begingroup$

        You’re correct!



        We can think of the action of $E$ on the set of $n$ standard basis vectors as a permutation $sigma$ on $1,dots,n$ and vice versa.



        Let $E$ be symmetric, and let $i$ be the only nonzero entry in the first row. This means that $e_1i=e_i1$ by symmetry. Thus $E$ swaps the first and the $i^th$ standard basis vectors, so $(1~i)$ is a cycle in the cycle decomposition of $sigma$. This argument applies to the rest of the rows to show that $sigma$ is a product of disjoint transpositions.






        share|cite|improve this answer









        $endgroup$















          2












          2








          2





          $begingroup$

          You’re correct!



          We can think of the action of $E$ on the set of $n$ standard basis vectors as a permutation $sigma$ on $1,dots,n$ and vice versa.



          Let $E$ be symmetric, and let $i$ be the only nonzero entry in the first row. This means that $e_1i=e_i1$ by symmetry. Thus $E$ swaps the first and the $i^th$ standard basis vectors, so $(1~i)$ is a cycle in the cycle decomposition of $sigma$. This argument applies to the rest of the rows to show that $sigma$ is a product of disjoint transpositions.






          share|cite|improve this answer









          $endgroup$



          You’re correct!



          We can think of the action of $E$ on the set of $n$ standard basis vectors as a permutation $sigma$ on $1,dots,n$ and vice versa.



          Let $E$ be symmetric, and let $i$ be the only nonzero entry in the first row. This means that $e_1i=e_i1$ by symmetry. Thus $E$ swaps the first and the $i^th$ standard basis vectors, so $(1~i)$ is a cycle in the cycle decomposition of $sigma$. This argument applies to the rest of the rows to show that $sigma$ is a product of disjoint transpositions.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered 2 hours ago









          Santana AftonSantana Afton

          3,1922730




          3,1922730





















              2












              $begingroup$

              As you have noted condition for a permutation matrix $E$ to be symmetric
              is that $E^-1=E$, and this condition can be expressed as $E^2=I$.



              Interpreting the last condition as repeating the permutation is identity. So this represents a permutation that is its own inverse. That is if $E$ sends a basis vector $v$ to $W$ $E^2=I$ implies $Ew=v$. (possible that $v=w$)



              So this corresponds to a permutation where an element is fixed, or if it sends $x$ to $y$ then it has to send $y$ to $x$. Thus this consists of many disjoint swaps (and possibly some fixed points).



              In group theory it is a permutation of cycle type corresponding to the partition of $n$ into $2$'s and $1$'s. For example $9=2+2+2+ 1^6 $ (that is 1 repeated six times).






              share|cite|improve this answer









              $endgroup$

















                2












                $begingroup$

                As you have noted condition for a permutation matrix $E$ to be symmetric
                is that $E^-1=E$, and this condition can be expressed as $E^2=I$.



                Interpreting the last condition as repeating the permutation is identity. So this represents a permutation that is its own inverse. That is if $E$ sends a basis vector $v$ to $W$ $E^2=I$ implies $Ew=v$. (possible that $v=w$)



                So this corresponds to a permutation where an element is fixed, or if it sends $x$ to $y$ then it has to send $y$ to $x$. Thus this consists of many disjoint swaps (and possibly some fixed points).



                In group theory it is a permutation of cycle type corresponding to the partition of $n$ into $2$'s and $1$'s. For example $9=2+2+2+ 1^6 $ (that is 1 repeated six times).






                share|cite|improve this answer









                $endgroup$















                  2












                  2








                  2





                  $begingroup$

                  As you have noted condition for a permutation matrix $E$ to be symmetric
                  is that $E^-1=E$, and this condition can be expressed as $E^2=I$.



                  Interpreting the last condition as repeating the permutation is identity. So this represents a permutation that is its own inverse. That is if $E$ sends a basis vector $v$ to $W$ $E^2=I$ implies $Ew=v$. (possible that $v=w$)



                  So this corresponds to a permutation where an element is fixed, or if it sends $x$ to $y$ then it has to send $y$ to $x$. Thus this consists of many disjoint swaps (and possibly some fixed points).



                  In group theory it is a permutation of cycle type corresponding to the partition of $n$ into $2$'s and $1$'s. For example $9=2+2+2+ 1^6 $ (that is 1 repeated six times).






                  share|cite|improve this answer









                  $endgroup$



                  As you have noted condition for a permutation matrix $E$ to be symmetric
                  is that $E^-1=E$, and this condition can be expressed as $E^2=I$.



                  Interpreting the last condition as repeating the permutation is identity. So this represents a permutation that is its own inverse. That is if $E$ sends a basis vector $v$ to $W$ $E^2=I$ implies $Ew=v$. (possible that $v=w$)



                  So this corresponds to a permutation where an element is fixed, or if it sends $x$ to $y$ then it has to send $y$ to $x$. Thus this consists of many disjoint swaps (and possibly some fixed points).



                  In group theory it is a permutation of cycle type corresponding to the partition of $n$ into $2$'s and $1$'s. For example $9=2+2+2+ 1^6 $ (that is 1 repeated six times).







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered 2 hours ago









                  P VanchinathanP Vanchinathan

                  15.7k12236




                  15.7k12236



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Mathematics Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      Use MathJax to format equations. MathJax reference.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3194162%2fconditions-when-a-permutation-matrix-is-symmetric%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      ValueError: Error when checking input: expected conv2d_13_input to have shape (3, 150, 150) but got array with shape (150, 150, 3)2019 Community Moderator ElectionError when checking : expected dense_1_input to have shape (None, 5) but got array with shape (200, 1)Error 'Expected 2D array, got 1D array instead:'ValueError: Error when checking input: expected lstm_41_input to have 3 dimensions, but got array with shape (40000,100)ValueError: Error when checking target: expected dense_1 to have shape (7,) but got array with shape (1,)ValueError: Error when checking target: expected dense_2 to have shape (1,) but got array with shape (0,)Keras exception: ValueError: Error when checking input: expected conv2d_1_input to have shape (150, 150, 3) but got array with shape (256, 256, 3)Steps taking too long to completewhen checking input: expected dense_1_input to have shape (13328,) but got array with shape (317,)ValueError: Error when checking target: expected dense_3 to have shape (None, 1) but got array with shape (7715, 40000)Keras exception: Error when checking input: expected dense_input to have shape (2,) but got array with shape (1,)

                      Ружовы пелікан Змест Знешні выгляд | Пашырэнне | Асаблівасці біялогіі | Літаратура | НавігацыяДагледжаная версіяправерана1 зменаДагледжаная версіяправерана1 змена/ 22697590 Сістэматыкана ВіківідахВыявына Вікісховішчы174693363011049382

                      Illegal assignment from SObject to ContactFetching String, Id from Map - Illegal Assignment Id to Field / ObjectError: Compile Error: Illegal assignment from String to BooleanError: List has no rows for assignment to SObjectError on Test Class - System.QueryException: List has no rows for assignment to SObjectRemote action problemDML requires SObject or SObject list type error“Illegal assignment from List to List”Test Class Fail: Batch Class: System.QueryException: List has no rows for assignment to SObjectMapping to a user'List has no rows for assignment to SObject' Mystery