# Eigenvalues

The topic of Eigenvalues and their sibling, Eigenvectors, is something that can be quite confusing for math students. It is not immediately obvious from the calculations what they are actually for and how we can think about them intuitively.

Briefly speaking, the Eigenvalues of a square matrix translates to own values. They are the special values which encode what happens to the Eigenvectors of the matrix when it is applied as a transformation. This description probably also does not help very much either if we do not have a clear understanding of what Eigenvectors are. But we also need to know about what we are doing when we compute Eigenvalues to talk about Eigenvectors, so for now you will just have to take my word for it that they are important.

Remember how some square matrices had a determinant of zero, and this meant that they flattened space from a higher dimension to a lower dimension? If we look at any linear transformation with a nonzero determinant, you might wonder what you could do to the transformation in order to make the determinant zero.

Recalling that the determinant of an upper or lower triangular matrix is defined as multiplication along the diagonal, you might think about what value lambda, can I subtract from each element on the diagonal to make the determinant zero?

And remember that when you are doing this, you are essentially finding some value (of which they may be more than one) to add or subtract along the diagonal which make the determinant zero.

Remember that there does not just have to be a single Eigenvalue. Sometimes a system could have multiple Eigenvalues. This system, which shears by 2 along the x-axis but scales by two along the y-axis has

And it also has

In order to compute these Eigenvalues, recall the equation for the determinant, but this time subtract an unknown value from the diagonal and set the determinant to zero.

This is a polynomial known as the characteristic equation that we can solve for .

If we take the example of the transformation above, we will see that:

Something to take note of here is that given that that the characteristic equation is a polynomial of degree , where is the number of columns in the square matrix, it stands to reason that there can be up to real-valued solutions for . Sometimes there might not be any real valued solutions.

If a single value appears as a solution more than once, in the sense that one of the critical points of the polynomial lies on the x-axis, then that Eigenvalue is said to have a higher algebraic multiplicity. For instance, above, we had the matrix:

If we were to take the eigenvalues of this matrix:

would have an algebraic multiplicity of 2, since it actually appears twice if we were to expand the equation out:

Eigenvalues also have some other interesting properties, which is why we say that they are useful in encoding information about what matrices are doing.

Trace: The sum of all the diagonal elements in the matrix equals the sum of all the eigenvalues. For instance, with the matrix:

we found Eigenvalues , which happens to equal the sum of the diagonal:

Determinant: The determinant of a matrix is the product of its Eigenvalues: for instance,

Inverse: If a matrix is invertible, then the eigenvalues of the inverse are . For example, the inverse of is. Setting the determinant of the inverse to zero allows us to find the Eigenvalues: