ArticleslgStudy

computer science

Eigenvalue algorithm

Eigenvalue algorithm is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Eigenvalue algorithm rather than just read about it. In short: In numerical analysis, one of the most important problems is designing efficient and stable algorithms for finding the eigenvalues of a matrix. These eigenvalue algorithms may also find eigenvectors.

Key takeaways

  • Eigenvalue algorithm belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Eigenvalue algorithm to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Eigenvalue algorithm from memory before moving on to harder problems.

Reference excerpt

In numerical analysis, one of the most important problems is designing efficient and stable algorithms for finding the eigenvalues of a matrix. These eigenvalue algorithms may also find eigenvectors.

Eigenvalues and eigenvectors

Given an n × n square matrix A of real or complex numbers, an eigenvalue λ and its associated generalized eigenvector v are a pair obeying the relation

(A−λI)k𝐯=0, where v is a nonzero n × 1 column vector, I is the n × n identity matrix, k is a positive integer, and both λ and v are allowed to be complex even when A is real. When k = 1, the vector is called simply an eigenvector, and the pair is called an eigenpair. In this case, Av = λv. Any eigenvalue λ of A has ordinary eigenvectors associated to it, for if k is the smallest integer such that (A − λI)k v = 0 for a generalized eigenvector v, then (A − λI)k−1 v is an ordinary eigenvector. The value k can always be taken as less than or equal to n. In particular, (A − λI)n v = 0 for all generalized eigenvectors v associated with λ. For each eigenvalue λ of A, the kernel ker(A − λI) consists of all eigenvectors associated with λ (along with 0), called the eigenspace of λ, while the vector space ker((A − λI)n) consists of all generalized eigenvectors, and is called the generalized eigenspace. The geometric multiplicity of λ is the dimension of its eigenspace. The algebraic multiplicity of λ is the dimension of its generalized eigenspace. The latter terminology is justified by the equation

pA(z)=det⁡(zI−A)=∏i=1k(z−λi)αi, where det is the determinant function, the λi are all the distinct eigenvalues of A and the αi are the corresponding algebraic multiplicities. The function pA(z) is the characteristic polynomial of A. So the algebraic multiplicity is the multiplicity of the eigenvalue as a zero of the characteristic polynomial. Since any eigenvector is also a generalized eigenvector, the geometric multiplicity is less than or equal to the algebraic multiplicity. The algebraic multiplicities sum up to n, the degree of the characteristic polynomial. The equation pA(z) = 0 is called the characteristic equation, as its roots are exactly the eigenvalues of A. By the Cayley–Hamilton theorem, A itself obeys the same equation: pA(A) = 0. As a consequence, the columns of the matrix ∏i≠j(A−λiI)αi must be either 0 or generalized eigenvectors of the eigenvalue λj, since they are annihilated by (A−λjI)αj. In fact, the column space is the generalized eigenspace of λj. Any collection of generalized eigenvectors of distinct eigenvalues is linearly independent, so a basis for all of Cn can be chosen consisting of generalized eigenvectors. More particularly, this basis {vi}ni=1 can be chosen and organized so that

if vi and vj have the same eigenvalue, then so does vk for each k between i and j, and if vi is not an ordinary eigenvector, and if λi is its eigenvalue, then (A − λiI)vi = vi−1 (in particular, v1 must be an ordinary eigenvector). If these basis vectors are placed as the column vectors of a matrix V = [v1 v2 ⋯ vn], then V can be used to convert A to its Jordan normal form:

V−1AV=[λ1β10…00λ2β2…000λ3…0⋮⋮⋮⋱⋮000…λn], where the λi are the eigenvalues, βi = 1 if (A − λi+1)vi+1 = vi and βi = 0 otherwise. More generally, if W is any invertible matrix, and λ is an eigenvalue of A with generalized eigenvector v, then (W−1AW − λI)k W−kv = 0. Thus λ is an eigenvalue of W−1AW with generalized eigenvector W−kv. That is, similar matrices have the same eigenvalues.

Normal, Hermitian, and real-symmetric matrices

The adjoint M* of a complex matrix M is the transpose of the conjugate of M: M * = M T. A square matrix A is called normal if it commutes with its adjoint: A*A = AA*. It is called Hermitian if it is equal to its adjoint: A* = A. All Hermitian matrices are normal. If A has only real elements, then the adjoint is just the transpose, and A is Hermitian if and only if it is symmetric. When applied to column vectors, the adjoint can be used to define the canonical inner product on Cn: w ⋅ v = w* v. Normal, Hermitian, and real-symmetric matrices have several useful properties:

Every generalized eigenvector of a normal matrix is an ordinary eigenvector. Any normal matrix is similar to a diagonal matrix, since its Jordan normal form is diagonal. Eigenvectors of distinct eigenvalues of a normal matrix are orthogonal. The null space and the image (or column space) of a normal matrix are orthogonal to each other. For any normal matrix A, Cn has an orthonormal basis consisting of eigenvectors of A. The corresponding matrix of eigenvectors is unitary. The eigenvalues of a Hermitian matrix are real, since (λ − λ)v = (A* − A)v = (A − A)v = 0 for a non-zero eigenvector v. If A is real, there is an orthonormal basis for Rn consisting of eigenvectors of A if and only if A is symmetric. It is possible for a real or complex matrix to have all real eigenvalues without being Hermitian. For example, a real triangular matrix has its eigenvalues along its diagonal, but in general is not symmetric.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Eigenvalue algorithm

Start with the simplest possible case. Write down what Eigenvalue algorithm claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Eigenvalue algorithm before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Eigenvalue algorithm ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Eigenvalue algorithm

In research
Eigenvalue algorithm appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Eigenvalue algorithm in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Eigenvalue algorithm is common in secondary-school and first-year university syllabi. It links to neighbouring topics Numerical linear algebra, so understanding it makes those chapters shorter.
In everyday life
Look for Eigenvalue algorithm outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Eigenvalue algorithm” →

How to study Eigenvalue algorithm in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Eigenvalue algorithm means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Eigenvalue algorithm out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Eigenvalue algorithm in simple terms?

In numerical analysis, one of the most important problems is designing efficient and stable algorithms for finding the eigenvalues of a matrix. These eigenvalue algorithms may also find eigenvectors.

Why does Eigenvalue algorithm matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Eigenvalue algorithm?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Eigenvalue algorithm.

Tags

  • Numerical linear algebra

Keep exploring