Difference between revisions of "Eigenvalues and Eigenvectors"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 33: Line 33:
  
 
Thus, <math> v_1 </math> is an eigenvector of matrix <math> \mathbf{A} </math>, and its corresponding eigenvalue <math> \lambda_1 = 3 </math>.
 
Thus, <math> v_1 </math> is an eigenvector of matrix <math> \mathbf{A} </math>, and its corresponding eigenvalue <math> \lambda_1 = 3 </math>.
 +
 +
Geometrically, an eigenvector, corresponding to a real nonzero eigenvalue, points in a direction in which it is stretched by the transformation and the eigenvalue is the factor by which it is stretched. If the eigenvalue is negative, the direction is reversed. Loosely speaking, in a multidimensional vector space, the eigenvector is not rotated.
 +
 +
==Formal definition==
 +
If {{mvar|T}} is a linear transformation from a vector space {{mvar|V}} over a field {{mvar|F}} into itself and {{math|'''v'''}} is a nonzero vector in {{mvar|V}}, then {{math|'''v'''}} is an eigenvector of {{mvar|T}} if {{math|''T''('''v''')}} is a scalar multiple of {{math|'''v'''}}. This can be written as
 +
:<math>T(\mathbf{v}) = \lambda \mathbf{v},</math>
 +
 +
where {{mvar|λ}} is a scalar in {{mvar|F}}, known as the '''eigenvalue''', '''characteristic value''', or '''characteristic root''' associated with {{math|'''v'''}}.
 +
 +
There is a direct correspondence between ''n''-by-''n'' square matrices and linear transformations from an ''n''-dimensional vector space into itself, given any basis of the vector space. Hence, in a finite-dimensional vector space, it is equivalent to define eigenvalues and eigenvectors using either the language of matrices, or the language of linear transformations.
 +
 +
If {{mvar|V}} is finite-dimensional, the above equation is equivalent to
 +
:<math>A\mathbf{u} = \lambda \mathbf{u}.</math>
 +
 +
where {{mvar|A}} is the matrix representation of {{mvar|T}} and {{math|'''u'''}} is the coordinate vector of {{math|'''v'''}}.
 +
 +
==Overview==
 +
Eigenvalues and eigenvectors feature prominently in the analysis of linear transformations. The prefix ''eigen-'' is adopted from the German word ''eigen'' (cognate with the English word ''own'') for "proper", "characteristic", "own". Originally used to study principal axes of the rotational motion of rigid bodies, eigenvalues and eigenvectors have a wide range of applications, for example in stability analysis, vibration analysis, atomic orbitals, facial recognition, and matrix diagonalization.
 +
 +
In essence, an eigenvector '''v''' of a linear transformation ''T'' is a nonzero vector that, when ''T'' is applied to it, does not change direction. Applying ''T'' to the eigenvector only scales the eigenvector by the scalar value ''λ'', called an eigenvalue. This condition can be written as the equation
 +
 +
:<math>T(\mathbf{v}) = \lambda \mathbf{v},</math>
 +
 +
referred to as the '''eigenvalue equation''' or '''eigenequation'''. In general, ''λ'' may be any scalar. For example, ''λ'' may be negative, in which case the eigenvector reverses direction as part of the scaling, or it may be zero or complex.
 +
 +
[[File:Mona Lisa eigenvector grid.png|thumb|320px|In this shear mapping the red arrow changes direction, but the blue arrow does not. The blue arrow is an eigenvector of this shear mapping because it does not change direction, and since its length is unchanged, its eigenvalue is 1.]]
 +
[[File:Eigenvectors of a linear operator.gif|thumb|200px|A 2×2 real and symmetric matrix represent a stretching and shearing of the plane. The eigenvectors of the matrix (red lines) are the two special directions such that every point on them will just slide on them.]]
 +
 +
The Mona Lisa example pictured here provides a simple illustration. Each point on the painting can be represented as a vector pointing from the center of the painting to that point. The linear transformation in this example is called a shear mapping. Points in the top half are moved to the right, and points in the bottom half are moved to the left, proportional to how far they are from the horizontal axis that goes through the middle of the painting. The vectors pointing to each point in the original image are therefore tilted right or left, and made longer or shorter by the transformation. Points ''along'' the horizontal axis do not move at all when this transformation is applied. Therefore, any vector that points directly to the right or left with no vertical component is an eigenvector of this transformation, because the mapping does not change its direction. Moreover, these eigenvectors all have an eigenvalue equal to one, because the mapping does not change their length either.
 +
 +
Linear transformations can take many different forms, mapping vectors in a variety of vector spaces, so the eigenvectors can also take many forms. For example, the linear transformation could be a differential operator like <math>\tfrac{d}{dx}</math>, in which case the eigenvectors are functions called eigenfunctions that are scaled by that differential operator, such as
 +
 +
:<math>\frac{d}{dx}e^{\lambda x} = \lambda e^{\lambda x}.</math>
 +
 +
Alternatively, the linear transformation could take the form of an ''n'' by ''n'' matrix, in which case the eigenvectors are ''n'' by 1 matrices. If the linear transformation is expressed in the form of an ''n'' by ''n'' matrix ''A'', then the eigenvalue equation for a linear transformation above can be rewritten as the matrix multiplication
 +
 +
:<math>A\mathbf v = \lambda \mathbf v,</math>
 +
 +
where the eigenvector ''v'' is an ''n'' by 1 matrix. For a matrix, eigenvalues and eigenvectors can be used to decompose the matrix—for example by diagonalizing it.
 +
 +
Eigenvalues and eigenvectors give rise to many closely related mathematical concepts, and the prefix ''eigen-'' is applied liberally when naming them:
 +
* The set of all eigenvectors of a linear transformation, each paired with its corresponding eigenvalue, is called the '''eigensystem''' of that transformation.
 +
* The set of all eigenvectors of ''T'' corresponding to the same eigenvalue, together with the zero vector, is called an '''eigenspace''', or the '''characteristic space''' of ''T'' associated with that eigenvalue.
 +
* If a set of eigenvectors of ''T'' forms a basis of the domain of ''T'', then this basis is called an '''eigenbasis'''.
 +
 +
==Eigenvalues and eigenvectors of matrices==
 +
 +
Eigenvalues and eigenvectors are often introduced to students in the context of linear algebra courses focused on matrices.
 +
Furthermore, linear transformations over a finite-dimensional vector space can be represented using matrices, which is especially common in numerical and computational applications.
 +
 +
[[File:Eigenvalue equation.svg|thumb|right|250px|Matrix ''A'' acts by stretching the vector '''x''', not changing its direction, so '''x''' is an eigenvector of ''A''.]]
 +
 +
Consider {{mvar|n}}-dimensional vectors that are formed as a list of {{mvar|n}} scalars, such as the three-dimensional vectors
 +
:<math>\mathbf x = \begin{bmatrix}1\\-3\\4\end{bmatrix}\quad\mbox{and}\quad \mathbf y = \begin{bmatrix}-20\\60\\-80\end{bmatrix}.</math>
 +
 +
These vectors are said to be scalar multiples of each other, or parallel or collinear, if there is a scalar {{mvar|λ}} such that
 +
:<math>\mathbf x = \lambda \mathbf y.</math>
 +
 +
In this case <math>\lambda = -\frac{1}{20} </math>.
 +
 +
Now consider the linear transformation of {{mvar|n}}-dimensional vectors defined by an {{mvar|n}} by {{mvar|n}} matrix {{mvar|A}},
 +
:<math>A \mathbf v = \mathbf w,</math>
 +
 +
or
 +
:<math>\begin{bmatrix}
 +
    A_{11} & A_{12} & \cdots & A_{1n} \\
 +
    A_{21} & A_{22} & \cdots & A_{2n} \\
 +
    \vdots & \vdots & \ddots & \vdots \\
 +
    A_{n1} & A_{n2} & \cdots & A_{nn} \\
 +
  \end{bmatrix}\begin{bmatrix}
 +
    v_1 \\ v_2 \\ \vdots \\ v_n
 +
  \end{bmatrix} = \begin{bmatrix}
 +
    w_1 \\ w_2 \\ \vdots \\ w_n
 +
  \end{bmatrix}
 +
</math>
 +
 +
where, for each row,
 +
:<math>w_i = A_{i1} v_1 + A_{i2} v_2 + \cdots + A_{in} v_n = \sum_{j = 1}^n A_{ij} v_j.</math>
 +
 +
If it occurs that {{mvar|v}} and {{mvar|w}} are scalar multiples, that is if
 +
:<math>A \mathbf v = \mathbf w = \lambda \mathbf v,</math>  ('''1''')
 +
then {{math|'''v'''}} is an '''eigenvector''' of the linear transformation {{mvar|A}} and the scale factor {{mvar|λ}} is the '''eigenvalue''' corresponding to that eigenvector. Equation ('''1''') is the '''eigenvalue equation''' for the matrix {{mvar|A}}.
 +
 +
Equation ('''1''') can be stated equivalently as
 +
:<math>\left(A - \lambda I \right) \mathbf v = \mathbf 0,</math>  ('''2''')
 +
 +
where {{mvar|I}} is the {{mvar|n}} by {{mvar|n}} identity matrix and '''0''' is the zero vector.
 +
 +
===Eigenvalues and the characteristic polynomial===
 +
 +
Equation ('''2''') has a nonzero solution ''v'' if and only if the determinant of the matrix (''A'' − ''λI'') is zero. Therefore, the eigenvalues of ''A'' are values of ''λ'' that satisfy the equation
 +
:<math>|A-\lambda I| = 0</math>  ('''3''')
 +
 +
Using Leibniz' rule for the determinant, the left-hand side of Equation ('''3''') is a polynomial function of the variable ''λ'' and the degree of this polynomial is ''n'', the order of the matrix ''A''. Its coefficients depend on the entries of ''A'', except that its term of degree ''n'' is always (−1)<sup>''n''</sup>''λ''<sup>''n''</sup>. This polynomial is called the ''characteristic polynomial'' of ''A''. Equation ('''3''') is called the ''characteristic equation'' or the ''secular equation'' of ''A''.
 +
 +
The fundamental theorem of algebra implies that the characteristic polynomial of an ''n''-by-''n'' matrix ''A'', being a polynomial of degree ''n'', can be factored into the product of ''n'' linear terms,
 +
:<math>|A - \lambda I| = (\lambda_1 - \lambda )(\lambda_2 - \lambda) \cdots (\lambda_n - \lambda),</math>  ('''4''')
 +
 +
 +
where each ''λ''<sub>''i''</sub> may be real but in general is a complex number. The numbers ''λ''<sub>1</sub>, ''λ''<sub>2</sub>, …, ''λ''<sub>''n''</sub>, which may not all have distinct values, are roots of the polynomial and are the eigenvalues of ''A''.
 +
 +
As a brief example, which is described in more detail in the examples section later, consider the matrix
 +
:<math>A = \begin{bmatrix}
 +
  2 & 1\\
 +
  1 & 2
 +
\end{bmatrix}.</math>
 +
 +
Taking the determinant of (''A'' − ''λI''), the characteristic polynomial of ''A'' is
 +
:<math>|A - \lambda I| = \begin{vmatrix}
 +
    2 - \lambda & 1 \\
 +
    1          & 2 - \lambda
 +
  \end{vmatrix} =
 +
  3 - 4\lambda + \lambda^2.
 +
</math>
 +
 +
Setting the characteristic polynomial equal to zero, it has roots at λ=1 and λ=3, which are the two eigenvalues of ''A''. The eigenvectors corresponding to each eigenvalue can be found by solving for the components of '''v''' in the equation <math>\left(A - \lambda I\right) \mathbf v = \mathbf 0</math>. In this example, the eigenvectors are any nonzero scalar multiples of
 +
:<math>\mathbf v_{\lambda=1} = \begin{bmatrix} 1 \\ -1 \end{bmatrix}, \quad \mathbf v_{\lambda=3} = \begin{bmatrix} 1 \\ 1 \end{bmatrix}.</math>
 +
 +
If the entries of the matrix ''A'' are all real numbers, then the coefficients of the characteristic polynomial will also be real numbers, but the eigenvalues may still have nonzero imaginary parts. The entries of the corresponding eigenvectors therefore may also have nonzero imaginary parts. Similarly, the eigenvalues may be irrational numbers even if all the entries of ''A'' are rational numbers or even if they are all integers. However, if the entries of ''A'' are all algebraic numbers, which include the rationals, the eigenvalues are complex algebraic numbers.
 +
 +
The non-real roots of a real polynomial with real coefficients can be grouped into pairs of complex conjugates, namely with the two members of each pair having imaginary parts that differ only in sign and the same real part. If the degree is odd, then by the intermediate value theorem at least one of the roots is real. Therefore, any real matrix with odd order has at least one real eigenvalue, whereas a real matrix with even order may not have any real eigenvalues. The eigenvectors associated with these complex eigenvalues are also complex and also appear in complex conjugate pairs.
 +
 +
=== Algebraic multiplicity ===
 +
 +
Let ''λ''<sub>''i''</sub> be an eigenvalue of an ''n'' by ''n'' matrix ''A''. The '''algebraic multiplicity''' ''μ''<sub>''A''</sub>(''λ''<sub>''i''</sub>) of the eigenvalue is its multiplicity as a root of the characteristic polynomial, that is, the largest integer ''k'' such that (''λ'' − ''λ''<sub>''i''</sub>)<sup>''k''</sup> divides evenly that polynomial.
 +
 +
Suppose a matrix ''A'' has dimension ''n'' and ''d'' ≤ ''n'' distinct eigenvalues. Whereas Equation ('''4''') factors the characteristic polynomial of ''A'' into the product of ''n'' linear terms with some terms potentially repeating, the characteristic polynomial can instead be written as the product of ''d'' terms each corresponding to a distinct eigenvalue and raised to the power of the algebraic multiplicity,
 +
:<math>|A - \lambda I| = (\lambda_1 - \lambda)^{\mu_A(\lambda_1)}(\lambda_2 - \lambda)^{\mu_A(\lambda_2)} \cdots (\lambda_d - \lambda)^{\mu_A(\lambda_d)}.</math>
 +
 +
If ''d'' = ''n'' then the right-hand side is the product of ''n'' linear terms and this is the same as Equation ('''4'''). The size of each eigenvalue's algebraic multiplicity is related to the dimension ''n'' as
 +
:<math>\begin{align}
 +
      1 &\leq \mu_A(\lambda_i) \leq n, \\
 +
  \mu_A &= \sum_{i=1}^d \mu_A\left(\lambda_i\right) = n.
 +
\end{align} </math>
 +
 +
If ''μ''<sub>''A''</sub>(''λ''<sub>''i''</sub>) = 1, then ''λ''<sub>''i''</sub> is said to be a ''simple eigenvalue''. If ''μ''<sub>''A''</sub>(''λ''<sub>''i''</sub>) equals the geometric multiplicity of ''λ''<sub>''i''</sub>, ''γ''<sub>''A''</sub>(''λ''<sub>''i''</sub>), defined in the next section, then ''λ''<sub>''i''</sub> is said to be a ''semisimple eigenvalue''.
 +
 +
===Eigenspaces, geometric multiplicity, and the eigenbasis for matrices===
 +
 +
Given a particular eigenvalue ''λ'' of the ''n'' by ''n'' matrix ''A'', define the set ''E'' to be all vectors '''v''' that satisfy Equation ('''2'''),
 +
:<math>E = \left\{\mathbf{v} : \left(A - \lambda I\right) \mathbf{v} = \mathbf{0}\right\}.</math>
 +
 +
On one hand, this set is precisely the kernel or nullspace of the matrix (''A'' − ''λI''). On the other hand, by definition, any nonzero vector that satisfies this condition is an eigenvector of ''A'' associated with ''λ''. So, the set ''E'' is the union of the zero vector with the set of all eigenvectors of ''A'' associated with ''λ'', and ''E'' equals the nullspace of (''A'' − ''λI''). ''E'' is called the '''eigenspace''' or '''characteristic space''' of ''A'' associated with ''λ''. In general ''λ'' is a complex number and the eigenvectors are complex ''n'' by 1 matrices. A property of the nullspace is that it is a linear subspace, so ''E'' is a linear subspace of ℂ<sup>''n''</sup>.
 +
 +
Because the eigenspace ''E'' is a linear subspace, it is closed under addition. That is, if two vectors '''u''' and '''v''' belong to the set ''E'', written '''u''', '''v''' ∈ ''E'', then ('''u''' + '''v''') ∈ ''E'' or equivalently ''A''('''u''' + '''v''') = ''λ''('''u''' + '''v'''). This can be checked using the distributive property of matrix multiplication. Similarly, because ''E'' is a linear subspace, it is closed under scalar multiplication. That is, if '''v''' ∈ ''E'' and ''α'' is a complex number, (''α'''''v''') ∈ ''E'' or equivalently ''A''(''α'''''v''') = ''λ''(''α'''''v'''). This can be checked by noting that multiplication of complex matrices by complex numbers is commutative. As long as '''u''' + '''v''' and ''α'''''v''' are not zero, they are also eigenvectors of ''A'' associated with ''λ''.
 +
 +
The dimension of the eigenspace ''E'' associated with ''λ'', or equivalently the maximum number of linearly independent eigenvectors associated with ''λ'', is referred to as the eigenvalue's '''geometric multiplicity''' ''γ''<sub>''A''</sub>(''λ''). Because ''E'' is also the nullspace of (''A'' − ''λI''), the geometric multiplicity of ''λ'' is the dimension of the nullspace of (''A'' − ''λI''), also called the ''nullity'' of (''A'' − ''λI''), which relates to the dimension and rank of (''A'' − ''λI'') as
 +
:<math>\gamma_A(\lambda) = n - \operatorname{rank}(A - \lambda I).</math>
 +
 +
Because of the definition of eigenvalues and eigenvectors, an eigenvalue's geometric multiplicity must be at least one, that is, each eigenvalue has at least one associated eigenvector. Furthermore, an eigenvalue's geometric multiplicity cannot exceed its algebraic multiplicity. Additionally, recall that an eigenvalue's algebraic multiplicity cannot exceed ''n''.
 +
:<math> 1 \le \gamma_A(\lambda) \le \mu_A(\lambda) \le n</math>
 +
 +
To prove the inequality <math>\gamma_A(\lambda)\le\mu_A(\lambda)</math>, consider how the definition of geometric multiplicity implies the existence of <math>\gamma_A(\lambda)</math> orthonormal eigenvectors <math>\boldsymbol{v}_1,\, \ldots,\, \boldsymbol{v}_{\gamma_A(\lambda)}</math>, such that <math>A \boldsymbol{v}_k = \lambda \boldsymbol{v}_k</math>. We can therefore find a (unitary) matrix <math>V</math> whose first <math>\gamma_A(\lambda)</math> columns are these eigenvectors, and whose remaining columns can be any orthonormal set of <math>n - \gamma_A(\lambda)</math> vectors orthogonal to these eigenvectors of <math>A</math>. Then <math>V</math> has full rank and is therefore invertible, and <math>AV=VD</math> with <math>D</math> a matrix whose top left block is the diagonal matrix <math>\lambda I_{\gamma_A(\lambda)}</math>. This implies that <math>(A - \xi I)V = V(D - \xi I)</math>. In other words, <math>A - \xi I</math> is similar to <math>D - \xi I</math>, which implies that <math>\det(A - \xi I) = \det(D - \xi I)</math>. But from the definition of <math>D</math> we know that <math>\det(D - \xi I)</math> contains a factor <math>(\xi - \lambda)^{\gamma_A(\lambda)}</math>, which means that the algebraic multiplicity of <math>\lambda</math> must satisfy <math>\mu_A(\lambda) \ge \gamma_A(\lambda)</math>.
 +
 +
Suppose <math>A</math> has <math>d \leq n</math> distinct eigenvalues <math>\lambda_1, \ldots, \lambda_d</math>, where the geometric multiplicity of <math>\lambda_i</math> is <math>\gamma_A (\lambda_i)</math>. The total geometric multiplicity of <math>A</math>,
 +
:<math>\begin{align}
 +
  \gamma_A &= \sum_{i=1}^d \gamma_A(\lambda_i), \\
 +
        d &\le \gamma_A \le n,
 +
\end{align}</math>
 +
 +
is the dimension of the sum of all the eigenspaces of <math>A</math>'s eigenvalues, or equivalently the maximum number of linearly independent eigenvectors of <math>A</math>. If <math>\gamma_A=n</math>, then
 +
* The direct sum of the eigenspaces of all of <math>A</math>'s eigenvalues is the entire vector space <math>\mathbb{C}^n</math>.
 +
* A basis of <math>\mathbb{C}^n</math> can be formed from <math>n</math> linearly independent eigenvectors of <math>A</math>; such a basis is called an '''eigenbasis'''
 +
* Any vector in <math>\mathbb{C}^n</math> can be written as a linear combination of eigenvectors of <math>A</math>.
 +
 +
===Additional properties of eigenvalues===
 +
Let <math>A</math> be an arbitrary <math>n \times n</math> matrix of complex numbers with eigenvalues <math>\lambda_1, \ldots, \lambda_n</math>. Each eigenvalue appears <math>\mu_A(\lambda_i)</math> times in this list, where <math>\mu_A(\lambda_i)</math> is the eigenvalue's algebraic multiplicity. The following are properties of this matrix and its eigenvalues:
 +
* The trace of <math>A</math>, defined as the sum of its diagonal elements, is also the sum of all eigenvalues,
 +
*: <math>\operatorname{tr}(A) = \sum_{i=1}^n a_{ii} = \sum_{i=1}^n \lambda_i = \lambda_1 + \lambda_2 + \cdots + \lambda_n.</math>
 +
* The determinant of <math>A</math> is the product of all its eigenvalues,
 +
*: <math>\det(A) = \prod_{i=1}^n \lambda_i = \lambda_1\lambda_2 \cdots \lambda_n.</math>
 +
* The eigenvalues of the <math>k</math><sup>th</sup> power of <math>A</math>; i.e., the eigenvalues of <math>A^k</math>, for any positive integer <math>k</math>, are <math>\lambda_1^k, \ldots, \lambda_n^k</math>.
 +
* The matrix <math>A</math> is invertible if and only if every eigenvalue is nonzero.
 +
* If <math>A</math> is invertible, then the eigenvalues of <math>A^{-1}</math> are <math display="inline">\frac{1}{\lambda_1}, \ldots, \frac{1}{\lambda_n}</math> and each eigenvalue's geometric multiplicity coincides. Moreover, since the characteristic polynomial of the inverse is the reciprocal polynomial of the original, the eigenvalues share the same algebraic multiplicity.
 +
* If <math>A</math> is equal to its conjugate transpose <math>A^*</math>, or equivalently if <math>A</math> is Hermitian, then every eigenvalue is real. The same is true of any symmetric real matrix.
 +
* If <math>A</math> is not only Hermitian but also positive-definite, positive-semidefinite, negative-definite, or negative-semidefinite, then every eigenvalue is positive, non-negative, negative, or non-positive, respectively.
 +
* If <math>A</math> is unitary, every eigenvalue has absolute value <math>|\lambda_i|=1</math>.
 +
* if <math>A</math> is a <math>n\times n</math> matrix and <math>\{\lambda_1,\ldots,\lambda_k\}</math> are its eigenvalues, then the eigenvalues of matrix <math>I+A</math> (where <math>I</math> is the identity matrix) are <math>\{\lambda_1+1,\ldots,\lambda_k+1\}</math>. Moreover, if <math>\alpha\in\mathbb C</math>, the eigenvalues of <math>\alpha I+A</math> are <math>\{\lambda_1+\alpha,\ldots,\lambda_k+\alpha\}</math>. More generally, for a polynomial <math>P</math> the eigenvalues of matrix <math>P(A)</math> are <math>\{P(\lambda_1), \ldots, P(\lambda_k)\}</math>.
 +
 +
=== Left and right eigenvectors ===
 +
 +
Many disciplines traditionally represent vectors as matrices with a single column rather than as matrices with a single row. For that reason, the word "eigenvector" in the context of matrices almost always refers to a '''right eigenvector''', namely a ''column'' vector that ''right'' multiplies the <math>n \times n</math> matrix <math>A</math> in the defining equation, Equation ('''1'''),
 +
:<math>A \mathbf v = \lambda \mathbf v.</math>
 +
 +
The eigenvalue and eigenvector problem can also be defined for ''row'' vectors that ''left'' multiply matrix <math>A</math>. In this formulation, the defining equation is
 +
:<math>\mathbf u A = \kappa \mathbf u,</math>
 +
 +
where <math>\kappa</math> is a scalar and <math>u</math> is a <math>1 \times n</math> matrix. Any row vector <math>u</math> satisfying this equation is called a '''left eigenvector''' of <math>A</math> and <math>\kappa</math> is its associated eigenvalue. Taking the transpose of this equation,
 +
:<math>A^\textsf{T} \mathbf u^\textsf{T} = \kappa \mathbf u^\textsf{T}.</math>
 +
 +
Comparing this equation to Equation ('''1'''), it follows immediately that a left eigenvector of <math>A</math> is the same as the transpose of a right eigenvector of <math>A^\textsf{T}</math>, with the same eigenvalue. Furthermore, since the characteristic polynomial of <math>A^\textsf{T}</math> is the same as the characteristic polynomial of <math>A</math>, the eigenvalues of the left eigenvectors of <math>A</math> are the same as the eigenvalues of the right eigenvectors of <math>A^\textsf{T}</math>.
 +
 +
===Diagonalization and the eigendecomposition===
 +
 +
Suppose the eigenvectors of ''A'' form a basis, or equivalently ''A'' has ''n'' linearly independent eigenvectors '''v'''<sub>1</sub>, '''v'''<sub>2</sub>, …, '''v'''<sub>''n''</sub> with associated eigenvalues ''λ''<sub>1</sub>, ''λ''<sub>2</sub>, …, ''λ''<sub>''n''</sub>. The eigenvalues need not be distinct. Define a square matrix ''Q'' whose columns are the ''n'' linearly independent eigenvectors of ''A'',
 +
: <math>Q = \begin{bmatrix} \mathbf v_1 & \mathbf v_2 & \cdots & \mathbf v_n \end{bmatrix}.</math>
 +
 +
Since each column of ''Q'' is an eigenvector of ''A'', right multiplying ''A'' by ''Q'' scales each column of ''Q'' by its associated eigenvalue,
 +
: <math>AQ = \begin{bmatrix} \lambda_1 \mathbf v_1 & \lambda_2 \mathbf v_2 & \cdots & \lambda_n \mathbf v_n \end{bmatrix}.</math>
 +
 +
With this in mind, define a diagonal matrix Λ where each diagonal element Λ<sub>''ii''</sub> is the eigenvalue associated with the ''i''th column of ''Q''. Then
 +
: <math>AQ = Q\Lambda.</math>
 +
 +
Because the columns of ''Q'' are linearly independent, Q is invertible. Right multiplying both sides of the equation by ''Q''<sup>−1</sup>,
 +
: <math>A = Q\Lambda Q^{-1},</math>
 +
 +
or by instead left multiplying both sides by ''Q''<sup>−1</sup>,
 +
: <math>Q^{-1}AQ = \Lambda.</math>
 +
 +
''A'' can therefore be decomposed into a matrix composed of its eigenvectors, a diagonal matrix with its eigenvalues along the diagonal, and the inverse of the matrix of eigenvectors. This is called the eigendecomposition and it is a similarity transformation. Such a matrix ''A'' is said to be ''similar'' to the diagonal matrix Λ or ''diagonalizable''. The matrix ''Q'' is the change of basis matrix of the similarity transformation. Essentially, the matrices ''A'' and Λ represent the same linear transformation expressed in two different bases. The eigenvectors are used as the basis when representing the linear transformation as&nbsp;Λ.
 +
 +
Conversely, suppose a matrix ''A'' is diagonalizable. Let ''P'' be a non-singular square matrix such that ''P''<sup>−1</sup>''AP'' is some diagonal matrix ''D''. Left multiplying both by ''P'', ''AP'' = ''PD''. Each column of ''P'' must therefore be an eigenvector of ''A'' whose eigenvalue is the corresponding diagonal element of ''D''. Since the columns of ''P'' must be linearly independent for ''P'' to be invertible, there exist ''n'' linearly independent eigenvectors of ''A''. It then follows that the eigenvectors of ''A'' form a basis if and only if ''A'' is diagonalizable.
 +
 +
A matrix that is not diagonalizable is said to be defective. For defective matrices, the notion of eigenvectors generalizes to generalized eigenvectors and the diagonal matrix of eigenvalues generalizes to the Jordan normal form. Over an algebraically closed field, any matrix ''A'' has a Jordan normal form and therefore admits a basis of generalized eigenvectors and a decomposition into generalized eigenspaces.
 +
 +
===Variational characterization===
 +
 +
In the Hermitian case, eigenvalues can be given a variational characterization. The largest eigenvalue of <math>H</math> is the maximum value of the quadratic form <math>\mathbf x^\textsf{T} H \mathbf x / \mathbf x^\textsf{T} \mathbf x</math>. A value of <math>\mathbf x</math> that realizes that maximum, is an eigenvector.
 +
 +
===Matrix examples===
 +
 +
====Two-dimensional matrix example====
 +
[[File:Eigenvectors.gif|right|frame|The transformation matrix ''A'' = <math>\left[\begin{smallmatrix} 2 & 1\\ 1 & 2 \end{smallmatrix}\right]</math> preserves the direction of purple vectors parallel to '''v'''<sub>''λ''=1</sub> = [1 −1]<sup>T</sup> and blue vectors parallel to '''v'''<sub>''λ''=3</sub> = [1 1]<sup>T</sup>. The red vectors are not parallel to either eigenvector, so, their directions are changed by the transformation. The lengths of the purple vectors are unchanged after the transformation (due to their eigenvalue of 1), while blue vectors are three times the length of the original (due to their eigenvalue of 3).]]
 +
 +
Consider the matrix
 +
:<math>A = \begin{bmatrix}
 +
  2 & 1\\
 +
  1 & 2
 +
\end{bmatrix}.</math>
 +
 +
The figure on the right shows the effect of this transformation on point coordinates in the plane. The eigenvectors ''v'' of this transformation satisfy Equation ('''1'''), and the values of ''λ'' for which the determinant of the matrix (''A''&nbsp;−&nbsp;''λI'') equals zero are the eigenvalues.
 +
 +
Taking the determinant to find characteristic polynomial of ''A'',
 +
:<math>\begin{align}
 +
    |A - \lambda I|
 +
  &= \left|\begin{bmatrix}
 +
    2 & 1 \\
 +
    1 & 2
 +
  \end{bmatrix} - \lambda\begin{bmatrix}
 +
    1 & 0 \\
 +
    0 & 1
 +
  \end{bmatrix}\right| = \begin{vmatrix}
 +
    2 - \lambda & 1 \\
 +
    1          & 2 - \lambda
 +
  \end{vmatrix} \\[6pt]
 +
    &= 3 - 4\lambda + \lambda^2 \\[6pt]
 +
    &= (\lambda - 3)(\lambda - 1).
 +
\end{align}</math>
 +
 +
Setting the characteristic polynomial equal to zero, it has roots at ''λ''=1 and ''λ''=3, which are the two eigenvalues of ''A''.
 +
 +
For ''λ''=1, Equation ('''2''') becomes,
 +
:<math>(A - I)\mathbf{v}_{\lambda=1} = \begin{bmatrix} 1 & 1\\ 1 & 1\end{bmatrix}\begin{bmatrix}v_1 \\ v_2\end{bmatrix} = \begin{bmatrix}0 \\ 0\end{bmatrix}</math>
 +
:<math>1v_1 + 1v_2 = 0</math>; <math>1v_1 + 1v_2 = 0</math>
 +
 +
Any nonzero vector with ''v''<sub>1</sub> = −''v''<sub>2</sub> solves this equation. Therefore,
 +
:<math>\mathbf{v}_{\lambda=1} = \begin{bmatrix} v_1 \\ -v_1 \end{bmatrix} = \begin{bmatrix} 1 \\ -1 \end{bmatrix}</math>
 +
 +
is an eigenvector of ''A'' corresponding to ''λ'' = 1, as is any scalar multiple of this vector.
 +
 +
For ''λ''=3, Equation ('''2''') becomes
 +
:<math>\begin{align}
 +
  (A - 3I)\mathbf{v}_{\lambda=3} &=
 +
  \begin{bmatrix} -1 & 1\\ 1 & -1 \end{bmatrix}
 +
    \begin{bmatrix} v_1 \\ v_2 \end{bmatrix} =
 +
    \begin{bmatrix} 0 \\ 0 \end{bmatrix} \\
 +
  -1v_1 + 1v_2 &= 0;\\
 +
  1v_1 - 1v_2 &= 0
 +
\end{align}</math>
 +
 +
Any nonzero vector with ''v''<sub>1</sub> = ''v''<sub>2</sub> solves this equation. Therefore,
 +
:<math>\mathbf v_{\lambda=3} = \begin{bmatrix} v_1 \\ v_1 \end{bmatrix} = \begin{bmatrix} 1 \\ 1 \end{bmatrix}</math>
 +
 +
is an eigenvector of ''A'' corresponding to ''λ'' = 3, as is any scalar multiple of this vector.
 +
 +
Thus, the vectors '''v'''<sub>''λ''=1</sub> and '''v'''<sub>''λ''=3</sub> are eigenvectors of ''A'' associated with the eigenvalues λ=1 and λ=3, respectively.
 +
 +
====General formula for eigenvalues of a two-dimensional matrix====
 +
The eigenvalues of the real matrix <math>A = \begin{bmatrix}
 +
  a & b\\
 +
  c & d
 +
\end{bmatrix}</math> are
 +
: <math> \lambda = \frac{1}{2}(a + d) \pm \sqrt{\left(\frac{1}{2}(a - d)\right)^2 + bc}
 +
= \frac{1}{2}\left(\operatorname{tr}(A) \pm \sqrt{\left(\operatorname{tr}(A)^2\right) - 4\det(A)}\right) . </math>
 +
 +
Note that the eigenvalues are always real if ''b'' and ''c'' have the same sign, since the quantity under the radical must be positive.
 +
 +
====Three-dimensional matrix example====
 +
Consider the matrix
 +
:<math>A = \begin{bmatrix}
 +
  2 & 0 & 0 \\
 +
  0 & 3 & 4 \\
 +
  0 & 4 & 9
 +
\end{bmatrix}.</math>
 +
 +
The characteristic polynomial of ''A'' is
 +
:<math>\begin{align}
 +
  |A-\lambda I| &= \left|\begin{bmatrix}
 +
    2 & 0 & 0 \\
 +
    0 & 3 & 4 \\
 +
    0 & 4 & 9
 +
  \end{bmatrix} - \lambda\begin{bmatrix}
 +
    1 & 0 & 0 \\
 +
    0 & 1 & 0 \\
 +
    0 & 0 & 1
 +
  \end{bmatrix}\right| =
 +
  \begin{vmatrix}
 +
    2 - \lambda & 0 & 0 \\
 +
    0 & 3 - \lambda & 4 \\
 +
    0 & 4 & 9 - \lambda
 +
  \end{vmatrix}, \\[6pt]
 +
                &= (2 - \lambda)\bigl[(3 - \lambda)(9 - \lambda) - 16\bigr]
 +
                = -\lambda^3 + 14\lambda^2 - 35\lambda + 22.
 +
\end{align}</math>
 +
 +
The roots of the characteristic polynomial are 2, 1, and 11, which are the only three eigenvalues of ''A''. These eigenvalues correspond to the eigenvectors <math>\begin{bmatrix} 1 & 0 & 0 \end{bmatrix}^\textsf{T}</math>, <math>\begin{bmatrix} 0 & -2 & 1 \end{bmatrix}^\textsf{T}</math>, and <math>\begin{bmatrix} 0 & 1 & 2 \end{bmatrix}^\textsf{T}</math>, or any nonzero multiple thereof.
 +
 +
====Three-dimensional matrix example with complex eigenvalues====
 +
Consider the cyclic permutation matrix
 +
:<math>A = \begin{bmatrix}
 +
  0 & 1 & 0\\
 +
  0 & 0 & 1\\
 +
  1 & 0 & 0
 +
\end{bmatrix}.</math>
 +
 +
This matrix shifts the coordinates of the vector up by one position and moves the first coordinate to the bottom. Its characteristic polynomial is 1&nbsp;−&nbsp;''λ''<sup>3</sup>, whose roots are
 +
:<math>\begin{align}
 +
  \lambda_1 &= 1 \\
 +
  \lambda_2 &= -\frac{1}{2} + i \frac{\sqrt{3}}{2} \\
 +
  \lambda_3 &= \lambda_2^* = -\frac{1}{2} - i \frac{\sqrt{3}}{2}
 +
\end{align}</math>
 +
 +
where <math>i</math> is an imaginary unit with <math>i^2 = -1</math>.
 +
 +
For the real eigenvalue ''λ''<sub>1</sub> = 1, any vector with three equal nonzero entries is an eigenvector. For example,
 +
:<math>
 +
    A \begin{bmatrix} 5\\ 5\\ 5 \end{bmatrix} =
 +
    \begin{bmatrix} 5\\ 5\\ 5 \end{bmatrix} =
 +
    1 \cdot \begin{bmatrix} 5\\ 5\\ 5 \end{bmatrix}.
 +
</math>
 +
 +
For the complex conjugate pair of imaginary eigenvalues,
 +
:<math>\lambda_2\lambda_3 = 1, \quad \lambda_2^2 = \lambda_3, \quad \lambda_3^2 = \lambda_2.</math>
 +
 +
Then
 +
:<math>
 +
  A \begin{bmatrix} 1 \\ \lambda_2 \\ \lambda_3 \end{bmatrix} =
 +
    \begin{bmatrix} \lambda_2 \\ \lambda_3 \\ 1 \end{bmatrix} =
 +
    \lambda_2 \cdot \begin{bmatrix} 1 \\ \lambda_2 \\ \lambda_3 \end{bmatrix},
 +
</math>
 +
 +
and
 +
:<math>
 +
  A \begin{bmatrix} 1 \\ \lambda_3 \\ \lambda_2 \end{bmatrix} =
 +
    \begin{bmatrix} \lambda_3 \\ \lambda_2 \\ 1 \end{bmatrix} =
 +
    \lambda_3 \cdot \begin{bmatrix} 1 \\ \lambda_3 \\ \lambda_2 \end{bmatrix}.
 +
</math>
 +
 +
Therefore, the other two eigenvectors of ''A'' are complex and are <math>\mathbf v_{\lambda_2} = \begin{bmatrix} 1 & \lambda_2 & \lambda_3\end{bmatrix}^\textsf{T}</math> and <math>\mathbf v_{\lambda_3} = \begin{bmatrix} 1 & \lambda_3 & \lambda_2\end{bmatrix}^\textsf{T}</math> with eigenvalues ''λ''<sub>2</sub> and ''λ''<sub>3</sub>, respectively. The two complex eigenvectors also appear in a complex conjugate pair,
 +
:<math>\mathbf v_{\lambda_2} = \mathbf v_{\lambda_3}^*.</math>
 +
 +
====Diagonal matrix example====
 +
Matrices with entries only along the main diagonal are called ''diagonal matrices''.  The eigenvalues of a diagonal matrix are the diagonal elements themselves. Consider the matrix
 +
:<math>A = \begin{bmatrix} 1 & 0 & 0\\ 0 & 2 & 0\\ 0 & 0 & 3\end{bmatrix}.</math>
 +
 +
The characteristic polynomial of ''A'' is
 +
:<math>|A - \lambda I| = (1 - \lambda)(2 - \lambda)(3 - \lambda),</math>
 +
 +
which has the roots ''λ''<sub>1</sub> = 1, ''λ''<sub>2</sub> = 2, and ''λ''<sub>3</sub> = 3. These roots are the diagonal elements as well as the eigenvalues of&nbsp;''A''.
 +
 +
Each diagonal element corresponds to an eigenvector whose only nonzero component is in the same row as that diagonal element. In the example, the eigenvalues correspond to the eigenvectors,
 +
:<math>
 +
  \mathbf v_{\lambda_1} = \begin{bmatrix} 1\\ 0\\ 0 \end{bmatrix},\quad
 +
  \mathbf v_{\lambda_2} = \begin{bmatrix} 0\\ 1\\ 0 \end{bmatrix},\quad
 +
  \mathbf v_{\lambda_3} = \begin{bmatrix} 0\\ 0\\ 1 \end{bmatrix},
 +
</math>
 +
 +
respectively, as well as scalar multiples of these vectors.
 +
 +
====Triangular matrix example====
 +
A matrix whose elements above the main diagonal are all zero is called a ''lower triangular matrix'', while a matrix whose elements below the main diagonal are all zero is called an ''upper triangular matrix''.  As with diagonal matrices, the eigenvalues of triangular matrices are the elements of the main diagonal.
 +
 +
Consider the lower triangular matrix,
 +
:<math>A = \begin{bmatrix}
 +
  1 & 0 & 0\\
 +
  1 & 2 & 0\\
 +
  2 & 3 & 3
 +
\end{bmatrix}.</math>
 +
 +
The characteristic polynomial of ''A'' is
 +
:<math>|A - \lambda I| = (1 - \lambda)(2 - \lambda)(3 - \lambda),</math>
 +
 +
which has the roots ''λ''<sub>1</sub> = 1, ''λ''<sub>2</sub> = 2, and ''λ''<sub>3</sub> = 3. These roots are the diagonal elements as well as the eigenvalues of&nbsp;''A''.
 +
 +
These eigenvalues correspond to the eigenvectors,
 +
:<math>
 +
  \mathbf v_{\lambda_1} = \begin{bmatrix} 1\\ -1\\  \frac{1}{2}\end{bmatrix},\quad
 +
  \mathbf v_{\lambda_2} = \begin{bmatrix} 0\\  1\\ -3\end{bmatrix},\quad
 +
  \mathbf v_{\lambda_3} = \begin{bmatrix} 0\\  0\\  1\end{bmatrix},
 +
</math>
 +
 +
respectively, as well as scalar multiples of these vectors.
 +
 +
====Matrix with repeated eigenvalues example====
 +
As in the previous example, the lower triangular matrix
 +
:<math>A = \begin{bmatrix}
 +
  2 & 0 & 0 & 0 \\
 +
  1 & 2 & 0 & 0 \\
 +
  0 & 1 & 3 & 0  \\
 +
  0 & 0 & 1 & 3
 +
\end{bmatrix},</math>
 +
 +
has a characteristic polynomial that is the product of its diagonal elements,
 +
:<math>|A - \lambda I| = \begin{vmatrix}
 +
    2 - \lambda & 0 & 0 & 0 \\
 +
    1 & 2- \lambda & 0 & 0 \\
 +
    0 & 1 & 3- \lambda & 0  \\
 +
    0 & 0 & 1 & 3- \lambda
 +
  \end{vmatrix} =
 +
  (2 - \lambda)^2(3 - \lambda)^2.
 +
</math>
 +
 +
The roots of this polynomial, and hence the eigenvalues, are 2 and 3. The ''algebraic multiplicity'' of each eigenvalue is 2; in other words they are both double roots. The sum of the algebraic multiplicities of all distinct eigenvalues is ''μ''<sub>''A''</sub> = 4 = ''n'', the order of the characteristic polynomial and the dimension of ''A''.
 +
 +
On the other hand, the ''geometric multiplicity'' of the eigenvalue 2 is only 1, because its eigenspace is spanned by just one vector <math>\begin{bmatrix} 0 & 1 & -1 & 1 \end{bmatrix}^\textsf{T}</math> and is therefore 1-dimensional. Similarly, the geometric multiplicity of the eigenvalue 3 is 1 because its eigenspace is spanned by just one vector <math>\begin{bmatrix} 0 & 0 & 0 & 1 \end{bmatrix}^\textsf{T}</math>. The total geometric multiplicity ''γ''<sub>''A''</sub> is 2, which is the smallest it could be for a matrix with two distinct eigenvalues. Geometric multiplicities are defined in a later section.
 +
 +
=== Eigenvector-eigenvalue identity ===
 +
For a Hermitian matrix, the norm squared of the ''j''th component of a normalized eigenvector can be calculated using only the matrix eigenvalues and the eigenvalues of the corresponding minor matrix,
 +
:<math>|v_{i,j}|^2 = \frac{\prod_{k}{(\lambda_i-\lambda_k(M_j))}}{\prod_{k \neq i}{(\lambda_i-\lambda_k)}},</math>
 +
where <math display="inline">M_j</math> is the submatrix formed by removing the ''j''th row and column from the original matrix.
 +
 +
==Eigenvalues and eigenfunctions of differential operators==
 +
 +
The definitions of eigenvalue and eigenvectors of a linear transformation ''T'' remains valid even if the underlying vector space is an infinite-dimensional Hilbert or Banach space. A widely used class of linear transformations acting on infinite-dimensional spaces are the differential operators on function spaces. Let ''D'' be a linear differential operator on the space '''C'''<sup>∞</sup> of infinitely differentiable real functions of a real argument ''t''. The eigenvalue equation for ''D'' is the differential equation
 +
:<math>D f(t) = \lambda f(t)</math>
 +
 +
The functions that satisfy this equation are eigenvectors of ''D'' and are commonly called '''eigenfunctions'''.
 +
 +
===Derivative operator example===
 +
Consider the derivative operator <math>\tfrac{d}{dt}</math> with eigenvalue equation
 +
:<math>\frac{d}{dt}f(t) = \lambda f(t).</math>
 +
 +
This differential equation can be solved by multiplying both sides by ''dt''/''f''(''t'') and integrating. Its solution, the exponential function
 +
:<math>f(t) = f(0)e^{\lambda t},</math>
 +
 +
is the eigenfunction of the derivative operator. In this case the eigenfunction is itself a function of its associated eigenvalue. In particular, for ''λ'' = 0 the eigenfunction ''f''(''t'') is a constant.
 +
 +
The main eigenfunction article gives other examples.
 +
 +
==General definition==
 +
The concept of eigenvalues and eigenvectors extends naturally to arbitrary linear transformations on arbitrary vector spaces. Let ''V'' be any vector space over some field ''K'' of scalars, and let ''T'' be a linear transformation mapping ''V'' into ''V'',
 +
:<math>T:V \to V.</math>
 +
 +
We say that a nonzero vector '''v''' ∈ ''V'' is an '''eigenvector''' of ''T'' if and only if there exists a scalar ''λ'' ∈ ''K'' such that
 +
 +
:<math>T(\mathbf{v}) = \lambda \mathbf{v}.</math>    ('''5''')
 +
 +
This equation is called the eigenvalue equation for ''T'', and the scalar ''λ'' is the '''eigenvalue''' of ''T'' corresponding to the eigenvector '''v'''. ''T''('''v''') is the result of applying the transformation ''T'' to the vector '''v''', while ''λ'''''v''' is the product of the scalar ''λ'' with '''v'''.
 +
 +
===Eigenspaces, geometric multiplicity, and the eigenbasis===
 +
Given an eigenvalue ''λ'', consider the set
 +
:<math>E = \left\{\mathbf{v} : T(\mathbf{v}) = \lambda \mathbf{v}\right\},</math>
 +
 +
which is the union of the zero vector with the set of all eigenvectors associated with&nbsp;''λ''. ''E'' is called the '''eigenspace''' or '''characteristic space''' of ''T'' associated with&nbsp;''λ''.
 +
 +
By definition of a linear transformation,
 +
:<math>\begin{align}
 +
  T(\mathbf{x} + \mathbf{y}) &= T(\mathbf{x}) + T(\mathbf{y}),\\
 +
        T(\alpha \mathbf{x}) &= \alpha T(\mathbf{x}),
 +
\end{align}</math>
 +
 +
for '''x''',&nbsp;'''y'''&nbsp;∈ ''V'' and ''α''&nbsp;∈ ''K''. Therefore, if '''u''' and '''v''' are eigenvectors of ''T'' associated with eigenvalue ''λ'', namely '''u''',&nbsp;'''v'''&nbsp;∈ ''E'', then
 +
:<math>\begin{align}
 +
  T(\mathbf{u} + \mathbf{v}) &= \lambda (\mathbf{u} + \mathbf{v}),\\
 +
        T(\alpha \mathbf{v}) &= \lambda (\alpha \mathbf{v}).
 +
\end{align}</math>
 +
 +
So, both '''u''' + '''v''' and α'''v''' are either zero or eigenvectors of ''T'' associated with ''λ'', namely '''u''' + '''v''', ''α'''''v''' ∈ ''E'', and ''E'' is closed under addition and scalar multiplication. The eigenspace ''E'' associated with ''λ'' is therefore a linear subspace of ''V''.
 +
If that subspace has dimension 1, it is sometimes called an '''eigenline'''.
 +
 +
The '''geometric multiplicity''' ''γ''<sub>''T''</sub>(''λ'') of an eigenvalue ''λ'' is the dimension of the eigenspace associated with ''λ'', i.e., the maximum number of linearly independent eigenvectors associated with that eigenvalue. By the definition of eigenvalues and eigenvectors, ''γ''<sub>''T''</sub>(''λ'') ≥ 1 because every eigenvalue has at least one eigenvector.
 +
 +
The eigenspaces of ''T'' always form a direct sum. As a consequence, eigenvectors of ''different'' eigenvalues are always linearly independent. Therefore, the sum of the dimensions of the eigenspaces cannot exceed the dimension ''n'' of the vector space on which ''T'' operates, and there cannot be more than ''n'' distinct eigenvalues.
 +
 +
Any subspace spanned by eigenvectors of ''T'' is an invariant subspace of ''T'', and the restriction of ''T'' to such a subspace is diagonalizable. Moreover, if the entire vector space ''V'' can be spanned by the eigenvectors of ''T'', or equivalently if the direct sum of the eigenspaces associated with all the eigenvalues of ''T'' is the entire vector space ''V'', then a basis of ''V'' called an '''eigenbasis''' can be formed from linearly independent eigenvectors of ''T''. When ''T'' admits an eigenbasis, ''T'' is diagonalizable.
 +
 +
===Zero vector as an eigenvector===
 +
While the definition of an eigenvector used in this article excludes the zero vector, it is possible to define eigenvalues and eigenvectors such that the zero vector is an eigenvector.
 +
 +
Consider again the eigenvalue equation, Equation ('''5'''). Define an '''eigenvalue''' to be any scalar ''λ'' ∈ ''K'' such that there exists a nonzero vector '''v''' ∈ ''V'' satisfying Equation ('''5'''). It is important that this version of the definition of an eigenvalue specify that the vector be nonzero, otherwise by this definition the zero vector would allow any scalar in ''K'' to be an eigenvalue. Define an '''eigenvector''' '''v''' associated with the eigenvalue ''λ'' to be any vector that, given ''λ'', satisfies Equation ('''5'''). Given the eigenvalue, the zero vector is among the vectors that satisfy Equation ('''5'''), so the zero vector is included among the eigenvectors by this alternate definition.
 +
 +
===Spectral theory===
 +
 +
 +
If ''λ'' is an eigenvalue of ''T'', then the operator (''T'' − ''λI'') is not one-to-one, and therefore its inverse (''T'' − ''λI'')<sup>−1</sup> does not exist. The converse is true for finite-dimensional vector spaces, but not for infinite-dimensional vector spaces. In general, the operator (''T'' − ''λI'') may not have an inverse even if ''λ'' is not an eigenvalue.
 +
 +
For this reason, in functional analysis eigenvalues can be generalized to the spectrum of a linear operator ''T'' as the set of all scalars ''λ'' for which the operator (''T'' − ''λI'') has no bounded inverse. The spectrum of an operator always contains all its eigenvalues but is not limited to them.
 +
 +
===Associative algebras and representation theory===
 +
 +
One can generalize the algebraic object that is acting on the vector space, replacing a single operator acting on a vector space with an algebra representation – an associative algebra acting on a module. The study of such actions is the field of representation theory.
 +
 +
The representation-theoretical concept of weight is an analog of eigenvalues, while ''weight vectors'' and ''weight spaces'' are the analogs of eigenvectors and eigenspaces, respectively.
 +
 +
==Dynamic equations==
 +
The simplest difference equations have the form
 +
: <math>x_t = a_1 x_{t-1} + a_2 x_{t-2} + \cdots + a_k x_{t-k}.</math>
 +
 +
The solution of this equation for ''x'' in terms of ''t'' is found by using its characteristic equation
 +
: <math>\lambda^k - a_1\lambda^{k-1} - a_2\lambda^{k-2} - \cdots - a_{k-1}\lambda-a_k = 0,</math>
 +
 +
which can be found by stacking into matrix form a set of equations consisting of the above difference equation and the ''k''&nbsp;–&nbsp;1 equations <math>x_{t-1} = x_{t-1},\  \dots,\  x_{t-k+1} = x_{t-k+1},</math> giving a ''k''-dimensional system of the first order in the stacked variable vector <math>\begin{bmatrix} x_t & \cdots & x_{t-k+1} \end{bmatrix}</math> in terms of its once-lagged value, and taking the characteristic equation of this system's matrix. This equation gives ''k'' characteristic roots <math>\lambda_1,\, \ldots,\, \lambda_k,</math> for use in the solution equation
 +
: <math>x_t = c_1\lambda_1^t + \cdots + c_k\lambda_k^t.</math>
 +
 +
A similar procedure is used for solving a differential equation of the form
 +
: <math>\frac{d^k x}{dt^k} + a_{k-1}\frac{d^{k-1}x}{dt^{k-1}} + \cdots + a_1\frac{dx}{dt} + a_0 x = 0.</math>
 +
 +
==Calculation==
 +
 +
The calculation of eigenvalues and eigenvectors is a topic where theory, as presented in elementary linear algebra textbooks, is often very far from practice.
 +
 +
===Classical method===
 +
The classical method is to first find the eigenvalues, and then calculate the eigenvectors for each eigenvalue. It is in several ways poorly suited for non-exact arithmetics such as floating-point.
 +
 +
====Eigenvalues====
 +
The eigenvalues of a matrix <math>A</math> can be determined by finding the roots of the characteristic polynomial. This is easy for <math> 2 \times 2 </math> matrices, but the difficulty increases rapidly with the size of the matrix.
 +
 +
In theory, the coefficients of the characteristic polynomial can be computed exactly, since they are sums of products of matrix elements; and there are algorithms that can find all the roots of a polynomial of arbitrary degree to any required accuracy. However, this approach is not viable in practice because the coefficients would be contaminated by unavoidable round-off errors, and the roots of a polynomial can be an extremely sensitive function of the coefficients (as exemplified by Wilkinson's polynomial). Even for matrices whose elements are integers the calculation becomes nontrivial, because the sums are very long; the constant term is the determinant, which for an <math> n \times n </math> is a sum of <math> n! </math> different products.
 +
 +
Explicit algebraic formulas for the roots of a polynomial exist only if the degree <math>n</math> is 4 or less. According to the Abel–Ruffini theorem there is no general, explicit and exact algebraic formula for the roots of a polynomial with degree 5 or more. (Generality matters because any polynomial with degree <math>n</math> is the characteristic polynomial of some companion matrix of order <math>n</math>.) Therefore, for matrices of order 5 or more, the eigenvalues and eigenvectors cannot be obtained by an explicit algebraic formula, and must therefore be computed by approximate numerical methods. Even the exact formula for the roots of a degree 3 polynomial is numerically impractical.
 +
 +
====Eigenvectors====
 +
Once the (exact) value of an eigenvalue is known, the corresponding eigenvectors can be found by finding nonzero solutions of the eigenvalue equation, that becomes a system of linear equations with known coefficients. For example, once it is known that 6 is an eigenvalue of the matrix
 +
:<math>A = \begin{bmatrix} 4 & 1\\ 6 & 3\end{bmatrix}</math>
 +
 +
we can find its eigenvectors by solving the equation <math>A v = 6 v</math>, that is
 +
:<math>\begin{bmatrix} 4 & 1\\ 6 & 3\end{bmatrix}\begin{bmatrix}x \\y\end{bmatrix} = 6 \cdot \begin{bmatrix}x \\y\end{bmatrix}</math>
 +
 +
This matrix equation is equivalent to two linear equations
 +
:<math>
 +
  \left\{ \begin{aligned} 4x + y &= 6x \\ 6x + 3y &= 6y\end{aligned} \right.
 +
  </math>        that is      <math>
 +
  \left\{ \begin{aligned} -2x + y &= 0 \\ 6x - 3y &= 0\end{aligned} \right.
 +
</math>
 +
 +
Both equations reduce to the single linear equation <math>y=2x</math>. Therefore, any vector of the form <math>\begin{bmatrix} a & 2a \end{bmatrix}^\textsf{T}</math>, for any nonzero real number <math>a</math>, is an eigenvector of <math>A</math> with eigenvalue <math>\lambda = 6</math>.
 +
 +
The matrix <math>A</math> above has another eigenvalue <math>\lambda=1</math>. A similar calculation shows that the corresponding eigenvectors are the nonzero solutions of <math>3x+y=0</math>, that is, any vector of the form <math>\begin{bmatrix} b & -3b \end{bmatrix}^\textsf{T}</math>, for any nonzero real number <math>b</math>.
 +
 +
===Simple iterative methods===
 +
 +
The converse approach, of first seeking the eigenvectors and then determining each eigenvalue from its eigenvector, turns out to be far more tractable for computers. The easiest algorithm here consists of picking an arbitrary starting vector and then repeatedly multiplying it with the matrix (optionally normalizing the vector to keep its elements of reasonable size); this makes the vector converge towards an eigenvector. A variation is to instead multiply the vector by <math>(A - \mu I)^{-1}</math>; this causes it to converge to an eigenvector of the eigenvalue closest to <math>\mu \in \mathbb{C}</math>.
 +
 +
If <math>\mathbf{v}</math> is (a good approximation of) an eigenvector of <math>A</math>, then the corresponding eigenvalue can be computed as
 +
: <math> \lambda = \frac{\mathbf{v}^* A\mathbf{v}}{\mathbf{v}^* \mathbf{v}}</math>
 +
 +
where <math>\mathbf{v}^*</math> denotes the conjugate transpose of <math>\mathbf{v}</math>.
 +
 +
===Modern methods===
 +
Efficient, accurate methods to compute eigenvalues and eigenvectors of arbitrary matrices were not known until the QR algorithm was designed in 1961. Combining the Householder transformation with the LU decomposition results in an algorithm with better convergence than the QR algorithm. For large Hermitian sparse matrices, the Lanczos algorithm is one example of an efficient iterative method to compute eigenvalues and eigenvectors, among several other possibilities.
 +
 +
Most numeric methods that compute the eigenvalues of a matrix also determine a set of corresponding eigenvectors as a by-product of the computation, although sometimes implementors choose to discard the eigenvector information as soon as it is no longer needed.
 +
 +
==Applications==
 +
===Eigenvalues of geometric transformations===
 +
The following table presents some example transformations in the plane along with their 2×2 matrices, eigenvalues, and eigenvectors.
 +
{| class="wikitable" style="text-align:center; margin:1em auto 1em auto;"
 +
!
 +
! Scaling
 +
! Unequal scaling
 +
! Rotation
 +
! Horizontal shear
 +
! Hyperbolic rotation
 +
|-
 +
! Illustration
 +
| [[File:Homothety in two dim.svg|100px|alt=Equal scaling (homothety)]]
 +
| [[File:Unequal scaling.svg|100px|alt=Vertical shrink and horizontal stretch of a unit square.]]
 +
| [[File:Rotation.png|100px|alt=Rotation by 50 degrees]]
 +
| [[File:Shear.svg|100px|center|alt=Horizontal shear mapping]]
 +
| [[File:Squeeze r=1.5.svg|100px]]
 +
|- style="vertical-align:top"
 +
! Matrix
 +
| <math>\begin{bmatrix}k & 0\\ 0 & k\end{bmatrix}</math>
 +
| <math>\begin{bmatrix}k_1 & 0\\ 0 & k_2\end{bmatrix}</math>
 +
| <math>\begin{bmatrix}c & -s\\ s & c\end{bmatrix}</math><br /><math>c = \cos\theta</math><br /><math>s = \sin\theta</math>
 +
| <math> \begin{bmatrix}1 & k\\ 0 & 1\end{bmatrix}</math>
 +
| <math>\begin{bmatrix}c & s\\ s & c\end{bmatrix}</math><br /><math>c = \cosh\varphi</math><br /><math>s = \sinh\varphi</math>
 +
|-
 +
! Characteristic<br />polynomial
 +
| <math>\ (\lambda - k)^2</math>
 +
| <math>(\lambda - k_1)(\lambda - k_2)</math>
 +
| <math>\lambda^2 - 2c\lambda + 1</math>
 +
| <math>\ (\lambda - 1)^2</math>
 +
| <math>\lambda^2 - 2c\lambda + 1</math>
 +
|-
 +
! Eigenvalues, <math>\lambda_i</math>
 +
| <math>\lambda_1 = \lambda_2 = k</math>
 +
| <math>\lambda_1 = k_1</math><br /><math>\lambda_2 = k_2</math>
 +
| <math>\lambda_1 = e^{i\theta} = c + si</math><br /><math>\lambda_2 = e^{-i\theta} = c - si</math>
 +
| <math>\lambda_1 = \lambda_2 = 1</math>
 +
| <math>\lambda_1 = e^\varphi = c + s</math><br /><math>\lambda_2 = e^{-\varphi} = c - s</math>
 +
|-
 +
! Algebraic mult.,<br /><math>\mu_i = \mu(\lambda_i)</math>
 +
| <math>\mu_1 = 2</math>
 +
| <math>\mu_1 = 1</math><br /><math>\mu_2 = 1</math>
 +
| <math>\mu_1 = 1</math><br /><math>\mu_2 = 1</math>
 +
| <math>\mu_1 = 2</math>
 +
| <math>\mu_1 = 1</math><br /><math>\mu_2 = 1</math>
 +
|-
 +
! Geometric mult.,<br /><math>\gamma_i = \gamma(\lambda_i)</math>
 +
| <math>\gamma_1 = 2</math>
 +
| <math>\gamma_1 = 1</math><br /><math>\gamma_2 = 1</math>
 +
| <math>\gamma_1 = 1</math><br /><math>\gamma_2 = 1</math>
 +
| <math>\gamma_1 = 1</math>
 +
| <math>\gamma_1 = 1</math><br /><math>\gamma_2 = 1</math>
 +
|-
 +
! Eigenvectors
 +
| All nonzero vectors
 +
| <math>\begin{align}
 +
  \mathbf u_1 &= \begin{bmatrix} 1\\ 0\end{bmatrix} \\
 +
  \mathbf u_2 &= \begin{bmatrix} 0\\ 1\end{bmatrix}
 +
\end{align}</math>
 +
| <math>\begin{align}
 +
  \mathbf u_1 &= \begin{bmatrix} 1\\ -i\end{bmatrix} \\
 +
  \mathbf u_2 &= \begin{bmatrix} 1\\ +i\end{bmatrix}
 +
\end{align}</math>
 +
| <math>\mathbf u_1 = \begin{bmatrix} 1\\ 0 \end{bmatrix}</math>
 +
| <math>\begin{align}
 +
  \mathbf u_1 &= \begin{bmatrix} 1\\  1\end{bmatrix} \\
 +
  \mathbf u_2 &= \begin{bmatrix} 1\\ -1\end{bmatrix}.
 +
\end{align}</math>
 +
|}
 +
 +
The characteristic equation for a rotation is a quadratic equation with discriminant <math>D = -4(\sin\theta)^2</math>, which is a negative number whenever {{mvar|θ}} is not an integer multiple of 180°. Therefore, except for these special cases, the two eigenvalues are complex numbers, <math>\cos\theta \pm i\sin\theta</math>; and all eigenvectors have non-real entries. Indeed, except for those special cases, a rotation changes the direction of every nonzero vector in the plane.
 +
 +
A linear transformation that takes a square to a rectangle of the same area (a squeeze mapping) has reciprocal eigenvalues.
 +
 +
===Schrödinger equation===
 +
[[File:HAtomOrbitals.png|thumb|271px|The wavefunctions associated with the bound states of an electron in a hydrogen atom can be seen as the eigenvectors of the hydrogen atom Hamiltonian as well as of the angular momentum operator. They are associated with eigenvalues interpreted as their energies (increasing downward: <math>n = 1,\, 2,\, 3,\, \ldots</math>) and angular momentum (increasing across: s, p, d, …). The illustration shows the square of the absolute value of the wavefunctions. Brighter areas correspond to higher probability density for a position measurement. The center of each figure is the atomic nucleus, a proton.]]
 +
 +
An example of an eigenvalue equation where the transformation <math>T</math> is represented in terms of a differential operator is the time-independent Schrödinger equation in quantum mechanics:
 +
 +
: <math>H\psi_E = E\psi_E \,</math>
 +
 +
where <math>H</math>, the Hamiltonian, is a second-order differential operator and <math>\psi_E</math>, the wavefunction, is one of its eigenfunctions corresponding to the eigenvalue <math>E</math>, interpreted as its energy.
 +
 +
However, in the case where one is interested only in the bound state solutions of the Schrödinger equation, one looks for <math>\psi_E</math> within the space of square integrable functions. Since this space is a Hilbert space with a well-defined scalar product, one can introduce a basis set in which <math>\psi_E</math> and <math>H</math> can be represented as a one-dimensional array (i.e., a vector) and a matrix respectively. This allows one to represent the Schrödinger equation in a matrix form.
 +
 +
The bra–ket notation is often used in this context. A vector, which represents a state of the system, in the Hilbert space of square integrable functions is represented by <math>|\Psi_E\rangle</math>. In this notation, the Schrödinger equation is:
 +
: <math>H|\Psi_E\rangle = E|\Psi_E\rangle</math>
 +
 +
where <math>|\Psi_E\rangle</math> is an '''eigenstate''' of <math>H</math> and <math>E</math> represents the eigenvalue. <math>H</math> is an observable self-adjoint operator, the infinite-dimensional analog of Hermitian matrices. As in the matrix case, in the equation above <math>H|\Psi_E\rangle</math> is understood to be the vector obtained by application of the transformation <math>H</math> to <math>|\Psi_E\rangle</math>.
 +
 +
===Wave transport===
 +
Light, acoustic waves, and microwaves are randomly scattered numerous times when traversing a static disordered system. Even though multiple scattering repeatedly randomizes the waves, ultimately coherent wave transport through the system is a deterministic process which can be described by a field transmission matrix <math>\mathbf{t}</math>. The eigenvectors of the transmission operator <math>\mathbf{t}^\dagger\mathbf{t}</math> form a set of disorder-specific input wavefronts which enable waves to couple into the disordered system’s eigenchannels: the independent pathways waves can travel through the system. The eigenvalues, <math>\tau</math>, of <math>\mathbf{t}^\dagger\mathbf{t}</math>  correspond to the intensity transmittance associated with each eigenchannel. One of the remarkable properties of the transmission operator of diffusive systems is their bimodal eigenvalue distribution with <math>\tau_\max = 1</math> and <math>\tau_\min = 0</math>. Furthermore, one of the striking properties of open eigenchannels, beyond the perfect transmittance, is the statistically robust spatial profile of the eigenchannels.
 +
 +
===Molecular orbitals===
 +
In quantum mechanics, and in particular in atomic and molecular physics, within the Hartree–Fock theory, the atomic and molecular orbitals can be defined by the eigenvectors of the Fock operator. The corresponding eigenvalues are interpreted as ionization potentials via Koopmans' theorem. In this case, the term eigenvector is used in a somewhat more general meaning, since the Fock operator is explicitly dependent on the orbitals and their eigenvalues. Thus, if one wants to underline this aspect, one speaks of nonlinear eigenvalue problems. Such equations are usually solved by an iteration procedure, called in this case self-consistent field method. In quantum chemistry, one often represents the Hartree–Fock equation in a non-orthogonal basis set. This particular representation is a generalized eigenvalue problem called Roothaan equations.
 +
 +
===Geology and glaciology===
 +
In geology, especially in the study of glacial till, eigenvectors and eigenvalues are used as a method by which a mass of information of a clast fabric's constituents' orientation and dip can be summarized in a 3-D space by six numbers. In the field, a geologist may collect such data for hundreds or thousands of clasts in a soil sample, which can only be compared graphically such as in a Tri-Plot (Sneed and Folk) diagram, or as a Stereonet on a Wulff Net.
 +
 +
The output for the orientation tensor is in the three orthogonal (perpendicular) axes of space. The three eigenvectors are ordered <math>\mathbf v_1, \mathbf v_2, \mathbf v_3</math> by their eigenvalues <math>E_1 \geq E_2 \geq E_3</math>;
 +
<math>\mathbf v_1</math> then is the primary orientation/dip of clast, <math>\mathbf v_2</math> is the secondary and <math>\mathbf v_3</math> is the tertiary, in terms of strength. The clast orientation is defined as the direction of the eigenvector, on a compass rose of 360°. Dip is measured as the eigenvalue, the modulus of the tensor: this is valued from 0° (no dip) to 90° (vertical). The relative values of <math>E_1</math>, <math>E_2</math>, and <math>E_3</math> are dictated by the nature of the sediment's fabric. If <math>E_1 = E_2 = E_3</math>, the fabric is said to be isotropic. If <math>E_1 = E_2 > E_3</math>, the fabric is said to be planar. If <math>E_1 > E_2 > E_3</math>, the fabric is said to be linear.
 +
 +
===Principal component analysis===
 +
[[File:GaussianScatterPCA.png|thumb|right|PCA of the multivariate Gaussian distribution centered at <math>(1, 3)</math> with a standard deviation of 3 in roughly the <math>(0.878, 0.478)</math> direction and of&nbsp;1 in the orthogonal direction. The vectors shown are unit eigenvectors of the (symmetric, positive-semidefinite) covariance matrix scaled by the square root of the corresponding eigenvalue. Just as in the one-dimensional case, the square root is taken because the standard deviation is more readily visualized than the variance.]]
 +
 +
The eigendecomposition of a symmetric positive semidefinite (PSD) matrix yields an orthogonal basis of eigenvectors, each of which has a nonnegative eigenvalue. The orthogonal decomposition of a PSD matrix is used in multivariate analysis, where the sample covariance matrices are PSD. This orthogonal decomposition is called principal component analysis (PCA) in statistics. PCA studies linear relations among variables. PCA is performed on the covariance matrix or the correlation matrix (in which each variable is scaled to have its sample variance equal to one). For the covariance or correlation matrix, the eigenvectors correspond to principal components and the eigenvalues to the variance explained by the principal components. Principal component analysis of the correlation matrix provides an orthogonal basis for the space of the observed data: In this basis, the largest eigenvalues correspond to the principal components that are associated with most of the covariability among a number of observed data.
 +
 +
Principal component analysis is used as a means of dimensionality reduction in the study of large data sets, such as those encountered in bioinformatics. In Q methodology, the eigenvalues of the correlation matrix determine the Q-methodologist's judgment of practical significance (which differs from the statistical significance of hypothesis testing; cf. criteria for determining the number of factors). More generally, principal component analysis can be used as a method of factor analysis in structural equation modeling.
 +
 +
===Vibration analysis===
 +
[[File:Mode Shape of a Tuning Fork at Eigenfrequency 440.09 Hz.gif|thumb|Mode shape of a tuning fork at eigenfrequency 440.09&nbsp;Hz]]
 +
 +
 +
Eigenvalue problems occur naturally in the vibration analysis of mechanical structures with many degrees of freedom. The eigenvalues are the natural frequencies (or '''eigenfrequencies''') of vibration, and the eigenvectors are the shapes of these vibrational modes. In particular, undamped vibration is governed by
 +
:<math>m\ddot{x} + kx = 0</math>
 +
 +
or
 +
:<math>m\ddot{x} = -kx</math>
 +
 +
that is, acceleration is proportional to position (i.e., we expect <math>x</math> to be sinusoidal in time).
 +
 +
In <math>n</math> dimensions, <math>m</math> becomes a mass matrix and <math>k</math> a stiffness matrix. Admissible solutions are then a linear combination of solutions to the generalized eigenvalue problem
 +
:<math>kx = \omega^2 mx</math>
 +
 +
where <math>\omega^2</math> is the eigenvalue and <math>\omega</math> is the (imaginary) angular frequency. The principal vibration modes are different from the principal compliance modes, which are the eigenvectors of <math>k</math> alone. Furthermore, damped vibration, governed by
 +
:<math>m\ddot{x} + c\dot{x} + kx = 0</math>
 +
 +
leads to a so-called quadratic eigenvalue problem,
 +
:<math>\left(\omega^2 m + \omega c + k\right)x = 0.</math>
 +
 +
This can be reduced to a generalized eigenvalue problem by algebraic manipulation at the cost of solving a larger system.
 +
 +
The orthogonality properties of the eigenvectors allows decoupling of the differential equations so that the system can be represented as linear summation of the eigenvectors. The eigenvalue problem of complex structures is often solved using finite element analysis, but neatly generalize the solution to scalar-valued vibration problems.
 +
 +
===Eigenfaces===
 +
[[File:Eigenfaces.png|thumb|200px|Eigenfaces as examples of eigenvectors]]
 +
 +
In image processing, processed images of faces can be seen as vectors whose components are the brightnesses of each pixel. The dimension of this vector space is the number of pixels. The eigenvectors of the covariance matrix associated with a large set of normalized pictures of faces are called '''eigenfaces'''; this is an example of principal component analysis. They are very useful for expressing any face image as a linear combination of some of them. In the facial recognition branch of biometrics, eigenfaces provide a means of applying data compression to faces for identification purposes. Research related to eigen vision systems determining hand gestures has also been made.
 +
 +
Similar to this concept, '''eigenvoices''' represent the general direction of variability in human pronunciations of a particular utterance, such as a word in a language. Based on a linear combination of such eigenvoices, a new voice pronunciation of the word can be constructed. These concepts have been found useful in automatic speech recognition systems for speaker adaptation.
 +
 +
===Tensor of moment of inertia===
 +
In mechanics, the eigenvectors of the moment of inertia tensor define the principal axes of a rigid body. The tensor of moment of inertia is a key quantity required to determine the rotation of a rigid body around its center of mass.
 +
 +
===Stress tensor===
 +
In solid mechanics, the stress tensor is symmetric and so can be decomposed into a diagonal tensor with the eigenvalues on the diagonal and eigenvectors as a basis. Because it is diagonal, in this orientation, the stress tensor has no shear components; the components it does have are the principal components.
 +
 +
===Graphs===
 +
In spectral graph theory, an eigenvalue of a graph is defined as an eigenvalue of the graph's adjacency matrix <math>A</math>, or (increasingly) of the graph's Laplacian matrix due to its discrete Laplace operator, which is either <math>D - A</math> (sometimes called the ''combinatorial Laplacian'') or <math>I - D^{-1/2}A D^{-1/2}</math> (sometimes called the ''normalized Laplacian''), where <math>D</math> is a diagonal matrix with <math>D_{ii}</math> equal to the degree of vertex <math>v_i</math>, and in <math>D^{-1/2}</math>, the <math>i</math>th diagonal entry is <math display="inline">1/\sqrt{\deg(v_i)}</math>. The <math>k</math>th principal eigenvector of a graph is defined as either the eigenvector corresponding to the <math>k</math>th largest or <math>k</math>th smallest eigenvalue of the Laplacian. The first principal eigenvector of the graph is also referred to merely as the principal eigenvector.
 +
 +
The principal eigenvector is used to measure the centrality of its vertices. An example is Google's PageRank algorithm. The principal eigenvector of a modified adjacency matrix of the World Wide Web graph gives the page ranks as its components. This vector corresponds to the stationary distribution of the Markov chain represented by the row-normalized adjacency matrix; however, the adjacency matrix must first be modified to ensure a stationary distribution exists. The second smallest eigenvector can be used to partition the graph into clusters, via spectral clustering. Other methods are also available for clustering.
 +
 +
===Basic reproduction number===
 +
 +
The basic reproduction number (<math>R_0</math>) is a fundamental number in the study of how infectious diseases spread. If one infectious person is put into a population of completely susceptible people, then <math>R_0</math> is the average number of people that one typical infectious person will infect. The generation time of an infection is the time, <math>t_G</math>, from one person becoming infected to the next person becoming infected. In a heterogeneous population, the next generation matrix defines how many people in the population will become infected after time <math>t_G</math> has passed. <math>R_0</math> is then the largest eigenvalue of the next generation matrix.
  
 
==Resources==
 
==Resources==
 
* [http://math.mit.edu/~gs/linearalgebra/ila0601.pdf Eigenvalues and Eigenvectors], MIT Math Department
 
* [http://math.mit.edu/~gs/linearalgebra/ila0601.pdf Eigenvalues and Eigenvectors], MIT Math Department
* [https://en.wikipedia.org/wiki/Eigenvalues_and_eigenvectors Eigenvalues and Eigenvectors], Wikipedia
 
 
* [https://www.khanacademy.org/math/linear-algebra/alternate-bases/eigen-everything/v/linear-algebra-example-solving-for-the-eigenvalues-of-a-2x2-matrix Solving for Eigenvalues of 2x2 Matrix], Khan Academy
 
* [https://www.khanacademy.org/math/linear-algebra/alternate-bases/eigen-everything/v/linear-algebra-example-solving-for-the-eigenvalues-of-a-2x2-matrix Solving for Eigenvalues of 2x2 Matrix], Khan Academy
 
* [https://www.khanacademy.org/math/linear-algebra/alternate-bases/eigen-everything/v/linear-algebra-eigenvalues-of-a-3x3-matrix Eigenvalues of a 3x3 Matrix], Khan Academy
 
* [https://www.khanacademy.org/math/linear-algebra/alternate-bases/eigen-everything/v/linear-algebra-eigenvalues-of-a-3x3-matrix Eigenvalues of a 3x3 Matrix], Khan Academy
 
* [https://www.youtube.com/watch?v=IdsV0RaC9jM Finding Eigenvalues and Eigenvectors: 2x2 Matrix Example], patrickJMT
 
* [https://www.youtube.com/watch?v=IdsV0RaC9jM Finding Eigenvalues and Eigenvectors: 2x2 Matrix Example], patrickJMT
* [https://metric.ma.ic.ac.uk/metric_public/matrices/eigenvalues_and_eigenvectors/eigenvalues2.html Eigenvalues and Eigenvectors of a 3x3 Matrix],
+
* [https://metric.ma.ic.ac.uk/metric_public/matrices/eigenvalues_and_eigenvectors/eigenvalues2.html Eigenvalues and Eigenvectors of a 3x3 Matrix]
 +
 
 +
== Licensing ==
 +
Content obtained and/or adapted from:
 +
* [https://en.wikipedia.org/wiki/Eigenvalues_and_eigenvectors Eigenvalues and Eigenvectors, Wikipedia] under a CC BY-SA license

Latest revision as of 14:16, 5 November 2021

Contents

Definition

In linear algebra, an eigenvector of a matrix is a nonzero vector that changes at most by a scalar factor when that linear transformation is applied to it. The corresponding eigenvalue, often denoted by , is the factor by which the eigenvector is scaled. That is, given some eigenvector of a square matrix , , where is the corresponding eigenvalue of . For example:

Let ,


Thus, is an eigenvector of matrix , and its corresponding eigenvalue .

Geometrically, an eigenvector, corresponding to a real nonzero eigenvalue, points in a direction in which it is stretched by the transformation and the eigenvalue is the factor by which it is stretched. If the eigenvalue is negative, the direction is reversed. Loosely speaking, in a multidimensional vector space, the eigenvector is not rotated.

Formal definition

If T is a linear transformation from a vector space V over a field F into itself and v is a nonzero vector in V, then v is an eigenvector of T if T(v) is a scalar multiple of v. This can be written as

where λ is a scalar in F, known as the eigenvalue, characteristic value, or characteristic root associated with v.

There is a direct correspondence between n-by-n square matrices and linear transformations from an n-dimensional vector space into itself, given any basis of the vector space. Hence, in a finite-dimensional vector space, it is equivalent to define eigenvalues and eigenvectors using either the language of matrices, or the language of linear transformations.

If V is finite-dimensional, the above equation is equivalent to

where A is the matrix representation of T and u is the coordinate vector of v.

Overview

Eigenvalues and eigenvectors feature prominently in the analysis of linear transformations. The prefix eigen- is adopted from the German word eigen (cognate with the English word own) for "proper", "characteristic", "own". Originally used to study principal axes of the rotational motion of rigid bodies, eigenvalues and eigenvectors have a wide range of applications, for example in stability analysis, vibration analysis, atomic orbitals, facial recognition, and matrix diagonalization.

In essence, an eigenvector v of a linear transformation T is a nonzero vector that, when T is applied to it, does not change direction. Applying T to the eigenvector only scales the eigenvector by the scalar value λ, called an eigenvalue. This condition can be written as the equation

referred to as the eigenvalue equation or eigenequation. In general, λ may be any scalar. For example, λ may be negative, in which case the eigenvector reverses direction as part of the scaling, or it may be zero or complex.

In this shear mapping the red arrow changes direction, but the blue arrow does not. The blue arrow is an eigenvector of this shear mapping because it does not change direction, and since its length is unchanged, its eigenvalue is 1.
A 2×2 real and symmetric matrix represent a stretching and shearing of the plane. The eigenvectors of the matrix (red lines) are the two special directions such that every point on them will just slide on them.

The Mona Lisa example pictured here provides a simple illustration. Each point on the painting can be represented as a vector pointing from the center of the painting to that point. The linear transformation in this example is called a shear mapping. Points in the top half are moved to the right, and points in the bottom half are moved to the left, proportional to how far they are from the horizontal axis that goes through the middle of the painting. The vectors pointing to each point in the original image are therefore tilted right or left, and made longer or shorter by the transformation. Points along the horizontal axis do not move at all when this transformation is applied. Therefore, any vector that points directly to the right or left with no vertical component is an eigenvector of this transformation, because the mapping does not change its direction. Moreover, these eigenvectors all have an eigenvalue equal to one, because the mapping does not change their length either.

Linear transformations can take many different forms, mapping vectors in a variety of vector spaces, so the eigenvectors can also take many forms. For example, the linear transformation could be a differential operator like , in which case the eigenvectors are functions called eigenfunctions that are scaled by that differential operator, such as

Alternatively, the linear transformation could take the form of an n by n matrix, in which case the eigenvectors are n by 1 matrices. If the linear transformation is expressed in the form of an n by n matrix A, then the eigenvalue equation for a linear transformation above can be rewritten as the matrix multiplication

where the eigenvector v is an n by 1 matrix. For a matrix, eigenvalues and eigenvectors can be used to decompose the matrix—for example by diagonalizing it.

Eigenvalues and eigenvectors give rise to many closely related mathematical concepts, and the prefix eigen- is applied liberally when naming them:

  • The set of all eigenvectors of a linear transformation, each paired with its corresponding eigenvalue, is called the eigensystem of that transformation.
  • The set of all eigenvectors of T corresponding to the same eigenvalue, together with the zero vector, is called an eigenspace, or the characteristic space of T associated with that eigenvalue.
  • If a set of eigenvectors of T forms a basis of the domain of T, then this basis is called an eigenbasis.

Eigenvalues and eigenvectors of matrices

Eigenvalues and eigenvectors are often introduced to students in the context of linear algebra courses focused on matrices. Furthermore, linear transformations over a finite-dimensional vector space can be represented using matrices, which is especially common in numerical and computational applications.

Matrix A acts by stretching the vector x, not changing its direction, so x is an eigenvector of A.

Consider n-dimensional vectors that are formed as a list of n scalars, such as the three-dimensional vectors

These vectors are said to be scalar multiples of each other, or parallel or collinear, if there is a scalar λ such that

In this case .

Now consider the linear transformation of n-dimensional vectors defined by an n by n matrix A,

or

where, for each row,

If it occurs that v and w are scalar multiples, that is if

(1)

then v is an eigenvector of the linear transformation A and the scale factor λ is the eigenvalue corresponding to that eigenvector. Equation (1) is the eigenvalue equation for the matrix A.

Equation (1) can be stated equivalently as

(2)

where I is the n by n identity matrix and 0 is the zero vector.

Eigenvalues and the characteristic polynomial

Equation (2) has a nonzero solution v if and only if the determinant of the matrix (AλI) is zero. Therefore, the eigenvalues of A are values of λ that satisfy the equation

(3)

Using Leibniz' rule for the determinant, the left-hand side of Equation (3) is a polynomial function of the variable λ and the degree of this polynomial is n, the order of the matrix A. Its coefficients depend on the entries of A, except that its term of degree n is always (−1)nλn. This polynomial is called the characteristic polynomial of A. Equation (3) is called the characteristic equation or the secular equation of A.

The fundamental theorem of algebra implies that the characteristic polynomial of an n-by-n matrix A, being a polynomial of degree n, can be factored into the product of n linear terms,

(4)


where each λi may be real but in general is a complex number. The numbers λ1, λ2, …, λn, which may not all have distinct values, are roots of the polynomial and are the eigenvalues of A.

As a brief example, which is described in more detail in the examples section later, consider the matrix

Taking the determinant of (AλI), the characteristic polynomial of A is

Setting the characteristic polynomial equal to zero, it has roots at λ=1 and λ=3, which are the two eigenvalues of A. The eigenvectors corresponding to each eigenvalue can be found by solving for the components of v in the equation . In this example, the eigenvectors are any nonzero scalar multiples of

If the entries of the matrix A are all real numbers, then the coefficients of the characteristic polynomial will also be real numbers, but the eigenvalues may still have nonzero imaginary parts. The entries of the corresponding eigenvectors therefore may also have nonzero imaginary parts. Similarly, the eigenvalues may be irrational numbers even if all the entries of A are rational numbers or even if they are all integers. However, if the entries of A are all algebraic numbers, which include the rationals, the eigenvalues are complex algebraic numbers.

The non-real roots of a real polynomial with real coefficients can be grouped into pairs of complex conjugates, namely with the two members of each pair having imaginary parts that differ only in sign and the same real part. If the degree is odd, then by the intermediate value theorem at least one of the roots is real. Therefore, any real matrix with odd order has at least one real eigenvalue, whereas a real matrix with even order may not have any real eigenvalues. The eigenvectors associated with these complex eigenvalues are also complex and also appear in complex conjugate pairs.

Algebraic multiplicity

Let λi be an eigenvalue of an n by n matrix A. The algebraic multiplicity μA(λi) of the eigenvalue is its multiplicity as a root of the characteristic polynomial, that is, the largest integer k such that (λλi)k divides evenly that polynomial.

Suppose a matrix A has dimension n and dn distinct eigenvalues. Whereas Equation (4) factors the characteristic polynomial of A into the product of n linear terms with some terms potentially repeating, the characteristic polynomial can instead be written as the product of d terms each corresponding to a distinct eigenvalue and raised to the power of the algebraic multiplicity,

If d = n then the right-hand side is the product of n linear terms and this is the same as Equation (4). The size of each eigenvalue's algebraic multiplicity is related to the dimension n as

If μA(λi) = 1, then λi is said to be a simple eigenvalue. If μA(λi) equals the geometric multiplicity of λi, γA(λi), defined in the next section, then λi is said to be a semisimple eigenvalue.

Eigenspaces, geometric multiplicity, and the eigenbasis for matrices

Given a particular eigenvalue λ of the n by n matrix A, define the set E to be all vectors v that satisfy Equation (2),

On one hand, this set is precisely the kernel or nullspace of the matrix (AλI). On the other hand, by definition, any nonzero vector that satisfies this condition is an eigenvector of A associated with λ. So, the set E is the union of the zero vector with the set of all eigenvectors of A associated with λ, and E equals the nullspace of (AλI). E is called the eigenspace or characteristic space of A associated with λ. In general λ is a complex number and the eigenvectors are complex n by 1 matrices. A property of the nullspace is that it is a linear subspace, so E is a linear subspace of ℂn.

Because the eigenspace E is a linear subspace, it is closed under addition. That is, if two vectors u and v belong to the set E, written u, vE, then (u + v) ∈ E or equivalently A(u + v) = λ(u + v). This can be checked using the distributive property of matrix multiplication. Similarly, because E is a linear subspace, it is closed under scalar multiplication. That is, if vE and α is a complex number, (αv) ∈ E or equivalently A(αv) = λ(αv). This can be checked by noting that multiplication of complex matrices by complex numbers is commutative. As long as u + v and αv are not zero, they are also eigenvectors of A associated with λ.

The dimension of the eigenspace E associated with λ, or equivalently the maximum number of linearly independent eigenvectors associated with λ, is referred to as the eigenvalue's geometric multiplicity γA(λ). Because E is also the nullspace of (AλI), the geometric multiplicity of λ is the dimension of the nullspace of (AλI), also called the nullity of (AλI), which relates to the dimension and rank of (AλI) as

Because of the definition of eigenvalues and eigenvectors, an eigenvalue's geometric multiplicity must be at least one, that is, each eigenvalue has at least one associated eigenvector. Furthermore, an eigenvalue's geometric multiplicity cannot exceed its algebraic multiplicity. Additionally, recall that an eigenvalue's algebraic multiplicity cannot exceed n.

To prove the inequality , consider how the definition of geometric multiplicity implies the existence of orthonormal eigenvectors , such that . We can therefore find a (unitary) matrix whose first columns are these eigenvectors, and whose remaining columns can be any orthonormal set of vectors orthogonal to these eigenvectors of . Then has full rank and is therefore invertible, and with a matrix whose top left block is the diagonal matrix . This implies that . In other words, is similar to , which implies that . But from the definition of we know that contains a factor , which means that the algebraic multiplicity of must satisfy .

Suppose has distinct eigenvalues , where the geometric multiplicity of is . The total geometric multiplicity of ,

is the dimension of the sum of all the eigenspaces of 's eigenvalues, or equivalently the maximum number of linearly independent eigenvectors of . If , then

  • The direct sum of the eigenspaces of all of 's eigenvalues is the entire vector space .
  • A basis of can be formed from linearly independent eigenvectors of ; such a basis is called an eigenbasis
  • Any vector in can be written as a linear combination of eigenvectors of .

Additional properties of eigenvalues

Let be an arbitrary matrix of complex numbers with eigenvalues . Each eigenvalue appears times in this list, where is the eigenvalue's algebraic multiplicity. The following are properties of this matrix and its eigenvalues:

  • The trace of , defined as the sum of its diagonal elements, is also the sum of all eigenvalues,
  • The determinant of is the product of all its eigenvalues,
  • The eigenvalues of the th power of ; i.e., the eigenvalues of , for any positive integer , are .
  • The matrix is invertible if and only if every eigenvalue is nonzero.
  • If is invertible, then the eigenvalues of are and each eigenvalue's geometric multiplicity coincides. Moreover, since the characteristic polynomial of the inverse is the reciprocal polynomial of the original, the eigenvalues share the same algebraic multiplicity.
  • If is equal to its conjugate transpose , or equivalently if is Hermitian, then every eigenvalue is real. The same is true of any symmetric real matrix.
  • If is not only Hermitian but also positive-definite, positive-semidefinite, negative-definite, or negative-semidefinite, then every eigenvalue is positive, non-negative, negative, or non-positive, respectively.
  • If is unitary, every eigenvalue has absolute value .
  • if is a matrix and are its eigenvalues, then the eigenvalues of matrix (where is the identity matrix) are . Moreover, if , the eigenvalues of are . More generally, for a polynomial the eigenvalues of matrix are .

Left and right eigenvectors

Many disciplines traditionally represent vectors as matrices with a single column rather than as matrices with a single row. For that reason, the word "eigenvector" in the context of matrices almost always refers to a right eigenvector, namely a column vector that right multiplies the matrix in the defining equation, Equation (1),

The eigenvalue and eigenvector problem can also be defined for row vectors that left multiply matrix . In this formulation, the defining equation is

where is a scalar and is a matrix. Any row vector satisfying this equation is called a left eigenvector of and is its associated eigenvalue. Taking the transpose of this equation,

Comparing this equation to Equation (1), it follows immediately that a left eigenvector of is the same as the transpose of a right eigenvector of , with the same eigenvalue. Furthermore, since the characteristic polynomial of is the same as the characteristic polynomial of , the eigenvalues of the left eigenvectors of are the same as the eigenvalues of the right eigenvectors of .

Diagonalization and the eigendecomposition

Suppose the eigenvectors of A form a basis, or equivalently A has n linearly independent eigenvectors v1, v2, …, vn with associated eigenvalues λ1, λ2, …, λn. The eigenvalues need not be distinct. Define a square matrix Q whose columns are the n linearly independent eigenvectors of A,

Since each column of Q is an eigenvector of A, right multiplying A by Q scales each column of Q by its associated eigenvalue,

With this in mind, define a diagonal matrix Λ where each diagonal element Λii is the eigenvalue associated with the ith column of Q. Then

Because the columns of Q are linearly independent, Q is invertible. Right multiplying both sides of the equation by Q−1,

or by instead left multiplying both sides by Q−1,

A can therefore be decomposed into a matrix composed of its eigenvectors, a diagonal matrix with its eigenvalues along the diagonal, and the inverse of the matrix of eigenvectors. This is called the eigendecomposition and it is a similarity transformation. Such a matrix A is said to be similar to the diagonal matrix Λ or diagonalizable. The matrix Q is the change of basis matrix of the similarity transformation. Essentially, the matrices A and Λ represent the same linear transformation expressed in two different bases. The eigenvectors are used as the basis when representing the linear transformation as Λ.

Conversely, suppose a matrix A is diagonalizable. Let P be a non-singular square matrix such that P−1AP is some diagonal matrix D. Left multiplying both by P, AP = PD. Each column of P must therefore be an eigenvector of A whose eigenvalue is the corresponding diagonal element of D. Since the columns of P must be linearly independent for P to be invertible, there exist n linearly independent eigenvectors of A. It then follows that the eigenvectors of A form a basis if and only if A is diagonalizable.

A matrix that is not diagonalizable is said to be defective. For defective matrices, the notion of eigenvectors generalizes to generalized eigenvectors and the diagonal matrix of eigenvalues generalizes to the Jordan normal form. Over an algebraically closed field, any matrix A has a Jordan normal form and therefore admits a basis of generalized eigenvectors and a decomposition into generalized eigenspaces.

Variational characterization

In the Hermitian case, eigenvalues can be given a variational characterization. The largest eigenvalue of is the maximum value of the quadratic form . A value of that realizes that maximum, is an eigenvector.

Matrix examples

Two-dimensional matrix example

The transformation matrix A = preserves the direction of purple vectors parallel to vλ=1 = [1 −1]T and blue vectors parallel to vλ=3 = [1 1]T. The red vectors are not parallel to either eigenvector, so, their directions are changed by the transformation. The lengths of the purple vectors are unchanged after the transformation (due to their eigenvalue of 1), while blue vectors are three times the length of the original (due to their eigenvalue of 3).

Consider the matrix

The figure on the right shows the effect of this transformation on point coordinates in the plane. The eigenvectors v of this transformation satisfy Equation (1), and the values of λ for which the determinant of the matrix (A − λI) equals zero are the eigenvalues.

Taking the determinant to find characteristic polynomial of A,

Setting the characteristic polynomial equal to zero, it has roots at λ=1 and λ=3, which are the two eigenvalues of A.

For λ=1, Equation (2) becomes,

;

Any nonzero vector with v1 = −v2 solves this equation. Therefore,

is an eigenvector of A corresponding to λ = 1, as is any scalar multiple of this vector.

For λ=3, Equation (2) becomes

Any nonzero vector with v1 = v2 solves this equation. Therefore,

is an eigenvector of A corresponding to λ = 3, as is any scalar multiple of this vector.

Thus, the vectors vλ=1 and vλ=3 are eigenvectors of A associated with the eigenvalues λ=1 and λ=3, respectively.

General formula for eigenvalues of a two-dimensional matrix

The eigenvalues of the real matrix are

Note that the eigenvalues are always real if b and c have the same sign, since the quantity under the radical must be positive.

Three-dimensional matrix example

Consider the matrix

The characteristic polynomial of A is

The roots of the characteristic polynomial are 2, 1, and 11, which are the only three eigenvalues of A. These eigenvalues correspond to the eigenvectors , , and , or any nonzero multiple thereof.

Three-dimensional matrix example with complex eigenvalues

Consider the cyclic permutation matrix

This matrix shifts the coordinates of the vector up by one position and moves the first coordinate to the bottom. Its characteristic polynomial is 1 − λ3, whose roots are

where is an imaginary unit with .

For the real eigenvalue λ1 = 1, any vector with three equal nonzero entries is an eigenvector. For example,

For the complex conjugate pair of imaginary eigenvalues,

Then

and

Therefore, the other two eigenvectors of A are complex and are and with eigenvalues λ2 and λ3, respectively. The two complex eigenvectors also appear in a complex conjugate pair,

Diagonal matrix example

Matrices with entries only along the main diagonal are called diagonal matrices. The eigenvalues of a diagonal matrix are the diagonal elements themselves. Consider the matrix

The characteristic polynomial of A is

which has the roots λ1 = 1, λ2 = 2, and λ3 = 3. These roots are the diagonal elements as well as the eigenvalues of A.

Each diagonal element corresponds to an eigenvector whose only nonzero component is in the same row as that diagonal element. In the example, the eigenvalues correspond to the eigenvectors,

respectively, as well as scalar multiples of these vectors.

Triangular matrix example

A matrix whose elements above the main diagonal are all zero is called a lower triangular matrix, while a matrix whose elements below the main diagonal are all zero is called an upper triangular matrix. As with diagonal matrices, the eigenvalues of triangular matrices are the elements of the main diagonal.

Consider the lower triangular matrix,

The characteristic polynomial of A is

which has the roots λ1 = 1, λ2 = 2, and λ3 = 3. These roots are the diagonal elements as well as the eigenvalues of A.

These eigenvalues correspond to the eigenvectors,

respectively, as well as scalar multiples of these vectors.

Matrix with repeated eigenvalues example

As in the previous example, the lower triangular matrix

has a characteristic polynomial that is the product of its diagonal elements,

The roots of this polynomial, and hence the eigenvalues, are 2 and 3. The algebraic multiplicity of each eigenvalue is 2; in other words they are both double roots. The sum of the algebraic multiplicities of all distinct eigenvalues is μA = 4 = n, the order of the characteristic polynomial and the dimension of A.

On the other hand, the geometric multiplicity of the eigenvalue 2 is only 1, because its eigenspace is spanned by just one vector and is therefore 1-dimensional. Similarly, the geometric multiplicity of the eigenvalue 3 is 1 because its eigenspace is spanned by just one vector . The total geometric multiplicity γA is 2, which is the smallest it could be for a matrix with two distinct eigenvalues. Geometric multiplicities are defined in a later section.

Eigenvector-eigenvalue identity

For a Hermitian matrix, the norm squared of the jth component of a normalized eigenvector can be calculated using only the matrix eigenvalues and the eigenvalues of the corresponding minor matrix,

where is the submatrix formed by removing the jth row and column from the original matrix.

Eigenvalues and eigenfunctions of differential operators

The definitions of eigenvalue and eigenvectors of a linear transformation T remains valid even if the underlying vector space is an infinite-dimensional Hilbert or Banach space. A widely used class of linear transformations acting on infinite-dimensional spaces are the differential operators on function spaces. Let D be a linear differential operator on the space C of infinitely differentiable real functions of a real argument t. The eigenvalue equation for D is the differential equation

The functions that satisfy this equation are eigenvectors of D and are commonly called eigenfunctions.

Derivative operator example

Consider the derivative operator with eigenvalue equation

This differential equation can be solved by multiplying both sides by dt/f(t) and integrating. Its solution, the exponential function

is the eigenfunction of the derivative operator. In this case the eigenfunction is itself a function of its associated eigenvalue. In particular, for λ = 0 the eigenfunction f(t) is a constant.

The main eigenfunction article gives other examples.

General definition

The concept of eigenvalues and eigenvectors extends naturally to arbitrary linear transformations on arbitrary vector spaces. Let V be any vector space over some field K of scalars, and let T be a linear transformation mapping V into V,

We say that a nonzero vector vV is an eigenvector of T if and only if there exists a scalar λK such that

(5)

This equation is called the eigenvalue equation for T, and the scalar λ is the eigenvalue of T corresponding to the eigenvector v. T(v) is the result of applying the transformation T to the vector v, while λv is the product of the scalar λ with v.

Eigenspaces, geometric multiplicity, and the eigenbasis

Given an eigenvalue λ, consider the set

which is the union of the zero vector with the set of all eigenvectors associated with λ. E is called the eigenspace or characteristic space of T associated with λ.

By definition of a linear transformation,

for xy ∈ V and α ∈ K. Therefore, if u and v are eigenvectors of T associated with eigenvalue λ, namely uv ∈ E, then

So, both u + v and αv are either zero or eigenvectors of T associated with λ, namely u + v, αvE, and E is closed under addition and scalar multiplication. The eigenspace E associated with λ is therefore a linear subspace of V. If that subspace has dimension 1, it is sometimes called an eigenline.

The geometric multiplicity γT(λ) of an eigenvalue λ is the dimension of the eigenspace associated with λ, i.e., the maximum number of linearly independent eigenvectors associated with that eigenvalue. By the definition of eigenvalues and eigenvectors, γT(λ) ≥ 1 because every eigenvalue has at least one eigenvector.

The eigenspaces of T always form a direct sum. As a consequence, eigenvectors of different eigenvalues are always linearly independent. Therefore, the sum of the dimensions of the eigenspaces cannot exceed the dimension n of the vector space on which T operates, and there cannot be more than n distinct eigenvalues.

Any subspace spanned by eigenvectors of T is an invariant subspace of T, and the restriction of T to such a subspace is diagonalizable. Moreover, if the entire vector space V can be spanned by the eigenvectors of T, or equivalently if the direct sum of the eigenspaces associated with all the eigenvalues of T is the entire vector space V, then a basis of V called an eigenbasis can be formed from linearly independent eigenvectors of T. When T admits an eigenbasis, T is diagonalizable.

Zero vector as an eigenvector

While the definition of an eigenvector used in this article excludes the zero vector, it is possible to define eigenvalues and eigenvectors such that the zero vector is an eigenvector.

Consider again the eigenvalue equation, Equation (5). Define an eigenvalue to be any scalar λK such that there exists a nonzero vector vV satisfying Equation (5). It is important that this version of the definition of an eigenvalue specify that the vector be nonzero, otherwise by this definition the zero vector would allow any scalar in K to be an eigenvalue. Define an eigenvector v associated with the eigenvalue λ to be any vector that, given λ, satisfies Equation (5). Given the eigenvalue, the zero vector is among the vectors that satisfy Equation (5), so the zero vector is included among the eigenvectors by this alternate definition.

Spectral theory

If λ is an eigenvalue of T, then the operator (TλI) is not one-to-one, and therefore its inverse (TλI)−1 does not exist. The converse is true for finite-dimensional vector spaces, but not for infinite-dimensional vector spaces. In general, the operator (TλI) may not have an inverse even if λ is not an eigenvalue.

For this reason, in functional analysis eigenvalues can be generalized to the spectrum of a linear operator T as the set of all scalars λ for which the operator (TλI) has no bounded inverse. The spectrum of an operator always contains all its eigenvalues but is not limited to them.

Associative algebras and representation theory

One can generalize the algebraic object that is acting on the vector space, replacing a single operator acting on a vector space with an algebra representation – an associative algebra acting on a module. The study of such actions is the field of representation theory.

The representation-theoretical concept of weight is an analog of eigenvalues, while weight vectors and weight spaces are the analogs of eigenvectors and eigenspaces, respectively.

Dynamic equations

The simplest difference equations have the form

The solution of this equation for x in terms of t is found by using its characteristic equation

which can be found by stacking into matrix form a set of equations consisting of the above difference equation and the k – 1 equations giving a k-dimensional system of the first order in the stacked variable vector in terms of its once-lagged value, and taking the characteristic equation of this system's matrix. This equation gives k characteristic roots for use in the solution equation

A similar procedure is used for solving a differential equation of the form

Calculation

The calculation of eigenvalues and eigenvectors is a topic where theory, as presented in elementary linear algebra textbooks, is often very far from practice.

Classical method

The classical method is to first find the eigenvalues, and then calculate the eigenvectors for each eigenvalue. It is in several ways poorly suited for non-exact arithmetics such as floating-point.

Eigenvalues

The eigenvalues of a matrix can be determined by finding the roots of the characteristic polynomial. This is easy for matrices, but the difficulty increases rapidly with the size of the matrix.

In theory, the coefficients of the characteristic polynomial can be computed exactly, since they are sums of products of matrix elements; and there are algorithms that can find all the roots of a polynomial of arbitrary degree to any required accuracy. However, this approach is not viable in practice because the coefficients would be contaminated by unavoidable round-off errors, and the roots of a polynomial can be an extremely sensitive function of the coefficients (as exemplified by Wilkinson's polynomial). Even for matrices whose elements are integers the calculation becomes nontrivial, because the sums are very long; the constant term is the determinant, which for an is a sum of different products.

Explicit algebraic formulas for the roots of a polynomial exist only if the degree is 4 or less. According to the Abel–Ruffini theorem there is no general, explicit and exact algebraic formula for the roots of a polynomial with degree 5 or more. (Generality matters because any polynomial with degree is the characteristic polynomial of some companion matrix of order .) Therefore, for matrices of order 5 or more, the eigenvalues and eigenvectors cannot be obtained by an explicit algebraic formula, and must therefore be computed by approximate numerical methods. Even the exact formula for the roots of a degree 3 polynomial is numerically impractical.

Eigenvectors

Once the (exact) value of an eigenvalue is known, the corresponding eigenvectors can be found by finding nonzero solutions of the eigenvalue equation, that becomes a system of linear equations with known coefficients. For example, once it is known that 6 is an eigenvalue of the matrix

we can find its eigenvectors by solving the equation , that is

This matrix equation is equivalent to two linear equations

that is

Both equations reduce to the single linear equation . Therefore, any vector of the form , for any nonzero real number , is an eigenvector of with eigenvalue .

The matrix above has another eigenvalue . A similar calculation shows that the corresponding eigenvectors are the nonzero solutions of , that is, any vector of the form , for any nonzero real number .

Simple iterative methods

The converse approach, of first seeking the eigenvectors and then determining each eigenvalue from its eigenvector, turns out to be far more tractable for computers. The easiest algorithm here consists of picking an arbitrary starting vector and then repeatedly multiplying it with the matrix (optionally normalizing the vector to keep its elements of reasonable size); this makes the vector converge towards an eigenvector. A variation is to instead multiply the vector by ; this causes it to converge to an eigenvector of the eigenvalue closest to .

If is (a good approximation of) an eigenvector of , then the corresponding eigenvalue can be computed as

where denotes the conjugate transpose of .

Modern methods

Efficient, accurate methods to compute eigenvalues and eigenvectors of arbitrary matrices were not known until the QR algorithm was designed in 1961. Combining the Householder transformation with the LU decomposition results in an algorithm with better convergence than the QR algorithm. For large Hermitian sparse matrices, the Lanczos algorithm is one example of an efficient iterative method to compute eigenvalues and eigenvectors, among several other possibilities.

Most numeric methods that compute the eigenvalues of a matrix also determine a set of corresponding eigenvectors as a by-product of the computation, although sometimes implementors choose to discard the eigenvector information as soon as it is no longer needed.

Applications

Eigenvalues of geometric transformations

The following table presents some example transformations in the plane along with their 2×2 matrices, eigenvalues, and eigenvectors.

Scaling Unequal scaling Rotation Horizontal shear Hyperbolic rotation
Illustration Equal scaling (homothety) Vertical shrink and horizontal stretch of a unit square. Rotation by 50 degrees
Horizontal shear mapping
Squeeze r=1.5.svg
Matrix



Characteristic
polynomial
Eigenvalues,


Algebraic mult.,



Geometric mult.,



Eigenvectors All nonzero vectors

The characteristic equation for a rotation is a quadratic equation with discriminant , which is a negative number whenever θ is not an integer multiple of 180°. Therefore, except for these special cases, the two eigenvalues are complex numbers, ; and all eigenvectors have non-real entries. Indeed, except for those special cases, a rotation changes the direction of every nonzero vector in the plane.

A linear transformation that takes a square to a rectangle of the same area (a squeeze mapping) has reciprocal eigenvalues.

Schrödinger equation

The wavefunctions associated with the bound states of an electron in a hydrogen atom can be seen as the eigenvectors of the hydrogen atom Hamiltonian as well as of the angular momentum operator. They are associated with eigenvalues interpreted as their energies (increasing downward: ) and angular momentum (increasing across: s, p, d, …). The illustration shows the square of the absolute value of the wavefunctions. Brighter areas correspond to higher probability density for a position measurement. The center of each figure is the atomic nucleus, a proton.

An example of an eigenvalue equation where the transformation is represented in terms of a differential operator is the time-independent Schrödinger equation in quantum mechanics:

where , the Hamiltonian, is a second-order differential operator and , the wavefunction, is one of its eigenfunctions corresponding to the eigenvalue , interpreted as its energy.

However, in the case where one is interested only in the bound state solutions of the Schrödinger equation, one looks for within the space of square integrable functions. Since this space is a Hilbert space with a well-defined scalar product, one can introduce a basis set in which and can be represented as a one-dimensional array (i.e., a vector) and a matrix respectively. This allows one to represent the Schrödinger equation in a matrix form.

The bra–ket notation is often used in this context. A vector, which represents a state of the system, in the Hilbert space of square integrable functions is represented by . In this notation, the Schrödinger equation is:

where is an eigenstate of and represents the eigenvalue. is an observable self-adjoint operator, the infinite-dimensional analog of Hermitian matrices. As in the matrix case, in the equation above is understood to be the vector obtained by application of the transformation to .

Wave transport

Light, acoustic waves, and microwaves are randomly scattered numerous times when traversing a static disordered system. Even though multiple scattering repeatedly randomizes the waves, ultimately coherent wave transport through the system is a deterministic process which can be described by a field transmission matrix . The eigenvectors of the transmission operator form a set of disorder-specific input wavefronts which enable waves to couple into the disordered system’s eigenchannels: the independent pathways waves can travel through the system. The eigenvalues, , of correspond to the intensity transmittance associated with each eigenchannel. One of the remarkable properties of the transmission operator of diffusive systems is their bimodal eigenvalue distribution with and . Furthermore, one of the striking properties of open eigenchannels, beyond the perfect transmittance, is the statistically robust spatial profile of the eigenchannels.

Molecular orbitals

In quantum mechanics, and in particular in atomic and molecular physics, within the Hartree–Fock theory, the atomic and molecular orbitals can be defined by the eigenvectors of the Fock operator. The corresponding eigenvalues are interpreted as ionization potentials via Koopmans' theorem. In this case, the term eigenvector is used in a somewhat more general meaning, since the Fock operator is explicitly dependent on the orbitals and their eigenvalues. Thus, if one wants to underline this aspect, one speaks of nonlinear eigenvalue problems. Such equations are usually solved by an iteration procedure, called in this case self-consistent field method. In quantum chemistry, one often represents the Hartree–Fock equation in a non-orthogonal basis set. This particular representation is a generalized eigenvalue problem called Roothaan equations.

Geology and glaciology

In geology, especially in the study of glacial till, eigenvectors and eigenvalues are used as a method by which a mass of information of a clast fabric's constituents' orientation and dip can be summarized in a 3-D space by six numbers. In the field, a geologist may collect such data for hundreds or thousands of clasts in a soil sample, which can only be compared graphically such as in a Tri-Plot (Sneed and Folk) diagram, or as a Stereonet on a Wulff Net.

The output for the orientation tensor is in the three orthogonal (perpendicular) axes of space. The three eigenvectors are ordered by their eigenvalues ; then is the primary orientation/dip of clast, is the secondary and is the tertiary, in terms of strength. The clast orientation is defined as the direction of the eigenvector, on a compass rose of 360°. Dip is measured as the eigenvalue, the modulus of the tensor: this is valued from 0° (no dip) to 90° (vertical). The relative values of , , and are dictated by the nature of the sediment's fabric. If , the fabric is said to be isotropic. If , the fabric is said to be planar. If , the fabric is said to be linear.

Principal component analysis

PCA of the multivariate Gaussian distribution centered at with a standard deviation of 3 in roughly the direction and of 1 in the orthogonal direction. The vectors shown are unit eigenvectors of the (symmetric, positive-semidefinite) covariance matrix scaled by the square root of the corresponding eigenvalue. Just as in the one-dimensional case, the square root is taken because the standard deviation is more readily visualized than the variance.

The eigendecomposition of a symmetric positive semidefinite (PSD) matrix yields an orthogonal basis of eigenvectors, each of which has a nonnegative eigenvalue. The orthogonal decomposition of a PSD matrix is used in multivariate analysis, where the sample covariance matrices are PSD. This orthogonal decomposition is called principal component analysis (PCA) in statistics. PCA studies linear relations among variables. PCA is performed on the covariance matrix or the correlation matrix (in which each variable is scaled to have its sample variance equal to one). For the covariance or correlation matrix, the eigenvectors correspond to principal components and the eigenvalues to the variance explained by the principal components. Principal component analysis of the correlation matrix provides an orthogonal basis for the space of the observed data: In this basis, the largest eigenvalues correspond to the principal components that are associated with most of the covariability among a number of observed data.

Principal component analysis is used as a means of dimensionality reduction in the study of large data sets, such as those encountered in bioinformatics. In Q methodology, the eigenvalues of the correlation matrix determine the Q-methodologist's judgment of practical significance (which differs from the statistical significance of hypothesis testing; cf. criteria for determining the number of factors). More generally, principal component analysis can be used as a method of factor analysis in structural equation modeling.

Vibration analysis

Mode shape of a tuning fork at eigenfrequency 440.09 Hz


Eigenvalue problems occur naturally in the vibration analysis of mechanical structures with many degrees of freedom. The eigenvalues are the natural frequencies (or eigenfrequencies) of vibration, and the eigenvectors are the shapes of these vibrational modes. In particular, undamped vibration is governed by

or

that is, acceleration is proportional to position (i.e., we expect to be sinusoidal in time).

In dimensions, becomes a mass matrix and a stiffness matrix. Admissible solutions are then a linear combination of solutions to the generalized eigenvalue problem

where is the eigenvalue and is the (imaginary) angular frequency. The principal vibration modes are different from the principal compliance modes, which are the eigenvectors of alone. Furthermore, damped vibration, governed by

leads to a so-called quadratic eigenvalue problem,

This can be reduced to a generalized eigenvalue problem by algebraic manipulation at the cost of solving a larger system.

The orthogonality properties of the eigenvectors allows decoupling of the differential equations so that the system can be represented as linear summation of the eigenvectors. The eigenvalue problem of complex structures is often solved using finite element analysis, but neatly generalize the solution to scalar-valued vibration problems.

Eigenfaces

Eigenfaces as examples of eigenvectors

In image processing, processed images of faces can be seen as vectors whose components are the brightnesses of each pixel. The dimension of this vector space is the number of pixels. The eigenvectors of the covariance matrix associated with a large set of normalized pictures of faces are called eigenfaces; this is an example of principal component analysis. They are very useful for expressing any face image as a linear combination of some of them. In the facial recognition branch of biometrics, eigenfaces provide a means of applying data compression to faces for identification purposes. Research related to eigen vision systems determining hand gestures has also been made.

Similar to this concept, eigenvoices represent the general direction of variability in human pronunciations of a particular utterance, such as a word in a language. Based on a linear combination of such eigenvoices, a new voice pronunciation of the word can be constructed. These concepts have been found useful in automatic speech recognition systems for speaker adaptation.

Tensor of moment of inertia

In mechanics, the eigenvectors of the moment of inertia tensor define the principal axes of a rigid body. The tensor of moment of inertia is a key quantity required to determine the rotation of a rigid body around its center of mass.

Stress tensor

In solid mechanics, the stress tensor is symmetric and so can be decomposed into a diagonal tensor with the eigenvalues on the diagonal and eigenvectors as a basis. Because it is diagonal, in this orientation, the stress tensor has no shear components; the components it does have are the principal components.

Graphs

In spectral graph theory, an eigenvalue of a graph is defined as an eigenvalue of the graph's adjacency matrix , or (increasingly) of the graph's Laplacian matrix due to its discrete Laplace operator, which is either (sometimes called the combinatorial Laplacian) or (sometimes called the normalized Laplacian), where is a diagonal matrix with equal to the degree of vertex , and in , the th diagonal entry is . The th principal eigenvector of a graph is defined as either the eigenvector corresponding to the th largest or th smallest eigenvalue of the Laplacian. The first principal eigenvector of the graph is also referred to merely as the principal eigenvector.

The principal eigenvector is used to measure the centrality of its vertices. An example is Google's PageRank algorithm. The principal eigenvector of a modified adjacency matrix of the World Wide Web graph gives the page ranks as its components. This vector corresponds to the stationary distribution of the Markov chain represented by the row-normalized adjacency matrix; however, the adjacency matrix must first be modified to ensure a stationary distribution exists. The second smallest eigenvector can be used to partition the graph into clusters, via spectral clustering. Other methods are also available for clustering.

Basic reproduction number

The basic reproduction number () is a fundamental number in the study of how infectious diseases spread. If one infectious person is put into a population of completely susceptible people, then is the average number of people that one typical infectious person will infect. The generation time of an infection is the time, , from one person becoming infected to the next person becoming infected. In a heterogeneous population, the next generation matrix defines how many people in the population will become infected after time has passed. is then the largest eigenvalue of the next generation matrix.

Resources

Licensing

Content obtained and/or adapted from: