ASCENTLEARNING
Join a weekly class
Skip to learning content
YEAR 11 · MATRICES AND TRANSFORMATIONS · 20 MIN

Solving matrix equations and systems

Represent a pair of simultaneous equations as a matrix equation and solve on the correct side.

In this lesson

Before you start
  • Matrix inverses
  • Simultaneous linear equations
01 / LEARN

Understand the idea.

Build the coefficient matrix

Choose a fixed variable order, such as x then y, in every equation. Put their coefficients in the matching columns of A, the unknowns in a column X, and the constants in a column b to obtain A⁢X=b.

Keep a zero coefficient when a variable is missing. The matrix positions must still represent the same variables in each row. Expanding A⁢X back into equations is a useful check that the model matches the original system.

Undo on the left

When A is invertible, multiply A⁢X=b on the left by A−1. The adjacent factors A−1A become I, giving X=A−1b. Check the resulting values in every original equation.

The side of multiplication matters. For a matrix unknown, A⁢X=B gives X=A−1B, whereas X⁢A=B gives X=BA−1. There is no general division operation that lets you ignore the order.

02 / WORKED EXAMPLES

See the method in action.

EXAMPLE 01

Solve a pair

Solve 2⁢x+y=7 and 3⁢x+2⁢y=12.

Worked solution

  1. 1

    Write the coefficient model in variable order.

    (2132)(xy)=(712)

    Both rows use the order x,y, so each row reproduces one original equation.

  2. 2

    Calculate the inverse of the coefficient matrix.

    detA=2⁢(2)−1⁢(3)=1,A−1=(2−1−32)

    The non-zero determinant permits the inverse formula.

  3. 3

    Multiply the constant column on the left.

    X=A−1b=(2⁢(7)−12−3⁢(7)+2⁢(12))=(23)

    Left multiplication cancels the coefficient matrix in A⁢X=b.

  4. 4

    Check both original equations.

    2⁢(2)+3=73⁢(2)+2⁢(3)=12

    The pair x=2,y=3 satisfies both constraints.

Answer

x=2, y=3.

EXAMPLE 02

Solve for a whole matrix

Solve (1101)X=(3524).

Worked solution

  1. 1

    Find the inverse of the left-hand factor.

    A=(1101),detA=1,A−1=(1−101)

    The determinant is non-zero, and the inverse undoes the upper-right mixing.

  2. 2

    Multiply both sides on the left.

    X=A−1B=(1−101)(3524)

    The inverse must sit beside A to produce A−1A=I.

  3. 3

    Evaluate each row-column product.

    X=(3−25−424)=(1124)

    The first output row subtracts the second row of B from its first; the second row is retained.

  4. 4

    Verify the original matrix equation.

    A⁢X=(1101)(1124)=(1+21+424)=(3524)

    The product recovers every entry of the specified right-hand matrix.

Answer

X=(1124).

03 / YOUR TURN

Try it yourself.

Check your understanding

If X⁢A=B and A is invertible, what is X?

Show answer & reasoning

X=BA−1.

Right-multiply X⁢A=B by A−1: X⁢(AA−1)=BA−1, so X=BA−1. Multiplying on the left would not place the inverse beside A.

Keep practising

6 worksheet questions · 12 marks

Read the questions online
  1. Write 3⁢x−y=4, 2⁢x+5⁢y=1 as one matrix equation.
    2 marks
  2. Solve x+y=5, x−y=1.
    2 marks
  3. Solve 2⁢x+3⁢y=1, x+2⁢y=2.
    2 marks
  4. Solve (2003)X=(89).
    2 marks
  5. Solve X(1201)=(3714).
    2 marks
  6. A ticket model gives 2⁢a+b=17 and a+2⁢b=19. Find a and b and check both equations.
    2 marks
Read the worked solutions

Equivalent correct methods earn the corresponding marks. Include units where asked.

  1. Write 3⁢x−y=4, 2⁢x+5⁢y=1 as one matrix equation.
    2 marks

    Keep x first and y second in both rows.

    (3−125)(xy)=(41).
  2. Solve x+y=5, x−y=1.
    2 marks

    Add the equations to get 2⁢x=6.

    Then y=5−3=2; the matrix method gives the same result.

    x=3, y=2.
  3. Solve 2⁢x+3⁢y=1, x+2⁢y=2.
    2 marks

    The determinant is 1.

    The inverse (2−3−12) applied to (1,2)T gives (−4,3)T.

    x=−4, y=3.
  4. Solve (2003)X=(89).
    2 marks

    Undo the two diagonal scales.

    X=(43).
  5. Solve X(1201)=(3714).
    2 marks

    Multiply the right-hand matrix on the right by (1−201).

    X=(3112).
  6. A ticket model gives 2⁢a+b=17 and a+2⁢b=19. Find a and b and check both equations.
    2 marks

    Eliminate to obtain 3⁢a=15.

    Then b=17−10=7; the second equation gives 5+14=19.

    a=5, b=7.
Checking saved progress…
Curriculum reference & lesson scope

SACE Board of South Australia

Stage 1 Mathematics: matrices and transformations; original lessons follow the approved school-sized chapter structure.

Official curriculum source ↗

Save your next step.

Create a free account to save your learning progress. Lessons and downloads stay free, with or without an account.

Create free account