A linear system of m equations in n unknowns x1,x2,…,xn is a set of equations of the form
a11x1+a12x2+⋯+a1nxna21x1+a22x2+⋯+a2nxn⋮am1x1+am2x2+⋯+amnxn=b1=b2=bm
where aij,bi∈R for 1≤i≤m and 1≤j≤n.
In matrix form, Ax=b, where
A=a11a21⋮am1a12a22⋮am2⋯⋯⋱⋯a1na2n⋮amn,x=x1x2⋮xn,b=b1b2⋮bm
Here:
- A: coefficient matrix
- [A∣b]: augmented matrix
Ax=b has exactly one of 3 outcomes:
- A unique solution.
- Infinitely many solutions.
- No solution.
Homogeneity
The system is homogeneous iff b=0. Otherwise it’s non-homogeneous.
For a system Ax=b, the system Ax=0 is its associated homogeneous system.
Methods
Numerical methods for solving linear systems split into 2 classes:
Direct
Yield the exact solution in a finite number of steps, in the absence of round-off error.
Iterative
Useful for special, very large matrices.