M
Math Coach Amy
Amy Ferguson Moncure

IB AI · 12A Systems of Linear Equations

Three Linear Equations

Put every variable on the left before you eliminate. A solver for three equations needs that form.

Jump to section:

One letter at a time.

What to Remember

Standard form

ax + by + cz = d.

Eliminate one letter

Use one equation to remove that letter from the other two.

Back-substitute

Find the last letter first, then the others.

Check

Each original equation should hold.

Easy

Easy

Already in standard form.

Example
Solve the system. x + y + z = 6. 2x + y − z = 3. x − y + z = 2.

Write each equation in standard form.

x + y + z = 6

2x + y − z = 3

x − y + z = 2

Subtract 2 times equation 1 from the next equation.

−y − 3z = −9

Subtract 1 times equation 1 from the next equation.

−2y = −4

Subtract 2 times equation 2 from the next equation.

6z = 14

z = 73

y = 2

x = 53

The solution is (53, 2, 73).

Answer: (53, 2, 73)

1
Solve the system. x + y + z = 9. x − y + z = 1. 2x + y − z = 6.
Show Answer

Write each equation in standard form.

x + y + z = 9

x − y + z = 1

2x + y − z = 6

Subtract 1 times equation 1 from the next equation.

−2y = −8

Subtract 2 times equation 1 from the next equation.

−y − 3z = −12

Subtract 12 times equation 2 from the next equation.

−3z = −8

z = 83

y = 4

x = 73

The solution is (73, 4, 83).

Answer: (73, 4, 83)

2
Solve the system. x + y = 5. x + z = 6. y + z = 7.
Show Answer

Write each equation in standard form.

x + y = 5

x + z = 6

y + z = 7

Subtract 1 times equation 1 from the next equation.

−y + z = 1

Subtract −1 times equation 2 from the next equation.

2z = 8

z = 4

y = 3

x = 2

The solution is (2, 3, 4).

Answer: (2, 3, 4)

3
Solve the system. 2x + y + z = 9. x + 2y + z = 8. x + y + 2z = 7.
Show Answer

Write each equation in standard form.

2x + y + z = 9

x + 2y + z = 8

x + y + 2z = 7

Subtract 12 times equation 1 from the next equation.

32y + 12z = 72

Subtract 12 times equation 1 from the next equation.

12y + 32z = 52

Subtract 13 times equation 2 from the next equation.

43z = 43

z = 1

y = 2

x = 3

The solution is (3, 2, 1).

Answer: (3, 2, 1)

4
Solve the system. x + 2y + z = 8. 2x + y + z = 7. x + y + z = 6.
Show Answer

Write each equation in standard form.

x + 2y + z = 8

2x + y + z = 7

x + y + z = 6

Subtract 2 times equation 1 from the next equation.

−3y − z = −9

Subtract 1 times equation 1 from the next equation.

−y = −2

Subtract 13 times equation 2 from the next equation.

13z = 1

z = 3

y = 2

x = 1

The solution is (1, 2, 3).

Answer: (1, 2, 3)

5
Solve the system. 3x + y + z = 10. x + y + z = 6. x − y + z = 2.
Show Answer

Write each equation in standard form.

3x + y + z = 10

x + y + z = 6

x − y + z = 2

Subtract 13 times equation 1 from the next equation.

23y + 23z = 83

Subtract 13 times equation 1 from the next equation.

−43y + 23z = −43

Subtract −2 times equation 2 from the next equation.

2z = 4

z = 2

y = 2

x = 2

The solution is (2, 2, 2).

Answer: (2, 2, 2)

Medium

Medium

A variable starts on the right.

Example
Solve the system. x + y − z = 2. 2x − y + z = 5. x + y + z = 6.

Write each equation in standard form.

x + y − z = 2

2x − y + z = 5

x + y + z = 6

Subtract 2 times equation 1 from the next equation.

−3y + 3z = 1

Subtract 1 times equation 1 from the next equation.

2z = 4

z = 2

y = 53

x = 73

The solution is (73, 53, 2).

Answer: (73, 53, 2)

1
Solve the system. x − y + z = 4. 2x + y − z = 3. x + y + z = 8.
Show Answer

Write each equation in standard form.

x − y + z = 4

2x + y − z = 3

x + y + z = 8

Subtract 2 times equation 1 from the next equation.

3y − 3z = −5

Subtract 1 times equation 1 from the next equation.

2y = 4

Subtract 23 times equation 2 from the next equation.

2z = 223

z = 113

y = 2

x = 73

The solution is (73, 2, 113).

Answer: (73, 2, 113)

2
Solve the system. 2x + y − z = 4. x − y + z = 2. x + y + z = 6.
Show Answer

Write each equation in standard form.

2x + y − z = 4

x − y + z = 2

x + y + z = 6

Subtract 12 times equation 1 from the next equation.

−32y + 32z = 0

Subtract 12 times equation 1 from the next equation.

12y + 32z = 4

Subtract −13 times equation 2 from the next equation.

2z = 4

z = 2

y = 2

x = 2

The solution is (2, 2, 2).

Answer: (2, 2, 2)

3
Solve the system. x + y + z = 10. 2x − y + z = 7. x + y − z = 2.
Show Answer

Write each equation in standard form.

x + y + z = 10

2x − y + z = 7

x + y − z = 2

Subtract 2 times equation 1 from the next equation.

−3y − z = −13

Subtract 1 times equation 1 from the next equation.

−2z = −8

z = 4

y = 3

x = 3

The solution is (3, 3, 4).

Answer: (3, 3, 4)

4
Solve the system. 3x − y + z = 6. x + y + z = 6. x + y − z = 0.
Show Answer

Write each equation in standard form.

3x − y + z = 6

x + y + z = 6

x + y − z = 0

Subtract 13 times equation 1 from the next equation.

43y + 23z = 4

Subtract 13 times equation 1 from the next equation.

43y − 43z = −2

Subtract 1 times equation 2 from the next equation.

−2z = −6

z = 3

y = 32

x = 32

The solution is (32, 32, 3).

Answer: (32, 32, 3)

5
Solve the system. 2x + 2y − z = 5. x − y + z = 3. x + y + z = 6.
Show Answer

Write each equation in standard form.

2x + 2y − z = 5

x − y + z = 3

x + y + z = 6

Subtract 12 times equation 1 from the next equation.

−2y + 32z = 12

Subtract 12 times equation 1 from the next equation.

32z = 72

z = 73

y = 32

x = 136

The solution is (136, 32, 73).

Answer: (136, 32, 73)

Hard

Hard

Larger coefficients.

Example
Solve the system. 2x + y + z = 11. x + 2y + z = 10. x + y + 2z = 11.

Write each equation in standard form.

2x + y + z = 11

x + 2y + z = 10

x + y + 2z = 11

Subtract 12 times equation 1 from the next equation.

32y + 12z = 92

Subtract 12 times equation 1 from the next equation.

12y + 32z = 112

Subtract 13 times equation 2 from the next equation.

43z = 4

z = 3

y = 2

x = 3

The solution is (3, 2, 3).

Answer: (3, 2, 3)

1
Solve the system. 3x + y + z = 14. x + 3y + z = 12. x + y + 3z = 14.
Show Answer

Write each equation in standard form.

3x + y + z = 14

x + 3y + z = 12

x + y + 3z = 14

Subtract 13 times equation 1 from the next equation.

83y + 23z = 223

Subtract 13 times equation 1 from the next equation.

23y + 83z = 283

Subtract 14 times equation 2 from the next equation.

52z = 152

z = 3

y = 2

x = 3

The solution is (3, 2, 3).

Answer: (3, 2, 3)

2
Solve the system. 2x + 3y + z = 13. x + 2y + 3z = 14. 3x + y + 2z = 13.
Show Answer

Write each equation in standard form.

2x + 3y + z = 13

x + 2y + 3z = 14

3x + y + 2z = 13

Subtract 12 times equation 1 from the next equation.

12y + 52z = 152

Subtract 32 times equation 1 from the next equation.

−72y + 12z = −132

Subtract −7 times equation 2 from the next equation.

18z = 46

z = 239

y = 209

x = 179

The solution is (179, 209, 239).

Answer: (179, 209, 239)

3
Solve the system. 4x + y + z = 15. x + y + z = 6. x − y + 2z = 5.
Show Answer

Write each equation in standard form.

4x + y + z = 15

x + y + z = 6

x − y + 2z = 5

Subtract 14 times equation 1 from the next equation.

34y + 34z = 94

Subtract 14 times equation 1 from the next equation.

−54y + 74z = 54

Subtract −53 times equation 2 from the next equation.

3z = 5

z = 53

y = 43

x = 3

The solution is (3, 43, 53).

Answer: (3, 43, 53)

4
Solve the system. 2x − y + z = 5. x + 2y − z = 4. 3x + y + z = 14.
Show Answer

Write each equation in standard form.

2x − y + z = 5

x + 2y − z = 4

3x + y + z = 14

Subtract 12 times equation 1 from the next equation.

52y − 32z = 32

Subtract 32 times equation 1 from the next equation.

52y − 12z = 132

Subtract 1 times equation 2 from the next equation.

z = 5

z = 5

y = 185

x = 95

The solution is (95, 185, 5).

Answer: (95, 185, 5)

5
Solve the system. x + y + z = 12. 2x + y − 2z = 6. x − 2y + z = 0.
Show Answer

Write each equation in standard form.

x + y + z = 12

2x + y − 2z = 6

x − 2y + z = 0

Subtract 2 times equation 1 from the next equation.

−y − 4z = −18

Subtract 1 times equation 1 from the next equation.

−3y = −12

Subtract 3 times equation 2 from the next equation.

12z = 42

z = 72

y = 4

x = 92

The solution is (92, 4, 72).

Answer: (92, 4, 72)

Want to go over a system together?

Book a Session with Amy