Mathematics N4: Solving simultaneous equations with Cramer's rule

Determinants and Cramer's rule · 6 marks · free worked example

Share with your class:WhatsAppFacebookX

Question

Use Cramer's rule to solve for xx and yy: 2x+3y=132x + 3y = 13 and x−y=−1x - y = -1.

Given

  • 2x+3y=132x + 3y = 13
  • x−y=−1x - y = -1

Solution, step by step

Main determinant:

D=∣231−1∣D = \begin{vmatrix} 2 & 3 \\ 1 & -1 \end{vmatrix}

D=(2)(−1)−(3)(1)=−5\begin{aligned} D &= (2)(-1) - (3)(1) \\ &= -5 \end{aligned}

Determinant for xx:

Dx=∣133−1−1∣D_x = \begin{vmatrix} 13 & 3 \\ -1 & -1 \end{vmatrix}

Dx=(13)(−1)−(3)(−1)=−10\begin{aligned} D_x &= (13)(-1) - (3)(-1) \\ &= -10 \end{aligned}

Determinant for yy:

Dy=∣2131−1∣D_y = \begin{vmatrix} 2 & 13 \\ 1 & -1 \end{vmatrix}

Dy=(2)(−1)−(13)(1)=−15\begin{aligned} D_y &= (2)(-1) - (13)(1) \\ &= -15 \end{aligned}

Solve:

x=DxD=−10−5=2y=DyD=−15−5=3\begin{aligned} x &= \frac{D_x}{D} \\ &= \frac{-10}{-5} \\ &= 2 \\ y &= \frac{D_y}{D} \\ &= \frac{-15}{-5} \\ &= 3 \end{aligned}

Answer: x=2x = 2 and y=3y = 3. Check: 2(2)+3(3)=132(2) + 3(3) = 13 ✓ and 2−3=−12 - 3 = -1 ✓

Mistakes to avoid

  • Replace the x-column with the answers for Dₓ and the y-column for Dᵧ, never both.
  • Watch the signs: (3)(−1) is −3, so subtracting it gives +3.
  • Substitute your answers back in both equations to check.

Get every question of your own paper explained like this

Upload your Mathematics N4 question paper and its memo. Get Good works out every question, checks the memo against the paper and lets you ask the AI tutor about any step.

More free worked examples

All worked examples →