Steply

Systems with the inverse matrix

Algebra 2 ยท 20 problems, easy to harder

โ–ถ Watch the first one solved

How we do it

  1. Write it as AX = B
  2. Find the inverse
  3. Multiply
  4. Check

The steps for Solve 2x + y = 5, x + y = 3 using the inverse matrix. Every solution names its steps, so you always know what comes next.

Worked examples

Solve 2x + y = 5, x + y = 3 using the inverse matrix Easy

The question

Question: solve 2x + y = 5 and x + y = 3 using the inverse matrix.

2x + y = 5

We want the x and y that make both true.

x + y = 3

1 Write it as AX = B

The numbers in front of x and y make the matrix A.

The letters make X.

The right sides make B.

Row times column gives back the equations.

[2, 1; 1, 1] ร— [x; y] = [5; 3]

To get X alone, we multiply by the inverse of A: X = AโปยนB.

AX = B โ†’ X = Aโˆ’1B

Careful!

The inverse goes in front of B.

With matrices, the order matters.

Careful: X = Aโˆ’1B, not BAโˆ’1

2 Find the inverse

First D, the determinant of A.

D = |2, 1; 1, 1|

So D = 2 ร— 1 โˆ’ 1 ร— 1.

D = 2 ร— 1 โˆ’ 1 ร— 1

2 times 1 is 2.

1 times 1 is 1.

D = 2 โˆ’ 1

2 minus 1 is 1.

So D = 1.

D = 1

Swap the top left and bottom right.

Change the signs of the other two.

Then times 1 over D.

Aโˆ’1 = 11 ร— [1, โˆ’1; โˆ’1, 2]

So Aโปยน = rows 1, โˆ’1 and โˆ’1, 2.

Aโˆ’1 = [1, โˆ’1; โˆ’1, 2]

3 Multiply

X is Aโปยน times B.

[x; y] = [1, โˆ’1; โˆ’1, 2] ร— [5; 3]
= [1 ร— 5 + (โˆ’1) ร— 3; โˆ’1 ร— 5 + 2 ร— 3]

Work them out: x = 2 and y = 1.

[x; y] = [2; 1]

So the answer is (2, 1).

(x, y) = (2, 1)

4 Check

Let's check in every equation.

We put x = 2, y = 1 into the first one.

Equation 1 2(2) + 1 = 4 + 1 = 5

We get 5, the same as the right side.

Now equation 2.

Equation 2 2 + 1 = 3

We get 3, the same as the right side.

Both work.

So the answer is right!

Let's look back.

First: write it as AX = B.

Then: find the inverse.

Then: multiply.

Last: check.

Answer
(x, y) = (2, 1)

โ–ถ Watch it solved

Solve x - y = 1, 2x - y = 4 using the inverse matrix Medium

The question

Question: solve x โˆ’ y = 1 and 2x โˆ’ y = 4 using the inverse matrix.

x โˆ’ y = 1

We want the x and y that make both true.

2x โˆ’ y = 4

1 Write it as AX = B

The numbers in front of x and y make the matrix A.

The letters make X.

The right sides make B.

Row times column gives back the equations.

[1, โˆ’1; 2, โˆ’1] ร— [x; y] = [1; 4]

To get X alone, we multiply by the inverse of A: X = AโปยนB.

AX = B โ†’ X = Aโˆ’1B

Careful!

The inverse goes in front of B.

With matrices, the order matters.

Careful: X = Aโˆ’1B, not BAโˆ’1

2 Find the inverse

First D, the determinant of A.

D = |1, โˆ’1; 2, โˆ’1|

So D = 1 ร— (โˆ’1) โˆ’ 2 ร— (โˆ’1).

D = 1 ร— (โˆ’1) โˆ’ 2 ร— (โˆ’1)

1 times (โˆ’1) is โˆ’1.

2 times (โˆ’1) is โˆ’2.

D = โˆ’1 โˆ’ (โˆ’2)

Taking away a negative is adding: โˆ’1 + 2.

โˆ’1 โˆ’ (โˆ’2) = โˆ’1 + 2

โˆ’1 minus (โˆ’2) is 1.

So D = 1.

D = 1

Swap the top left and bottom right.

Change the signs of the other two.

Then times 1 over D.

Aโˆ’1 = 11 ร— [โˆ’1, 1; โˆ’2, 1]

So Aโปยน = rows โˆ’1, 1 and โˆ’2, 1.

Aโˆ’1 = [โˆ’1, 1; โˆ’2, 1]

3 Multiply

X is Aโปยน times B.

[x; y] = [โˆ’1, 1; โˆ’2, 1] ร— [1; 4]
= [โˆ’1 ร— 1 + 1 ร— 4; โˆ’2 ร— 1 + 1 ร— 4]

Work them out: x = 3 and y = 2.

[x; y] = [3; 2]

So the answer is (3, 2).

(x, y) = (3, 2)

4 Check

Let's check in every equation.

We put x = 3, y = 2 into the first one.

Equation 1 3 โˆ’ 2 = 1

We get 1, the same as the right side.

Now equation 2.

Equation 2 2(3) โˆ’ 2 = 6 โˆ’ 2 = 4

We get 4, the same as the right side.

Both work.

So the answer is right!

Let's look back.

First: write it as AX = B.

Then: find the inverse.

Then: multiply.

Last: check.

Answer
(x, y) = (3, 2)

โ–ถ Watch it solved

Solve 3x + y = 5, x + y = 3 using the inverse matrix Harder

The question

Question: solve 3x + y = 5 and x + y = 3 using the inverse matrix.

3x + y = 5

We want the x and y that make both true.

x + y = 3

1 Write it as AX = B

The numbers in front of x and y make the matrix A.

The letters make X.

The right sides make B.

Row times column gives back the equations.

[3, 1; 1, 1] ร— [x; y] = [5; 3]

To get X alone, we multiply by the inverse of A: X = AโปยนB.

AX = B โ†’ X = Aโˆ’1B

Careful!

The inverse goes in front of B.

With matrices, the order matters.

Careful: X = Aโˆ’1B, not BAโˆ’1

2 Find the inverse

First D, the determinant of A.

D = |3, 1; 1, 1|

So D = 3 ร— 1 โˆ’ 1 ร— 1.

D = 3 ร— 1 โˆ’ 1 ร— 1

3 times 1 is 3.

1 times 1 is 1.

D = 3 โˆ’ 1

3 minus 1 is 2.

So D = 2.

D = 2

Swap the top left and bottom right.

Change the signs of the other two.

Then times 1 over D.

Aโˆ’1 = 12 ร— [1, โˆ’1; โˆ’1, 3]

So Aโปยน = rows 1/2, โˆ’1/2 and โˆ’1/2, 3/2.

Aโˆ’1 = [1 over 2, โˆ’1 over 2; โˆ’1 over 2, 3 over 2]

3 Multiply

X is Aโปยน times B.

[x; y] = [1 over 2, โˆ’1 over 2; โˆ’1 over 2, 3 over 2] ร— [5; 3]
= [1 over 2 ร— 5 + (โˆ’1 over 2) ร— 3; โˆ’1 over 2 ร— 5 + 3 over 2 ร— 3]

Work them out: x = 1 and y = 2.

[x; y] = [1; 2]

So the answer is (1, 2).

(x, y) = (1, 2)

4 Check

Let's check in every equation.

We put x = 1, y = 2 into the first one.

Equation 1 3(1) + 2 = 3 + 2 = 5

We get 5, the same as the right side.

Now equation 2.

Equation 2 1 + 2 = 3

We get 3, the same as the right side.

Both work.

So the answer is right!

Let's look back.

First: write it as AX = B.

Then: find the inverse.

Then: multiply.

Last: check.

Answer
(x, y) = (1, 2)

โ–ถ Watch it solved

Practice

Try each one, then open the answer. Stuck? Open the problem to watch every step.

Easy

  1. solve 2x + y = 5, x + y = 3 using the inverse matrix
    Answer
    (x, y) = (2, 1)
  2. solve 3x + 2y = 7, x + y = 3 using the inverse matrix
    Answer
    (x, y) = (1, 2)
  3. solve x + 2y = 8, x + 3y = 11 using the inverse matrix
    Answer
    (x, y) = (2, 3)
  4. solve 2x + 3y = 12, x + 2y = 7 using the inverse matrix
    Answer
    (x, y) = (3, 2)
  5. solve 5x + 2y = 9, 2x + y = 4 using the inverse matrix
    Answer
    (x, y) = (1, 2)
  6. solve 3x + y = 7, 2x + y = 5 using the inverse matrix
    Answer
    (x, y) = (2, 1)

Medium

  1. solve x - y = 1, 2x - y = 4 using the inverse matrix
    Answer
    (x, y) = (3, 2)
  2. solve 4x + 3y = 2, x + y = 1 using the inverse matrix
    Answer
    (x, y) = (โˆ’1, 2)
  3. solve 2x - y = 7, -x + y = -3 using the inverse matrix
    Answer
    (x, y) = (4, 1)
  4. solve 3x - 2y = 4, -x + y = -1 using the inverse matrix
    Answer
    (x, y) = (2, 1)
  5. solve a + 2b = 4, a + 3b = 5 using the inverse matrix
    Answer
    (a, b) = (2, 1)
  6. solve 2x + 5y = 1, x + 3y = 0 using the inverse matrix
    Answer
    (x, y) = (3, โˆ’1)
  7. solve 3x + 4y = 2, 2x + 3y = 1 using the inverse matrix
    Answer
    (x, y) = (2, โˆ’1)

Harder

  1. solve 3x + y = 5, x + y = 3 using the inverse matrix
    Answer
    (x, y) = (1, 2)
  2. solve x + y = 2, x - y = 4 using the inverse matrix
    Answer
    (x, y) = (3, โˆ’1)
  3. solve 2x + y = 1, x + y = 2 using the inverse matrix
    Answer
    (x, y) = (โˆ’1, 3)
  4. solve 4x + 2y = 10, x + y = 3 using the inverse matrix
    Answer
    (x, y) = (2, 1)
  5. solve 2x + 2y = 6, x + 3y = 7 using the inverse matrix
    Answer
    (x, y) = (1, 2)
  6. solve 5x + 3y = 1, 3x + 2y = 0 using the inverse matrix
    Answer
    (x, y) = (2, โˆ’3)
  7. solve x + 2y = 3, 2x + 4y = 6 using the inverse matrix
    Answer
    D = 0: no inverse