Systems of Equations & Inequalities — Print

Two conditions at once, solved three ways — graph, substitute, or eliminate. The shaded overlap is the answer for inequalities.

What the practice questions cover

These questions use 6 ideas from the course. Follow any of them for a definition, where it is taught, and what it leads to.

You have 44 metres of fence and want a rectangular pen three metres longer than it is wide.

Try a width of 10: the length is 13, and the fence needed is 2(10) + 2(13) = 46. Too much.

a fence 44 m long around a pen 3 m longer than it is wide w + 3 w two facts, two unknowns how much fence 2l + 2w = 44 how the sides compare l = w + 3

Try 9: length 12, fence 42. Not enough. The answer is somewhere between, and guessing is slow.

Notice you are holding two separate facts. One is about how much fence. One is about how the sides compare.

Either fact alone allows infinitely many pens. A width of 9 satisfies the second fact perfectly — it just wastes fence.

It takes both together to pin down a single pen. That is what a system is: two conditions that must hold at once, and a solution that satisfies every one of them.

Two lines meeting at the solution of a system the solution of a system is the point that satisfies both equations (3, 4) y = x + 1 x + 2y = 11 check in both: 4 = 3 + 1 and 3 + 2(4) = 11 parallel lines never meet, so that system has no solution

Picking a method

A variable already alone? Substitute. Coefficients that match or are opposites? Eliminate. Want a picture, or approximate answers? Graph.

Elimination usually wins for standard-form systems; substitution wins when something is already solved for.

Whichever you choose, check the pair in both original equations.

Graphing finds the intersection

Solving f(x) = g(x) and finding where two graphs cross are the same problem. That is why a graphing calculator can solve equations you cannot factor.

Elimination with a multiplier

When nothing matches, multiply one or both equations to force a match.

For 2x + 3y = 13 and 5x - y = 7: multiply the second by 3 to get 15x - 3y = 21, then add.

17x = 34, so x = 2 and then y = 3. Multiply the whole equation, every term including the constant.

Every term

Multiplying 5x - y = 7 by 3 gives 15x - 3y = 21. Forgetting to triple the 7 is the single most common error in elimination.

Graphing an inequality

Graph the boundary line. Dashed for < or >, solid for ≤ or ≥.

Then test a point not on the line — (0, 0) if possible. If it satisfies the inequality, shade that side.

For a system, shade each one and the answer is the region shaded by all of them.

Test the origin

Put (0,0) into the inequality. True means shade the side containing the origin. It is faster and safer than reasoning about which way the sign points.

Systems in context

Two unknowns need two relationships. Look for one about quantity and one about value, or one about time and one about distance.

Define both variables in words. Then read the problem twice, writing one equation each time.

At the end, check the answer makes sense: you cannot buy -3 tickets.

Worked examples

Elimination with a multiplier

Solve 2x + 3y = 13 and 5x - y = 7.

  1. Multiply the second equation by 3: 15x - 3y = 21 Now the y coefficients are opposites.
  2. Add: (2x + 15x) + (3y - 3y) = 13 + 21 The y terms cancel.
  3. 17x = 34, so x = 2 Divide by 17.
  4. 5(2) - y = 7, so y = 3 Check the first: 2(2) + 3(3) = 13 ✓

(2, 3)

Graphing a system of inequalities

Describe the solution region for y ≤ 2x + 1 and y > -x + 4.

  1. Graph y = 2x + 1 solid, since ≤ includes it. Solid for ≤ and ≥.
  2. Test (0, 0): 0 ≤ 1 is true, so shade below that line. The origin side.
  3. Graph y = -x + 4 dashed, since > excludes it. Dashed for strict inequalities.
  4. Test (0, 0): 0 > 4 is false, so shade the other side — above. Away from the origin.
  5. The solution is the wedge shaded by both. A point like (4, 3) satisfies both ✓

The overlap: below the solid line and above the dashed one

In context

A shop sells $4 and $7 notebooks. It sold 50 notebooks for $275. How many of each?

  1. Let a be the cheap ones and b the dear ones. Define both variables.
  2. Quantity: a + b = 50. Value: 4a + 7b = 275. One equation each way.
  3. Multiply the first by 4: 4a + 4b = 200, then subtract. Eliminate a.
  4. 3b = 75, so b = 25 and a = 25 Check: 4(25) + 7(25) = 100 + 175 = 275 ✓

25 of each

Words to know

System
Equations or inequalities that must all hold together.
Consistent / inconsistent
Has a solution / has none.
Feasible region
The shaded overlap for a system of inequalities.
Boundary line
The line you would get by replacing the inequality sign with =.

Mistakes to watch for

Multiplying only part of an equation. Scaling 5x - y = 7 by 3 gives 15x - 3y = 21 — the constant must be tripled too. Forgetting the 7 is the most common elimination error there is.

Using a solid boundary line for a strict inequality. y > 2x + 1 excludes the line itself, so it is drawn dashed. Solid claims the points on the line are solutions, and they are not.

Shading without testing a point. Put (0, 0) into the inequality: true means shade the side containing the origin. Reasoning about which way the sign points is slower and less reliable.

Reporting only one coordinate. A system's solution names a point, so it needs both numbers. If the context is a word problem, check the pair makes sense — you cannot buy -3 tickets.

Systems with thousands of equations are solved every day, and the method is still essentially elimination.

In 1947 George Dantzig extended the idea to inequalities, inventing the simplex algorithm — now used to route aircraft, schedule factories and plan diets.

As a graduate student Dantzig once arrived late to a lecture, copied two problems off the board as homework, and solved them. They were famous unsolved problems.

Problem 1

Solve y = 3x - 1 and y = x + 5.

Worked answer

(3, 8)

3x - 1 = x + 5

2x = 6, so x = 3

y = 8

Problem 2

Solve x + y = 12 and x - y = 2.

Worked answer

(7, 5)

2x = 14, so x = 7

y = 5

Problem 3

Solve 3x + y = 14 and 2x - y = 1.

Worked answer

(3, 5)

5x = 15, so x = 3

9 + y = 14, so y = 5

Problem 4

Is (4, -1) a solution of 2x + 3y = 5 and x - y = 5? Answer yes or no.

Worked answer

yes

8 - 3 = 5 ✓

4 - (-1) = 5 ✓

Problem 5

For y > 2x + 1, is the boundary line solid or dashed?

Worked answer

dashed

> does not include equality

So the line is dashed

Problem 6

Solve 2x + 3y = 13 and 5x - y = 7.

Worked answer

(2, 3)

15x - 3y = 21

Add: 17x = 34, so x = 2

10 - y = 7, so y = 3

Problem 7

Solve 4x + 5y = 7 and 3x - 2y = 12.

Worked answer

(3, -1)

× 2: 8x + 10y = 14; × 5: 15x - 10y = 60

Add: 23x = 69, so x = 3

12 + 5y = 7, so y = -1

Problem 8

For y ≤ -x + 6, does the shading include (0, 0)? Answer yes or no.

Worked answer

yes

0 ≤ 6 is true

So the origin is in the solution region

Problem 9

How many solutions does 2x - y = 4 and 4x - 2y = 9 have?

Worked answer

none

Double the first: 4x - 2y = 8

But the second says 9

Parallel lines, so no solution

Problem 10

Two numbers add to 54; one is twice the other. Find the larger.

Worked answer

36

2y + y = 54

y = 18

Larger is 36

Problem 11

5 pens and 3 pencils cost $4.10. 2 pens and 3 pencils cost $2.30. Find the price of one pen.

Worked answer

0.6

3p = 1.80

p = $0.60

Problem 12

A system of two linear inequalities has a solution region shaped like a wedge. This means

  1. the two boundary lines cross
  2. the lines are parallel
  3. there is no solution
  4. the lines are the same
Worked answer

the two boundary lines cross

Crossing lines cut the plane into four wedges

The solution is one of them

Problem 13

A 30% acid solution is mixed with a 60% solution to make 10 litres of 50% solution. How many litres of the 30% solution are used?

Worked answer

10/3

x + y = 10

0.3x + 0.6y = 5

0.3x + 0.6(10 - x) = 5

-0.3x = -1, so x = 103 ≈ 3.33 L

Problem 14

Solve 6x - 4y = 10 and 9x - 6y = 15.

Worked answer

infinitely many

First ÷ 2: 3x - 2y = 5

Second ÷ 3: 3x - 2y = 5

The same line, so infinitely many solutions

Problem 15

A rectangle's perimeter is 44 cm and its length is 3 cm more than twice its width. Find the width.

Worked answer

19/3

2(2w + 3) + 2w = 44

6w + 6 = 44

6w = 38, so w = 193 ≈ 6.33 cm

Problem 16

A point (3, 5) satisfies y > x + 1 and y ≤ 2x. Verify it. Answer yes or no.

Worked answer

yes

5 > 4 ✓

5 ≤ 6 ✓

So yes, it is in the solution region

Browse all courses