Linear Algebra Step by Step
Work with vectors, matrices, linear systems, determinants, inverses, vector spaces and eigenstructure through exact steps on a blackboard. Edit a problem or try a fresh one.
34 of 34 pages rewritten with worked steps; the others open the old page.
Vectors and Matrices
- Vector Addition
entry-by-entry vector addition and subtraction
- Scalar Multiplication
one scalar applied to every component
- Dot Product
component products followed by a sum
- Vector Magnitude
square, sum, then take the square root
- Matrix Addition
matching positions in matrix arithmetic
- Matrix Transpose
rows become columns and columns become rows
Gaussian Elimination
- Gaussian Elimination on a 3×3 System
row reduction of a three-variable system
- Row Echelon Form
pivots and zeros below them
- Reduced Row Echelon Form
leading ones with cleared pivot columns
- Back Substitution
bottom-up solution of triangular systems
- Inconsistent System
a contradictory row means no solution
- Infinite Solutions
free variables and parametric solution sets
Matrix Multiplication
- Identity Matrix
the multiplicative identity for matrices
- Matrix-Vector Product
one dot product per output component
- Matrix Multiplication (2×2)
four row-column products
- Matrix Multiplication (2×3 · 3×2)
inner dimensions agree, outer dimensions remain
- Matrix Power
repeated products of a square matrix
Determinants
- Determinant of a 2×2 Matrix
main diagonal product minus the other product
- Determinant by Cofactor Expansion
entries, signs, and minors
- Determinant via Row Reduction
triangularization and determinant-preserving steps
- Determinant of a Triangular Matrix
the diagonal product shortcut
Matrix Inverse
- Inverse of a 2×2 Matrix (Adjugate Method)
adjugate divided by determinant
- Inverse via Gauss-Jordan Elimination
from [A | I] to [I | A inverse]
- Solve a System Using the Matrix Inverse
x equals A inverse times b
Vector Spaces
- Linear Combination
coefficients from an augmented system
- Span Check
consistency decides membership in a span
- Rank from RREF
count independent pivots
- Linear Independence
rank equals column count for independence
- Basis Check
the right number of independent vectors
Eigenvalues and Eigenvectors
- Characteristic Polynomial
lambda squared minus trace times lambda plus determinant
- Eigenvalues of a 2×2 Matrix
roots of the characteristic quadratic
- Eigenvectors of a 2×2 Matrix
null-space vectors for each eigenvalue
- Diagonalization of a 2×2 Matrix
eigenvector columns and a diagonal spectrum
- Repeated Eigenvalue and Defective Matrices
when two independent eigenvectors do not exist