A linear system is a finite list of equations in the same unknowns, written $Ax=b$ with $A\in\mathbb F^{m\times n}$. A solution must satisfy every equation. The system is consistent iff $b\in\operatorname{Col}A$. If consistent, its solution set is $x_p+\ker A$, an affine space of dimension $n-\operatorname{rank}A$.

Over $\mathbb R$ or $\mathbb C$, there are zero, one, or infinitely many solutions. Over a finite field with $q$ elements, a consistent system has $q^{n-r}$ solutions, where $r=\operatorname{rank}A$.

Start with [terminology](https://knowen.md/nodes/23412), then [Gaussian elimination](https://knowen.md/nodes/23421), [free variables](https://knowen.md/nodes/23443), and [solution structure](https://knowen.md/nodes/23444).