Jump to content

Linear Algebra/Determinants Exist/Solutions

From Wikibooks, open books for an open world

Solutions

[edit | edit source]

These summarize the notation used in this book for the 2- and 3- permutations.

i12ϕ1(i)12ϕ2(i)21i123ϕ1(i)123ϕ2(i)132ϕ3(i)213ϕ4(i)231ϕ5(i)312ϕ6(i)321

Problem 1

Give the permutation expansion of a general 2×2 matrix and its transpose.

Answer

This is the permutation expansion of the determinant of a 2×2 matrix

|abcd|=ad⋅|1001|+bc⋅|0110|

and the permutation expansion of the determinant of its transpose.

|acbd|=ad⋅|1001|+cb⋅|0110|

As with the 3×3 expansions described in the subsection, the permutation matrices from corresponding terms are transposes (although this is disguised by the fact that each is self-transpose).

This exercise is recommended for all readers.
Problem 2

This problem appears also in the prior subsection.

  1. Find the inverse of each 2-permutation.
  2. Find the inverse of each 3-permutation.
Answer

Each of these is easy to check.

  1. permutation       ϕ1       ϕ2
    inverse       ϕ1       ϕ2
  2. permutation       ϕ1       ϕ2       ϕ3       ϕ4       ϕ5       ϕ6
    inverse       ϕ1       ϕ2       ϕ3       ϕ5       ϕ4       ϕ6
This exercise is recommended for all readers.
Problem 3
  1. Find the signum of each 2-permutation.
  2. Find the signum of each 3-permutation.
Answer
  1. sgn⁡(ϕ1)=+1, sgn⁡(ϕ2)=−1
  2. sgn⁡(ϕ1)=+1, sgn⁡(ϕ2)=−1, sgn⁡(ϕ3)=−1, sgn⁡(ϕ4)=+1, sgn⁡(ϕ5)=+1, sgn⁡(ϕ6)=−1
Problem 4

What is the signum of the n-permutation ϕ=⟨n,n−1,…,2,1⟩? (Strang 1980)

Answer

The pattern is this.

i123456…sgn⁡(ϕi)+1−1−1+1+1−1…

So to find the signum of ϕn!, we subtract one n!−1 and look at the remainder on division by four. If the remainder is 1 or 2 then the signum is −1, otherwise it is +1. For n>4, the number n! is divisible by four, so n!−1 leaves a remainder of −1 on division by four (more properly said, a remainder or 3), and so the signum is +1. The n=1 case has a signum of +1, the n=2 case has a signum of −1 and the n=3 case has a signum of −1.

Problem 5

Prove these.

  1. Every permutation has an inverse.
  2. sgn⁡(ϕ−1)=sgn⁡(ϕ)
  3. Every permutation is the inverse of another.
Answer
  1. Permutations can be viewed as one-one and onto maps ϕ:{1,…,n}→{1,…,n}. Any one-one and onto map has an inverse.
  2. If it always takes an odd number of swaps to get from Pϕ to the identity, then it always takes an odd number of swaps to get from the identity to Pϕ (any swap is reversible).
  3. This is the first question again.
Problem 6

Prove that the matrix of the permutation inverse is the transpose of the matrix of the permutation Pϕ−1=Pϕtrans, for any permutation ϕ.

Answer

If ϕ(i)=j then ϕ−1(j)=i. The result now follows on the observation that Pϕ has a 1 in entry i,j if and only if ϕ(i)=j, and Pϕ−1 has a 1 in entry j,i if and only if ϕ−1(j)=i,

This exercise is recommended for all readers.
Problem 7

Show that a permutation matrix with m inversions can be row swapped to the identity in m steps. Contrast this with Corollary 4.6.

Answer

This does not say that m is the least number of swaps to produce an identity, nor does it say that m is the most. It instead says that there is a way to swap to the identity in exactly m steps.

Let ιj be the first row that is inverted with respect to a prior row and let ιk be the first row giving that inversion. We have this interval of rows.

(⋮ιkιr1⋮ιrsιj⋮)j<k<r1<…<rs

Swap.

(⋮ιjιr1⋮ιrsιk⋮)

The second matrix has one fewer inversion because there is one fewer inversion in the interval (s vs. s+1) and inversions involving rows outside the interval are not affected.

Proceed in this way, at each step reducing the number of inversions by one with each row swap. When no inversions remain the result is the identity.

The contrast with Corollary 4.6 is that the statement of this exercise is a "there exists" statement: there exists a way to swap to the identity in exactly m steps. But the corollary is a "for all" statement: for all ways to swap to the identity, the parity (evenness or oddness) is the same.

This exercise is recommended for all readers.
Problem 8

For any permutation ϕ let g(ϕ) be the integer defined in this way.

g(ϕ)=∏i<j[ϕ(j)−ϕ(i)]

(This is the product, over all indices i and j with i<j, of terms of the given form.)

  1. Compute the value of g on all 2-permutations.
  2. Compute the value of g on all 3-permutations.
  3. Prove this.
    sgn⁡(ϕ)=g(ϕ)|g(ϕ)|

Many authors give this formula as the definition of the signum function.

Answer
  1. First, g(ϕ1) is the product of the single factor 2−1 and so g(ϕ1)=1. Second, g(ϕ2) is the product of the single factor 1−2 and so g(ϕ2)=−1.
  2. permutation ϕϕ1ϕ2ϕ3ϕ4ϕ5ϕ6g(ϕ)2−2−222−2
  3. Note that ϕ(j)−ϕ(i) is negative if and only if ιϕ(j) and ιϕ(i) are in an inversion of their usual order.

References

[edit | edit source]
  • Strang, Gilbert (1980), Linear Algebra and its Applications (2nd ed.), Hartcourt Brace Javanovich