AZTest
Inequalities study guide · step 4 of 5

Two-variable inequalities and linear programming problems

An inequality in x and y is a half-plane; several together make a region. In linear programming the best value of a linear expression is always at a corner of that region.

Key ideas

Watch out: If only whole numbers make sense, the best whole point may be next to the corner, not on it.

Practise this step

5 questions from this step only, in 8 minutes: new numbers and stories every time, of exactly the types worked out below. Marked at the end, with every question worked out.

Start the 5-question quiz

Every question type in this step, worked out

11 types of question. Try each one yourself before you open the hint or the solution.

Example 1 · level 8

For a party Mia may spend at most 100 euros. Pizzas cost 13 euros and drink packs 7.50 euros. Mia buys 4 pizzas. How many drink packs can she buy at most?

67y = ?
Hint

With x pizzas and y packs: px + qy ≤ B. Put in the number of pizzas.

Worked solution
67= 6.4y = 6
px+qy≤B
  1. 13 × 4 + 7.50y ≤ 100
  2. 7.50y ≤ 100 − 52 = 48, so y ≤ 6.4
  3. At most 6 packs

Answer: 6 packs

Example 2 · level 8

A factory makes x tables and y chairs a week, with 4x + 5y ≤ 148 hours of work. This week it makes 3 tables. How many chairs can it make at most?

27y = ?
Hint

Put x into the inequality and solve for y; chairs come in whole numbers.

Worked solution
27= 27.2y = 27
ax+by≤c
  1. 4 × 3 + 5y ≤ 148
  2. 5y ≤ 148 − 12 = 136, so y ≤ 27.2
  3. At most 27 chairs

Answer: 27 chairs

Example 3 · level 8

What is the area of the region where x and y are not negative and 5x + 8y ≤ 46?

xyA = ?
Hint

The region is a right triangle between the axes and the line ax + by = c.

Worked solution
xy= 9.2= 5.75A = 26.45
ax+by≤cA=c22ab
  1. The line meets the x-axis at x = 46/5 = 9.2 and the y-axis at y = 46/8 = 5.75
  2. Right triangle with legs 9.2 and 5.75
  3. Area: 9.2 × 5.75/2 = 26.45

Answer: 26.45

Example 4 · level 8

A bakery makes x loaves and y cakes. Flour limits it to 2x + 3y ≤ 40 and sugar to 5x + 4y ≤ 86. At the corner where both limits are reached exactly, how many loaves does it make?

xyx = ?
Hint

Solve the two boundary equations together.

Worked solution
xyx = 14
f1x+f2y≤Fs1x+s2y≤S
  1. 2x + 3y = 40 and 5x + 4y = 86
  2. Eliminate y: (2 × 4 − 3 × 5)x = (40 × 4) − (3 × 86), so −7x = −98
  3. x = 14 (and y = 4)

Answer: 14 loaves

Example 5 · level 8

How many pairs of whole numbers (x, y), neither of them negative, satisfy x + y ≤ 29?

xy?
Hint

For each x from 0 to n, count the possible y.

Worked solution
xy= 465
x+y≤n
  1. For a given x, y can be 0 to 29 − x: that is 29 − x + 1 values
  2. 30 + 29 + … + 1
  3. = 30 × 31/2 = 465 pairs

Answer: 465

Example 6 · level 9

A workshop makes x lamps and y clocks a week. It can make at most 40 lamps and at most 36 clocks, and at most 48 items in all. A lamp earns 4 euros and a clock 7 euros. What is the most it can earn in a week?

xy?
Hint

The best value of px + qy over the region is at a corner of the region.

Worked solution
xy= 300 euros
x≤Ay≤Bx+y≤C
  1. Corners: (40, 0), (40, 8), (12, 36), (0, 36)
  2. Earnings: 160, 216, 300, 252 euros
  3. Most: 300 euros, at (12, 36)

Answer: 300 euros

Example 7 · level 9

A festival needs at least 51 people on the gate. Supervisors cost 180 euros a day and helpers 100 euros. Each supervisor can lead at most 4 helpers. What is the lowest cost a day?

supervisorshelpers?
Hint

Helpers are cheaper, so use as many as the supervisors allow: x + y = N with y ≤ s·x.

Worked solution
supervisorshelpers= 5980 euros
x+y≥Ny≤sx
  1. With x supervisors: y = 51 − x ≤ 4x, so x ≥ 51/(4 + 1): the fewest is 11
  2. Then 40 helpers (at most 44 allowed)
  3. Cost: (180 × 11) + (100 × 40) = 5980 euros

Answer: 5980 euros

Example 8 · level 9

What is the area of the region where x ≥ 6, y ≥ 5 and x + y ≤ 15.5?

xyA = ?
Hint

The three lines make a right triangle; find its corners.

Worked solution
xyA = 10.125
x≥ay≥bx+y≤c
  1. Corners: (6, 5), (10.5, 5) and (6, 9.5)
  2. Both legs are 15.5 − 6 − 5 = 4.5
  3. Area: 4.5²/2 = 10.125

Answer: 10.125

Example 9 · level 9

How many points (x, y) with whole-number coordinates, neither negative, satisfy 5x + 2y ≤ 32?

xy?
Hint

For each x from 0 upwards, count the y from 0 to (c − ax)/b.

Worked solution
xy= 65
ax+by≤c
  1. x goes from 0 to 6
  2. Number of y for each x: 17, 14, 12, 9, 7, 4, 2
  3. Together: 65 points

Answer: 65

Example 10 · level 10

What is the area of the region where y is not negative, y ≤ 3x and x + y ≤ 27?

xyA = ?
Hint

It is a triangle with corners (0, 0), (c, 0) and where y = mx meets x + y = c.

Worked solution
xyy = 20.25A = 273.375
y≤mxx+y≤c
  1. x + 3x = 27, so x = 27/4 = 6.75 and y = 20.25
  2. Base 27 on the x-axis, height 20.25
  3. Area: 27 × 20.25/2 = 273.375

Answer: 273.375

Example 11 · level 10

For which smallest positive number k is kx + 10 ≥ 51 for every x from 10 to 19?

12345678k = ?
Hint

kx + b grows with x when k is positive, so the hardest place is the smallest x.

Worked solution
12345678k = 4.1
pk+b≥c
  1. With k positive the smallest value is at x = 10
  2. 10k + 10 ≥ 51, so k ≥ 41/10 = 4.1
  3. Then at x = 19 the value is 87.9, above 51 too

Answer: 4.1

Ready for the quiz?

Check yourself on this step: 5 questions, 8 minutes.

Start the quiz

All steps of the Inequalities study guide

  1. Solving one inequality

    Phone plans, savings goals, lift loads, the mark you need and taxi budgets.

  2. Double and absolute value inequalities

    Tolerances, numbers near a value, two limits at once, systems and sums of distances.

  3. Comparing offers

    When a plan, a bulk price or a rental becomes cheaper, and similar break-even comparisons.

  4. Inequalities in two variables

    Budgets for two things, whole points in a region, areas of regions and the best corner.

  5. Bounds and extremes

    The largest power below a number, the smallest x + k/x, the largest area and the smallest sum.

When every step feels easy, take the whole Inequalities test: 10 questions in 15 minutes.