Euler Hall — free maths guides

Read eigenvalues from the diagonal of a triangular matrix

Read the spectrum of an upper or lower triangular matrix straight off its diagonal. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.

Plain words first

A matrix is triangular when everything on one side of the diagonal is zero. Upper triangular has zeros below; lower triangular has zeros above.

For such a matrix, the eigenvalues are exactly the diagonal entries. Not approximately, not after some work — they are the diagonal, and you can read them off in one glance.

A=[52−10−34002]  ⟹  λ=5, −3, 2.A=\begin{bmatrix}5&2&-1\\0&-3&4\\0&0&2\end{bmatrix}\;\Longrightarrow\;\lambda=5,\ -3,\ 2.

No polynomial. No expansion. No factoring.

Why it works, in one line. The determinant of a triangular matrix is the product of its diagonal, andA−λIA-\lambda I is still triangular with diagonal entriesaii−λa_{ii}-\lambda. So det⁡(A−λI)=∏i(aii−λ),\det(A-\lambda I)=\prod_i (a_{ii}-\lambda), which is already factored. Its roots are the diagonal entries.

Why nothing else in the matrix matters

Expanddet⁡(A−λI)\det(A-\lambda I) along the first row of a triangular matrix. The first diagonal entry multiplies the minor obtained by deleting row 1 and column 1, and every other term in that expansion is multiplied by a zero above or below the diagonal.

Repeat the argument on the minor. By induction the determinant is the product of the diagonal entries,∏i(aii−λ)\prod_i(a_{ii}-\lambda), and no off-diagonal entry can enter. That is the whole content of "triangular means the diagonal is the spectrum".

Two consequences worth naming.

  • - The trace is the sum and the determinant is the product — for a triangular matrix you can verify this instantly: the diagonal sums to the trace and multiplies to the determinant, and those are the sum and product of the eigenvalues. That identity is not a coincidence; it holds for every matrix.
  • - A triangular matrix is singular exactly when a diagonal entry is zero — because the determinant is the product of them, and a product is zero exactly when a factor is.
Worked, different numbers

Read the eigenvalues of A=[400−21093−5].A=\begin{bmatrix}4&0&0\\-2&1&0\\9&3&-5\end{bmatrix}.

The zeros are above the diagonal, so this is lower triangular. The rule applies just the same.

Diagonal entries:44,11,−5-5. So the eigenvalues are44,11,−5-5.

Checks. Trace=4+1−5=0=4+1-5=0, and4+1−5=04+1-5=0 ✓. Determinant=4⋅1⋅(−5)=−20=4\cdot1\cdot(-5)=-20, and4⋅1⋅(−5)=−204\cdot1\cdot(-5)=-20 ✓. Both match the diagonal read, so the answer is verified without any determinant computation.

Notice the entries−2-2,99 and33 never entered. That is the point.

By the end you can
  • Read the spectrum of an upper or lower triangular matrix straight off its diagonal
  • Explain why det(A - lambda I) is already factored for a triangular matrix
  • Recognise when the shortcut does not apply and fall back to the characteristic polynomial
Check yourself

Read the eigenvalues of each, and say which shortcut applies.

  • -[1203]\begin{bmatrix}1&2\\0&3\end{bmatrix}
  • -[1023]\begin{bmatrix}1&0\\2&3\end{bmatrix}
  • -[1223]\begin{bmatrix}1&2\\2&3\end{bmatrix}
Answers
  • - Upper triangular: eigenvalues11 and33.
  • - Lower triangular: eigenvalues11 and33. The rule does not care which side the zeros are on.
  • - Neither — there is a22 in both off-diagonal positions, so the shortcut does not apply. Compute: trace=4=4, determinant=3−4=−1=3-4=-1, soλ2−4λ−1=0\lambda^2-4\lambda-1=0 andλ=2±5\lambda=2\pm\sqrt5. Definitely not11 and33, even though the diagonal is the same as the first two.

That third case is the one to remember: the diagonal looks identical to the first matrix and the answer is completely different.

Work out where to start — free, no accountAnswer six real questions — free, no account