Advanced Mathematics

Systems of Linear Equations

Several linear equations in several unknowns, solved together: there is one solution, none, or infinitely many.

Ready to learn

Each linear equation in three unknowns is a plane, and solving three of them means finding where the planes meet. Usually that is a single point, but the planes can miss each other or share a whole line. Eliminating one unknown at a time settles which case you are in. Matrices, Gaussian elimination and least squares all grow from this.

Where it shows up: Fitting a model to data starts as a system with more equations than unknowns, which least squares solves as nearly as it can.

How to hold it: By hand, until automatic

Solve two or three linear equations by elimination quickly and accurately, and recognise from the working when there is no solution or a whole line of them.

What knowing it looks like

  • Solve three linear equations in three unknowns by elimination and check the answer in all three.
  • Recognise from the working when a system has no solution or infinitely many, and write the infinite family with a parameter.
  • Explain each case as planes meeting at a point, along a line, or not at all.

Test yourself

Solve x+y+z=6x+y+z=6, 2x−y+z=32x-y+z=3, x+2y−z=2x+2y-z=2.
Show the worked answer
Take twice the first equation from the second: −3y−z=−9-3y-z=-9, so z=9−3yz=9-3y. Take the first from the third: y−2z=−4y-2z=-4. Substituting, y−18+6y=−4y-18+6y=-4, so y=2y=2, then z=3z=3 and x=6−2−3=1x=6-2-3=1. Check in the others: 2−2+3=32-2+3=3 and 1+4−3=21+4-3=2. The solution is (x,y,z)=(1,2,3)(x,y,z)=(1,2,3).

Learn it with an AI

Copy this prompt into any AI assistant. It will take you through step by step at your level and finish with the test above.

Be my maths tutor. I'm learning "Systems of Linear Equations" (Bridge tier): Several linear equations in several unknowns, solved together: there is one solution, none, or infinitely many.
Teach it Socratically: first ask what I already know; then explain the core idea with one concrete example and why it's true; then give me three problems, one at a time, easy to hard. Wait for my answer, check every step, and point out mistakes without giving the answer away.
Finish by testing me with this: Solve $x+y+z=6$, $2x-y+z=3$, $x+2y-z=2$.
Use LaTeX for formulas. When you say where it's used later (machine learning, quantum mechanics), be specific.

On the way to

Recommended