4.1 Matrix Algebra, Eigenvalues & Eigenvectors

The foundation for understanding systems of differential equations

Learning Objectives

By the end of this section, you will be able to:

  1. Perform basic matrix operations: addition, scalar multiplication, and matrix multiplication
  2. Compute determinants and matrix inverses
  3. Find eigenvalues by solving the characteristic equation $\det(A - \lambda I) = 0$
  4. Find eigenvectors by solving $(A - \lambda I)\mathbf{v} = \mathbf{0}$
  5. Classify eigenvalues: distinct real, repeated, or complex conjugate pairs
  6. Interpret eigenvalues and eigenvectors geometrically as scaling and special directions

Why Matrices? The Language of Systems

A system of first-order differential equations has the form:

$$\frac{d\mathbf{x}}{dt} = A\mathbf{x} + \mathbf{b}(t)$$

where $\mathbf{x} = \begin{pmatrix} x_1(t) \\ x_2(t) \\ \vdots \\ x_n(t) \end{pmatrix}$ is the state vector and $A$ is an $n \times n$ coefficient matrix. Matrices are the natural language for writing and solving systems of differential equations. Understanding eigenvalues and eigenvectors is essential because:

The Big Picture

Think of a matrix $A$ as a linear transformation that stretches, rotates, and scales space. Most vectors get complicated; but eigenvectors are special — they only get scaled by the eigenvalue. Finding eigenvectors means finding the "natural directions" of the transformation.

Matrix Operations Review

Matrix Addition

Add matrices of the same size element-by-element:

$$A + B = \begin{pmatrix} a_{11} + b_{11} & a_{12} + b_{12} \\ a_{21} + b_{21} & a_{22} + b_{22} \end{pmatrix}$$

Example:

$$\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} + \begin{pmatrix} 5 & 0 \\ -1 & 2 \end{pmatrix} = \begin{pmatrix} 6 & 2 \\ 2 & 6 \end{pmatrix}$$

Scalar Multiplication

Multiply every element by a scalar $c$:

$$c\,A = \begin{pmatrix} c \cdot a_{11} & c \cdot a_{12} \\ c \cdot a_{21} & c \cdot a_{22} \end{pmatrix}$$

Example: $2 \begin{pmatrix} 1 & 3 \\ -2 & 5 \end{pmatrix} = \begin{pmatrix} 2 & 6 \\ -4 & 10 \end{pmatrix}$

Matrix Multiplication

The product $C = AB$ is computed as:

$$[AB]_{ij} = \sum_{k=1}^{n} a_{ik} \, b_{kj}$$

In other words, element $(i,j)$ of $AB$ is the dot product of row $i$ of $A$ with column $j$ of $B$.

Worked Example: Multiply two 2×2 matrices step by step.

$$A = \begin{pmatrix} 2 & 1 \\ 3 & 4 \end{pmatrix}, \quad B = \begin{pmatrix} 1 & 0 \\ 2 & 3 \end{pmatrix}$$

Compute each element of $AB$:

$$AB = \begin{pmatrix} 4 & 3 \\ 11 & 12 \end{pmatrix}$$
Critical Warning: Non-Commutativity

Matrix multiplication is NOT commutative: $AB \neq BA$ in general! Always be careful about the order of multiplication. This is fundamentally different from arithmetic with real numbers.

Matrix-Vector Multiplication

A matrix $A$ multiplied by a vector $\mathbf{x}$ produces a new vector $A\mathbf{x}$:

$$A\mathbf{x} = \begin{pmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{pmatrix} \begin{pmatrix} x_1 \\ x_2 \end{pmatrix} = \begin{pmatrix} a_{11}x_1 + a_{12}x_2 \\ a_{21}x_1 + a_{22}x_2 \end{pmatrix}$$

Geometric Interpretation: The matrix $A$ transforms the vector $\mathbf{x}$. It can be understood as showing how $A$ acts on the basis vectors:

$$A\begin{pmatrix} 1 \\ 0 \end{pmatrix} = \begin{pmatrix} a_{11} \\ a_{21} \end{pmatrix} \quad \text{(first column of } A \text{)}$$
$$A\begin{pmatrix} 0 \\ 1 \end{pmatrix} = \begin{pmatrix} a_{12} \\ a_{22} \end{pmatrix} \quad \text{(second column of } A \text{)}$$

The columns of $A$ show where the standard basis vectors are mapped!

Determinants

2×2 Determinant

For a 2×2 matrix, the determinant is computed as:

$$\det(A) = \det\begin{pmatrix} a & b \\ c & d \end{pmatrix} = ad - bc$$

Example:

$$\det\begin{pmatrix} 3 & 2 \\ 1 & 4 \end{pmatrix} = (3)(4) - (2)(1) = 12 - 2 = 10$$

3×3 Determinant (Cofactor Expansion)

For a 3×3 matrix, expand along the first row:

$$\det(A) = a_{11}\det\begin{pmatrix} a_{22} & a_{23} \\ a_{32} & a_{33} \end{pmatrix} - a_{12}\det\begin{pmatrix} a_{21} & a_{23} \\ a_{31} & a_{33} \end{pmatrix} + a_{13}\det\begin{pmatrix} a_{21} & a_{22} \\ a_{31} & a_{32} \end{pmatrix}$$

Each minor (2×2 determinant) is computed using the formula above. You can expand along any row or column.

Properties of Determinants
  • $\det(AB) = \det(A) \cdot \det(B)$
  • $\det(A^T) = \det(A)$ (transpose doesn't change determinant)
  • If two rows (or columns) are identical, $\det(A) = 0$
  • Swapping two rows (or columns) changes the sign of the determinant
  • $\det(cA) = c^n \det(A)$ for an $n \times n$ matrix
  • $\det(I) = 1$ (identity matrix has determinant 1)

Invertibility and the Inverse Matrix

A matrix $A$ is invertible (has an inverse $A^{-1}$) if and only if:

$$\det(A) \neq 0$$

If invertible, the matrices satisfy:

$$AA^{-1} = A^{-1}A = I$$

For a 2×2 matrix, the inverse formula is:

$$A^{-1} = \frac{1}{\det(A)} \begin{pmatrix} d & -b \\ -c & a \end{pmatrix}$$

where $A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}$ and $\det(A) = ad - bc$.

Example: Find the inverse of $A = \begin{pmatrix} 2 & 1 \\ 1 & 3 \end{pmatrix}$.

First, $\det(A) = (2)(3) - (1)(1) = 6 - 1 = 5 \neq 0$, so the inverse exists.

$$A^{-1} = \frac{1}{5}\begin{pmatrix} 3 & -1 \\ -1 & 2 \end{pmatrix} = \begin{pmatrix} 3/5 & -1/5 \\ -1/5 & 2/5 \end{pmatrix}$$

Eigenvalues and Eigenvectors

This is the most important section. Eigenvalues and eigenvectors are the key to understanding all behavior of systems of differential equations.

Definition

A scalar $\lambda$ is an eigenvalue of an $n \times n$ matrix $A$ if there exists a nonzero vector $\mathbf{v}$ such that:

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

The nonzero vector $\mathbf{v}$ is called an eigenvector corresponding to eigenvalue $\lambda$.

Geometric Interpretation

When we apply the matrix $A$ to an eigenvector $\mathbf{v}$, the result is just a scaled version of $\mathbf{v}$. The eigenvalue $\lambda$ is the scaling factor:

Why This Matters for DEs

In a differential system $\frac{d\mathbf{x}}{dt} = A\mathbf{x}$, if $\mathbf{x}(0)$ is an eigenvector $\mathbf{v}$ with eigenvalue $\lambda$, then the solution is simply $\mathbf{x}(t) = e^{\lambda t}\mathbf{v}$. The system evolves exponentially along the eigenvector direction! This is why eigenvectors are sometimes called the "natural modes" of the system.

Finding Eigenvalues: The Characteristic Equation

Starting from $A\mathbf{v} = \lambda\mathbf{v}$, rearrange:

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

For a nonzero solution $\mathbf{v}$ to exist, the matrix $A - \lambda I$ must be singular (non-invertible), which means:

The Characteristic Equation
$$\det(A - \lambda I) = 0$$

The solutions $\lambda$ to this equation are the eigenvalues of $A$. This equation is a polynomial of degree $n$ (for an $n \times n$ matrix), so it has exactly $n$ roots (counting multiplicity) in the complex numbers.

Step-by-Step Method to Find Eigenvalues and Eigenvectors

  1. Write the matrix $A - \lambda I$. Subtract $\lambda$ from each diagonal entry of $A$.
  2. Compute the characteristic polynomial. Calculate $\det(A - \lambda I)$ and set it equal to zero.
  3. Solve for eigenvalues. Solve the characteristic equation $\det(A - \lambda I) = 0$ for $\lambda$.
  4. For each eigenvalue $\lambda$, find eigenvectors. Solve the system $(A - \lambda I)\mathbf{v} = \mathbf{0}$ for the nonzero vector $\mathbf{v}$.

Types of Eigenvalues

Depending on the characteristic equation, we can have three cases:

Case 1: Two Distinct Real Eigenvalues

The characteristic equation has two different real roots $\lambda_1 \neq \lambda_2$. Each eigenvalue has its own eigenvector, and the system exhibits exponential growth or decay.

Case 2: Repeated (Equal) Real Eigenvalues

The characteristic equation has a repeated root $\lambda$ with multiplicity $m > 1$. Depending on the structure of $A$, there may be multiple linearly independent eigenvectors (diagonalizable case) or fewer (Jordan form case). In systems of DEs, this leads to polynomial factors multiplying exponentials.

Case 3: Complex Conjugate Eigenvalues

The characteristic equation has complex roots $\lambda = \alpha \pm \beta i$ (complex conjugate pairs). These lead to oscillatory solutions with exponential envelope: $e^{\alpha t}\cos(\beta t)$ and $e^{\alpha t}\sin(\beta t)$.

Important Note on Eigenvectors

If $\mathbf{v}$ is an eigenvector with eigenvalue $\lambda$, then so is $c\mathbf{v}$ for any nonzero constant $c$. So eigenvectors are not unique—they have arbitrary scaling. We typically normalize them or choose simple integer/rational values.

Worked Examples

Click each example to reveal the complete step-by-step solution.

Solution

Step 1: Write $A - \lambda I$

$$A - \lambda I = \begin{pmatrix} 4 & 1 \\ 2 & 3 \end{pmatrix} - \begin{pmatrix} \lambda & 0 \\ 0 & \lambda \end{pmatrix} = \begin{pmatrix} 4-\lambda & 1 \\ 2 & 3-\lambda \end{pmatrix}$$

Step 2: Compute $\det(A - \lambda I)$

$$\det(A - \lambda I) = (4-\lambda)(3-\lambda) - (1)(2)$$ $$= 12 - 4\lambda - 3\lambda + \lambda^2 - 2$$ $$= \lambda^2 - 7\lambda + 10$$

Step 3: Solve $\det(A - \lambda I) = 0$

$$\lambda^2 - 7\lambda + 10 = 0$$ $$(\lambda - 5)(\lambda - 2) = 0$$

Eigenvalues: $\lambda_1 = 5$ and $\lambda_2 = 2$ (distinct real roots) ✓

Step 4a: Find eigenvector for $\lambda_1 = 5$

Solve $(A - 5I)\mathbf{v} = \mathbf{0}$:

$$\begin{pmatrix} 4-5 & 1 \\ 2 & 3-5 \end{pmatrix}\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \begin{pmatrix} -1 & 1 \\ 2 & -2 \end{pmatrix}\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}$$

From the first row: $-v_1 + v_2 = 0 \Rightarrow v_2 = v_1$

Eigenvector (choosing $v_1 = 1$): $\mathbf{v}_1 = \begin{pmatrix} 1 \\ 1 \end{pmatrix}$

Verification: $A\mathbf{v}_1 = \begin{pmatrix} 4 & 1 \\ 2 & 3 \end{pmatrix}\begin{pmatrix} 1 \\ 1 \end{pmatrix} = \begin{pmatrix} 5 \\ 5 \end{pmatrix} = 5\begin{pmatrix} 1 \\ 1 \end{pmatrix}$ ✓

Step 4b: Find eigenvector for $\lambda_2 = 2$

Solve $(A - 2I)\mathbf{v} = \mathbf{0}$:

$$\begin{pmatrix} 4-2 & 1 \\ 2 & 3-2 \end{pmatrix}\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \begin{pmatrix} 2 & 1 \\ 2 & 1 \end{pmatrix}\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}$$

From the first row: $2v_1 + v_2 = 0 \Rightarrow v_2 = -2v_1$

Eigenvector (choosing $v_1 = 1$): $\mathbf{v}_2 = \begin{pmatrix} 1 \\ -2 \end{pmatrix}$

Verification: $A\mathbf{v}_2 = \begin{pmatrix} 4 & 1 \\ 2 & 3 \end{pmatrix}\begin{pmatrix} 1 \\ -2 \end{pmatrix} = \begin{pmatrix} 2 \\ -4 \end{pmatrix} = 2\begin{pmatrix} 1 \\ -2 \end{pmatrix}$ ✓

Answer:

Eigenvalues: $\lambda_1 = 5$, $\lambda_2 = 2$

Eigenvectors: $\mathbf{v}_1 = \begin{pmatrix} 1 \\ 1 \end{pmatrix}$, $\mathbf{v}_2 = \begin{pmatrix} 1 \\ -2 \end{pmatrix}$

Solution

Step 1: Write $A - \lambda I$

$$A - \lambda I = \begin{pmatrix} 3-\lambda & -2 \\ 1 & 1-\lambda \end{pmatrix}$$

Step 2: Compute $\det(A - \lambda I)$

$$\det(A - \lambda I) = (3-\lambda)(1-\lambda) - (-2)(1)$$ $$= 3 - 3\lambda - \lambda + \lambda^2 + 2$$ $$= \lambda^2 - 4\lambda + 5$$

Wait! Let me recalculate: $(3-\lambda)(1-\lambda) = 3 - 3\lambda - \lambda + \lambda^2 = 3 - 4\lambda + \lambda^2$. Adding $-(-2)(1) = 2$: we get $\lambda^2 - 4\lambda + 5$.

Actually, let me verify this matrix should give a repeated eigenvalue. Let me use $A = \begin{pmatrix} 2 & -1 \\ 1 & 0 \end{pmatrix}$ instead for this example, which has a repeated eigenvalue of $\lambda = 1$.

Revised: Find eigenvalues of $A = \begin{pmatrix} 2 & -1 \\ 1 & 0 \end{pmatrix}$

$$A - \lambda I = \begin{pmatrix} 2-\lambda & -1 \\ 1 & -\lambda \end{pmatrix}$$
$$\det(A - \lambda I) = (2-\lambda)(-\lambda) - (-1)(1) = -2\lambda + \lambda^2 + 1 = \lambda^2 - 2\lambda + 1 = (\lambda - 1)^2$$

Eigenvalue: $\lambda = 1$ (with multiplicity 2) ✓

Step 4: Find eigenvectors for $\lambda = 1$

Solve $(A - I)\mathbf{v} = \mathbf{0}$:

$$\begin{pmatrix} 2-1 & -1 \\ 1 & 0-1 \end{pmatrix}\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \begin{pmatrix} 1 & -1 \\ 1 & -1 \end{pmatrix}\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}$$

From the first row: $v_1 - v_2 = 0 \Rightarrow v_1 = v_2$

Eigenvector (choosing $v_1 = 1$): $\mathbf{v} = \begin{pmatrix} 1 \\ 1 \end{pmatrix}$

Note: Even though the eigenvalue has multiplicity 2, there is only one linearly independent eigenvector (geometric multiplicity 1). This matrix is not diagonalizable.

Answer:

Eigenvalue: $\lambda = 1$ (repeated, multiplicity 2)

Eigenvector: $\mathbf{v} = \begin{pmatrix} 1 \\ 1 \end{pmatrix}$ (unique direction, up to scaling)

Solution

Step 1: Write $A - \lambda I$

$$A - \lambda I = \begin{pmatrix} 1-\lambda & -2 \\ 1 & 3-\lambda \end{pmatrix}$$

Step 2: Compute $\det(A - \lambda I)$

$$\det(A - \lambda I) = (1-\lambda)(3-\lambda) - (-2)(1)$$ $$= 3 - \lambda - 3\lambda + \lambda^2 + 2$$ $$= \lambda^2 - 4\lambda + 5$$

Step 3: Solve the characteristic equation

$$\lambda^2 - 4\lambda + 5 = 0$$

Using the quadratic formula:

$$\lambda = \frac{4 \pm \sqrt{16 - 20}}{2} = \frac{4 \pm \sqrt{-4}}{2} = \frac{4 \pm 2i}{2} = 2 \pm i$$

Eigenvalues: $\lambda_1 = 2 + i$ and $\lambda_2 = 2 - i$ (complex conjugate pair with $\alpha = 2$, $\beta = 1$) ✓

Step 4: Find eigenvector for $\lambda_1 = 2 + i$

Solve $(A - (2+i)I)\mathbf{v} = \mathbf{0}$:

$$\begin{pmatrix} 1-(2+i) & -2 \\ 1 & 3-(2+i) \end{pmatrix}\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \begin{pmatrix} -1-i & -2 \\ 1 & 1-i \end{pmatrix}\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}$$

From the first row: $(-1-i)v_1 - 2v_2 = 0 \Rightarrow v_2 = \frac{-1-i}{2}v_1$

Choosing $v_1 = 2$: $v_2 = -(1+i) = -1-i$

Eigenvector: $\mathbf{v}_1 = \begin{pmatrix} 2 \\ -1-i \end{pmatrix}$ (or any scalar multiple)

For the conjugate eigenvalue $\lambda_2 = 2 - i$:

The eigenvector is the complex conjugate: $\mathbf{v}_2 = \begin{pmatrix} 2 \\ -1+i \end{pmatrix}$

Answer:

Eigenvalues: $\lambda_1 = 2 + i$, $\lambda_2 = 2 - i$

Eigenvectors: $\mathbf{v}_1 = \begin{pmatrix} 2 \\ -1-i \end{pmatrix}$, $\mathbf{v}_2 = \begin{pmatrix} 2 \\ -1+i \end{pmatrix}$

For DEs, these lead to solutions of the form $e^{2t}\cos(t)$ and $e^{2t}\sin(t)$ (with appropriate coefficients).

Solution

Step 1: Write $A - \lambda I$

$$A - \lambda I = \begin{pmatrix} 2-\lambda & 3 \\ 4 & 3-\lambda \end{pmatrix}$$

Step 2: Compute $\det(A - \lambda I)$

$$\det(A - \lambda I) = (2-\lambda)(3-\lambda) - (3)(4)$$ $$= 6 - 2\lambda - 3\lambda + \lambda^2 - 12$$ $$= \lambda^2 - 5\lambda - 6$$

Step 3: Solve the characteristic equation

$$\lambda^2 - 5\lambda - 6 = 0$$ $$(\lambda - 6)(\lambda + 1) = 0$$

Eigenvalues: $\lambda_1 = 6$ and $\lambda_2 = -1$ (distinct real) ✓

Step 4a: Eigenvector for $\lambda_1 = 6$

$$\begin{pmatrix} 2-6 & 3 \\ 4 & 3-6 \end{pmatrix}\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \begin{pmatrix} -4 & 3 \\ 4 & -3 \end{pmatrix}\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \mathbf{0}$$

From the first row: $-4v_1 + 3v_2 = 0 \Rightarrow 3v_2 = 4v_1 \Rightarrow v_2 = \frac{4}{3}v_1$

Choosing $v_1 = 3$: $\mathbf{v}_1 = \begin{pmatrix} 3 \\ 4 \end{pmatrix}$

Step 4b: Eigenvector for $\lambda_2 = -1$

$$\begin{pmatrix} 2-(-1) & 3 \\ 4 & 3-(-1) \end{pmatrix}\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \begin{pmatrix} 3 & 3 \\ 4 & 4 \end{pmatrix}\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \mathbf{0}$$

From the first row: $3v_1 + 3v_2 = 0 \Rightarrow v_1 = -v_2$

Choosing $v_1 = 1$: $\mathbf{v}_2 = \begin{pmatrix} 1 \\ -1 \end{pmatrix}$

Answer:

Eigenvalues: $\lambda_1 = 6$, $\lambda_2 = -1$

Eigenvectors: $\mathbf{v}_1 = \begin{pmatrix} 3 \\ 4 \end{pmatrix}$, $\mathbf{v}_2 = \begin{pmatrix} 1 \\ -1 \end{pmatrix}$

Interactive Eigenvector Visualizer

Adjust the matrix entries below to visualize how the matrix transforms vectors. The red vectors are eigenvectors—notice how they only get scaled (not rotated) by the matrix transformation.

Eigenvalues and Eigenvectors:

Exam-Style Practice Problems

Test your understanding with these practice problems. Click each problem to reveal the step-by-step solution.

Practice 1: Find eigenvalues and eigenvectors of $A = \begin{pmatrix} 5 & -2 \\ 3 & -2 \end{pmatrix}$

Solution

Step 1: Characteristic equation

$$A - \lambda I = \begin{pmatrix} 5-\lambda & -2 \\ 3 & -2-\lambda \end{pmatrix}$$
$$\det(A - \lambda I) = (5-\lambda)(-2-\lambda) - (-2)(3) = -10 - 5\lambda + 2\lambda + \lambda^2 + 6 = \lambda^2 - 3\lambda - 4$$

Step 2: Solve characteristic equation

$$\lambda^2 - 3\lambda - 4 = 0$$ $$(\lambda - 4)(\lambda + 1) = 0$$

Eigenvalues: $\lambda_1 = 4$, $\lambda_2 = -1$

Step 3: Find eigenvectors

For $\lambda_1 = 4$:

$$\begin{pmatrix} 1 & -2 \\ 3 & -6 \end{pmatrix}\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \mathbf{0} \Rightarrow v_1 = 2v_2$$

Eigenvector: $\mathbf{v}_1 = \begin{pmatrix} 2 \\ 1 \end{pmatrix}$

For $\lambda_2 = -1$:

$$\begin{pmatrix} 6 & -2 \\ 3 & -1 \end{pmatrix}\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \mathbf{0} \Rightarrow 6v_1 = 2v_2 \Rightarrow v_2 = 3v_1$$

Eigenvector: $\mathbf{v}_2 = \begin{pmatrix} 1 \\ 3 \end{pmatrix}$

Answer: $\boxed{\lambda_1 = 4, \mathbf{v}_1 = \begin{pmatrix} 2 \\ 1 \end{pmatrix}; \quad \lambda_2 = -1, \mathbf{v}_2 = \begin{pmatrix} 1 \\ 3 \end{pmatrix}}$

Practice 2: Find eigenvalues of $A = \begin{pmatrix} 0 & -4 \\ 1 & 4 \end{pmatrix}$

Solution

Step 1: Characteristic equation

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

Step 2: Solve

$$\lambda^2 - 4\lambda + 4 = 0$$ $$(\lambda - 2)^2 = 0$$

Eigenvalue: $\lambda = 2$ (repeated, multiplicity 2)

Step 3: Find eigenvector

$$\begin{pmatrix} -2 & -4 \\ 1 & 2 \end{pmatrix}\begin{pmatrix} v_1 \\ v_2 \end{pmatrix} = \mathbf{0}$$

From first row: $-2v_1 - 4v_2 = 0 \Rightarrow v_1 = -2v_2$

Eigenvector: $\mathbf{v} = \begin{pmatrix} -2 \\ 1 \end{pmatrix}$ (or $\begin{pmatrix} 2 \\ -1 \end{pmatrix}$)

Answer: $\boxed{\lambda = 2 \text{ (repeated)}, \quad \mathbf{v} = \begin{pmatrix} 2 \\ -1 \end{pmatrix}}$

Practice 3: Find eigenvalues of $A = \begin{pmatrix} 2 & -5 \\ 1 & 2 \end{pmatrix}$

Solution

Step 1: Characteristic equation

$$\det(A - \lambda I) = \begin{vmatrix} 2-\lambda & -5 \\ 1 & 2-\lambda \end{vmatrix} = (2-\lambda)^2 + 5 = \lambda^2 - 4\lambda + 4 + 5 = \lambda^2 - 4\lambda + 9$$

Step 2: Solve using quadratic formula

$$\lambda = \frac{4 \pm \sqrt{16 - 36}}{2} = \frac{4 \pm \sqrt{-20}}{2} = \frac{4 \pm 2i\sqrt{5}}{2} = 2 \pm i\sqrt{5}$$

Answer: $\boxed{\lambda = 2 \pm i\sqrt{5}}$ (complex conjugate pair with $\alpha = 2$, $\beta = \sqrt{5}$)