Menu
Sign up Sign in

AI HL · AHL 5

Matrices

AHL 5.5

Systems of equations using the inverse matrix

AHL 5.5

Systems of equations using the inverse matrix

Target: Write simultaneous equations as a matrix equation (+2 more)

By the end of this section

Key points

A system as one equation

  • Simultaneous equations can be written \(A\mathbf{x} = \mathbf{b}\): \(A\) holds the coefficients, \(\mathbf{x}\) the unknowns, \(\mathbf{b}\) the right-hand sides.
  • The solution is \(\mathbf{x} = A^{-1}\mathbf{b}\).
  • Line the equations up first, so each unknown is in the same column every time.

When there is no single answer

  • If \(\det A = 0\) there is no inverse, so no unique solution.

On the calculator

Solve with the inverse

a^-1 · b

  • Store the coefficients as a and the right-hand sides as a column b.
  • Use this when the question asks for a matrix method.

Screenshot and video to come

Worked examples

Problems like the ones in class. Pick one, try it, then open the working.
Two equations

By first forming a matrix equation, solve \(3x + 5y = 4\) and \(x + 2y = 1\).

Working
  1. Matrix equation

    \(\begin{pmatrix}3 & 5 \\ 1 & 2\end{pmatrix}\begin{pmatrix}x \\ y\end{pmatrix} = \begin{pmatrix}4 \\ 1\end{pmatrix}\)

    Coefficients, unknowns, right-hand sides.

  2. Use the inverse

    \(\begin{pmatrix}x \\ y\end{pmatrix} = \begin{pmatrix}2 & -5 \\ -1 & 3\end{pmatrix}\begin{pmatrix}4 \\ 1\end{pmatrix} = \begin{pmatrix}3 \\ -1\end{pmatrix}\)

    The determinant is 1.

  3. Answer

    \(x = 3\), \(y = -1\)

    Check in the second equation: \(3 + 2(-1) = 1\).

Video walkthrough coming
Three unknowns in context

A bakery sells loaves, rolls and pastries. On Monday it sells 20 loaves, 35 rolls and 12 pastries for €128. On Tuesday it sells 25, 30 and 18 for €156.50. On Wednesday it sells 15, 50 and 20 for €142.50. Find the price of each item.

Working
  1. Matrix equation

    \(\begin{pmatrix}20 & 35 & 12 \\ 25 & 30 & 18 \\ 15 & 50 & 20\end{pmatrix}\begin{pmatrix}l \\ r \\ p\end{pmatrix} = \begin{pmatrix}128 \\ 156.5 \\ 142.5\end{pmatrix}\)

    One row for each day.

  2. Solve on the calculator

    a^-1 · b

    Store the 3 × 3 matrix as a and the column as b.

  3. Answer

    Loaf €3.50, roll €0.80, pastry €2.50

    Check Monday: \(20(3.5) + 35(0.8) + 12(2.5) = 128\).

Video walkthrough coming
When there is no solution

Find the values of \(k\) for which the equations \(kx + 2y = 3\) and \(8x + ky = 5\) do not have a unique solution.

Working
  1. Coefficient matrix

    \(\begin{pmatrix}k & 2 \\ 8 & k\end{pmatrix}\)

    The coefficients of \(x\) and \(y\).

  2. Determinant zero

    \(k^2 - 16 = 0\)

    No inverse means no unique solution.

  3. Answer

    \(k = 4\) or \(k = -4\)

    For these values the two equations describe parallel lines.

Video walkthrough coming
One, none or infinitely many

Find the values of \(k\) for which the equations \(2x + 3y = 5\) and \(4x + 6y = k\) have (a) infinitely many solutions, (b) no solutions.

Working
  1. The determinant

    \(\det\begin{pmatrix}2 & 3 \\ 4 & 6\end{pmatrix} = 12 - 12 = 0\)

    It is zero for every \(k\), so there is never exactly one solution.

  2. Compare the equations

    \(4x + 6y = 2(2x + 3y)\)

    The left of the second equation is twice the left of the first.

  3. Infinitely many

    \(k = 2(5) = 10\)

    When the right-hand side is also doubled, the equations are the same line.

  4. No solutions

    \(k \ne 10\)

    The lines are parallel and different, so they never meet.

Video walkthrough coming