QED
Linear Algebra · step 2 of 13

Gaussian elimination

Gaussian elimination row reduces the augmented matrix to echelon form, from which the solution set is read directly. Three outcomes are possible: a unique solution (a pivot in every variable column), infinitely many (a free variable), or none (a pivot in the final column, giving a row like 0 = 1). Recognising which case you are in is the main examinable skill.

Unlimited questions · marked criterion by criterion · no card needed

Method: how to approach it

The order below is what examiners expect to see, and each step carries its own marks.

  1. Build the augmented matrixCoefficients on the left, constants on the right, with a consistent variable order across all rows.
  2. Reduce to row echelon formUse only the three elementary operations: swap rows, scale a row by a non-zero constant, add a multiple of one row to another.
  3. Read the classificationA row 0 0 0 | c with c ≠ 0 means no solution. Otherwise, count pivots: fewer pivots than variables gives free variables.
  4. Back-substitute or parametriseFor a unique solution, back-substitute. For free variables, set them as parameters and express the pivots in terms of them.

Worked example

Solve x + y + z = 6, 2x − y + z = 3, x + 2y − z = 2.

  1. Augmented rows: (1,1,1|6), (2,−1,1|3), (1,2,−1|2).
  2. R2 − 2R1: (0,−3,−1|−9). R3 − R1: (0,1,−2|−4).
  3. R3 + R2/3: (0,0,−2−1/3|−4−3) = (0,0,−7/3|−7), so z = 3.
  4. Back-substitute into −3y − z = −9: −3y = −6, y = 2. Then x = 6 − 2 − 3 = 1.

Answer. x = 1, y = 2, z = 3 — a unique solution, confirmed by substituting into all three equations.

Where marks get dropped

These are the specific errors that cost credit on gaussian elimination questions — QED's rubric penalises each of them separately.

Practise this until it is automatic

Unlimited fresh questions

QED generates new gaussian elimination problems on demand at warm-up, exam and challenge level, so you can drill this one skill until it stops costing you marks.

Marked like an examiner

Every answer is scored against a point-by-point rubric with partial credit, so you see exactly which step of the method broke down — not just a tick or a cross.

Answer in real notation

A one-tap symbol palette, a visual equation editor and a truth-table builder — or photograph your handwritten working and QED converts it to LaTeX.

Saved to your library

Every question you generate is kept and re-takeable as a timed exam, and your Linear Algebra mastery is tracked so you know when this is exam-ready.

Gaussian elimination — frequently asked questions

What is the difference between row echelon and reduced row echelon form?

Echelon form has zeros below each pivot; reduced form also has zeros above and pivots equal to 1. Reduced form is unique, which is why it is used for computing inverses and null spaces.

How many solutions can a linear system have?

Exactly zero, one, or infinitely many — never two or three. That trichotomy follows from the structure of the solution set as a translated subspace.

How do I write an infinite solution set?

Parametrise: set each free variable to a parameter and express the others in terms of them, giving a particular solution plus a span of vectors.

The rest of Linear Algebra

Matrices, systems, determinants, eigenvalues. Each subtopic below has its own method, worked example and mark-losing traps.

Ready to make gaussian elimination exam-proof?

Generate your first questions free — no card, no setup, no personal data stored. Practise until the method is second nature.

Start practising free →