Shift matrix
In mathematics, a shift matrix is a binary matrix with ones on the superdiagonal or subdiagonal, and zeroes elsewhere. A shift matrix with ones on the superdiagonal is an upper shift matrix; the alternative subdiagonal case is unsurprisingly known as a lower shift matrix. Clearly, the transpose of a lower shift matrix is an upper shift matrix and vice versa.
Premultiplying a matrix A by a lower shift matrix results in the elements of A being shifted downward by one position, with zeroes appearing in the top row. Postmultiplication by a lower shift matrix results in a shift left. Similar operations involving an upper shift matrix result in the opposite shift.
Clearly all shift matrices are nilpotent; an n by n shift matrix S becomes the null matrix when raised to the power of its dimension n.
Properties
Formally, if we define n by n matrices L and U as lower and upper shift matrices respectively, the following conditions are satisfied.
- det(L) = det(U) = 0
- trace(L) = trace(U) = 0
- rank(L) = rank(U) = n−1
- Ln = Un = 0
- LT = U; UT = L
- LU and UL are both idempotent, symmetric, and have the same rank as U and L
- Ln-aUn-a + LaUa = Un-aLn-a + UaLa = I (the identity matrix), for any integer a between 0 and n inclusive
Examples
Then
Clearly there are many possible permutations. For example, is equal to the matrix A shifted up and left along the main diagonal.