Mastering the Characteristic Equation in Linear Algebra
Dive into the world of characteristic equations and polynomials. Learn to calculate eigenvalues, analyze matrices, and apply these concepts to real-world problems in engineering and physics.

  1. Intros0/4 watched
  2. Examples0/7 watched
  1. 0/4
  2. 0/7
Now Playing:The characteristic equation – Example 0a
Intros
0/4 watched
  1. The Characteristic Equation Overview:
  2. The Characteristic Equation Overview:
    What is the Characteristic Equation?
    det(AλI)=0\det (A-\lambda I)=0
    • The characteristic polynomial is det(AλI)\det (A-\lambda I)
  3. The Characteristic Equation Overview:
    Finding the Eigenvalue
    • The eigenvalues of a 2×22 \times 2 matrix
    • The eigenvalues of a 3×33 \times 3 matrix
    • The eigenvalues of a triangular matrix
Examples
0/7 watched
  1. Finding the Characteristic Polynomial
    Find the characteristic polynomial of AA if:
    Find the characteristic polynomial
    Eigenvalues and eigenvectors
    Jump to:Notes
    Notes

    The characteristic equation


    The term characteristic equation has various meanings throughout mathematics and its different branches.
    For example, there exists a characteristic equation in calculus (also called an auxiliary equation) which is an algebraic expression emulating a homogeneous constant coefficients linear differential equation, and thus having the same order as the differential counterpart, which has as its main purpose to obtain the general solution to the original differential equation. Studypug actually dedicates a few lessons on the calculus characteristic equation depending on the roots needed to solve it, if you are interested in checking these out, the first of a series of three is our lesson on the characteristic equation with real distinct roots.

    The same can be said of characteristic equations used to find the general solutions to partial differential equations. To describe the term characteristic equation in simple words, would be to say this is a particular equation containing the main characteristics (elements such as the order) of a larger or more complicated equation (usually from higher level math) in order to help solving the more complicated expression using simpler techniques. In other words, a characteristic equation is used as a trick to solve problems in a more efficient manner.

    On this lesson we will focus on what we call the characteristic equation used in linear algebra as a tool while computing the eigenvalues and eigenvectors of a square matrix, so, let us take a look into the details of this next.

    Characteristic equation linear algebra


    For the characteristic equation linear algebra method, we refer to the characteristic polynomial of a matrix equated to zero as the characteristic equation of a matrix. Such equation is defined as:

    det(AλI)=0det(A-\lambda I)=0
    Equation 1: Characteristic polynomial equation of a matrix

    From equation 1:
    • AA represents the given n×nn \times n square matrix
    • λ\lambda is an eigenvalue of AA
    • II is the n×nn \times n identity matrix
    • det(AλI)det(A-\lambda I) is the characteristic polynomial

    The characteristic polynomial of a 2x2 matrix happens to be equivalent to an algebraic second degree polynomial equation in terms of the variable λ\lambda . In other words, for a second order matrix, the characteristic polynomial is a quadratic equation for which we have to solve its roots, and such roots are our eigenvalues λ\lambda.
    Solving for the eigenvalues of a 2x2 matrix is simple since you only have to use the quadratic formula to calculate the roots. But the task complicates itself as the dimensions of the matrix AA increase, for example, the characteristic polynomial of a 3x3 matrix will be a third degree polynomial equation, where you will have to solve for more roots.
    In general, the algebraic expression resulting as the characteristic polynomial will be of the same degree as the order of the given matrix AA (the dimensions of AA), and so, depending on the order of AA is the amount of eigenvalues and their corresponding eigenvectors that you will have to calculate.

    Knowing that, we can define the term multiplicity for eigenvalues of a matrix, which refers to the repetition (or not) of the found eigenvalues related to a given square matrix AA. Simply said, when an eigenvalue is a distinct root of the characteristic polynomial (it is not repeated) then it has a multiplicity of 1; in the other hand, if an eigenvalue is a repeated root of the characteristic polynomial, then it has a multiplicity greater than 1 and will be the defined by the amount of times it is repeated.

    Something to know about the characteristic polynomial equation is that similar matrices have the same characteristic polynomial. By definition, two square matrices AA and BB are similar to each other if they satisfy the next condition:

    A=P1BPA=P^{-1}BP
    Equation 2: Matrix similarity

    Similar matrices are matrices which are equivalent to each other in the sense that they share their linear operator and many of their properties such as determinant, trace, rank and since they also share their characteristic polynomial matrix, that means such matrices AA and BB also have the same eigenvalues. Although we will not dedicate much time to matrix similarity on this lesson, we wanted to introduce it because is the basis for matrix diagonalization, which is the topic of our next lesson in this course. In simple words, a matrix will be diagonalizable if there is a diagonal matrix DD which is similar to AA.

    How to find the characteristic polynomial


    In order to calculate an eigenvalue and its corresponding eigenvector for a given matrix AA, we have to first find the characteristic polynomial of the matrix; so, in this section we will learn how to find the characteristic polynomial for the two most common cases: a 2x2 matrix and a 3x3 matrix.

    We usually focus on matrices of these sizes because the calculations for the determinants of greater order matrices get extensive and are usually not asked for in assignments or general school lessons, but if you find yourself in front of a higher order square matrix for which you have to find its characteristic polynomial (and thus its eigenvalues and eigenvectors), check if this big matrix is a triangular matrix!
    Remember there is a trick to find the determinant of a triangular matrix that says you can just multiply the elements on its diagonal and find it. Given that calculations for matrix determinants bigger than a 3x3 get very long, triangular matrices will be a common case to find if the dimensions of the matrix are high. Now, let us look at the steps for the computation of the characteristic polynomial in the two most common cases:

    • How to find the characteristic polynomial of a 2x2 matrix

    1. \quad First we compute the subtraction of matrices AλIA-\lambda I . The result is a 2x2 matrix.

    2. \quad We calculate the determinant of this resulting matrix.
    a. \quad Remember the determinant of a 2x2 matrix is calculated with the formula:

    det(A)=adbcdet(A)=ad - bc
    Equation 3: Determinant of a 2x2 matrix

    3. \quad The result is a quadratic equation (as mentioned before) in terms of λ\lambda .

    • How to find the characteristic polynomial of a 3x3 matrix

    1. \quad First we compute the subtraction of matrices AλIA-\lambda I . The result is a 3x3 matrix.

    2. \quad We calculate the determinant of this resulting matrix.
    a. \quad Remember the determinant of a 3x3 matrix can be calculated in two ways, the general method and the shortcut method.
    b. \quad We recommend you to use the shortcut method to calculate this determinant.

    The characteristic equation
    Equation 4: Shortcut method to obtain the determinant of a 3x3 matrix

    3. \quad The result is a third degree polynomial equation (as mentioned before) in terms of λ\lambda .

    ***

    And now that you have the characteristic polynomial of the matrix provided, you can calculate its eigenvalues and eigenvectors. The complete process for this can be found in our last lesson of that same name.

    Finding the characteristic polynomial, example problems


    Example 1

    Find the characteristic polynomial of AA if:

    The characteristic equation
    Equation 5: Matrix A

    We start by computing the matrix subtraction inside the determinant of the characteristic polynomial, as follows:

    The characteristic equation
    Equation 6: Matrix subtraction A-λ\lambdaI

    Now using the characteristic equation (equation 1) we solve the determinant of the matrix that resulted from our last step:

    The characteristic equation
    Equation 7: Calculating the characteristic polynomial (part 1)

    Solving the determinant we have that:

    det(AIλ)=(2λ)(4λ)(7)(5)=82λ+4λ+λ235=0det (A - I\lambda)=(2-\lambda)(-4-\lambda)-(7)(5)=-8-2\lambda+4\lambda+\lambda^{2}-35=0

    det(AIλ)=λ2+2λ43det (A - I\lambda)=\lambda^{2}+2\lambda-43
    Equation 8: Calculating the characteristic polynomial (part 2)

    And so, the characteristic polynomial of the 2x2 matrix given on this exercise is: λ2+2λ43\lambda^{2}+2\lambda-43
    Remember that if you were asked to calculate the eigenvalues for this matrix, you would just have to use the quadratic equation to find the values of λ\lambda .

    Example 2

    Find the characteristic polynomial of AA if:

    The characteristic equation
    Equation 9: Matrix A

    Starting up with the matrix subtraction AλIA- \lambda I:

    The characteristic equation
    Equation 10: Matrix subtraction A-λ\lambdaI

    Now setting up the determinant in order to calculate the characteristic polynomial expression:

    The characteristic equation
    Equation 11: Calculating the characteristic polynomial (part 1)

    Notice that the square matrix to which we are obtaining its determinant is a triangular matrix, therefore, we can solve its determinant by simply multiplying the elements from its main diagonal. And so, we solve for the final characteristic polynomial equation as follows:

    det(AIλ)=(1λ)(3λ)(5λ)=(1λ)153λ5λ+λ2det (A-I\lambda)=(1- \lambda)(3- \lambda)(5- \lambda)=(1- \lambda){15-3\lambda -5\lambda + \lambda^{2}}

    det(AIλ)=153λ5λ+λ215λ+3λ2+5λ2λ3det (A-I\lambda)=15-3\lambda - 5\lambda + \lambda^{2} -15\lambda + 3\lambda^{2} + 5\lambda^{2} - \lambda^{3}

    det(AIλ)=λ3+9λ223λ+15det (A-I\lambda)= -\lambda^{3} + 9\lambda^{2} -23\lambda +15
    Equation 12: Calculating the characteristic polynomial (part 2)

    On this occasion, the characteristic polynomial is the third degree polynomial equation: λ3+9λ223λ+15-\lambda^{3} + 9\lambda^{2} -23\lambda + 15

    Example 3

    Find all the characteristic equation eigenvalues of matrix A as is defined below:

    The characteristic equation
    Equation 13: Matrix A

    State the eigenvalues multiplicities, and what type of eigenvalues they are:

    From our lesson in eigenvalues and eigenvectors, let us recall the steps to calculate the eigenvalues of a matrix:
    1. Perform the matrix subtraction AλIA- \lambda I to obtain a new n×nn \times n matrix the same size as AA.
    2. Calculate its determinant using the characteristic equation. This determinant is the characteristic polynomial which is a quadratic equation for the case in which AA is a 2x2 matrix.
    3. Use the quadratic formula to solve for λ \lambda from the quadratic equation.

    Thus we start following the steps and calculate the matrix subtraction:

    The characteristic equation
    Equation 14: Matrix subtraction A-λ\lambdaI

    Now we calculate the determinant of the resulting matrix, which is the characteristic polynomial of matrix AA:

    The characteristic equation
    Equation 15: Calculating the characteristic polynomial (part 1)

    Calculating the determinant:

    det(AIλ)=(4λ)(6λ)7=244λ6λ+λ27=λ210λ+17det(A-I\lambda)=(4-\lambda)(6-\lambda)-7=24-4\lambda-6\lambda+\lambda^{2}-7=\lambda^{2}-10\lambda+17
    Equation 16: Calculating the characteristic polynomial (part 2)


    And so, our characteristic polynomial is:

    det(AIλ)=λ210λ+17=0det(A-I\lambda)=\lambda^{2}-10\lambda+17=0
    Equation 17: Calculating the characteristic polynomial (part 3)


    Now using the quadratic formula to solve for λ\lambda:

    λ=(10)±(10)24(1)(17)2(1)=10±100682=10±322=5±22 \lambda = \frac{- (-10) \pm \sqrt{(-10)^{2} -4 (1)(17)} } {2(1) } = \frac{ 10 \pm \sqrt{100-68} } {2} = \frac{10 \pm \sqrt{32}} {2} = 5 \pm 2 \sqrt{2}
    Equation 18: Finding the eigenvalues


    And so, the eigenvalues are:

    λ1=5+22 \lambda_{1} = 5 + 2\sqrt{2} \enspace andλ2=522 \enspace \lambda_{2} = 5 - 2\sqrt{2}
    Equation 19: Eigenvalues of A

    Their multiplicity is 1 because they are distinct roots, therefore, they are distinct eigenvalues.

    Example 4

    Find all the characteristic polynomial eigenvalues for matrix A:

    The characteristic equation
    Equation 20: Matrix A


    State their multiplicities and what type of eigenvalues they are:
    Solving the matrix subtraction AλIA- \lambda I as shown below:

    The characteristic equation
    Equation 21: Matrix subtraction A- λ\lambda I


    Now we solve the characteristic equation of a 3x3 matrix by obtaining the determinant as follows:

    The characteristic equation
    Equation 22: Calculating the characteristic polynomial (part 1)


    Working through the computation of the determinant in order to obtain the characteristic polynomial:

    det(AIλ)=(2λ)(5λ)(4λ)(6)(3)4(3)(4λ)(6)(3)2(3)(6)(6)(5λ)det(A-I\lambda)=(2- \lambda) { (-5-\lambda)(4-\lambda)-(-6)(3) } -4{(3)(4- \lambda)-(6)(3)}-2{(3)(-6)-(6)(-5-\lambda)}

    det(AIλ)=(2λ)20+5λ4λ+λ2+1843λ6212+6λ)det(A-I\lambda)=(2-\lambda){-20+5\lambda-4\lambda+\lambda^{2}+18}-4{-3\lambda -6}-2{12+6\lambda)}

    det(AIλ)=(2λ)2+λ+λ2+12λ+242412λdet(A-I\lambda)=(2-\lambda){-2+\lambda+\lambda^{2}}+12\lambda+24-24-12\lambda

    det(AI)λ=(2)λ2+λ+λ2\det(A-I)\lambda=(2-)\lambda{-2+\lambda+\lambda^{2}}
    Equation 23: Calculating the characteristic polynomial (part 2)


    We stop right here because we will use this last expression: (2λ)2+λ+λ2 (2-\lambda){-2+\lambda+\lambda^{2}} in a moment when we solve for the eigenvalues. Now lets continue:

    det(AIλ)=(2λ)2+λ+λ2=4+2λ+2λ2+2λλ2λ3=0det(A-I\lambda)=(2-\lambda){-2+\lambda+\lambda^{2}}=-4+2\lambda+2\lambda^{2}+2\lambda-\lambda^{2}-\lambda^{3}=0

    det(AIλ)=λ3+λ2+4λ4det(A-I\lambda)=-\lambda^{3}+\lambda^{2}+4\lambda-4
    Equation 24: Calculating the characteristic polynomial (part 3)


    The last expression on equation 24 is the characteristic polynomial for this matrix. Now, to solve for the eigenvalues we go back to the last expression we saw in equation 23:

    (2λ)2+λ+λ2=0(2-\lambda){-2+\lambda+\lambda^{2}}=0
    Equation 25: Expression to solve for the eigenvalues


    From equation 25 we can automatically see that one of the roots is λ=2\lambda =2, in order to solve the other 2 roots we just solve the quadratic equation for the expression that is left inside the second parenthesis in equation 25.

    Having  λ2+λ2, \; \lambda^{2} + \lambda -2 , we use the quadratic formula to solve for:λ : \lambda

    λ=(1)±(1)24(1)(2)2(1)=1±1  +  82=1±92=1±2\lambda = \frac{ -(1) \pm \sqrt{(1)^{2} -4 (1) (-2) } } {2(1) } = \frac{-1 \pm \sqrt{1\;+\;8} } {2} = \frac{-1 \pm \sqrt{9}} {2} = \frac{-1 \pm}{2}
    Equation 26: Finding the eigenvalues


    And so, the eigenvalues are:

    λ1=2,λ2=1  +  32=1,λ3=132=2\lambda_1 = 2, \lambda_2 = \frac{-1\;+\;3} {2} = 1, \lambda_3 = \frac{-1-3} {2} = -2
    Equation 27: Eigenvalues of A


    Therefore, since all the three eigenvalues λ1=2,λ2=1,λ3=2\lambda_1 = 2, \lambda_2 = 1, \lambda_3=-2 are distinct from each other, their multiplicity is 1, and they are distinct eigenvalues.

    Example 5

    Find all the eigenvalues of the matrix A as defined below, then, state their multiplicities and what type of eigenvalues they are:

    The characteristic equation
    Equation 28: Matrix A

    We perform the matrix subtraction AλIA-\lambda I:

    The characteristic equation
    Equation 29: Matrix subtraction A-λ\lambdaI

    And now we set up the characteristic equation:

    The characteristic equation
    Equation 30: Characteristic equation

    And now, to find the eigenvalues we just compute the determinant shown in equation 30. Notice that since this matrix happens to be a triangular matrix, the only thing to do is to multiply the diagonal components of it to obtain the determinant and so the characteristic polynomial is:

    det(AIλ)=(3λ)(1λ)(5λ)(2λ)(3λ)=0det (A-I \lambda )=(3- \lambda )(1- \lambda )(-5- \lambda )(-2- \lambda )(3- \lambda )=0
    Equation 31: Characteristic equation ready to obtain the eigenvalues

    As lucky will have it, there is no need to make anything else on equation 31 in order to obtain the roots for the multiple values of λ\lambda . The roots are already given there as factors, and so, the eigenvalues are:

    λ1=3,λ2=1,λ3=5,λ4=2\lambda_1 = 3, \lambda_2 = 1, \lambda_3 = -5, \lambda_4 = -2 \enspace andλ5=3 \enspace \lambda_5 = 3
    Equation 32: Eigenvalues of matrix A

    Notice that the eigenvalue equal to 3 repeats itself, therefore =3 is a repeated eigenvalue with multiplicity equal to 2, while the rest of the eigenvalues: λ=1,5,2 \lambda =1,-5,-2 are all distinct eigenvalues with multiplicity of 1.
    To finish off this lesson we recommend you to visit this lesson on eigenvalues and eigenvectors which expands on the importance of the characteristic polynomial equation and its usage while calculating them; we also recommend you to visit this lesson on the characteristic equation which makes sure to define a theorem on algebraic multiplicity and related it with example problems.

    This is it for our lesson of today, see you in the next one!
    We say that a scalar λ\lambda is an eigenvalue of an n×nn \times n matrix AA if and only if λ\lambda satisfies the following characteristic equation:
    det(AλI)=0\det(A-\lambda I)=0

    We say that det(AλI)\det(A-\lambda I) is a characteristic polynomial.

    Useful ways to find eigenvalues
    When dealing with a 2×22 \times 2 matrix, use the formula det(A)=adbc\det (A) = ad-bc.

    When dealing with a 3×33 \times 3 matrix, use the shortcut method.

    When dealing with a triangular matrix, know that the determinant is just the product of the diagonal entries.

    Note that:
    1. An eigenvalue is a distinct root if it has a multiplicity of 1
    2. An eigenvalue is a repeated root if it has a multiplicity greater than 1