Euler Hall — free maths guides

Write the augmented matrix of a system

Write the augmented matrix with one row per equation and a zero for every missing variable. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.

Plain words first

From

2x+3y=19,4x+11y=552x+3y=19,\qquad 4x+11y=55

build

[231941155].\left[\begin{array}{cc|c}2&3&19\\4&11&55\end{array}\right].

Three rules, and every mark lost on this skill comes from one of them:

1. One row per equation. The first equation is row 1, the second is row 2. 2. One column per variable, in a fixed order. Column 1 is the coefficient ofxx, column 2 ofyy, and so on. A variable missing from an equation gets a00 in its column — it does not shift the others along. 3. *bb is the last column, past the bar.** The bar is a bookmark: it says "this column is the other side of the equals sign". It does not stop the column moving when a row moves.

Why keep the zeros

A row of an augmented matrix is read positionally: entryjj belongs to variablejj because of where it is, not because of what it equals. Ifyy is absent from an equation and you write the row as1,3,41,3,4, then position 2 reads yy has coefficient33" — a different system.

The same positional convention is why the matrix is the right object for row operations. An operation adds one row to another position by position, which is exactly "add one equation to another term by term". If the positions were compressed, adding two rows would add coefficients of different variables.

And the bar is why the right-hand side is never forgotten. Every operation is applied to the whole row, and the bar marks which column is the output rather than an input — a distinction that matters when you later ask whether the system is consistent.

Worked example, both directions

Augmented matrix

[1−25311]\left[\begin{array}{cc|c}1&-2&5\\3&1&1\end{array}\right]

is the systemx−2y=5x-2y=5 and3x+y=13x+y=1.

Solving it: eliminatexx from row 2 by subtracting3×3\times row 1, giving0x+7y=−140x+7y=-14, soy=−2y=-2. Back substitute:x−2(−2)=5x-2(-2)=5, sox=1x=1.

Check in the original second equation:3⋅1+(−2)=13\cdot1+(-2)=1. ✓

Note the operations were applied to the last column too. That is not optional — it is what the bar is there to make habitual.

By the end you can
  • Write the augmented matrix with one row per equation and a zero for every missing variable
  • Read one equation back out of an augmented matrix
  • State the shape of the augmented matrix from the counts of equations and unknowns
Check yourself

A system has44 equations in33 unknowns. Give the shape of its augmented matrix, and say how many entries a single row operation touches.

Answer

Shape4×44\times4: four rows for the equations, three coefficient columns plus one forbb.

A single row operation touches one entire row — all four entries, right-hand side included. If it isR2→R2−kR1R_2\to R_2-kR_1, then all four entries of row 2 change, and row 1 is unchanged.

That is why the bar is a bookmark and not a wall: thebb column moves with its row.

Work out where to start — free, no accountAnswer six real questions — free, no account