Study Guide

Systems of linear equations

IB Mathematics: Analysis and Approaches HLΒ· 45 min read

1. Matrix Representation and Geometric Interpretationβ˜…β˜…β˜†β˜†β˜†β± 15 min

πŸ“˜ Definition

Augmented Matrix

For a system , the augmented matrix combines the coefficient matrix and constant vector for row operations.

Example:

For ,

Each linear equation in variables corresponds to a hyperplane in -dimensional space. For 2 and 3 variables, this translates to lines (2D) and planes (3D), where the solution set is the intersection of these shapes.

  • Unique solution: All shapes intersect at exactly one point

  • Infinite solutions: Shapes intersect along a line or coincide completely

  • No solution: There is no common intersection point for all equations

πŸ“ Worked Example

Describe the geometric meaning of an inconsistent 2-variable system of linear equations.

  1. 1

    Each linear equation in 2 variables represents a straight line in 2D space.

  2. 2

    An inconsistent system has no solutions, so no point lies on both lines.

  3. 3

    This only occurs when the two lines are parallel and distinct, with the same gradient but different intercepts.

Exam tip:

Always link algebraic solution type to geometric interpretation when asked β€” this is often a separate marking point.

2. Solution Methods: Inverse Matrices and Cramer's Ruleβ˜…β˜…β˜…β˜†β˜†β± 20 min

βœ“ Calculator OK

For square systems ( equations, variables) , if is invertible (), the system has a unique solution that can be found directly with inverse matrices or Cramer's rule.

πŸ“˜ Definition

Cramer's Rule

For a 3x3 system , replace the -th column of with to get . The solution is , for .

πŸ“ Worked Example

Solve , using Cramer's rule.

  1. 1

    Write coefficient matrix and constant vector :

  2. 2
    A=(211βˆ’2),b=(76)A = \begin{pmatrix} 2 & 1 \\ 1 & -2 \end{pmatrix}, \quad \mathbf{b} = \begin{pmatrix} 7 \\ 6 \end{pmatrix}
  3. 3

    Calculate :

  4. 4
    det⁑(A)=(2)(βˆ’2)βˆ’(1)(1)=βˆ’5β‰ 0\det(A) = (2)(-2) - (1)(1) = -5 \neq 0
  5. 5

    Create (replace column 1 with ) and (replace column 2 with ):

  6. 6
    A1=(716βˆ’2),A2=(2716)A_1 = \begin{pmatrix} 7 & 1 \\ 6 & -2 \end{pmatrix}, \quad A_2 = \begin{pmatrix} 2 & 7 \\ 1 & 6 \end{pmatrix}
  7. 7

    Calculate determinants:

  8. 8
    det⁑(A1)=βˆ’20,det⁑(A2)=5\det(A_1) = -20, \quad \det(A_2) = 5
  9. 9

    Find solutions:

  10. 10
    x=βˆ’20βˆ’5=4,y=5βˆ’5=βˆ’1x = \frac{-20}{-5} = 4, \quad y = \frac{5}{-5} = -1

3. Row Reduction (Gaussian Elimination)β˜…β˜…β˜…β˜†β˜†β± 25 min

Gaussian elimination is the most flexible method for any system, including non-square systems and systems with no or infinite solutions. It uses elementary row operations to reduce the augmented matrix to row-echelon form, followed by back substitution to find solutions.

πŸ“ Worked Example

Find all solutions of , , using Gaussian elimination.

  1. 1

    Write the augmented matrix:

  2. 2
    (12βˆ’132βˆ’1213114)\begin{pmatrix} 1 & 2 & -1 & 3 \\ 2 & -1 & 2 & 1 \\ 3 & 1 & 1 & 4 \end{pmatrix}
  3. 3

    Eliminate from rows 2 and 3: , :

  4. 4
    β†’(12βˆ’130βˆ’54βˆ’50βˆ’54βˆ’5)\rightarrow \begin{pmatrix} 1 & 2 & -1 & 3 \\ 0 & -5 & 4 & -5 \\ 0 & -5 & 4 & -5 \end{pmatrix}
  5. 5

    Eliminate from row 3: :

  6. 6
    β†’(12βˆ’130βˆ’54βˆ’50000)\rightarrow \begin{pmatrix} 1 & 2 & -1 & 3 \\ 0 & -5 & 4 & -5 \\ 0 & 0 & 0 & 0 \end{pmatrix}
  7. 7

    The last row is all zeros, so we have one free variable. Let , .

  8. 8

    Back substitute for :

  9. 9

    Back substitute for :

  10. 10

    The general infinite solution set is:

  11. 11
    x=1+135t,y=1βˆ’45t,z=t,t∈Rx = 1 + \frac{13}{5}t, \quad y = 1 - \frac{4}{5}t, \quad z = t, \quad t \in \mathbb{R}

Exam tip:

Always clearly state the free parameter and full general solution for infinite solution sets to earn full marks.

4. Classifying Solution Types with the Rouché–Capelli Theoremβ˜…β˜…β˜…β˜…β˜†β± 20 min

πŸ“˜ Definition

Rouché–Capelli Theorem

A system has a solution if and only if . If ranks are equal: (1) number of variables β†’ unique solution, (2) number of variables β†’ infinite solutions. If ranks are unequal β†’ no solution.

πŸ“ Worked Example

Find the value of for which the system has no solution: , , .

  1. 1

    Write the augmented matrix:

  2. 2
    (12βˆ’34232235βˆ’k8)\begin{pmatrix} 1 & 2 & -3 & 4 \\ 2 & 3 & 2 & 2 \\ 3 & 5 & -k & 8 \end{pmatrix}
  3. 3

    Row reduce: , , then :

  4. 4
    β†’(12βˆ’340βˆ’18βˆ’6001βˆ’k2)\rightarrow \begin{pmatrix} 1 & 2 & -3 & 4 \\ 0 & -1 & 8 & -6 \\ 0 & 0 & 1 - k & 2 \end{pmatrix}
  5. 5

    For no solution, . This occurs when the coefficient of is zero, but the constant term is non-zero.

  6. 6

    Set . For , the last row becomes , which is a contradiction, so there is no solution.

5. Common Pitfalls

Wrong move:

Applying Cramer's rule when

Why:

Cramer's rule only works for systems with unique solutions, it cannot find infinite solutions or confirm inconsistency

Correct move:

Check first, use row reduction to classify solutions when

Wrong move:

Assuming all systems with are inconsistent

Why:

only means there is no unique solution, the system can still have infinite solutions

Correct move:

Check the rank of the augmented matrix after row reduction to confirm inconsistency

Wrong move:

Not including the free parameter when writing infinite solution sets

Why:

Examiners require the full general solution, not just a single particular solution

Correct move:

Introduce a free parameter for each non-pivot column, express all variables in terms of parameters

Wrong move:

Multiplying a row by zero during row reduction

Why:

This erases all information from the row and changes the solution set of the system

Correct move:

Only multiply rows by non-zero constants when performing Gaussian elimination

Wrong move:

Skipping verification of solutions for Cramer's rule

Why:

Small sign errors when calculating determinants lead to wrong solutions that are easy to miss

Correct move:

Always substitute your solution back into the original equations to check

6. Quick Reference Cheatsheet

Solution Type

Rank Condition

3D Geometric Meaning

Unique solution

Three planes intersect at one point

Infinite solutions (line)

Three planes intersect along a common line

Infinite solutions (plane)

All three planes are coincident

No solution

At least two planes are parallel or no common intersection

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2025 Β· 1

    Classify 3x3 system solution type

  • 2023 Β· 2

    Find parameter for no solution

What's Next

Systems of linear equations are the foundation for many further topics in IB AA HL, particularly vectors in 3D space, where you will use similar methods to find intersections of lines and planes. Solution type classification is also a core skill for problems involving eigenvalues and eigenvectors of matrices, and for solving systems of linear differential equations in later calculus units. Mastery of Gaussian elimination and rank-based classification will not only help you solve exam questions on this topic, but also save time on multi-step problems across the entire syllabus.