8 Eigenvalues And Eigenvectors

Numerical Methods · Unit 8

Eigenvalues and Eigenvectors

Exam-focused notes for Eigenvalues and Eigenvectors (Numerical Methods, BIT203): what the TU syllabus asks and how it has actually been tested, with 4 solved past questions from this unit.

Eigenvalues and Eigenvectors in short

Eigenvalues and eigenvectors describe the directions in which a matrix only stretches a vector instead of turning it. They are used in vibration analysis, stability studies, data science and search engines.

Eigenvalues and Eigenvectors: notes

Eigenvalue and eigenvector definitions

Let $A$ be a square matrix of order $n$. A non-zero vector $\mathbf{x}$ is an eigenvector of $A$ if multiplying by $A$ only scales it.

$$A\mathbf{x} = \lambda\mathbf{x}$$

The scalar $\lambda$ is the eigenvalue that belongs to $\mathbf{x}$. An $n \times n$ matrix has $n$ eigenvalues, counted with repeats. Some may be complex.

Useful facts:

  • The sum of the eigenvalues equals the trace of $A$ (sum of the diagonal entries).
  • The product of the eigenvalues equals $\det(A)$.
  • If $\mathbf{x}$ is an eigenvector, then any non-zero multiple of $\mathbf{x}$ is also one.
  • A triangular matrix has its diagonal entries as eigenvalues.

Characteristic equation and determinant method

Rewrite $A\mathbf{x} = \lambda\mathbf{x}$ as $(A - \lambda I)\mathbf{x} = \mathbf{0}$. A non-zero solution exists only when the matrix $A - \lambda I$ is singular.

$$\det(A - \lambda I) = 0$$

This is the characteristic equation. It is a polynomial of degree $n$ in $\lambda$. For a $2 \times 2$ matrix it is

$$\lambda^2 - (\text{trace})\lambda + \det(A) = 0$$

Example. Find the eigenvalues of $A = \begin{bmatrix} 2 & 1 \ 1 & 2 \end{bmatrix}$.

$$\begin{aligned} \det(A - \lambda I) &= (2-\lambda)^2 - 1 \ &= \lambda^2 - 4\lambda + 3 \ &= (\lambda - 1)(\lambda - 3) = 0 \end{aligned}$$

So $\lambda_1 = 1$ and $\lambda_2 = 3$. The trace is $4 = 1 + 3$ and the determinant is $3 = 1 \times 3$, which agrees with the facts above.

What this unit covers

  • Eigenvalue and eigenvector definitions
  • Characteristic equation and determinant method
  • Computing eigenvalues and eigenvectors
  • Applications of eigenvalue problems

Eigenvalue and eigenvector definitions

2082 · 5 marks

Define eigenvalue and eigenvector. Distinguish between regression and interpolation. [2.5+2.5]

Show solved answer

Eigenvalue and Eigenvector / Regression vs Interpolation


(a) Eigenvalue and Eigenvector

Definition

Let $A$ be an $n \times n$ square matrix. A scalar $\lambda$ is called an eigenvalue of $A$ if there exists a non-zero vector $\mathbf{x}$ such that:

$$A\mathbf{x} = \lambda\mathbf{x}$$

The non-zero vector $\mathbf{x}$ satisfying this equation is called the eigenvector of $A$ corresponding to the eigenvalue $\lambda$.

Key Points

  • The eigenvalue $\lambda$ can be real or complex.
  • The eigenvector $\mathbf{x}$ must be non-zero (the zero vector is excluded by definition).
  • Eigenvalues are found by solving the characteristic equation:

$$\det(A - \lambda I) = 0$$

where $I$ is the identity matrix of the same order as $A$.

  • Once $\lambda$ is known, the corresponding eigenvector is found by solving:

$$(A - \lambda I)\mathbf{x} = \mathbf{0}$$

Example

For matrix $A = \begin{pmatrix} 2 & 1 \ 1 & 2 \end{pmatrix}$:

Characteristic equation: $\det(A - \lambda I) = (2-\lambda)^2 - 1 = 0$

$\Rightarrow \lambda^2 - 4\lambda + 3 = 0 \Rightarrow \lambda = 3, ; \lambda = 1$

These are the eigenvalues. The corresponding non-zero vectors satisfying $(A - \lambda I)\mathbf{x} = 0$ are the eigenvectors.


(b) Distinction Between Regression and Interpolation

BasisRegressionInterpolation
DefinitionFinds the best-fit curve/line through a set of data points, minimizing overall error.Finds a curve (polynomial) that passes exactly through all given data points.
Data fitThe curve does not necessarily pass through any of the given data points.The curve passes exactly through every given data point.
PurposeTo identify the general trend or relationship between variables.To estimate unknown values between known data points.
ErrorResidual errors exist between the fitted curve and data points.No error at the given data points (exact fit).
Data natureUsed when data contains noise or experimental errors.Used when data is assumed to be accurate and reliable.
MethodLeast squares method (e.g., linear regression).Newton's, Lagrange's, or other interpolation formulas.
ExtrapolationCan be used for prediction beyond the data range.Primarily used for estimation within the data range.
ResultA single best-fit equation for the entire dataset.A polynomial of degree $\leq (n-1)$ for $n$ data points.

Summary

Regression approximates the trend of data (best fit, not exact), while Interpolation constructs an exact-fit function passing through all given data points. Regression is preferred for noisy data; interpolation is preferred for precise tabulated data.

Open this answer on its own page →

2079 · 5 marks

Define eigen value and eigen vector. Explain how shooting method is used to solve boundary value problem. [5]

--- Definition: Let $A$ be an $n \times n$ square matrix. A scalar $\lambda$ is called an eigenvalue of $A$ if there exists a non-zero vector $\mathbf{x}$ such that: $$A\mathbf{x} = \lambda \mathbf{x}$$ The non-zero vector $\mathbf{x}$ satisfying this equation is called the eigenvector correspond...

Open this answer on its own page →

Computing eigenvalues and eigenvectors

2080 · 5 marks

Find the Eigen values and Eigen vectors of the Matrix: $A=\begin{bmatrix} 3 & -1 \ 1 & 1 \end{bmatrix}$ [5]

Matrix: $$A = \begin{bmatrix} 3 & -1 \ 1 & 1 \end{bmatrix}$$ Required: eigenvalues and eigenvectors. $$\det(A - \lambda I) = 0$$ $$A - \lambda I = \begin{bmatrix} 3-\lambda & -1 \ 1 & 1-\lambda \end{bmatrix}$$ $$\det(A - \lambda I) = (3-\lambda)(1-\lambda) - (-1)(1)$$ $$= (3 - 3\lambda - \lambd...

Open this answer on its own page →

2078 · 5 marks

Determine the Eigen Values and corresponding Eigen Vectors for the matrix.

$$A = \begin{bmatrix} 1 & 6 & 1 \ 1 & 2 & 0 \ 0 & 0 & 3 \end{bmatrix}$$

[5]

$$A = \begin{bmatrix} 1 & 6 & 1 \ 1 & 2 & 0 \ 0 & 0 & 3 \end{bmatrix}$$ --- $$\det(A - \lambda I) = 0$$ $$A - \lambda I = \begin{bmatrix} 1-\lambda & 6 & 1 \ 1 & 2-\lambda & 0 \ 0 & 0 & 3-\lambda \end{bmatrix}$$ Expand along Row 3 (only one nonzero entry $3-\lambda$): $$\det = (3-\lambda)\lef...

Open this answer on its own page →