A linear system contains two kinds of data: the coefficients attached to the variables, and the constants on the right-hand side. When we solve the system, the variables, plus signs, and equality signs stay in the same pattern; what changes are the numerical entries.
That is why augmented matrices matter. They let us store exactly the data that row operations modify, without rewriting every variable symbol after each step.
Why the augmented matrix is the right package
Consider a system of m linear equations in n unknowns:
The source notes rewrite this system in three parallel ways:
- as a list of equations;
- as a matrix equation ;
- as a single augmented matrix
[A|b].
Definition
Coefficient matrix, constant vector, and augmented matrix
For a system :
- is the coefficient matrix;
bis the vector of constants;[A|b]is the augmented matrix, formed by placing the constant column beside the coefficient matrix.
The vertical bar is bookkeeping. It reminds you which column came from the right-hand side, but it does not create a new kind of matrix operation.
There is also a useful column-vector reading. If the columns of are , then
This matters later when we study span and column space. For now, it already explains why a linear system can be read either row by row or column by column.
Worked example
Write one system in all three forms
Consider
Its coefficient matrix and constant vector are
So the system may be written as , where
and its augmented matrix is
The three elementary row operations
The local notes define exactly three row operations:
- swap two rows;
- multiply one row by a nonzero scalar;
- add a multiple of one row to another row.
The phrase “nonzero” in operation 2 is essential. Multiplying a row by 0
would erase the equation instead of rewriting it equivalently, so it would no
longer be reversible.
Definition
Elementary row operations
The allowed operations on an augmented matrix are:
- , where
These are called elementary row operations.
Why these operations preserve the solution set
The serious point is not that row operations make a matrix “look nicer.” The serious point is that they preserve the set of solutions.
Theorem
Row-equivalent augmented matrices represent equivalent systems
If one augmented matrix is obtained from another by a sequence of elementary row operations, then the two corresponding systems are equivalent: they have exactly the same solution set.
Proof
Why each elementary row operation is safe
The local notes also stress reversibility. This is worth remembering because it separates genuine equivalence moves from destructive shortcuts.
Read each row operation as an equation operation
When you apply a row operation, do not think “I am changing numbers in a table.” Think “I am rewriting one equation using another equation.”
Worked example
Interpret elimination before you memorize it
Start from
Apply
The new augmented matrix is
This is not magic. It simply means:
- equation 2 is replaced by “equation 2 minus equation 1”;
- equation 3 is replaced by “equation 3 minus
2times equation 1.”
So the same system is now being read in a form where the first variable is already eliminated from the lower rows. The problem has not changed; only its presentation has changed.
The next note studies Gaussian elimination in detail. At the current stage, the important idea is more basic: an augmented matrix is a compact record of the same system, and row operations are legitimate because they preserve the solution set.
A practical solving strategy
The source notes summarize the matrix method in three steps:
- write the system as an augmented matrix;
- perform row operations to reach a simpler matrix;
- translate the simpler matrix back into equations, or read the answers from a sufficiently simple form.
This strategy is easy to say, but it becomes reliable only when you keep asking what each step is preserving and what structural feature you are trying to create.
Use the explorer below to connect the symbolic row operations with the changing system they represent.
Read and try
Translate one system into a matrix
The live explorer highlights how each equation becomes one matrix row plus one constant entry.
System
- x + 2y = 5
- 3x - y = 4
Result
| 1 | 2 | 5 |
| 3 | -1 | 4 |
Common mistakes and subtle points
Common mistake
The bar in [A|b] is not a wall you may ignore
The last column belongs to the same system. If you apply a row operation to the coefficient entries but leave the constants untouched, you are no longer rewriting the same system.
Common mistake
Multiplying a row by 0 is not an allowed move
The allowed scaling operation requires a nonzero scalar. Multiplying by 0
throws away the equation and is not reversible, so it does not preserve
equivalence.
Common mistake
A row operation changes equations, not variables
Row operations combine equations with one another. They do not mean "replace by something else" or "change the meaning of the unknowns."
Quick checks
Quick check
Why is not an allowed row operation?
Answer in terms of reversibility and loss of information.
Solution
Answer
Quick check
If two equations are swapped, does the system get a different solution set?
Do not think about appearance only. Think about what it means to solve all the equations simultaneously.
Solution
Answer
Exercises
Quick check
Write the augmented matrix for the system , , .
Keep the columns in the order , even when a variable does not appear in a given equation.
Solution
Guided solution
Quick check
Using the same system, which single row operation eliminates the term from the first equation, and what new first equation do you get?
The coefficient of in equation 1 is , while the coefficient in
equation 2 is 1.
Solution
Guided solution
Read this first
This page builds on 1.1 Equations and solution sets and 2.1 Matrix basics, and it prepares the elimination viewpoint used in 2.3 Gaussian elimination and RREF.