A linear equation in unknowns is . Stack of them and you have an linear system:
Definition · Consistency
A solution is an ordered -tuple satisfying every equation. The system is consistent if at least one solution exists and inconsistent if none does. The set of all solutions is the solution set.
★Only three outcomes
For a system each equation is a line: the lines meet at a point (one solution), are parallel (none), or coincide (infinitely many). The same trichotomy holds for every system — exactly one, none, or infinitely many. If you ever produce 'exactly 2 solutions' on an exam, you've made an arithmetic error.
Equivalent systems
Definition
Two systems in the same variables are equivalent if they have the same solution set. Three operations always produce an equivalent system:
- 1Interchange two equations (rows).
- 2Multiply an equation by a nonzero real number.
- 3Add a multiple of one equation to another.
!Exam trap
Operation II fails if the scalar is : you'd replace a real constraint by and potentially gain solutions. That 'nonzero' is not decoration — it's exactly why these three operations are reversible, which is what makes the systems equivalent.
Triangular form and back substitution
Definition · Strict triangular form
A system is strictly triangular if in the th equation the coefficients of the first variables are zero and the coefficient of is nonzero. Equivalently: the coefficient matrix is upper triangular with no zeros on the diagonal.
Such a system unravels from the bottom: solve the last equation for , substitute upward, repeat. Every value is forced, so the solution is unique. The whole point of Gaussian elimination is to manufacture this shape.
Worked example
0/5 stepsElimination to triangular form
Solve the system by row reducing the augmented matrix.
→Shortcut
Choose your pivot to keep the arithmetic clean. If the top-left entry is or ugly, swap rows first (operation I) — that's free and it's exactly what the algorithm allows.
Check your work
Row reduction / rank / null space
Exact fraction arithmetic — type entries like 3, -2, or 1/2. One row per line.
| 1 | 2 | -1 | 1 |
| 2 | 4 | -3 | 0 |
| 1 | 2 | 1 | 5 |
| 1 | 2 | 0 | 3 |
| 0 | 0 | 1 | 2 |
| 0 | 0 | 0 | 0 |
rank
2
nullity
2
cols (n)
4
pivot cols
1, 3
Basis for N(A)
| -2 |
| 1 |
| 0 |
| 0 |
| -3 |
| 0 |
| -2 |
| 1 |
Basis for the column space — original columns 1, 3
| 1 |
| 2 |
| 1 |
| -1 |
| -3 |
| 1 |
Row reduce anything and compare against your hand work step by step.
Check yourself
Q1
A system of linear equations in unknowns is found to have two distinct solutions. How many solutions does it have in total?
T / F
Multiplying one equation of a system by produces an equivalent system.
T / F
If an system can be reduced to strict triangular form, it has exactly one solution.