Need help finding permutation matrix

  • Thread starter Thread starter Samuelb88
  • Start date Start date
  • Tags Tags
    Matrix Permutation
Samuelb88
Messages
160
Reaction score
0

Homework Statement


What is the permutation matrix associated to the permutation of n indices defined by p(i) = n - i + 1? What is the cycle decomposition of p? What is it's sign?

Homework Equations


Prop. A permutation matrix P has a single 1 in each row and in each column, the rest of its entries being 0.

The Attempt at a Solution


I. So I'm a bit confused on how to find the matrix associated with p. Here's my attempt:

Given p(i) = n - i + 1 defines a permutation of n indices, then by our proposition, we know the associated matrix with p, say A, is an n \times n matrix with a single 1 in each row and each column, the rest of its entries being 0. Therefore it is of the form:

A = \sum_i e_{p(i),i} = \sum_i e_{n-i+1,i}

where e_{i,j} denotes an n \times n matrix with a single 1 in the ith row and jth column. From this we find that:

A = e_{n,1} + e_{n-1,2} + \cdots + e_{2,n-1} + e_{1,n}

I guess I am a bit confused on whether I can deduce that A is an n \times n matrix from the fact that p defines a permutation of n indices. If so, does that mean I can sum i from 1 to n in the formula above to find A?

II. To find the cycle of decomposition of p, provided that my answer from I. is correct, would I just write:

(n,1)(n-1,2) \cdots ?

III. I'm not sure on how to determine the sign of A seeing as it depends on the oddness or evenness of n.
 
Physics news on Phys.org
That function just reverses the order of the indices. The corresponding matrix has all 0s except that the diagonal from lower left to upper right is all 1s. It's sign is (-1)^n.

Yes, it can be decomposed into cycles, (1, n)(2, n-1), ...
 
I'm confused about the sign being (-1)^n. Suppose that n=2. Then:

A = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}

Then \det(A) = -1 and therefore the sign is -1. But according to your formula, the determinant of A should be 1 and therefore the sign should be 1.

Here's what I think. After some investigation, I noticed that the sign of the determinant changes every 2n. We know that our permutation is a product of k transpositions \tau_1 \tau_2 \cdots \tau_k, where k equals either \frac{n-1}{2}, if n is odd, or \frac{n}{2}, if n is even. Thus the sign of the permutation is (-1)^k, with k defined as above.
 
Last edited:
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top