MathAlgebraLinear algebraLinear operators

Eigenvalues and eigenvectors

5 minutes read

Have you ever played a game of billiards? When you hit another ball using the cue ball, it moves and changes direction. Similarly, in mathematics, a linear operator acts like a function in vector spaces. You apply the operator to a vector, and it changes its direction.

Billiard-table Illustration

However, among all the vectors, there's a special kind called eigenvectors that behave differently. In this topic, we'll explore eigenvectors in detail. You will see how to formally define eigenvectors and how to find them. The topics you have already learned will help you calculate those values! By understanding eigenvectors, you can gain insights into how linear operators behave and their role in a variety of applications, ranging from physics to data analysis.

What are eigenvalues and eigenvectors?

An eigenvector vv is a vector that, when transformed by a linear operator A:VVA:V \to V, is only scaled by a scalar value. This value λ\lambda is called the eigenvalue of the transformation.

In other words, an eigenvector is a non-zero vector that, when multiplied by a matrix or linear transformation, results in a scalar multiple of itself. Therefore, the eigenvalue represents the scaling factor by which the eigenvector is scaled.

In our billiards example, this would happen upon hitting a ball perfectly straight so it follows the direction in which the shot was lined up.

As an example, consider a matrix AA and an eigenvector vv

A=(3113),v=(11)\begin{align*}A= \begin{pmatrix} 3 & 1 \\ 1 & 3 \end{pmatrix} , v= \begin{pmatrix} 1 \\ 1 \end{pmatrix} \end{align*}Through the multiplication of AA and vv, you can check if the result is a scalar multiple of vv:

Av=(3113)(11)=(44)\begin{align*} Av= \begin{pmatrix} 3 & 1 \\ 1 & 3 \end{pmatrix} * \begin{pmatrix} 1 \\ 1 \end{pmatrix} = \begin{pmatrix} 4 \\ 4 \end{pmatrix} \end{align*}As you can see Av=4vAv=4v, where the scalar multiple is 44. Therefore, vv is an eigenvector for AA with eigenvalue λ=4\lambda=4.

Remember: A matrix AA needs to be a square matrix for it to have any eigenvalues!

Finding all eigenvalues of a linear operator

Now let's try to find the eigenvalues of a certain linear operator AA. The set containing all eigenvalues of a specific linear operator is called its spectrum and is denoted as SpecASpec A.

To better understand the steps for finding all eigenvalues, let's simultaneously calculate the eigenvalues and eigenvectors for the matrix A=(3122)A= \bigl( \begin{smallmatrix} 3 & 1 \\ 2 & 2 \end{smallmatrix} \bigr).

The steps for finding all eigenvalues that belong to the spectrum are as follows:

  1. Set up the equation Av=λvAv=\lambda v
  2. Assume a nonzero vector vv as the eigenvector. This assumption is necessary to seek an actual eigenvector with the special property of producing a scalar multiple of itself when multiplied by an operator AA.
    For our example, let's assume v=(xy)v= \bigl( \begin{smallmatrix} x \\ y \end{smallmatrix} \bigr).
  3. Substitute the values of AA and vv into the equation from 1. and you get:
    (a1,1a1,2a1,ma2,1a2,2a2,man,1an,2an,m)(v1v2vn)=λ(v1v2vn)\begin{pmatrix} a_{1,1} & a_{1,2} & \dots & a_{1,m} \\ a_{2,1} & a_{2,2} & \dots & a_{2,m} \\ \vdots & \vdots & \ddots & \vdots \\ a_{n,1} & a_{n,2} & \dots & a_{n,m} \end{pmatrix} \begin{pmatrix} v_1 \\ v_2 \\ \vdots \\ v_n \end{pmatrix} = \lambda \begin{pmatrix} v_1 \\ v_2 \\ \vdots \\ v_n \end{pmatrix}By extracting each row we get nn equations:a1,1v1+a1,2v2++a1,mvn=λv1a2,1v1+a2,2v2++a2,mvn=λv2an,1v1+an,2v2++an,mvn=λvna_{1,1}v_1+a_{1,2}v_2+\dots+a_{1,m}v_n=\lambda v_1 \\ a_{2,1}v_1+a_{2,2}v_2+\dots+a_{2,m}v_n=\lambda v_2 \\ \vdots \\ a_{n,1}v_1+a_{n,2}v_2+\dots+a_{n,m}v_n=\lambda v_n

    Substituting AA and vv from our example will lead to:

    (3122)(xy)=λ(xy)\begin{pmatrix} 3 & 1 \\ 2 & 2 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \lambda \begin{pmatrix} x \\ y \end{pmatrix}

    3x+y=λx2x+2y=λy3x+y= \lambda x \\ 2x+2y= \lambda y

  4. Rearrange the equation to set it equal to zero, with II being the identity matrix of size n×nn\times n.
    (AλI)v=0(A- \lambda I)v=0Rearranging the equations from our example will result in:(3λ)x+y=02x+(2λ)y=0(3- \lambda)x+y=0 \\ 2x+(2- \lambda )y=0

  5. Calculate the determinant of (AλI)(A- \lambda I) and solve the equation for λ\lambda:det(AλI)=0det(A- \lambda I)=0

    Use the determinant to find eigenvalues and eigenvectors. By setting the determinant of the matrix (A - λ * I) to zero, you can determine the eigenvalues that satisfy the condition for non-trivial eigenvectors, where non-trivial eigenvectors are those that are not the zero vector. The solution for this equation looks like this ξA(λ)=bnλn+bn1λn1++b1λ+b0\xi_A(λ)=b_nλ^n+b_{n−1}λ^{n−1}+…+b_1λ+b_0 and is called the characteristic polynomial ξ\xi of the linear operator AA. The solutions for λ\lambda will be the eigenvalues of AA.
    By calculating the determinant for our instance det(3λ122λ)=0det \bigl( \begin{smallmatrix} 3-\lambda & 1 \\ 2 & 2-\lambda \end{smallmatrix} \bigr) =0, you will receive the following equation:(3λ)(2λ)(1)(2)=0    (3λ)(2λ)2=0    (λ1)(λ4)=0\begin{align*} (3-\lambda)(2-\lambda)-(1)(2)&=0 \\ \iff (3-\lambda)(2-\lambda)-2&=0 \\ \iff (\lambda-1)(\lambda-4)&=0 \end{align*} Now you can solve for λ\lambda and therefore extract the eigenvalues of AA.λ1=0    λ=1λ4=0    λ=4\lambda -1=0 \iff \lambda=1 \\ \lambda -4=0 \iff \lambda=4

  6. Substitute each eigenvalue back into the equation (AλI)v=0(A-\lambda I)v=0, to find their corresponding eigenvectors.
    For λ=1\lambda=1 you get the following equations:(311221)(xy)=(00)    2x+y=02x+y=0\begin{pmatrix} 3-1 & 1 \\ 2 & 2-1 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix} \implies \begin{matrix} 2x+y=0 \\ 2x+y=0 \end{matrix} By observing the equations, we find that the eigenvectors corresponding to the eigenvalue λ=1\lambda = 1 are of the form v=(12yy)v=\bigl( \begin{smallmatrix} -\frac{1}{2}y\\ y\end{smallmatrix} \bigr), where yy is a real number.2x+y=0    2x=y    x=y2\begin{align*} 2x+y&=0 \\ \iff 2x&=-y \\ \iff x&=\frac{-y}{2} \end{align*} In particular, choosing y=1y = 1 yields the eigenvector v=(121)v=\bigl( \begin{smallmatrix} -\frac{1}{2} \\1 \end{smallmatrix} \bigr). It should be mentioned that the eigenspace associated with the eigenvalue λ=1\lambda = 1 consists of all possible scalar multiples of the eigenvector v=(121)v=\bigl( \begin{smallmatrix} -\frac{1}{2} \\1 \end{smallmatrix} \bigr), including the zero vector.

    To keep the topic short, calculating the eigenvector for λ=4\lambda =4 is omitted. Upon doing so, the corresponding eigenvector will be (11)\bigl( \begin{smallmatrix} 1 \\ 1 \end{smallmatrix} \bigr).

Conclusion

In this topic, you learned about eigenvalues, eigenvectors, and how to calculate them. Try to remember the essential formulas! The most important points are:

  • An eigenvector is a vector that, when transformed by a linear operator, is only scaled by a scalar value. Av=λvAv=\lambda v
  • This scalar value is called the eigenvalue of the transformation. Solving the equation det(AλI)=0det(A- \lambda I)=0 will result in the polynomial ξA(λ)=bnλn+bn1λn1++b1λ+b0\xi_A(λ)=b_nλ^n+b_{n−1}λ^{n−1}+…+b_1λ+b_0.
  • The set of all eigenvalues of a certain linear operator is called its spectrum.

Have fun practicing!

7 learners liked this piece of theory. 0 didn't like it. What about you?
Report a typo