From a Matrix to Its Jordan Form
Evaluating a polynomial at a matrix means substituting the matrix for the polynomial’s variable, with the constant term interpreted as a multiple of the identity matrix. For a matrix in Jordan form, this substitution has a useful structure: each Jordan block can be evaluated separately. The result on a block depends not only on its eigenvalue, but also on its size.
We work over \(\mathbb{C}\), so every square matrix has a Jordan form. When a real matrix has a real Jordan form, the same computations apply over \(\mathbb{R}\). Let \(p(x)=a_0+a_1x+\cdots+a_dx^d\) be a polynomial. For a square matrix \(\mathbf{A}\) of the same size, define \[ p(\mathbf{A})=a_0\mathbf{I}+a_1\mathbf{A}+\cdots+a_d\mathbf{A}^d. \] Here \(\mathbf{A}^0=\mathbf{I}\). A Jordan block of size \(r\) with eigenvalue \(\lambda\) is \(\mathbf{J}_r(\lambda)=\lambda\mathbf{I}_r+\mathbf{N}_r\), where \(\mathbf{N}_r\) has ones on the superdiagonal and zeros elsewhere. In particular, \(\mathbf{N}_r^r=\mathbf{O}\).
The purpose of the calculation is to find \(p(\mathbf{A})\), not merely \(p(\mathbf{J})\). The Jordan form makes the calculation manageable, and similarity then transfers the result back to the original coordinates.
The Polynomial Formula on One Block
For a polynomial \(p\), let \(p^{(j)}(\lambda)\) denote its \(j\)th derivative evaluated at \(\lambda\), with \(p^{(0)}(\lambda)=p(\lambda)\). The Taylor expansion of a polynomial about \(\lambda\) is an exact finite identity. Since \(\mathbf{N}_r^r=\mathbf{O}\), only its first \(r\) terms can contribute when the variable offset is replaced by \(\mathbf{N}_r\).
Proof. Expand \(p(\lambda+t)\) as a polynomial in \(t\): \[ p(\lambda+t)=\sum_{j=0}^{d}\frac{p^{(j)}(\lambda)}{j!}t^j. \] This is an identity of polynomials, so substituting \(\mathbf{N}_r\) for \(t\) gives \(p(\lambda\mathbf{I}_r+\mathbf{N}_r)=\sum_{j=0}^{d}\frac{p^{(j)}(\lambda)}{j!}\mathbf{N}_r^j\). For every \(j\ge r\), \(\mathbf{N}_r^j=\mathbf{O}\), since \(\mathbf{N}_r^r=\mathbf{O}\). Removing these zero terms leaves precisely the sum from \(j=0\) to \(r-1\). \(\square\)
This formula explains what block size changes: a larger block may retain more derivative terms. The eigenvalue supplies the evaluation point, while the nilpotent part \(\mathbf{N}_r\) supplies the terms that sit above the diagonal. The formula does not require \(p(\lambda)\ne0\); if some derivative values vanish, their terms are simply zero.
Worked Example: A Polynomial on a Size-Three Block
Let \(p(x)=(x-2)^2+3(x-2)+4\), and evaluate \(p(\mathbf{J}_3(2))\). The block and its nilpotent part are \[ \mathbf{J}_3(2)=\begin{bmatrix}2&1&0\\0&2&1\\0&0&2\end{bmatrix}, \qquad \mathbf{N}_3=\begin{bmatrix}0&1&0\\0&0&1\\0&0&0\end{bmatrix}. \] The polynomial values needed are \(p(2)=4\), \(p'(x)=2(x-2)+3\), so \(p'(2)=3\), and \(p''(x)=2\), so \(p''(2)/2!=1\). The block formula gives
Check: Since \(\mathbf{J}_3(2)-2\mathbf{I}_3=\mathbf{N}_3\), direct substitution into the stated polynomial gives \(p(\mathbf{J}_3(2))=\mathbf{N}_3^2+3\mathbf{N}_3+4\mathbf{I}_3\). The matrices \[ \mathbf{N}_3^2=\begin{bmatrix}0&0&1\\0&0&0\\0&0&0\end{bmatrix}, \qquad 3\mathbf{N}_3=\begin{bmatrix}0&3&0\\0&0&3\\0&0&0\end{bmatrix} \] sum with \(4\mathbf{I}_3\) to give the displayed answer.
Evaluating Every Block and Returning to the Original Matrix
Suppose a Jordan form is \(\mathbf{J}=\operatorname{diag}(\mathbf{J}_{r_1}(\lambda_1),\dots,\mathbf{J}_{r_k}(\lambda_k))\). A polynomial in a block-diagonal matrix remains block diagonal: each power of \(\mathbf{J}\) has the corresponding powers of its blocks on the diagonal. The next result states this fact together with the change back to the original matrix.
Proof. From \(\mathbf{A}=\mathbf{S}\mathbf{J}\mathbf{S}^{-1}\), induction on \(m\ge1\) gives \(\mathbf{A}^m=\mathbf{S}\mathbf{J}^m\mathbf{S}^{-1}\): multiplying the expression for the \(m\)th power by \(\mathbf{A}\) gives \(\mathbf{S}\mathbf{J}^m(\mathbf{S}^{-1}\mathbf{S})\mathbf{J}\mathbf{S}^{-1}=\mathbf{S}\mathbf{J}^{m+1}\mathbf{S}^{-1}\). For \(m=0\), the same identity holds because \(\mathbf{I}=\mathbf{S}\mathbf{I}\mathbf{S}^{-1}\). Thus, writing \(p(x)=\sum_{m=0}^{d}a_mx^m\), we obtain \[ p(\mathbf{A})=\sum_{m=0}^{d}a_m\mathbf{S}\mathbf{J}^m\mathbf{S}^{-1} =\mathbf{S}\left(\sum_{m=0}^{d}a_m\mathbf{J}^m\right)\mathbf{S}^{-1} =\mathbf{S}p(\mathbf{J})\mathbf{S}^{-1}. \] For the block statement, each \(\mathbf{J}^m\) has diagonal blocks equal to the \(m\)th powers of the corresponding Jordan blocks and zero off-diagonal blocks. Taking the indicated linear combination of these powers gives the asserted diagonal blocks of \(p(\mathbf{J})\). \(\square\)
Worked Example: Block Size Changes the Output
Evaluate \(q(\mathbf{J})\) for \(q(x)=(x-1)^2\) and \(\mathbf{J}=\operatorname{diag}(\mathbf{J}_3(1),\mathbf{J}_2(1))\). The two block sizes are different, even though the eigenvalue is \(1\) in both blocks. Here \[ \mathbf{J}-\mathbf{I}_5= \begin{bmatrix} 0&1&0&0&0\\ 0&0&1&0&0\\ 0&0&0&0&0\\ 0&0&0&0&1\\ 0&0&0&0&0 \end{bmatrix}. \] Because \(q(\mathbf{J})=(\mathbf{J}-\mathbf{I}_5)^2\), multiply this matrix by itself. In the size-three block, the only nonzero entry of the square is the entry in row 1, column 3; the size-two block squares to zero. Therefore \[ q(\mathbf{J})= \begin{bmatrix} 0&0&1&0&0\\ 0&0&0&0&0\\ 0&0&0&0&0\\ 0&0&0&0&0\\ 0&0&0&0&0 \end{bmatrix}. \]
Check: The block formula gives \(q(1)=0\), \(q'(1)=0\), and \(q''(1)/2!=1\). On the size-three block it therefore gives \(\mathbf{N}_3^2\); on the size-two block the formula stops at \(\mathbf{N}_2\), whose coefficient is \(q'(1)=0\). These are exactly the two blocks shown above.
Worked Example: Transforming Back from Jordan Form
Let \[ \mathbf{J}=\begin{bmatrix}2&1\\0&2\end{bmatrix}, \qquad \mathbf{S}=\begin{bmatrix}1&0\\1&1\end{bmatrix}, \qquad \mathbf{S}^{-1}=\begin{bmatrix}1&0\\-1&1\end{bmatrix}. \] For \(p(x)=x^2\), first find the original matrix \(\mathbf{A}=\mathbf{S}\mathbf{J}\mathbf{S}^{-1}\). The products are \[ \mathbf{S}\mathbf{J}=\begin{bmatrix}2&1\\2&3\end{bmatrix}, \qquad \mathbf{A}=\begin{bmatrix}2&1\\2&3\end{bmatrix} \begin{bmatrix}1&0\\-1&1\end{bmatrix} =\begin{bmatrix}1&1\\-1&3\end{bmatrix}. \] In Jordan coordinates, \[ p(\mathbf{J})=\mathbf{J}^2=\begin{bmatrix}4&4\\0&4\end{bmatrix}. \] Transform this result back: \[ \mathbf{S}p(\mathbf{J})=\begin{bmatrix}4&4\\4&8\end{bmatrix}, \qquad p(\mathbf{A})=\mathbf{S}p(\mathbf{J})\mathbf{S}^{-1} =\begin{bmatrix}0&4\\-4&8\end{bmatrix}. \]
Check: Direct multiplication of \(\mathbf{A}\) gives \[ \mathbf{A}^2= \begin{bmatrix}1&1\\-1&3\end{bmatrix} \begin{bmatrix}1&1\\-1&3\end{bmatrix} =\begin{bmatrix}0&4\\-4&8\end{bmatrix}. \] This agrees with the similarity calculation, as required by \(p(\mathbf{A})=\mathbf{S}p(\mathbf{J})\mathbf{S}^{-1}\).
Common Mistake: Keeping Only the Eigenvalue
A Jordan block is not just its diagonal eigenvalue repeated. Replacing it by \(\lambda\mathbf{I}\) discards the nilpotent part, which can contribute nonzero terms to the polynomial. For example, for \(p(x)=x^2\) and \(\mathbf{J}_2(3)=\begin{bmatrix}3&1\\0&3\end{bmatrix}\), an incorrect calculation gives \(p(3)\mathbf{I}_2=9\mathbf{I}_2\). That would leave out the off-diagonal contribution.
The correction is to retain \(\mathbf{N}_2=\begin{bmatrix}0&1\\0&0\end{bmatrix}\). Since \(p(3)=9\), \(p'(3)=6\), and \(\mathbf{N}_2^2=\mathbf{O}\), the block formula gives \[ p(\mathbf{J}_2(3))=9\mathbf{I}_2+6\mathbf{N}_2 =\begin{bmatrix}9&6\\0&9\end{bmatrix}. \] Directly squaring the Jordan block confirms it: \[ \begin{bmatrix}3&1\\0&3\end{bmatrix}^2 =\begin{bmatrix}9&6\\0&9\end{bmatrix}. \] The eigenvalue determines the derivative values, but the block size determines which of those derivative terms may remain.
Why Block-by-Block Evaluation Is Useful
The procedure separates the work into two tasks. First, evaluate the polynomial on each Jordan block using only its eigenvalue, size, and the relevant derivative values. Second, if the question asks for the matrix in the original coordinates, apply the similarity transformation. When several blocks have the same eigenvalue, their polynomial values need not be identical: blocks of different sizes can retain different numbers of terms. Even when a term’s coefficient is zero, the block’s size still specifies the powers that could appear.
For each block, identify its eigenvalue \(\lambda\), size \(r\), and nilpotent part \(\mathbf{N}_r\).
Compute \(p^{(j)}(\lambda)/j!\) for \(0\le j<r\).
Use \(\sum_{j=0}^{r-1}\frac{p^{(j)}(\lambda)}{j!}\mathbf{N}_r^j\), and place each result in its corresponding diagonal position.
For \(\mathbf{A}=\mathbf{S}\mathbf{J}\mathbf{S}^{-1}\), calculate \(p(\mathbf{A})=\mathbf{S}p(\mathbf{J})\mathbf{S}^{-1}\).
This method is especially useful when direct matrix powers would require many multiplications. It also makes the effect of each Jordan block visible rather than hiding it in a long calculation. The next question is how the largest block sizes relate to the minimal polynomial; that connection is developed separately.
Check Your Understanding
Use the block formula, and check each result by direct substitution or multiplication where practical.
- Evaluate \(p(\mathbf{J}_2(1))\) for \(p(x)=x^3\).
- For \(p(x)=(x-2)^2\), compare the results on \(\mathbf{J}_2(2)\) and \(\mathbf{J}_3(2)\).
- If \(\mathbf{A}=\mathbf{S}\mathbf{J}\mathbf{S}^{-1}\), explain why \(p(\mathbf{A})=\mathbf{S}p(\mathbf{J})\mathbf{S}^{-1}\).
- Find \(q(\mathbf{J}_2(0))\) for \(q(x)=1+2x+x^2\).
- For \(p(x)=x^2\) on \(\mathbf{J}_2(3)\), identify the incorrect step in replacing the block by \(3\mathbf{I}_2\), and give the correct result.