Linear Algebra: Eigenvalues
Definition
Section titled “Definition”An eigenvalue of a matrix is a scalar such that
for some nonzero vector , called the eigenvector.
Finding Eigenvalues
Section titled “Finding Eigenvalues”We solve the characteristic equation:
Example
Section titled “Example”Let .
So , .
Computing with NumPy
Section titled “Computing with NumPy”import numpy as np
A = np.array([[4, 1], [2, 3]])
eigenvalues, eigenvectors = np.linalg.eig(A)print(f"Eigenvalues: {eigenvalues}")print(f"Eigenvectors:\n{eigenvectors}")Eigenvalues: [5. 2.]Eigenvectors:[[ 0.70710678 -0.4472136 ] [ 0.70710678 0.89442719]]Key Properties
Section titled “Key Properties”- The trace of equals the sum of eigenvalues:
- The determinant equals the product:
- A matrix is invertible iff no eigenvalue is zero
- Symmetric matrices have real eigenvalues and orthogonal eigenvectors
Flashcards
Section titled “Flashcards”What is the characteristic equation of a matrix ?
1 / 5
Test Your Knowledge
Question 1 of 4
What are the eigenvalues of (the identity matrix)?
Further Reading
Section titled “Further Reading”- Gilbert Strang, Introduction to Linear Algebra, Chapter 6
- 3Blue1Brown: Eigenvectors and Eigenvalues