In this mathematics, matrix algebra, and control engineering tutorial, we explain the concept of the characteristic polynomial. The characteristic polynomial is used to compute the eigenvalue of a matrix and in control engineering, it is used to verify the stability of linear dynamical systems. The YouTube tutorial accompanying this webpage is given below.
Let us start with the motivation and background. Let us assume that we are interested in finding eigenvalues and eigenvectors of a matrix . Let the eigenvalue be denoted by and let the eigenvector be denoted by . Then, the eigenvector and eigenvalue satisfy this equation
(1)
Loosely speaking, this equation tells us that if we multiply the matrix by its eigenvector , then the result will be the vector that has the same action line as the original eigenvector . If the eigenvalue is real, then the vector is a scaled version (with a possibility of the direction change) of the vector .
The main question is how to find the eigenvalues and eigenvectors from (1). Let us do that. From (1), we have
(2)
where is an identity matrix (matrix with all the entries on the main diagonal equal to 1). This is a system of equations in the unknown vector . This system obviously has a trivial solution (a trivial solution is a vector whose all entries are equal to zero). However, we are not interested in a trivial solution. We are interested in a nontrivial solution (a nontrivial solution is a vector whose entries are not all equal to zero at the same time. That is, at least one entry is not equal to zero). The nontrivial solution exists if and only if
(3)
where is the matrix determinant. The equation (3) is called the characteristic equation of the matrix and the polynomial is called the characteristic polynomial of the matrix . This polynomial is the polynomial whose independent variable is .
Let us now formally define the characteristic equation and the characteristic polynomial.
Definition of the characteristic equation and the characteristic polynomial. Consider the matrix .
– The characteristic polynomial of the matrix is defined by
(4)
– The characteristic equation of the matrix is defined by
(5)
The solutions of the characteristic equation (5) are the eigenvalues of the matrix . Equivalently, the roots of the characteristic polynomial (4) are the eigenvalues of the matrix .
Finally, let us do an example to illustrate the computation of the characteristic polynomial and the characteristic equation.
Problem: Compute the characteristic polynomial and eigenvalues of the matrix :
(6)
To solve this problem, first we need to form the matrix . We have
(7)
Next, we need to compute the characteristic polynomial
(8)
From the characteristic polynomial, we can see that the eigenvalues are and .