Weyr canonical form explained

In mathematics, in linear algebra, a Weyr canonical form (or, Weyr form or Weyr matrix) is a square matrix which (in some sense) induces "nice" properties with matrices it commutes with. It also has a particularly simple structure and the conditions for possessing a Weyr form are fairly weak, making it a suitable tool for studying classes of commuting matrices. A square matrix is said to be in the Weyr canonical form if the matrix has the structure defining the Weyr canonical form. The Weyr form was discovered by the Czech mathematician Eduard Weyr in 1885.[1] [2] [3] The Weyr form did not become popular among mathematicians and it was overshadowed by the closely related, but distinct, canonical form known by the name Jordan canonical form.[3] The Weyr form has been rediscovered several times since Weyr’s original discovery in 1885.[4] This form has been variously called as modified Jordan form, reordered Jordan form, second Jordan form, and H-form.[4] The current terminology is credited to Shapiro who introduced it in a paper published in the American Mathematical Monthly in 1999.[4] [5]

Recently several applications have been found for the Weyr matrix. Of particular interest is an application of the Weyr matrix in the study of phylogenetic invariants in biomathematics.

Definitions

Definition

n1+n2++nr=n

of

n

with

n1\gen2\ge\genr\ge1

such that, when

W

is viewed as an

r x r

block matrix

(Wij)

, where the

(i,j)

block

Wij

is an

ni x nj

matrix, the following three features are present:
  1. The main diagonal blocks

Wii

are the

ni x ni

scalar matrices

λI

for

i=1,\ldots,r

.
  1. The first superdiagonal blocks

Wi,i+1

are full column rank

ni x ni+1

matrices in reduced row-echelon form (that is, an identity matrix followed by zero rows) for

i=1,\ldots,r-1

.
  1. All other blocks of W are zero (that is,

Wij=0

when

j\nei,i+1

).

In this case, we say that

W

has Weyr structure

(n1,n2,\ldots,nr)

.

Example

The following is an example of a basic Weyr matrix.

W=

= \begin{bmatrix} W11&W12&&\\ &W22&W23&\\ &&W33&W34\\ &&&W44\\ \end{bmatrix}

In this matrix,

n=9

and

n1=4,n2=2,n3=2,n4=1

. So

W

has the Weyr structure

(4,2,2,1)

. Also,

W11= \begin{bmatrix} λ&0&0&0\\ 0&λ&0&0\\ 0&0&λ&0\\ 0&0&0&λ\\ \end{bmatrix}=λI4, W22= \begin{bmatrix} λ&0\\ 0&λ&\\ \end{bmatrix}=λI2, W33= \begin{bmatrix} λ&0\\ 0&λ&\\ \end{bmatrix}I2, W44= \begin{bmatrix} λ\\ \end{bmatrix}=λI1

and

W12= \begin{bmatrix} 1&0\\ 0&1\\ 0&0\\ 0&0\\ \end{bmatrix}, W23= \begin{bmatrix} 1&0\\ 0&1\\ \end{bmatrix}, W34= \begin{bmatrix} 1\\ 0\\ \end{bmatrix}.

Definition

Let

W

be a square matrix and let

λ1,\ldots,λk

be the distinct eigenvalues of

W

. We say that

W

is in Weyr form (or is a Weyr matrix) if

W

has the following form:

W= \begin{bmatrix} W1&&&\\ &W2&&\\ &&\ddots&\\ &&&Wk\\ \end{bmatrix}

where

Wi

is a basic Weyr matrix with eigenvalue

λi

for

i=1,\ldots,k

.

Example

The following image shows an example of a general Weyr matrix consisting of three basic Weyr matrix blocks. The basic Weyr matrix in the top-left corner has the structure (4,2,1) with eigenvalue 4, the middle block has structure (2,2,1,1) with eigenvalue -3 and the one in the lower-right corner has the structure (3, 2) with eigenvalue 0.

Relation between Weyr and Jordan forms

The Weyr canonical form

W=P-1JP

is related to the Jordan form

J

by a simple permutation

P

for each Weyr basic block as follows: The first index of each Weyr subblock forms the largest Jordan chain. After crossing out these rows and columns, the first index of each new subblock forms the second largest Jordan chain, and so forth.[6]

The Weyr form is canonical

That the Weyr form is a canonical form of a matrix is a consequence of the following result:[3] Each square matrix

A

over an algebraically closed field is similar to a Weyr matrix

W

which is unique up to permutation of its basic blocks. The matrix

W

is called the Weyr (canonical) form of

A

.

Computation of the Weyr canonical form

Reduction to the nilpotent case

Let

A

be a square matrix of order

n

over an algebraically closed field and let the distinct eigenvalues of

A

be

λ1,λ2,\ldots,λk

. The Jordan–Chevalley decomposition theorem states that

A

is similar to a block diagonal matrix of the form

A= \begin{bmatrix} λ1I+N1&&&\\ &λ2I+N2&&\\ &&\ddots&\\ &&&λkI+Nk\\ \end{bmatrix} = \begin{bmatrix} λ1I&&&\\ &λ2I&&\\ &&\ddots&\\ &&&λkI\\ \end{bmatrix} + \begin{bmatrix} N1&&&\\ &N2&&\\ &&\ddots&\\ &&&Nk\\ \end{bmatrix} = D+N

where

D

is a diagonal matrix,

N

is a nilpotent matrix, and

[D,N]=0

, justifying the reduction of

N

into subblocks

Ni

. So the problem of reducing

A

to the Weyr form reduces to the problem of reducing the nilpotent matrices

Ni

to the Weyr form. This is leads to the generalized eigenspace decomposition theorem.

Reduction of a nilpotent matrix to the Weyr form

Given a nilpotent square matrix

A

of order

n

over an algebraically closed field

F

, the following algorithm produces an invertible matrix

C

and a Weyr matrix

W

such that

W=C-1AC

.

Step 1

Let

A1=A

Step 2

  1. Compute a basis for the null space of

A1

.
  1. Extend the basis for the null space of

A1

to a basis for the

n

-dimensional vector space

Fn

.
  1. Form the matrix

P1

consisting of these basis vectors.
  1. Compute
-1
P
1

A1P1=\begin{bmatrix}0&B2\ 0&A2\end{bmatrix}

.

A2

is a square matrix of size

n

- nullity

(A1)

.

Step 3

If

A2

is nonzero, repeat Step 2 on

A2

.
  1. Compute a basis for the null space of

A2

.
  1. Extend the basis for the null space of

A2

to a basis for the vector space having dimension

n

- nullity

(A1)

.
  1. Form the matrix

P2

consisting of these basis vectors.
  1. Compute
-1
P
2

A2P2=\begin{bmatrix}0&B3\ 0&A3\end{bmatrix}

.

A2

is a square matrix of size

n

- nullity

(A1)

- nullity

(A2)

.

Step 4

Continue the processes of Steps 1 and 2 to obtain increasingly smaller square matrices

A1,A2,A3,\ldots

and associated invertible matrices

P1,P2,P3,\ldots

until the first zero matrix

Ar

is obtained.

Step 5

The Weyr structure of

A

is

(n1,n2,\ldots,nr)

where

ni

= nullity

(Ai)

.

Step 6

  1. Compute the matrix

P=P1\begin{bmatrix}I&0\ 0&P2\end{bmatrix}\begin{bmatrix}I&0\ 0&P3\end{bmatrix}\begin{bmatrix}I&0\ 0&Pr\end{bmatrix}

(here the

I

's are appropriately sized identity matrices).
  1. Compute

X=P-1AP

.

X

is a matrix of the following form:

X=\begin{bmatrix}0&X12&X13&&X1,r-1&X1r\&0&X23&&X2,r-1&X2r\&&&\ddots&\&&&&0&Xr-1,r\&&&&&0\end{bmatrix}

.

Step 7

Use elementary row operations to find an invertible matrix

Yr-1

of appropriate size such that the product

Yr-1Xr,r-1

is a matrix of the form

Ir,r-1=\begin{bmatrix}I\O\end{bmatrix}

.

Step 8

Set

Q1=

diag

(I,I,\ldots,

-1
Y
r-1

,I)

and compute
-1
Q
1

XQ1

. In this matrix, the

(r,r-1)

-block is

Ir,r-1

.

Step 9

Find a matrix

R1

formed as a product of elementary matrices such that
-1
R
1
-1
Q
1

XQ1R1

is a matrix in which all the blocks above the block

Ir,r-1

contain only

0

's.

Step 10

Repeat Steps 8 and 9 on column

r-1

converting

(r-1,r-2)

-block to

Ir-1,r-2

via conjugation by some invertible matrix

Q2

. Use this block to clear out the blocks above, via conjugation by a product

R2

of elementary matrices.

Step 11

Repeat these processes on

r-2,r-3,\ldots,3,2

columns, using conjugations by

Q3,R3,\ldots,Qr-2,Rr-2,Qr-1

. The resulting matrix

W

is now in Weyr form.

Step 12

Let

C=P1diag(I,P2)diag(I,Pr-1)Q1R1Q2 … Rr-2Qr-1

. Then

W=C-1AC

.

Applications of the Weyr form

Some well-known applications of the Weyr form are listed below:[3]

  1. The Weyr form can be used to simplify the proof of Gerstenhaber’s Theorem which asserts that the subalgebra generated by two commuting

n x n

matrices has dimension at most

n

.
  1. A set of finite matrices is said to be approximately simultaneously diagonalizable if they can be perturbed to simultaneously diagonalizable matrices. The Weyr form is used to prove approximate simultaneous diagonalizability of various classes of matrices. The approximate simultaneous diagonalizability property has applications in the study of phylogenetic invariants in biomathematics.
  2. The Weyr form can be used to simplify the proofs of the irreducibility of the variety of all k-tuples of commuting complex matrices.

Notes and References

  1. Eduard Weyr. Répartition des matrices en espèces et formation de toutes les espèces. Comptes Rendus de l'Académie des Sciences de Paris. 1885. 100. 966–969. 10 December 2013.
  2. Eduard Weyr. Zur Theorie der bilinearen Formen. Monatshefte für Mathematik und Physik. 1890. 1. 163–236.
  3. Book: Kevin C. Meara . John Clark . Charles I. Vinsonhaler . Advanced Topics in Linear Algebra: Weaving Matrix Problems through the Weyr Form. 2011. Oxford University Press.
  4. Book: Kevin C. Meara . John Clark . Charles I. Vinsonhaler . Advanced Topics in Linear Algebra: Weaving Matrix Problems through the Weyr Form. 2011. Oxford University Press. 44, 81–82.
  5. Shapiro, H.. The Weyr characteristic. The American Mathematical Monthly. 1999. 106. 10. 919–929. 10.2307/2589746. 2589746. 56072601 .
  6. Sergeichuk, "Canonical matrices for linear matrix problems", Arxiv:0709.2485 [math.RT], 2007