Idea: Directions a matrix keeps
An eigenvector is a direction the matrix only scales: , with eigenvalue .
- The top eigenvalue of a covariance matrix is the strongest factor's variance
- Find them from
- Check with the trace and the determinant
Formula: Eigenvalues of a 2 × 2
Their sum is the trace, the sum of the diagonal, and their product is the determinant.
Example: Largest eigenvalue by hand
What is the largest eigenvalue of ?
- That is
- Trace check ; the largest is
Idea: Triangular: read the diagonal
If every entry below the diagonal is zero, the eigenvalues are the diagonal entries.
- : , ,
- Sum is the trace
- Product is the determinant
Quick check: A row that helps
What is the largest eigenvalue of ?
Show the answer
Answer:
Expand along row : , roots , and ; trace agrees.
Common mistake: Row operations destroy eigenvalues
Turning into keeps the determinant , but and are not the eigenvalues.
Instead Read eigenvalues off a diagonal only when the matrix you started with is triangular.
Example: Solve by elimination
Solve , , . What is ?
- Second minus twice the first: , so
- Third minus first: ; then , ,
- First equation:
Formula: Cramer's rule
Replace the unknown's column by the right side, take that determinant, divide by det(A).
Quick check: Cramer in 2 lines
Solve and by Cramer's rule. What is ?
Show the answer
Answer:
, so .
Idea: With the clock running
For eigenvalues, look for a triangle or a helpful row before you expand.
- Confirm with the trace and the determinant
- If : no solution or infinitely many
- For a system, substitute the answer back into an equation
Courses / Calculus and linear algebra refresher