A system of linear equations is a set of two or more linear relations that share the same variables. Each equation expresses a straight-line relationship between variables and constants. Systems arise when several constraints must be satisfied simultaneously and provide the foundation for much of linear algebra and applied mathematics. For basic context see mathematics, and for the single-equation building blocks see linear equations. The unknown quantities in these equations are the variables they have in common.

Characteristics and canonical forms

Systems can be written in several equivalent ways: as a list of equations, in augmented matrix form, or compactly using matrix notation A x = b. Important characteristics include the number of equations versus variables, coefficient structure (sparse or dense), and whether coefficients are numbers from real, complex, or other fields. The solution set falls into one of three categories: a single unique solution, no solution (inconsistent), or infinitely many solutions (dependent).

Common solution methods

People solve linear systems with hand and computer techniques. Elementary approaches include substitution and elimination for small systems. Systematic methods used in classrooms and software include Gaussian elimination, Gauss-Jordan reduction, LU decomposition, and methods drawing on determinants like Cramer's rule (limited to square nonsingular systems). For large or structured systems, iterative methods such as Jacobi, Gauss–Seidel, and conjugate gradient are important in numerical computing.

Brief history and development

Solving simultaneous linear relations dates back to ancient civilizations that solved multiple unknowns in practical problems. The algebraic formalism evolved over centuries into modern matrix and vector representations, which clarified existence and uniqueness through rank and linear independence concepts. The 19th and 20th centuries saw the rise of systematic linear algebra and numerical analysis to handle increasingly complex and large-scale systems.

Applications and examples

Systems of linear equations model many practical problems: circuit analysis, structural mechanics, economic equilibrium, image processing, and data fitting. A simple example is two equations in two unknowns such as x + 2y = 5 and 3x - y = 4, which can be solved by elimination to find the pair (x,y) that satisfies both constraints simultaneously. In engineering and science, large systems produced by discretizing physical models are solved with optimized numerical libraries.

Distinctions and notable facts

  • Rank determines consistency: if the augmented matrix has greater rank than the coefficient matrix, the system is inconsistent.
  • Square systems (same number of independent equations and unknowns) may be nonsingular (unique solution) or singular (no or many solutions).
  • Practical computation emphasizes stability, sparsity, and efficiency when choosing algorithms for large-scale problems.