Systems of Linear Equations
Definition
A system of linear equations is a collection of equations in unknowns :
Intuition
Each equation defines a hyperplane in ; the solution set is the intersection of all those hyperplanes. The system either has no solution (planes don’t all meet), exactly one solution (planes meet at a point), or infinitely many (planes overlap along a line or subspace) — the rank of determines which case holds.
Formal Description
In matrix form, the system is written as , where is the coefficient matrix, is the vector of unknowns, and is the right-hand side vector.
Existence and uniqueness of solutions depends on the rank of and the augmented matrix :
- No solution (inconsistent): .
- Unique solution: .
- Infinitely many solutions: .
For a square system (), a unique solution exists if and only if is invertible (i.e., ), in which case .
Applications
- Foundation of virtually every quantitative field: physics, engineering, data fitting, and optimisation all reduce to solving .
- Underpins LU Decomposition and Computing Inverses.
Trade-offs
- Consistency must be checked before assuming a solution exists; blind application of a solver may silently return a least-squares approximation rather than an exact solution.
- Direct inversion () is numerically inferior to factorisation-based methods for large .
- Rank determination is sensitive to floating-point errors; a numerically small pivot may reflect near-singularity.