HL AI · Number and Algebra

Systems of linear equations and Gaussian elimination (IB Math AI HL)

Updated October 2026

Quick answer: Write the system as AX = B, where A is the matrix of coefficients. If det A ≠ 0 there is exactly one solution, X = A⁻¹B, which the GDC finds directly. If det A = 0 there is no unique solution: either no solution or infinitely many.

HL AI expects you to solve 3×3 systems by matrix inversion OR row reduction. Know when a system has unique, infinite, or no solutions from the determinant.

Practise Systems of linear equations and Gaussian elimination with AI marking

Open the full HL AI engine — every question in this unit is worked through with instant AI-graded feedback on your handwritten workings.

Practise HL AI Number and Algebra →

Examiner Insights: what the International Baccalaureate examiner reports say IB Maths AI HL students get wrong →

Key ideas

Worked example

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

  1. Matrix form: A = (1 1 1; 2 −1 1; 1 2 −1), X = (x, y, z), B = (6, 3, 2).
  2. det A = 7 ≠ 0, so there is exactly one solution.
  3. X = A⁻¹B. On the GDC: x = 1, y = 2, z = 3.
  4. Check: 1 + 2 + 3 = 6; 2 − 2 + 3 = 3; 1 + 4 − 3 = 2.

Answer: x = 1, y = 2, z = 3.

Exam-style HL AI questions

Try it now

1 of 5

  1. Question 1 of 5
  2. Question 2 of 5
  3. Question 3 of 5
  4. Question 4 of 5
  5. Question 5 of 5

5 quick questions on simultaneous equations. No sign-in needed.

Solve the simultaneous equations \(4 x - y = 5\) and \(x + 2 y = 8\).
Choose your answer · keys 1–4

Do it on your GDC

A GDC is allowed on every AI paper. Keystrokes for the TI-84 Plus CE, TI-Nspire CX II and Casio fx-CG50, with a checked worked example:

Related in Number and Algebra

Revise Systems of linear equations and Gaussian elimination for the exam

Stretch yourself: original algebra problems at Senior level (ages 16 to 18), with hints and full solutions: Problem S86 · Problem S93 · Problem S28 · Problem S92. All 22 →

More on this topic

Sibling topic in other IB Maths courses

FAQ

How do you know if a system of equations has a unique solution?

Write it as AX = B and find the determinant of A. If det A is not zero, there is exactly one solution, X = A⁻¹B. If det A is zero, there is either no solution or infinitely many, and the inverse does not exist.

Can I use my calculator for systems of linear equations and Gaussian elimination?

Yes: a GDC is allowed on every HL AI paper, so practise the calculator method as well as the working. The Solving equations and Matrices guides give the keystrokes for the TI-84 Plus CE, TI-Nspire CX II and Casio fx-CG50.

What else is free here

Save your progress as you reviseA free account remembers the questions you have done on every topic and brings you back to this page.

Join free

Already have an account? Sign in