Practice free
Unit 7 · Systems and matrices

Linear programming

Grade 12 (Precalculus) · O. Systems of inequalities · 30 practice questions

How this works

The largest value sits at a corner, so work out P at every corner and keep the biggest.

The objective function P = 5x + 3y is to be made as large as possible over a region whose corner points are (0, 0), (8, 0), (6, 5), and (0, 9). What is the largest value of P?

(0, 0)
5 × 0 + 3 × 0 = 0
(8, 0)
5 × 8 + 3 × 0 = 40
(6, 5)
5 × 6 + 3 × 5 = 45
(0, 9)
5 × 0 + 3 × 9 = 27
Biggest
45

Answer: 45

Watch out: Testing only the corners on the axes: (8, 0) gives 40. The corner (6, 5) gives 45, the largest.

Try it

1. The objective function P = 8x + 6y is to be made as large as possible over a region whose corner points are (0, 0), (5, 0), (3, 10), and (0, 11). What is the largest value of P?

2. The objective function P = 9x + 5y is to be made as large as possible over a region whose corner points are (0, 0), (11, 0), (9, 7), and (0, 11). What is the largest value of P?

3. The objective function P = 7x + 4y is to be made as large as possible over a region whose corner points are (0, 0), (9, 0), (7, 10), and (0, 14). What is the largest value of P?

Answers are checked in the free account — with a hint before the answer, and the full solution after a miss.

How to help at home

The largest value an objective function can reach over a region with straight edges always lands on one of the corners, so testing the corners settles it and nothing inside has to be checked. At the winning corner the two pieces work out like this: 8 × 3 = 24, and 6 × 10 = 60, and together they reach the value here: 24 + 60 = 84, which beats what every other corner gives.

More in O. Systems of inequalities