Back

Linear Algebra --- Lecture 12—13 Study Notes

Topics Covered

  • Vector Norms
  • Frobenius Norm
  • Determinants
  • Eigenvalues
  • Eigenvectors
  • Characteristic Polynomial
  • Finding Eigenvalues
  • Finding Eigenvectors
  • Practice Problems

Vector Norms

Definition

A norm measures the length or magnitude of a vector.

Key Points

L1 Norm (Manhattan Norm)

x1=ixi\|x\|_1=\sum_i |x_i|

L2 Norm (Euclidean Norm)

x2=ixi2\|x\|_2=\sqrt{\sum_i x_i^2}

The L2 norm represents the shortest distance from the origin.

Example

Let

x=[142]x=\begin{bmatrix} -1\\ 4\\ 2 \end{bmatrix}

L1 Norm

x1=1+4+2=7\|x\|_1=|-1|+|4|+|2|=7

L2 Norm

x2=(1)2+42+22=21\|x\|_2=\sqrt{(-1)^2+4^2+2^2} =\sqrt{21}

Frobenius Norm

Definition

The Frobenius norm is the matrix version of the L2 norm.

AF=ijaij2\|A\|_F= \sqrt{\sum_i\sum_j a_{ij}^2}

Example

A=[120010003]A= \begin{bmatrix} 1&2&0\\ 0&1&0\\ 0&0&3 \end{bmatrix} AF=12+22+12+32=15\|A\|_F= \sqrt{1^2+2^2+1^2+3^2} = \sqrt{15}

Determinants

2×2 Matrix

abcd=adbc\begin{vmatrix} a&b\\ c&d \end{vmatrix} =ad-bc

3×3 Matrix

Expand along any row or column using cofactors.

Important Facts

If

A=0|A|=0

then

  • Matrix is singular.
  • A1A^{-1} does not exist.
  • Columns are linearly dependent.
  • No unique solution exists.

Eigenvalues and Eigenvectors

Definition

If

Av=λvAv=\lambda v

then

  • vv is an eigenvector.
  • λ\lambda is the corresponding eigenvalue.

Finding Eigenvalues

Move all terms to one side.

Av=λvAv=\lambda v AvλIv=0Av-\lambda Iv=0 (AλI)v=0(A-\lambda I)v=0

For non-zero solutions,

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

This equation is called the Characteristic Polynomial.


Example

Let

A=[2112]A= \begin{bmatrix} 2&1\\ 1&2 \end{bmatrix}

Characteristic equation

2λ112λ=0\left| \begin{matrix} 2-\lambda&1\\ 1&2-\lambda \end{matrix} \right| =0 (2λ)21=0(2-\lambda)^2-1=0 λ24λ+3=0\lambda^2-4\lambda+3=0 (λ3)(λ1)=0(\lambda-3)(\lambda-1)=0

Eigenvalues

λ=3,  1\lambda=3,\;1

Finding Eigenvectors

For each eigenvalue solve

(AλI)v=0(A-\lambda I)v=0

For

λ=3\lambda=3

the eigenvector is

[11]\begin{bmatrix} 1\\ 1 \end{bmatrix}

For

λ=1\lambda=1

the eigenvector is

[11]\begin{bmatrix} -1\\ 1 \end{bmatrix}

General Procedure

  1. Compute AλIA-\lambda I
  2. Find AλI|A-\lambda I|
  3. Solve characteristic polynomial
  4. Find eigenvalues
  5. Substitute each eigenvalue into (AλI)v=0(A-\lambda I)v=0
  6. Solve for eigenvectors

Common Mistakes

  • Forgetting the identity matrix.
  • Incorrect determinant calculations.
  • Mixing eigenvalues with eigenvectors.
  • Forgetting eigenvectors are any non-zero scalar multiple.

Short Exam Notes

  • Av=λvAv=\lambda v
  • Characteristic equation:
AλI=0|A-\lambda I|=0
  • Solve determinant first.
  • Then compute eigenvectors.
  • If A=0|A|=0, inverse does not exist.