Solving a Linear System
We begin with a deceptively simple question that every undergraduate student encounters in their first linear algebra course: solving the linear system
If the equation above is satisfied for some
This reformulation, however, does not yet yield a computationally tractable problem: we are left with
Dimension Reduction
The remedy is conceptually straightforward: restrict the space in which
Recall the Quantum Dissipative System post, where orthogonal projectors
The present strategy is analogous, with one key difference: here we have precise control over the dimensions being discarded. We change the basis by defining
The linear system then reduces to
or in compact form:
where
The number of equations drops to
Choosing
Opening any numerical-methods textbook reveals a wealth of algorithms for solving linear systems — gradient descent, Lanczos, Krylov subspace methods, and so on. Despite their apparent diversity, all of these methods share a common thread: they approximate the exact solution by making different choices of
Connection with PDE Weak Solution Theory
The passage from strong to weak form in PDE theory follows precisely the same logic. Consider, for instance the Poisson equation,
To obtain a numerical solution, one applies the Ritz–Galerkin projection, discretizing the problem on a finite-dimensional subspace