# Generalized eigenvector

Not to be confused with Generalized eigenvalue problem.

In linear algebra, a generalized eigenvector of an n × n matrix $A$ is a vector which satisfies certain criteria which are more relaxed than those for an (ordinary) eigenvector.[1]

Let $V$ be an n-dimensional vector space; let $\phi$ be a linear map in L(V), the set of all linear maps from $V$ into itself; and let $A$ be the matrix representation of $\phi$ with respect to some ordered basis.

There may not always exist a full set of n linearly independent eigenvectors of $A$ that form a complete basis for $V$. That is, the matrix $A$ may not be diagonalizable.[2][3] This happens when the algebraic multiplicity of at least one eigenvalue $\lambda_i$ is greater than its geometric multiplicity (the nullity of the matrix $(A-\lambda_i I)$, or the dimension of its nullspace). In this case, $\lambda_i$ is called a defective eigenvalue and $A$ is called a defective matrix.[4]

A generalized eigenvector $x_i$ corresponding to $\lambda_i$, together with the matrix $(A-\lambda_i I)$ generate a Jordan chain of linearly independent generalized eigenvectors which form a basis for an invariant subspace of $V$.[5][6][7]

Using generalized eigenvectors, a set of linearly independent eigenvectors of $A$ can be extended, if necessary, to a complete basis for $V$.[8] This basis can be used to determine an "almost diagonal matrix" $J$ in Jordan normal form, similar to $A$, which is useful in computing certain matrix functions of $A$.[9] The matrix $J$ is also useful in solving the system of linear differential equations $\bold x' = A \bold x,$ where $A$ need not be diagonalizable.[10][11]

## Overview and definition

There are several equivalent ways to define an ordinary eigenvector.[12][13][14][15][16][17][18][19] For our purposes, an eigenvector $\bold u$ associated with an eigenvalue $\lambda$ of an $n$ × $n$ matrix $A$ is a nonzero vector for which $(A - \lambda I) \bold u = \bold 0$, where $I$ is the $n$ × $n$ identity matrix and $\bold 0$ is the zero vector of length $n$.[20] That is, $\bold u$ is in the kernel of the transformation $(A - \lambda I)$. If $A$ has $n$ linearly independent eigenvectors, then $A$ is similar to a diagonal matrix $D$. That is, there exists an invertible matrix $M$ such that $A$ is diagonalizable through the similarity transformation $D = M^{-1}AM$.[21][22] The matrix $D$ is called a spectral matrix for $A$. The matrix $M$ is called a modal matrix for $A$.[23] Diagonalizable matrices are of particular interest since matrix functions of them can be computed easily.[24]

On the other hand, if $A$ does not have $n$ linearly independent eigenvectors associated with it, then $A$ is not diagonalizable.[25][26]

Definition: A vector $\bold x_m$ is a generalized eigenvector of rank m of the matrix $A$ and corresponding to the eigenvalue $\lambda$ if

$(A - \lambda I)^m \bold x_m = \bold 0$

but

$(A - \lambda I)^{m-1} \bold x_m \ne \bold 0.$ [27]

Clearly, a generalized eigenvector of rank 1 is an ordinary eigenvector.[28] Every $n$ × $n$ matrix $A$ has $n$ linearly independent generalized eigenvectors associated with it and can be shown to be similar to an "almost diagonal" matrix $J$ in Jordan normal form.[29] That is, there exists an invertible matrix $M$ such that $J = M^{-1}AM$.[30] The matrix $M$ in this case is called a generalized modal matrix for $A$.[31] If $\lambda$ is an eigenvalue of algebraic multiplicity $\mu$, then $A$ will have $\mu$ linearly independent generalized eigenvectors corresponding to $\lambda$.[32] These results, in turn, provide a straightforward method for computing certain matrix functions of $A$.[33]

The set spanned by all generalized eigenvectors for a given $\lambda$, forms the generalized eigenspace for $\lambda$.[34]

## Examples

Here are some examples to illustrate the concept of generalized eigenvectors. Some of the details will be described later.

### Example 1

This example is simple but clearly illustrates the point. This type of matrix is used frequently in textbooks.[35][36][37] Suppose

$A = \begin{pmatrix} 1 & 1\\ 0 & 1 \end{pmatrix}.$

Then there is only one eigenvalue, $\lambda = 1$, and its algebraic multiplicity is m = 2.

There are several ways to see that there will be only one generalized eigenvector. The easiest is to notice that this matrix is in Jordan normal form but is not diagonal. Hence, this matrix is not diagonalizable. Since there is one superdiagonal entry, there will be one generalized eigenvector (or one could note that the vector space $V$ is of dimension 2, so there can be only one generalized eigenvector). Alternatively, one could compute the dimension of the nullspace of $A - \lambda I$ to be p = 1, and thus there are mp = 1 generalized eigenvectors. (See the nullspace page.)

Computing the ordinary eigenvector $\bold v_1=\begin{pmatrix}1 \\0 \end{pmatrix}$ is left to the reader. (See the eigenvector page for examples.) Using this eigenvector, we compute the generalized eigenvector $\bold v_2$ by solving

$(A-\lambda I) \bold v_2 = \bold v_1.$

Writing out the values:

$\left(\begin{pmatrix} 1 & 1\\ 0 & 1 \end{pmatrix} - 1 \begin{pmatrix} 1 & 0\\ 0 & 1 \end{pmatrix}\right)\begin{pmatrix}v_{21} \\v_{22} \end{pmatrix} = \begin{pmatrix} 0 & 1\\ 0 & 0 \end{pmatrix} \begin{pmatrix}v_{21} \\v_{22} \end{pmatrix} = \begin{pmatrix}1 \\0 \end{pmatrix}.$

This simplifies to

$v_{22}= 1.$

The element $v_{21}$ has no restrictions. The generalized eigenvector is then $\bold v_2=\begin{pmatrix}a \\1 \end{pmatrix}$, where a can have any scalar value. The choice of a = 0 is usually the simplest.

Note that

$(A-\lambda I) \bold v_2 = \begin{pmatrix} 0 & 1\\ 0 & 0 \end{pmatrix} \begin{pmatrix}a \\1 \end{pmatrix} = \begin{pmatrix}1 \\0 \end{pmatrix} = \bold v_1,$

so that $\bold v_2$ is a generalized eigenvector,

$(A-\lambda I) \bold v_1 = \begin{pmatrix} 0 & 1\\ 0 & 0 \end{pmatrix} \begin{pmatrix}1 \\0 \end{pmatrix} = \begin{pmatrix}0 \\0 \end{pmatrix} = \bold 0,$

so that $\bold v_1$ is an ordinary eigenvector, and that $\bold v_1$ and $\bold v_2$ are linearly independent and hence constitute a basis for the vector space $V$.

### Example 2

This example is more complex than Example 1. Unfortunately, it is a little difficult to construct an interesting example of low order.[38] The matrix

$A = \begin{pmatrix} 1 & 0 & 0 & 0 & 0 \\ 3 & 1 & 0 & 0 & 0 \\ 6 & 3 & 2 & 0 & 0 \\ 10 & 6 & 3 & 2 & 0 \\ 15 & 10 & 6 & 3 & 2 \end{pmatrix}$

has eigenvalues $\lambda_1 = 1$ and $\lambda_2 = 2$ with algebraic multiplicities $\mu_1 = 2$ and $\mu_2 = 3$, but geometric multiplicities $\gamma_1 = 1$ and $\gamma_2 = 1$.

The generalized eigenspaces of $A$ are calculated below. $\bold x_1$ is the ordinary eigenvector associated with $\lambda_1$. $\bold x_2$ is a generalized eigenvector associated with $\lambda_1$. $\bold y_1$ is the ordinary eigenvector associated with $\lambda_2$. $\bold y_2$ and $\bold y_3$ are generalized eigenvectors associated with $\lambda_2$.

$(A-1 I) \bold x_1 = \begin{pmatrix} 0 & 0 & 0 & 0 & 0 \\ 3 & 0 & 0 & 0 & 0 \\ 6 & 3 & 1 & 0 & 0 \\ 10 & 6 & 3 & 1 & 0 \\ 15 & 10 & 6 & 3 & 1 \end{pmatrix}\begin{pmatrix} 0 \\ 3 \\ -9 \\ 9 \\ -3 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \\ 0 \end{pmatrix} = \bold 0 ,$
$(A - 1 I) \bold x_2 = \begin{pmatrix} 0 & 0 & 0 & 0 & 0 \\ 3 & 0 & 0 & 0 & 0 \\ 6 & 3 & 1 & 0 & 0 \\ 10 & 6 & 3 & 1 & 0 \\ 15 & 10 & 6 & 3 & 1 \end{pmatrix} \begin{pmatrix} 1 \\ -15 \\ 30 \\ -1 \\ -45 \end{pmatrix} = \begin{pmatrix} 0 \\ 3 \\ -9 \\ 9 \\ -3 \end{pmatrix} = \bold x_1 ,$
$(A - 2 I) \bold y_1 = \begin{pmatrix} -1 & 0 & 0 & 0 & 0 \\ 3 & -1 & 0 & 0 & 0 \\ 6 & 3 & 0 & 0 & 0 \\ 10 & 6 & 3 & 0 & 0 \\ 15 & 10 & 6 & 3 & 0 \end{pmatrix} \begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \\ 9 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \\ 0 \end{pmatrix} = \bold 0 ,$
$(A - 2 I) \bold y_2 = \begin{pmatrix} -1 & 0 & 0 & 0 & 0 \\ 3 & -1 & 0 & 0 & 0 \\ 6 & 3 & 0 & 0 & 0 \\ 10 & 6 & 3 & 0 & 0 \\ 15 & 10 & 6 & 3 & 0 \end{pmatrix} \begin{pmatrix} 0 \\ 0 \\ 0 \\ 3 \\ 0 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \\ 9 \end{pmatrix} = \bold y_1 ,$
$(A - 2 I) \bold y_3 = \begin{pmatrix} -1 & 0 & 0 & 0 & 0 \\ 3 & -1 & 0 & 0 & 0 \\ 6 & 3 & 0 & 0 & 0 \\ 10 & 6 & 3 & 0 & 0 \\ 15 & 10 & 6 & 3 & 0 \end{pmatrix} \begin{pmatrix} 0 \\ 0 \\ 1 \\ -2 \\ 0 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \\ 0 \\ 3 \\ 0 \end{pmatrix} = \bold y_2 .$

This results in a basis for each of the generalized eigenspaces of $A$. Together the two chains of generalized eigenvectors span the space of all 5-dimensional column vectors.

$\left\{ \bold x_1, \bold x_2 \right\} = \left\{ \begin{pmatrix} 0 \\ 3 \\ -9 \\ 9 \\ -3 \end{pmatrix} \begin{pmatrix} 1 \\ -15 \\ 30 \\ -1 \\ -45 \end{pmatrix} \right\}, \left\{ \bold y_1, \bold y_2, \bold y_3 \right\} = \left\{ \begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \\ 9 \end{pmatrix} \begin{pmatrix} 0 \\ 0 \\ 0 \\ 3 \\ 0 \end{pmatrix} \begin{pmatrix} 0 \\ 0 \\ 1 \\ -2 \\ 0 \end{pmatrix} \right\}.$

An "almost diagonal" matrix $J$ in Jordan normal form, similar to $A$ is obtained as follows:

$M = \begin{pmatrix} \bold x_1 & \bold x_2 & \bold y_1 & \bold y_2 & \bold y_3 \end{pmatrix} = \begin{pmatrix} 0 & 1 & 0 &0& 0 \\ 3 & -15 & 0 &0& 0 \\ -9 & 30 & 0 &0& 1 \\ 9 & -1 & 0 &3& -2 \\ -3 & -45 & 9 &0& 0 \end{pmatrix},$
$J = \begin{pmatrix} 1 & 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 & 0 \\ 0 & 0 & 2 & 1 & 0 \\ 0 & 0 & 0 & 2 & 1 \\ 0 & 0 & 0 & 0 & 2 \end{pmatrix},$

where $M$ is a generalized modal matrix for $A$, the columns of $M$ are a canonical basis for $A$, and $AM = MJ$.[39]

## Jordan chains

Definition: Let $\bold x_m$ be a generalized eigenvector of rank m corresponding to the matrix $A$ and the eigenvalue $\lambda$. The chain generated by $\bold x_m$ is a set of vectors $\left\{ \bold x_m, \bold x_{m-1}, \dots , \bold x_1 \right\}$ given by

$\bold x_{m-1} = (A - \lambda I) \bold x_m,$
$\bold x_{m-2} = (A - \lambda I)^2 \bold x_m = (A - \lambda I) \bold x_{m-1},$
$\bold x_{m-3} = (A - \lambda I)^3 \bold x_m = (A - \lambda I) \bold x_{m-2},$

$\vdots$

$\bold x_1 = (A - \lambda I)^{m-1} \bold x_m = (A - \lambda I) \bold x_2.$

(1)

Thus, in general,

$\bold x_j = (A - \lambda I)^{m-j} \bold x_m = (A - \lambda I) \bold x_{j+1} \qquad (j = 1, 2, \dots , m - 1).$

(2)

The vector $\bold x_j$, given by (2), is a generalized eigenvector of rank j corresponding to the eigenvalue $\lambda$. A chain is a linearly independent set of vectors.[40]

## Canonical basis

Definition: A set of n linearly independent generalized eigenvectors is a canonical basis if it is composed entirely of Jordan chains.

Thus, once we have determined that a generalized eigenvector of rank m is in a canonical basis, it follows that the m − 1 vectors $\bold x_{m-1}, \bold x_{m-2}, \ldots , \bold x_1$ that are in the Jordan chain generated by $\bold x_m$ are also in the canonical basis.[41]

Let $\lambda_i$ be an eigenvalue of $A$ of algebraic multiplicity $\mu_i$. First, find the ranks (matrix ranks) of the matrices $(A - \lambda_i I), (A - \lambda_i I)^2, \ldots , (A - \lambda_i I)^{m_i}$. The integer $m_i$ is determined to be the first integer for which $(A - \lambda_i I)^{m_i}$ has rank $n - \mu_i$ (n being the number of rows or columns of $A$, that is, $A$ is n × n).

Now define

$\rho_k = rank(A - \lambda_i I)^{k-1} - rank(A - \lambda_i I)^k \qquad (k = 1, 2, \ldots , m_i).$

The variable $\rho_k$ designates the number of linearly independent generalized eigenvectors of rank k corresponding to the eigenvalue $\lambda_i$ that will appear in a canonical basis for $A$. Note that

$rank(A - \lambda_i I)^0 = rank(I) = n$.[42]

## Computation of generalized eigenvectors

In the preceding sections we have seen techniques for obtaining the n linearly independent generalized eigenvectors of a canonical basis for the vector space $V$ associated with an n × n matrix $A$. These techniques can be combined into a procedure:

Solve the characteristic equation of $A$ for eigenvalues $\lambda_i$ and their algebraic multiplicities $\mu_i$;
For each $\lambda_i :$
Determine $n - \mu_i$;
Determine $m_i$;
Determine $\rho_k$ for $(k = 1, \ldots , m_i)$;
Determine each Jordan chain for $\lambda_i$;

### Example 3

The matrix

$A = \begin{pmatrix} 5 & 1 & -2 & 4 \\ 0 & 5 & 2 & 2 \\ 0 & 0 & 5 & 3 \\ 0 & 0 & 0 & 4 \end{pmatrix}$

has an eigenvalue $\lambda_1 = 5$ of algebraic multiplicity $\mu_1 = 3$ and an eigenvalue $\lambda_2 = 4$ of algebraic multiplicity $\mu_2 = 1$. We also have n = 4. For $\lambda_1$ we have $n - \mu_1 = 4 - 3 = 1$.

$(A - 5I) = \begin{pmatrix} 0 & 1 & -2 & 4 \\ 0 & 0 & 2 & 2 \\ 0 & 0 & 0 & 3 \\ 0 & 0 & 0 & -1 \end{pmatrix}, \qquad rank(A - 5I) = 3.$
$(A - 5I)^2 = \begin{pmatrix} 0 & 0 & 2 & -8 \\ 0 & 0 & 0 & 4 \\ 0 & 0 & 0 & -3 \\ 0 & 0 & 0 & 1 \end{pmatrix}, \qquad rank(A - 5I)^2 = 2.$
$(A - 5I)^3 = \begin{pmatrix} 0 & 0 & 0 & 14 \\ 0 & 0 & 0 & -4 \\ 0 & 0 & 0 & 3 \\ 0 & 0 & 0 & -1 \end{pmatrix}, \qquad rank(A - 5I)^3 = 1.$

The first integer $m_1$ for which $(A - 5I)^{m_1}$ has rank $n - \mu_1 = 1$ is $m_1 = 3$.

We now define

$\rho_3 = rank(A - 5I)^2 - rank(A - 5I)^3 = 2 - 1 = 1 ,$
$\rho_2 = rank(A - 5I)^1 - rank(A - 5I)^2 = 3 - 2 = 1 ,$
$\rho_1 = rank(A - 5I)^0 - rank(A - 5I)^1 = 4 - 3 = 1 .$

Consequently, there will be three linearly independent generalized eigenvectors; one each of ranks 3, 2 and 1. Since $\lambda_1$ corresponds to a single chain of three linearly independent generalized eigenvectors, we know that there is a generalized eigenvector $\bold x_3$ of rank 3 corresponding to $\lambda_1$ such that

$(A - 5I)^3 \bold x_3 = \bold 0$

(3)

but

$(A - 5I)^2 \bold x_3\neq \bold 0 .$

(4)

Equations (3) and (4) represent linear systems that can be solved for $\bold x_3$. Let

$\bold x_3 = \begin{pmatrix} x_{31} \\ x_{32} \\ x_{33} \\ x_{34} \end{pmatrix}.$

Then

$(A - 5I)^3 \bold x_3 = \begin{pmatrix} 0 & 0 & 0 & 14 \\ 0 & 0 & 0 & -4 \\ 0 & 0 & 0 & 3 \\ 0 & 0 & 0 & -1 \end{pmatrix} \begin{pmatrix} x_{31} \\ x_{32} \\ x_{33} \\ x_{34} \end{pmatrix} = \begin{pmatrix} 14 x_{34} \\ -4 x_{34} \\ 3 x_{34} \\ - x_{34} \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \end{pmatrix}$

and

$(A - 5I)^2 \bold x_3 = \begin{pmatrix} 0 & 0 & 2 & -8 \\ 0 & 0 & 0 & 4 \\ 0 & 0 & 0 & -3 \\ 0 & 0 & 0 & 1 \end{pmatrix} \begin{pmatrix} x_{31} \\ x_{32} \\ x_{33} \\ x_{34} \end{pmatrix} = \begin{pmatrix} 2 x_{33} - 8 x_{34} \\ 4 x_{34} \\ -3 x_{34} \\ x_{34} \end{pmatrix} \ne \begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \end{pmatrix}.$

Thus, in order to satisfy the conditions (3) and (4), we must have $x_{34} = 0$ and $x_{33} \ne 0$. No restrictions are placed on $x_{31}$ and $x_{32}$. By choosing $x_{31} = x_{32} = x_{34} = 0, x_{33} = 1$, we obtain

$\bold x_3 = \begin{pmatrix} 0 \\ 0 \\ 1 \\ 0 \end{pmatrix}$

as a generalized eigenvector of rank 3 corresponding to $\lambda_1 = 5$. Note that it is possible to obtain infinitely many other generalized eigenvectors of rank 3 by choosing different values of $x_{31}$, $x_{32}$ and $x_{33}$, with $x_{33} \ne 0$. Our first choice, however, is the simplest.[43]

Now using equations (1), we obtain $\bold x_2$ and $\bold x_1$ as generalized eigenvectors of rank 2 and 1 respectively, where

$\bold x_2 = (A - 5I) \bold x_3 = \begin{pmatrix} -2 \\ 2 \\ 0 \\ 0 \end{pmatrix},$

and

$\bold x_1 = (A - 5I) \bold x_2 = \begin{pmatrix} 2 \\ 0 \\ 0 \\ 0 \end{pmatrix}.$

The simple eigenvalue $\lambda_2 = 4$ can be dealt with using standard techniques and has an ordinary eigenvector

$\bold y_1 = \begin{pmatrix} -14 \\ 4 \\ -3 \\ 1 \end{pmatrix}.$

A canonical basis for $A$ is

$\left\{ \bold x_3, \bold x_2, \bold x_1, \bold y_1 \right\} = \left\{ \begin{pmatrix} 0 \\ 0 \\ 1 \\ 0 \end{pmatrix} \begin{pmatrix} -2 \\ 2 \\ 0 \\ 0 \end{pmatrix} \begin{pmatrix} 2 \\ 0 \\ 0 \\ 0 \end{pmatrix} \begin{pmatrix} -14 \\ 4 \\ -3 \\ 1 \end{pmatrix} \right\}.$

$\bold x_1, \bold x_2$ and $\bold x_3$ are generalized eigenvectors associated with $\lambda_1$. $\bold y_1$ is the ordinary eigenvector associated with $\lambda_2$.

It should be noted that this is a fairly simple example. In general, the numbers $\rho_k$ of linearly independent generalized eigenvectors of rank k will not always be equal. That is, there may be several chains of different lengths corresponding to a particular eigenvalue.[44]

## Generalized modal matrix

Let $A$ be an n × n matrix. A generalized modal matrix $M$ for $A$ is an n × n matrix whose columns, considered as vectors, form a canonical basis for $A$ and appear in $M$ according to the following rules:

• All Jordan chains consisting of one vector (that is, one vector in length) appear in the first columns of $M$.
• All vectors of one chain appear together in adjacent columns of $M$.
• Each chain appears in $M$ in order of increasing rank (that is, the generalized eigenvector of rank 1 appears before the generalized eigenvector of rank 2 of the same chain, which appears before the generalized eigenvector of rank 3 of the same chain, etc.).[45]

## Jordan Normal Form

An example of a matrix in Jordan normal form. The grey blocks are called Jordan blocks.
Main article: Jordan normal form

Let $V$ be an n-dimensional vector space; let $\phi$ be a linear map in L(V), the set of all linear maps from $V$ into itself; and let $A$ be the matrix representation of $\phi$ with respect to some ordered basis. It can be shown that if the characteristic polynomial $f(\lambda)$ of $A$ factors into linear factors, so that $f(\lambda)$ has the form

$f(\lambda) = \pm (\lambda - \lambda_1)^{\mu_1}(\lambda - \lambda_2)^{\mu_2} \cdots (\lambda - \lambda_r)^{\mu_r} ,$

where $\lambda_1, \lambda_2, \ldots , \lambda_r$ are the distinct eigenvalues of $A$, then each $\mu_i$ is the algebraic multiplicity of its corresponding eigenvalue $\lambda_i$ and $A$ is similar to a matrix $J$ in Jordan normal form, where each $\lambda_i$ appears $\mu_i$ consecutive times on the diagonal, and each entry above each $\lambda_i$ (that is, on the superdiagonal) is either 0 or 1; the entry above the first occurrence of each $\lambda_i$ is always 0. All other entries are zero. The matrix $J$ is as close as one can come to a diagonalization of $A$. If $A$ is diagonalizable, then all entries above the diagonal are zero.[46] Note that some textbooks have the ones on the subdiagonal, that is, immediately below the main diagonal instead of on the superdiagonal. The eigenvalues are still on the main diagonal.[47][48]

Every n × n matrix $A$ is similar to a matrix $J$ in Jordan normal form, obtained through the similarity transformation $J = M^{-1}AM$, where $M$ is a generalized modal matrix for $A$.[49]

### Example 4

Find a matrix in Jordan normal form that is similar to

$A = \begin{pmatrix} 0 & 4 & 2 \\ -3 & 8 & 3 \\ 4 & -8 & -2 \end{pmatrix}.$

Solution: The characteristic equation of $A$ is $(\lambda - 2)^3 = 0$, hence, $\lambda = 2$ is an eigenvalue of algebraic multiplicity three. Following the procedures of the previous sections, we find that

$rank(A - 2I) = 1$

and

$rank(A - 2I)^2 = 0 = n - \mu .$

Thus, $\rho_2 = 1$ and $\rho_1 = 2$, which implies that a canonical basis for $A$ will contain one linearly independent generalized eigenvector of rank 2 and two linearly independent generalized eigenvectors of rank 1, or equivalently, one chain of two vectors $\left\{ \bold x_2, \bold x_1 \right\}$ and one chain of one vector $\left\{ \bold y_1 \right\}$. Designating $M = \begin{pmatrix} \bold y_1 & \bold x_1 & \bold x_2 \end{pmatrix}$, we find that

$M = \begin{pmatrix} 2 & 2 & 0 \\ 1 & 3 & 0 \\ 0 & -4 & 1 \end{pmatrix},$

and

$J = \begin{pmatrix} 2 & 0 & 0 \\ 0 & 2 & 1 \\ 0 & 0 & 2 \end{pmatrix},$

where $M$ is a generalized modal matrix for $A$, the columns of $M$ are a canonical basis for $A$, and $AM = MJ$.[50] Note that since generalized eigenvectors themselves are not unique, and since some of the columns of both $M$ and $J$ may be interchanged, it follows that both $M$ and $J$ are not unique.[51]

### Example 5

In Example 3, we found a canonical basis of linearly independent generalized eigenvectors for a matrix $A$. A generalized modal matrix for $A$ is

$M = \begin{pmatrix} \bold y_1 & \bold x_1 & \bold x_2 & \bold x_3 \end{pmatrix} = \begin{pmatrix} -14 & 2 & -2 & 0 \\ 4 & 0 & 2 & 0 \\ -3 & 0 & 0 & 1 \\ 1 & 0 & 0 & 0 \end{pmatrix}.$

A matrix in Jordan normal form, similar to $A$ is

$J = \begin{pmatrix} 4 & 0 & 0 & 0 \\ 0 & 5 & 1 & 0 \\ 0 & 0 & 5 & 1 \\ 0 & 0 & 0 & 5 \end{pmatrix},$

so that $AM = MJ$.

## Applications

### Matrix functions

Main article: Matrix function

Three of the most fundamental operations which can be performed on square matrices are matrix addition, multiplication by a scalar, and matrix multiplication.[52] These are exactly those operations necessary for defining a polynomial function of an n × n matrix $A$.[53] If we recall from basic calculus that many functions can be written as a Maclaurin series, then we can define more general functions of matrices quite easily.[54] If $A$ is diagonalizable, that is

$D = M^{-1}AM ,$

with

$D = \begin{pmatrix} \lambda_1 & 0 & \cdots & 0 \\ 0 & \lambda_2 & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & \lambda_n \end{pmatrix},$

then

$D^k = \begin{pmatrix} \lambda_1^k & 0 & \cdots & 0 \\ 0 & \lambda_2^k & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & \lambda_n^k \end{pmatrix}$

and the evaluation of the Maclaurin series for functions of $A$ is greatly simplified.[55] For example, to obtain any power k of $A$, we need only compute $D^k$, premultiply $D^k$ by $M$, and postmultiply the result by $M^{-1}$.[56]

Using generalized eigenvectors, we can obtain the Jordan normal form for $A$ and these results can be generalized to a straightforward method for computing functions of nondiagonalizable matrices.[57] (See Matrix function#Jordan decomposition.)

### Differential equations

Consider the problem of solving the system of linear ordinary differential equations

$\bold x' = A \bold x ,$

(5)

where

$\bold x = \begin{pmatrix} x_1(t) \\ x_2(t) \\ \vdots \\ x_n(t) \end{pmatrix}, \quad \bold x' = \begin{pmatrix} x_1'(t) \\ x_2'(t) \\ \vdots \\ x_n'(t) \end{pmatrix},$      and      $A = (a_{ij}) .$

If the matrix $A$ is a diagonal matrix so that $a_{ij} = 0$ for $i \ne j$, then the system (5) reduces to a system of n equations which take the form

$x_1' = a_{11} x_1$
$x_2' = a_{22} x_2$

$\vdots$

$x_n' = a_{nn} x_n .$

(6)

In this case, the general solution is given by

$x_1 = k_1 e^{a_{11}t}$
$x_2 = k_2 e^{a_{22}t}$
$\vdots$
$x_n = k_n e^{a_{nn}t} .$

In the general case, we try to diagonalize $A$ and reduce the system (5) to a system like (6) as follows. If $A$ is diagonalizable, we have $D = M^{-1}AM$, where $M$ is a modal matrix for $A$. Substituting $A = MDM^{-1}$, equation (5) takes the form $M^{-1} \bold x' = D(M^{-1} \bold x)$, or

$\bold y' = D \bold y ,$

(7)

where

$\bold x = M \bold y .$

(8)

The solution of (7) is

$y_1 = k_1 e^{\lambda_1 t}$
$y_2 = k_2 e^{\lambda_2 t}$
$\vdots$
$y_n = k_n e^{\lambda_n t} .$

The solution $\bold x$ of (5) is then obtained using the relation (8).[58]

On the other hand, if $A$ is not diagonalizable, we choose $M$ to be a generalized modal matrix for $A$, such that $J = M^{-1}AM$ is the Jordan normal form of $A$. The system $\bold y' = J \bold y$ has the form

\begin{align} y_1' & = \lambda_1 y_1 + \epsilon_1 y_2 \\ & \vdots \\ y_{n-1}' & = \lambda_{n-1} y_{n-1} + \epsilon_{n-1} y_n \\ y_n' & = \lambda_n y_n , \end{align}

(9)

where the $\lambda_i$ are the eigenvalues from the main diagonal of $J$ and the $\epsilon_i$ are the ones and zeros from the superdiagonal of $J$. The system (9) is often more easily solved than (5). We may solve the last equation in (9) for $y_n$, obtaining $y_n = k_n e^{\lambda_n t}$. We then substitute this solution for $y_n$ into the next to last equation in (9) and solve for $y_{n-1}$. Continuing this procedure, we work through (9) from the last equation to the first, solving the entire system for $\bold y$. The solution $\bold x$ is then obtained using the relation (8).[59]

## Notes

1. ^ Bronson (1970, p. 189)
2. ^ Beauregard & Fraleigh (1973, p. 310)
3. ^ Nering (1970, p. 118)
4. ^ Golub & Van Loan (1996, p. 316)
5. ^ Beauregard & Fraleigh (1973, p. 319)
6. ^ Bronson (1970, pp. 194-195)
7. ^ Golub & Van Loan (1996, p. 311)
8. ^ Bronson (1970, p. 196)
9. ^ Bronson (1970, p. 189)
10. ^ Beauregard & Fraleigh (1973, p. 316-318)
11. ^ Nering (1970, p. 118)
12. ^ Anton (1987, pp. 301-302)
13. ^ Beauregard & Fraleigh (1973, p. 266)
14. ^ Burden & Faires (1993, p. 401)
15. ^ Golub & Van Loan (1996, pp. 310-311)
16. ^ Harper (1976, p. 58)
17. ^ Herstein (1964, p. 225)
18. ^ Kreyszig (1972, pp. 273,684)
19. ^ Nering (1970, p. 104)
20. ^ Burden & Faires (1993, p. 401)
21. ^ Beauregard & Fraleigh (1973, pp. 270-274)
22. ^ Bronson (1970, pp. 179-183)
23. ^ Bronson (1970, p. 181)
24. ^ Bronson (1970, p. 179)
25. ^ Beauregard & Fraleigh (1973, pp. 270-274)
26. ^ Bronson (1970, pp. 179-183)
27. ^ Bronson (1970, p. 189)
28. ^ Bronson (1970, pp. 190,202)
29. ^ Bronson (1970, pp. 189,203)
30. ^ Bronson (1970, pp. 206-207)
31. ^ Bronson (1970, p. 205)
32. ^ Bronson (1970, p. 196)
33. ^ Bronson (1970, pp. 189,209-215)
34. ^ Nering (1970, p. 118)
35. ^ Nering (1970, p. 118)
36. ^ Herstein (1964, p. 261)
37. ^ Beauregard & Fraleigh (1973, p. 310)
38. ^ Nering (1970, pp. 122,123)
39. ^ Bronson (1970, pp. 189-209)
40. ^ Bronson (1970, pp. 194-195)
41. ^ Bronson (1970, pp. 196,197)
42. ^ Bronson (1970, pp. 197,198)
43. ^ Bronson (1970, pp. 190-191)
44. ^ Bronson (1970, pp. 197-198)
45. ^ Bronson (1970, p. 205)
46. ^ Beauregard & Fraleigh (1973, p. 311)
47. ^ Cullen (1966, p. 114)
48. ^ Franklin (1968, p. 122)
49. ^ Bronson (1970, p. 207)
50. ^ Bronson (1970, pp. 208)
51. ^ Bronson (1970, p. 206)
52. ^ Beauregard & Fraleigh (1973, pp. 57-61)
53. ^ Bronson (1970, p. 104)
54. ^ Bronson (1970, p. 105)
55. ^ Bronson (1970, p. 184)
56. ^ Bronson (1970, p. 185)
57. ^ Bronson (1970, pp. 209-218)
58. ^ Beauregard & Fraleigh (1973, pp. 274-275)
59. ^ Beauregard & Fraleigh (1973, p. 317)