Steply

Solution sets

Linear Algebra ยท 21 problems, easy to harder

โ–ถ Watch the first one solved

How we do it

  1. Write the augmented matrix
  2. Row reduce
  3. Find the free letters
  4. Write the leading letters with the free ones
  5. Write it as vectors
  6. Check

The steps for Solution set of x + 2y - z = 3, 2x + 4y + z = 3. Every solution names its steps, so you always know what comes next.

Worked examples

Solution set of x + 2y - z = 3, 2x + 4y + z = 3 Easy

The question

Question: find all the solutions of x + 2y โˆ’ z = 3 and 2x + 4y + z = 3.

x + 2y โˆ’ z = 3โ‘ 

We want every x, y and z that make both true.

There are 3 letters, but only 2 equations.

2x + 4y + z = 3โ‘ก

1 Write the augmented matrix

Each row is one equation: the numbers in front of x, y and z, then the number on the right, after the bar.

= [1, 2, โˆ’1, 3; 2, 4, 1, 3]

We call the rows R 1 and R 2.

2 Row reduce

We use the three row moves: swap two rows, times a row by a number that is not 0, add a multiple of one row to another.

They never change the answers.

Our goal: a leading 1 in each row, with 0s above and below it.

swap two rows
ร— a row by a number (not 0)
add a multiple of one row to another
โ†’ [1, 2, โˆ’1, 3; 0, 0, 3, โˆ’3]
โ†’ [1, 2, โˆ’1, 3; 0, 0, 1, โˆ’1]
โ†’ [1, 2, 0, 2; 0, 0, 1, โˆ’1]

3 Find the free letters

The first number that is not 0 in each row is a 1.

We call it a leading 1, and ring it.

The letters x and z have a leading 1 in their columns.

The letter y has none: it is free.

A free letter can be any number.

leading 1: x, z
free: y

4 Write the leading letters with the free ones

Row 1 as an equation: x + 2y = 2.

x + 2y = 2

We want x alone.

To remove + 2y, we take away 2y on both sides.

x + 2y โˆ’ 2y = 2 โˆ’ 2y

They cancel on the left.

So x = 2 โˆ’ 2y.

x = 2 โˆ’ 2y

Careful!

The + 2y moves to the other side, so its sign changes.

So x is not 2 + 2y.

Careful: not x = 2 + 2y โœ—

Row 2 as an equation: z = โˆ’1.

So z = โˆ’1.

z = โˆ’1

5 Write it as vectors

We stack the letters in a column.

The letter y is free, so it stays y.

[x; y; z] = [2 โˆ’ 2y; y; โˆ’1]

We split it up.

The numbers alone make one vector: (2, 0, โˆ’1).

What goes with y makes another: (โˆ’2, 1, 0).

[x; y; z] = [2; 0; โˆ’1] + y[โˆ’2; 1; 0], y any number

So every solution is one point, plus any amount of one direction.

One free letter: the solutions make a line.

one point + any amount of the direction

6 Check

Let's check.

First the point: all free letters 0.

We put x = 2, y = 0 and z = โˆ’1 into every equation.

โ‘  2 + 2(0) โˆ’ (โˆ’1) = 2 + 0 + 1 = 3
โ‘ก 2(2) + 4(0) + (โˆ’1) = 4 + 0 โˆ’ 1 = 3

The point works in every equation.

Now the direction (โˆ’2, 1, 0).

Its left sides must give 0, so adding it changes nothing.

โ‘  (โˆ’2) + 2(1) โˆ’ 0 = โˆ’2 + 2 + 0 = 0
โ‘ก 2(โˆ’2) + 4(1) + 0 = โˆ’4 + 4 + 0 = 0

Every left side gives 0.

So adding any amount of it keeps every equation true.

The answer is right!

Let's look back.

First: write the augmented matrix.

Then: row reduce.

Then: find the free letters.

Then: write the leading letters with the free ones.

Then: write it as vectors.

Last: check.

Answer
one point + any amount of the direction

โ–ถ Watch it solved

Solution set of x - y + 2z = 1, 2x - y + 3z = 4, x + z = 3 Medium

The question

Question: find all the solutions of x โˆ’ y + 2z = 1, 2x โˆ’ y + 3z = 4 and x + z = 3.

x โˆ’ y + 2z = 1โ‘ 
2x โˆ’ y + 3z = 4โ‘ก

We want every x, y and z that make all of them true.

x + z = 3โ‘ข

1 Write the augmented matrix

Each row is one equation: the numbers in front of x, y and z, then the number on the right, after the bar.

= [1, โˆ’1, 2, 1; 2, โˆ’1, 3, 4; 1, 0, 1, 3]

We call the rows R 1, R 2 and R 3.

2 Row reduce

We use the three row moves: swap two rows, times a row by a number that is not 0, add a multiple of one row to another.

They never change the answers.

Our goal: a leading 1 in each row, with 0s above and below it.

swap two rows
ร— a row by a number (not 0)
add a multiple of one row to another
โ†’ [1, โˆ’1, 2, 1; 0, 1, โˆ’1, 2; 0, 1, โˆ’1, 2]
โ†’ [1, 0, 1, 3; 0, 1, โˆ’1, 2; 0, 0, 0, 0]

3 Find the free letters

The first number that is not 0 in each row is a 1.

We call it a leading 1, and ring it.

The letters x and y have a leading 1 in their columns.

The letter z has none: it is free.

A free letter can be any number.

A row of 0s says 0 = 0: always true, so it tells us nothing.

leading 1: x, y
free: z

4 Write the leading letters with the free ones

Row 1 as an equation: x + z = 3.

x + z = 3

We want x alone.

To remove + z, we take away z on both sides.

x + z โˆ’ z = 3 โˆ’ z

They cancel on the left.

So x = 3 โˆ’ z.

x = 3 โˆ’ z

Careful!

The + z moves to the other side, so its sign changes.

So x is not 3 + z.

Careful: not x = 3 + z โœ—

Row 2 as an equation: y โˆ’ z = 2.

y โˆ’ z = 2

We want y alone.

To remove โˆ’ z, we add z on both sides.

y โˆ’ z + z = 2 + z

They cancel on the left.

So y = 2 + z.

y = 2 + z

5 Write it as vectors

We stack the letters in a column.

The letter z is free, so it stays z.

[x; y; z] = [3 โˆ’ z; 2 + z; z]

We split it up.

The numbers alone make one vector: (3, 2, 0).

What goes with z makes another: (โˆ’1, 1, 1).

[x; y; z] = [3; 2; 0] + z[โˆ’1; 1; 1], z any number

So every solution is one point, plus any amount of one direction.

One free letter: the solutions make a line.

one point + any amount of the direction

6 Check

Let's check.

First the point: all free letters 0.

We put x = 3, y = 2 and z = 0 into every equation.

โ‘  3 โˆ’ 2 + 2(0) = 3 โˆ’ 2 + 0 = 1
โ‘ก 2(3) โˆ’ 2 + 3(0) = 6 โˆ’ 2 + 0 = 4
โ‘ข 3 + 0 = 3

The point works in every equation.

Now the direction (โˆ’1, 1, 1).

Its left sides must give 0, so adding it changes nothing.

โ‘  (โˆ’1) โˆ’ 1 + 2(1) = โˆ’1 โˆ’ 1 + 2 = 0
โ‘ก 2(โˆ’1) โˆ’ 1 + 3(1) = โˆ’2 โˆ’ 1 + 3 = 0
โ‘ข (โˆ’1) + 1 = โˆ’1 + 1 = 0

Every left side gives 0.

So adding any amount of it keeps every equation true.

The answer is right!

Let's look back.

First: write the augmented matrix.

Then: row reduce.

Then: find the free letters.

Then: write the leading letters with the free ones.

Then: write it as vectors.

Last: check.

Answer
one point + any amount of the direction

โ–ถ Watch it solved

Solution set of x + y + z + w = 4, x - y + z - w = 0 Harder

The question

Question: find all the solutions of x + y + z + w = 4 and x โˆ’ y + z โˆ’ w = 0.

x + y + z + w = 4โ‘ 

We want every x, y, z and w that make both true.

There are 4 letters, but only 2 equations.

x โˆ’ y + z โˆ’ w = 0โ‘ก

1 Write the augmented matrix

Each row is one equation: the numbers in front of x, y, z and w, then the number on the right, after the bar.

= [1, 1, 1, 1, 4; 1, โˆ’1, 1, โˆ’1, 0]

We call the rows R 1 and R 2.

2 Row reduce

We use the three row moves: swap two rows, times a row by a number that is not 0, add a multiple of one row to another.

They never change the answers.

Our goal: a leading 1 in each row, with 0s above and below it.

swap two rows
ร— a row by a number (not 0)
add a multiple of one row to another
โ†’ [1, 1, 1, 1, 4; 0, โˆ’2, 0, โˆ’2, โˆ’4]
โ†’ [1, 1, 1, 1, 4; 0, 1, 0, 1, 2]
โ†’ [1, 0, 1, 0, 2; 0, 1, 0, 1, 2]

3 Find the free letters

The first number that is not 0 in each row is a 1.

We call it a leading 1, and ring it.

The letters x and y have a leading 1 in their columns.

The letters z and w have none: they are free.

A free letter can be any number.

leading 1: x, y
free: z, w

4 Write the leading letters with the free ones

Row 1 as an equation: x + z = 2.

x + z = 2

We want x alone.

To remove + z, we take away z on both sides.

x + z โˆ’ z = 2 โˆ’ z

They cancel on the left.

So x = 2 โˆ’ z.

x = 2 โˆ’ z

Careful!

The + z moves to the other side, so its sign changes.

So x is not 2 + z.

Careful: not x = 2 + z โœ—

Row 2 as an equation: y + w = 2.

y + w = 2

We want y alone.

To remove + w, we take away w on both sides.

y + w โˆ’ w = 2 โˆ’ w

They cancel on the left.

So y = 2 โˆ’ w.

y = 2 โˆ’ w

5 Write it as vectors

We stack the letters in a column.

The free letters stay as they are.

[x; y; z; w] = [2 โˆ’ z; 2 โˆ’ w; z; w]

We split it up.

The numbers alone make one vector: (2, 2, 0, 0).

What goes with z makes another: (โˆ’1, 0, 1, 0), and the same for w.

[x; y; z; w] = [2; 2; 0; 0] + z[โˆ’1; 0; 1; 0] + w[0; โˆ’1; 0; 1], z and w any numbers

So every solution is one point, plus any amount of each direction.

Two free letters: the solutions make a flat plane.

one point + any amount of each direction

6 Check

Let's check.

First the point: all free letters 0.

We put x = 2, y = 2, z = 0 and w = 0 into every equation.

โ‘  2 + 2 + 0 + 0 = 4
โ‘ก 2 โˆ’ 2 + 0 โˆ’ 0 = 2 โˆ’ 2 + 0 + 0 = 0

The point works in every equation.

Now the direction (โˆ’1, 0, 1, 0).

Its left sides must give 0, so adding it changes nothing.

โ‘  (โˆ’1) + 0 + 1 + 0 = โˆ’1 + 0 + 1 + 0 = 0
โ‘ก (โˆ’1) โˆ’ 0 + 1 โˆ’ 0 = โˆ’1 + 0 + 1 + 0 = 0

Now the direction (0, โˆ’1, 0, 1).

Its left sides must give 0, so adding it changes nothing.

โ‘  0 + (โˆ’1) + 0 + 1 = 0 โˆ’ 1 + 0 + 1 = 0
โ‘ก 0 โˆ’ (โˆ’1) + 0 โˆ’ 1 = 0 + 1 + 0 โˆ’ 1 = 0

Every left side gives 0.

So adding any amount of it keeps every equation true.

The answer is right!

Let's look back.

First: write the augmented matrix.

Then: row reduce.

Then: find the free letters.

Then: write the leading letters with the free ones.

Then: write it as vectors.

Last: check.

Answer
one point + any amount of each direction

โ–ถ Watch it solved

Practice

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

Easy

  1. solution set of x + 2y - z = 3, 2x + 4y + z = 3
    Answer
    one point + any amount of the direction
  2. solution set of x + y + z = 4, y - z = 1
    Answer
    one point + any amount of the direction
  3. solution set of x - y + 2z = 1, x + z = 3
    Answer
    one point + any amount of the direction
  4. solution set of x + 3y = 5, z = 2
    Answer
    one point + any amount of the direction
  5. solution set of x - 2y + z = 0
    Answer
    one point + any amount of each direction
  6. solution set of x + y - z = 2, x - y + z = 0
    Answer
    one point + any amount of the direction

Medium

  1. solution set of x - y + 2z = 1, 2x - y + 3z = 4, x + z = 3
    Answer
    one point + any amount of the direction
  2. solution set of x + y + z = 6, x + 2y + 3z = 10, 2x + 3y + 4z = 16
    Answer
    one point + any amount of the direction
  3. solution set of x + 2y = 4, 2x + 4y = 8, x + 2y + z = 5
    Answer
    one point + any amount of the direction
  4. solution set of x - z = 1, y + 2z = 3, x + y + z = 4
    Answer
    one point + any amount of the direction
  5. solution set of 2x + 4y - 2z = 6, x + 3y + z = 4
    Answer
    one point + any amount of the direction
  6. solution set of x + y = 3, x - y = 1
    Answer
    [x; y] = [2; 1]
  7. solution set of x + y - z = 1, x + 2y = 3
    Answer
    one point + any amount of the direction
  8. solution set of x - 3y + z = 2, y - z = -1
    Answer
    one point + any amount of the direction

Harder

  1. solution set of x + y + z + w = 4, x - y + z - w = 0
    Answer
    one point + any amount of each direction
  2. solution set of x + 2y - z + w = 3, y + z - w = 1
    Answer
    one point + any amount of each direction
  3. solution set of x + y = 2, y + z = 3, z + w = 4
    Answer
    one point + any amount of the direction
  4. solution set of x + 2y + 3z = 6, 2x + 4y + 6z = 12
    Answer
    one point + any amount of each direction
  5. solution set of x - y = -2, y - z = 1
    Answer
    one point + any amount of the direction
  6. solution set of x + y - 2z = -1, x + 2y - 3z = 0
    Answer
    one point + any amount of the direction
  7. solution set of x + y + z = 2, x + y + z = 5
    Answer
    0 = 3: no solution