Problem-solving recipes
A step-by-step procedure for every problem type this course teaches — what to do first, what to do next, and how to tell which case you're in.
What are you being asked to do?
Start with what you're actually being asked to produce.
A polynomial or a complex inner product — readiness review: factor a polynomial and find each root's multiplicity, or compute \langle u, v\rangle.
A general vector space fact — solve a linear equation over \mathbb F_p, prove a set of functions is linearly independent, apply the subspace dimension formula, verify V=U\oplus W, construct a complement and project onto it, or compute with cosets in V/W.
A linear map or operator — verify an identity in L(V,W), build block-triangular form from an invariant subspace, evaluate a polynomial at an operator, or confirm nilpotency and find the smallest k.
Duality — construct a dual basis, find a basis for an annihilator, apply the annihilator dimension formula, find the matrix of a dual map, or compute T^* on a functional.
A bilinear, quadratic, or Hermitian form — evaluate a bilinear form, compute a new Gram matrix by congruence, classify a quadratic form by signature, or find an orthogonal complement under the form.
An inner product space — compute an inner product and check positive definiteness, find coordinates relative to an orthonormal basis, find the closest point in a subspace, or find the Riesz vector for a functional.
Spectral theory — find a complex eigenvalue and eigenvector, find the minimal polynomial, or build a spectral decomposition.
Canonical forms — determine diagonalizability via multiplicities, find the smallest k for a generalized eigenvector, find a nilpotent operator's partition, decompose a vector via primary decomposition, or build the rational canonical form.
A function of a matrix, or a linear system's stability — evaluate a polynomial via Horner's method, compute a function of a diagonalizable matrix or a Jordan block, compute e^{tA}, compute a matrix logarithm or square root, or classify a linear system from trace and determinant.
A pseudoinverse, or the SVD — compute a pseudoinverse via the SVD, find singular values by maximization, assess rank and conditioning, compute a truncated SVD's error, choose a rank for low-rank approximation, or run PCA via the SVD.
Spectral geometry or optimization — find a conic's principal axes, find an ellipsoid's semi-axes, test definiteness via leading principal minors, compute or bound a Rayleigh quotient, or solve a generalized eigenvalue problem.
Operators, norms, or perturbation — compute an operator norm, apply the Neumann series, or assess eigenvalue error from a residual.
Multilinear or exterior algebra — test whether a tensor is pure, classify and transform a tensor by type, compute a wedge product and confirm antisymmetry, compute an exterior power's dimension, work with the full Grassmann algebra, or determine orientation and unsigned volume.
Readiness
Vector spaces over a field
Construct a complement of U and project a vector along it
Use when: you have a subspace U and either need a valid complement W, or need to project a specific vector onto U along a given W
Goal: a verified complement W, or a vector's unique split into its U-part and its W-part along that complement
Complements and the projections they define
A direct-sum decomposition where one summand is chosen deliberately, as a complement.
Linear maps and the algebra of operators
Duality
Apply the annihilator dimension formula
Use when: you know two of \dim V, \dim W, \dim(W^{\circ}) and need the third, or want to relate \dim(W^{\circ\circ}) back to \dim W
Goal: the missing dimension, or the double-annihilator identity, without ever constructing a basis of W or W^{\circ}
Annihilators and dimension
Solves the same identity a basis for the annihilator, from the recipe above, would let you find directly -- but needs no basis at all.
Bilinear, quadratic, and Hermitian forms
Classify a real quadratic form by its signature
Use when: you have a real quadratic form, diagonal or not, and need to know how many positive, negative, and zero squares it reduces to, plus its standard classification
Goal: the signature (p,q,r) and the matching name: positive definite, negative definite, indefinite, or degenerate
Signature and the classification of real quadratic forms
Often computed via the same congruence transformation as the recipe above.
Inner product spaces and adjoints
Find the closest point in a subspace, and the minimum distance to it
Use when: the problem gives a subspace W and a vector \mathbf v, then asks for the closest point in W, the minimum distance to it, or a proof that no point of W beats a stated distance
Goal: the exact minimum distance from \mathbf v to W, backed by a proof no other point of W can do better
Orthogonal projection and best approximation
Needs an orthonormal (or orthogonal) basis of the subspace, from the recipe above.
Find the Riesz vector for a linear functional
Use when: you have a linear functional \varphi on a finite-dimensional inner product space and need the single vector \mathbf w with \varphi(\mathbf v)=\langle\mathbf v,\mathbf w\rangle for every \mathbf v
Goal: the unique vector \mathbf w representing \varphi, confirmed to reproduce \varphi on every input
The Riesz representation theorem
Also built on an orthonormal basis, to write the functional's coordinates as a vector.
Spectral theory
Canonical forms
Build the rational canonical form from the characteristic and minimal polynomials
Use when: you know T's characteristic polynomial p_T and minimal polynomial m_T and need T's invariant factors, elementary divisors, or its rational canonical form
Goal: the full list of invariant factors, assembled into companion-matrix blocks that build the rational canonical form
Rational canonical form, invariant factors, and elementary divisors
Draws on the minimal polynomial and the nilpotent partition, from earlier recipes.
Polynomial and functional calculus
Compute a function of a Jordan block
Use when: you need f(A) for an operator A that isn't diagonalizable, given A's Jordan form, and f has enough derivatives at each eigenvalue
Goal: f(J) for each Jordan block, assembled and conjugated back into f(A)
Functions of a general matrix, via Jordan blocks
The non-diagonalizable counterpart to the recipe above.
Compute e^{tA} using the Jordan-Chevalley decomposition
Use when: you need e^{tA} for an operator A and have (or can find) its Jordan-Chevalley decomposition A=S+N, with S,N commuting, S diagonalizable and N nilpotent
Goal: the closed-form matrix e^{tA}=e^{tS}e^{tN}, with each factor computed by an already-known, easier method
The matrix exponential
A specific function (the exponential) via the same Jordan-block machinery.
Compute a matrix logarithm or square root
Use when: you need \log A or \sqrt A for a diagonalizable matrix A
Goal: the matrix \log A or \sqrt A, correctly flagged as real, complex, or undefined based on A's eigenvalues
Matrix logarithms and square roots
Uses the same diagonalizable-function machinery, run in reverse.
The singular value decomposition
Choose a rank for low-rank approximation
Use when: you know A's singular values (or its dimensions) and need either the storage cost at a chosen rank k, or the smallest k meeting a target relative error
Goal: a rank k (or the cost and error that rank produces), decided from the singular value spectrum alone, with no approximation ever built first
Low-rank approximation in practice
Uses the truncation-error formula from the recipe above, run in reverse.
Spectral geometry and optimization
Bound or confirm the extreme eigenvalues using the Rayleigh quotient
Use when: you want to estimate, bound, or confirm \lambda_{\max} or \lambda_{\min} of a symmetric matrix without first solving the full characteristic equation
Goal: a certified lower bound on \lambda_{\max} (or upper bound on \lambda_{\min}), tightened to an exact value once a genuine eigenvector turns up
Rayleigh-Ritz and the extreme eigenvalues
Needs the Rayleigh quotient itself, from the recipe above.
Solve a generalized eigenvalue problem
Use when: you're asked to maximize or minimize x^{\mathsf T}Ax subject to x^{\mathsf T}Bx=1, or directly to solve Ax=\lambda Bx, with B symmetric positive definite
Goal: every generalized eigenvalue and its matching eigenvector, normalized against B rather than against the identity
Constrained quadratic optimization and the generalized eigenvalue problem
A B-weighted version of the same extreme-eigenvalue bounding above.
Operators, norms, and infinite dimensions
Multilinear and exterior algebra
Work with the full Grassmann algebra \Lambda V
Use when: you're asked either for \dim(\Lambda V), the total dimension of the full exterior algebra, or to say what a differential k-form adds beyond this chapter's own \Lambda^k(V^{*})
Goal: the numeric total 2^n, or a one-line statement of the smooth-variation ingredient a differential form adds
The Grassmann algebra and where differential forms pick up
Combines every exterior power from the recipe above into one structure, and names the boundary with a later course's differential forms.