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

  1. Vector Addition

    entry-by-entry vector addition and subtraction

  2. Scalar Multiplication

    one scalar applied to every component

  3. Dot Product

    component products followed by a sum

  4. Vector Magnitude

    square, sum, then take the square root

  5. Matrix Addition

    matching positions in matrix arithmetic

  6. Matrix Transpose

    rows become columns and columns become rows

Gaussian Elimination

  1. Gaussian Elimination on a 3×3 System

    row reduction of a three-variable system

  2. Row Echelon Form

    pivots and zeros below them

  3. Reduced Row Echelon Form

    leading ones with cleared pivot columns

  4. Back Substitution

    bottom-up solution of triangular systems

  5. Inconsistent System

    a contradictory row means no solution

  6. Infinite Solutions

    free variables and parametric solution sets

Matrix Multiplication

  1. Identity Matrix

    the multiplicative identity for matrices

  2. Matrix-Vector Product

    one dot product per output component

  3. Matrix Multiplication (2×2)

    four row-column products

  4. Matrix Multiplication (2×3 · 3×2)

    inner dimensions agree, outer dimensions remain

  5. Matrix Power

    repeated products of a square matrix

Determinants

  1. Determinant of a 2×2 Matrix

    main diagonal product minus the other product

  2. Determinant by Cofactor Expansion

    entries, signs, and minors

  3. Determinant via Row Reduction

    triangularization and determinant-preserving steps

  4. Determinant of a Triangular Matrix

    the diagonal product shortcut

Matrix Inverse

  1. Inverse of a 2×2 Matrix (Adjugate Method)

    adjugate divided by determinant

  2. Inverse via Gauss-Jordan Elimination

    from [A | I] to [I | A inverse]

  3. Solve a System Using the Matrix Inverse

    x equals A inverse times b

Vector Spaces

  1. Linear Combination

    coefficients from an augmented system

  2. Span Check

    consistency decides membership in a span

  3. Rank from RREF

    count independent pivots

  4. Linear Independence

    rank equals column count for independence

  5. Basis Check

    the right number of independent vectors

Eigenvalues and Eigenvectors

  1. Characteristic Polynomial

    lambda squared minus trace times lambda plus determinant

  2. Eigenvalues of a 2×2 Matrix

    roots of the characteristic quadratic

  3. Eigenvectors of a 2×2 Matrix

    null-space vectors for each eigenvalue

  4. Diagonalization of a 2×2 Matrix

    eigenvector columns and a diagonal spectrum

  5. Repeated Eigenvalue and Defective Matrices

    when two independent eigenvectors do not exist