Determinant/Trace and Eigenvalues of a Matrix

Linear algebra problems and solutions

Problem 9

Let $A$ be an $n\times n$ matrix and let $\lambda_1, \dots, \lambda_n$ be its eigenvalues.
Show that

(1) $$\det(A)=\prod_{i=1}^n \lambda_i$$

(2) $$\tr(A)=\sum_{i=1}^n \lambda_i$$

Here $\det(A)$ is the determinant of the matrix $A$ and $\tr(A)$ is the trace of the matrix $A$.

Namely, prove that (1) the determinant of $A$ is the product of its eigenvalues, and (2) the trace of $A$ is the sum of the eigenvalues.
LoadingAdd to solve later

Sponsored Links

We give two different proofs.

Plan 1.

  1. Use the definition of eigenvalues (the characteristic polynomial).
  2. Compare coefficients.

Plan 2.

  1. Make $A$ upper triangular matrix or in the Jordan normal/canonical form.
  2. Use the property of determinants and traces.

Proof. [Method 1]

(1) Recall that eigenvalues are roots of the characteristic polynomial $p(\lambda)=\det(A-\lambda I_n)$.
It follows that we have
\begin{align*}
&\det(A-\lambda I_n) \\
&=\begin{vmatrix}
a_{1 1}- \lambda & a_{1 2} & \cdots & a_{1,n} \\
a_{2 1} & a_{2 2} -\lambda & \cdots & a_{2,n} \\
\vdots & \vdots & \ddots & \vdots \\
a_{n 1} & a_{m 2} & \cdots & a_{n n}-\lambda
\end{vmatrix} =\prod_{i=1}^n (\lambda_i-\lambda). \tag{*}
\end{align*}

Letting $\lambda=0$, we see that $\det(A)=\prod_{i=1}^n \lambda_i$ and this completes the proof of part (a).


(2) Compare the coefficients of $\lambda^{n-1}$ of the both sides of (*).
The coefficient of $\lambda^{n-1}$ of the determinant on the left side of (*) is

$$(-1)^{n-1}(a_{11}+a_{22}+\cdots a_{n n})=(-1)^{n-1}\tr(A).$$
The coefficient of $\lambda^{n-1}$ of the determinant on the right side of (*) is
$$(-1)^{n-1}\sum_{i=1}^n \lambda_i.$$
Thus we have $\tr(A)=\sum_{i=1}^n \lambda_i$.

Proof. [Method 2]

Observe that there exists an $n \times n$ invertible matrix $P$ such that
\[P^{-1} A P= \begin{bmatrix}
\lambda_1 & * & \cdots & * \\
0 & \lambda_2 & \cdots & * \\
\vdots & \vdots & \ddots & \vdots \\
0 & 0 & \cdots & \lambda_n \tag{**}
\end{bmatrix}.
\] This is an upper triangular matrix and diagonal entries are eigenvalues.
(If this is not familiar to you, then study a “triangularizable matrix” or “Jordan normal/canonical form”.)

(1) Since the determinant of an upper triangular matrix is the product of diagonal entries, we have
\begin{align*}
\prod_{i=1}^n \lambda_i & =\det(P^{-1} A P)=\det(P^{-1}) \det(A) \det(P) \\
&= \det(P)^{-1}\det(A) \det(P)=\det(A),
\end{align*}
where we used the multiplicative property of the determinant.


(2) We take the trace of both sides of (**) and get
\begin{align*}
\sum_{i=1}^n \lambda_i =\tr(P^{-1}AP) =\tr(A).
\end{align*}
(Here for the last equality we used the property of the trace that $\tr(AB)=\tr(BA)$ for any $n\times n$ matrices $A$ and $B$.)
Thus we obtained the result $\tr(A)=\sum_{i=1}^n \lambda_i$.

Comment.

The proof of (1) in the first method is simple, but that of (2) requires a bit observation, especially when we find the coefficient of the left-hand side.

The proof of (2) in the second method is simpler although you need to know about the Jordan normal/canonical form.

These two formulas relate the determinant and the trace, and the eigenvalue of a matrix in a very simple way.


LoadingAdd to solve later

Sponsored Links

More from my site

  • If Eigenvalues of a Matrix $A$ are Less than $1$, then Determinant of $I-A$ is PositiveIf Eigenvalues of a Matrix $A$ are Less than $1$, then Determinant of $I-A$ is Positive Let $A$ be an $n \times n$ matrix. Suppose that all the eigenvalues $\lambda$ of $A$ are real and satisfy $\lambda <1$. Then show that the determinant \[ \det(I-A) >0,\] where $I$ is the $n \times n$ identity matrix. We give two solutions. Solution 1. Let […]
  • Nilpotent Matrix and Eigenvalues of the MatrixNilpotent Matrix and Eigenvalues of the Matrix An $n\times n$ matrix $A$ is called nilpotent if $A^k=O$, where $O$ is the $n\times n$ zero matrix. Prove the followings. (a) The matrix $A$ is nilpotent if and only if all the eigenvalues of $A$ is zero. (b) The matrix $A$ is nilpotent if and only if […]
  • Find All the Eigenvalues of $A^k$ from Eigenvalues of $A$Find All the Eigenvalues of $A^k$ from Eigenvalues of $A$ Let $A$ be $n\times n$ matrix and let $\lambda_1, \lambda_2, \dots, \lambda_n$ be all the eigenvalues of $A$. (Some of them may be the same.) For each positive integer $k$, prove that $\lambda_1^k, \lambda_2^k, \dots, \lambda_n^k$ are all the eigenvalues of […]
  • If Every Trace of a Power of a Matrix is Zero, then the Matrix is NilpotentIf Every Trace of a Power of a Matrix is Zero, then the Matrix is Nilpotent Let $A$ be an $n \times n$ matrix such that $\tr(A^n)=0$ for all $n \in \N$. Then prove that $A$ is a nilpotent matrix. Namely there exist a positive integer $m$ such that $A^m$ is the zero matrix. Steps. Use the Jordan canonical form of the matrix $A$. We want […]
  • A Square Root Matrix of a Symmetric MatrixA Square Root Matrix of a Symmetric Matrix Answer the following two questions with justification. (a) Does there exist a $2 \times 2$ matrix $A$ with $A^3=O$ but $A^2 \neq O$? Here $O$ denotes the $2 \times 2$ zero matrix. (b) Does there exist a $3 \times 3$ real matrix $B$ such that $B^2=A$ […]
  • Determine Whether Given Matrices are SimilarDetermine Whether Given Matrices are Similar (a) Is the matrix $A=\begin{bmatrix} 1 & 2\\ 0& 3 \end{bmatrix}$ similar to the matrix $B=\begin{bmatrix} 3 & 0\\ 1& 2 \end{bmatrix}$?   (b) Is the matrix $A=\begin{bmatrix} 0 & 1\\ 5& 3 \end{bmatrix}$ similar to the matrix […]
  • Eigenvalues of Squared Matrix and Upper Triangular MatrixEigenvalues of Squared Matrix and Upper Triangular Matrix Suppose that $A$ and $P$ are $3 \times 3$ matrices and $P$ is invertible matrix. If \[P^{-1}AP=\begin{bmatrix} 1 & 2 & 3 \\ 0 &4 &5 \\ 0 & 0 & 6 \end{bmatrix},\] then find all the eigenvalues of the matrix $A^2$.   We give two proofs. The first version is a […]
  • If Two Matrices are Similar, then their Determinants are the SameIf Two Matrices are Similar, then their Determinants are the Same Prove that if $A$ and $B$ are similar matrices, then their determinants are the same.   Proof. Suppose that $A$ and $B$ are similar. Then there exists a nonsingular matrix $S$ such that \[S^{-1}AS=B\] by definition. Then we […]

You may also like...

7 Responses

  1. 08/01/2016

    […] For (b), use (a) and consider the trace of $B$ and its relation to eigenvalues. For this relation, see the problem Determinant/trace and eigenvalues of a matrix. […]

  2. 04/16/2017

    […] Computing the determinant directly by hand is tedious. So use the fact that the determinant of a matrix $A$ is the product of all eigenvalues of $A$. […]

  3. 04/26/2017

    […] 5=tr(A^2)=lambda_1^2+lambda_2^2. end{align*} Here we used two facts. The first one is that the trace of a matrix is the sum of all eigenvalues of the matrix. The second one is that $lambda^2$ is an eigenvalue of $A^2$ if $lambda$ is an eigenvalue of $A$, […]

  4. 05/17/2017

    […] the product of all eigenvalues of $A$ is the determinant of $A$. (For a proof, see the post “Determinant/trace and eigenvalues of a matrix“.) Thus we have [alpha beta gamma=det(A)=1.] Thus, at least one of $alpha, beta, […]

  5. 06/05/2017

    […] Let us give a more theoretical explanation. If an $ntimes n$ matrix $A$ is diagonalizable, then there exists an invertible matrix $P$ such that [P^{-1}AP=begin{bmatrix} lambda_1 & 0 & cdots & 0 \ 0 & lambda_2 & cdots & 0 \ vdots & vdots & ddots & vdots \ 0 & 0 & cdots & lambda_n end{bmatrix},] where $lambda_1, dots, lambda_n$ are eigenvalues of $A$. Then we consider the determinants of the matrices of both sides. The determinant of the left hand side is begin{align*} det(P^{-1}AP)=det(P)^{-1}det(A)det(P)=det(A). end{align*} On the other hand, the determinant of the right hand side is the product [lambda_1lambda_2cdots lambda_n] since the right matrix is diagonal. Hence we obtain [det(A)=lambda_1lambda_2cdots lambda_n.] (Note that it is always true that the determinant of a matrix is the product of its eigenvalues regardless diagonalizability. See the post “Determinant/trace and eigenvalues of a matrix“.) […]

  6. 06/23/2017

    […] that the product of all eigenvalues of $A$ is the determinant of $A$. Thus, we have [frac{-1+sqrt{3}i}{2} cdot frac{-1-sqrt{3}i}{2}cdot lambda =det(A)=1.] […]

  7. 07/29/2017

    […] $det(A)=0$. Note that the product of all eigenvalues of $A$ is $det(A)$. (See the post “Determinant/Trace and Eigenvalues of a Matrix” for a proof.) Thus, $0$ is an eigenvalue of […]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

More in Linear Algebra
Linear algebra problems and solutions
How to Find a Formula of the Power of a Matrix

Let $A= \begin{bmatrix} 1 & 2\\ 2& 1 \end{bmatrix}$. Compute $A^n$ for any $n \in \N$.

Close