Linear Algebra

Eigenvectors, Values, Bases, and Spaces

12/13 in Linear Algebra. See all.

Eigenvectors
Eigenvectors of a transformation are vectors that stay on their span during the transformation. There are two similar ways of defining them: through transformations and matrices. The gist is the same: a nonzero (important!) vector vRnv\in\mathbb{R}^n (matrix) or vVv\in\mathbb{V} (transformation) is an eigenvector of AA (matrix) or T:VVT:\mathbb{V}\to\mathbb{V} (linear transformation) if

  1. Av=λvAv=\lambda v, or
  2. Tv=λvTv=\lambda v. λ\lambda is the eigenvector's...

Eigenvalue
An eigenvalue describes the scalar that the eigenvector is multiplied by as a result of the transformation. Why are eigenvectors important? Consider a 3d rotation — if you can find an eigenvector, you have found the axis of rotation for that transformation.

Eigenbasis
Whenever a matrix has zeroes everywhere except the diagonal, it's called a diagonal matrix. It means that every single basis vector is an eigenvector! Diagonal matrices allow you to do a lot — computations with them are very easy. But... isn't it unlikely that you'll get a diagonal matrix as your transformation? Well, funny thing — if you can find a set of eigenvectors that span space, you can change basis to those eigenvectors to get a diagonal transformation matrix!

Finding eigenthings
λ\lambda is an eigenvalue of the n×nn\times n matrix AA if and only if det(AλI)=0.\det(A-\lambda I)=0. The above equation is called the characteristic equation of the matrix AA. Solving the characteristic equation yields some number of eigenvalues λ1,,λk\lambda_1,\dots,\lambda_k. We can find each eigenvalue's eigenspace by solving the equation Ax=λxAx=\lambda x. This is equivalent to solving (AλIn)x=0.(A-\lambda I_n)x=0.

Theorems
There are a ton of results related to eigenvalues and eigenvectors. Here are a few. Try to prove each one, or at least understand why they're true.

Thm. If V\mathbb{V} is finite dimensional and :VV:\mathbb{V}\to\mathbb{V} is linear, then there exists a basis BB of V\mathbb{V} such that the representation of TT with respect to BB is a diagonal matrix if and only if there exists a basis of V\mathbb{V} consisting of only eigenvectors of TT.

Thm. uVu\in \mathbb{V} is an eigenvector with eigenvalue λ\lambda for a given transformation T:VVT:\mathbb{V}\to\mathbb{V} if and only if for any basis CC of V\mathbb{V} and matrix representation ACCA_C^C of TT, (u)C(u)_C is an eigenvector with eigenvalue λ\lambda for ACCA_C^C. So, to find all eigenvectors and eigenvalues of a transformation, it suffices to find all eigenvectors and eigenvalues of any matrix representation of that transformation.

Thm. For a linear transformation T:VVT:\mathbb{V}\to\mathbb{V} with eigenvalue λ\lambda, the set Sλ={vV    Tv=λv}={0}{vV  v is an eigenvector with eigenvalue λ}S_\lambda=\left\{v\in\mathbb{V}\;|\; Tv=\lambda v\right\}=\left\{\textbf{0}\right\}\cup\left\{v\in\mathbb{V}\;|v\text{ is an eigenvector with eigenvalue }\lambda\right\} is a subspace of V\mathbb{V}. This set is called the eigenspace of TT with eigenvalue λ\lambda.

Thm. If AA and BB are similar matrices, then they have the same characteristic equation, and, as such, the same eigenvalues.

Thm. For an upper or lower triangular matrix, the eigenvalues are the diagonal elements.

Thm. AA is singular if and only if it has a zero eigenvalue (obviously: det(A0In)=0\det(A-0 I_n)=0).

Thm. If xx is an eigenvector of an invertible n×nn\times n matrix AA with eigenvalue λ\lambda, then xx is an eigenvector of A1A^{-1} with eigenvalue 1/λ1/\lambda.

Thm. If xx is an eigenvector of AA with eigenvalue λ\lambda, then

  1. xx is an eigenvector of kAkA with eigenvalue kλk\lambda for some scalar kk.
  2. xx is an eigenvector of AnA^n with eigenvalue λn\lambda^n for each positive integer nn.

Trace
The trace of an n×nn\times n matrix A=[aij]A=[a_{ij}] is tr(A)=i=1naii,tr(A)=\sum_{i=1}^n a_{ii}, which is just the sum of the diagonal elements.

Thm. Suppose AA is an n×nn\times n matrix with eigenvalues λ1,,λn\lambda_1, \dots, \lambda_n (possibly complex), listed with multiplicity. Then

  1. tr(A)=λ1+λ2++λntr(A)=\lambda_1 + \lambda_2 + \dots + \lambda_n.
  2. det(A)=λ1λ2λn\det(A)=\lambda_1\lambda_2\dots\lambda_n.

Quick Trick for Finding 2×22\times2 Eigenvalues
There are a few things to know.

  1. tr([abcd])=a+d=λ1+λ2\text{tr}\left(\begin{bmatrix}a & b\\c & d\end{bmatrix}\right)=a+d=\lambda_1+\lambda_2, so the average of these two diagonal entries is the same as the average of the two eigenvalues.
  2. det([abcd])=adbc=λ1λ2\det\left(\begin{bmatrix}a & b \\ c & d\end{bmatrix}\right)=ad-bc=\lambda_1\lambda_2.
  3. λ1,λ2=m±m2p\lambda_1, \lambda_2 = m\pm \sqrt{m^2-p}, where mm is the mean of the diagonals and pp is the determinant of the matrix.

This is from a 3Blue1Brown video, and it's a really cool trick! It's a good way to check your work, and it's a good way to find eigenvalues quickly.