View as PDF

MATHEMATICS · GRADES 10-12

Linear programming basics

Difficulty level: Advanced

Mathematics: Grades 10-12

This document was made by AI and there may be mistakes. If a question or answer looks wrong, use the Flag a mistake button to let Brett know so he can fix it.

Overview of the concept

This is how you get the best result inside your limits, like a bakery making the most profit from the flour and time it has. You cannot make everything, so you have to choose the mix that earns the most while staying inside what you have. A bakery uses it to decide what to bake, a factory uses it to plan production, and anyone with limited time, money, or materials uses the same idea to get the most out of what they have.

Rule

The best value of a linear objective over a region always happens at a corner of the region.

Work out the objective at every corner and pick the biggest for a maximum or the smallest for a minimum.

Worked examples

Example 1

Maximise P = 3x + 2y over the triangle with corners (0, 0), (4, 0), (0, 4). What is the maximum value of P, and at which corner does it happen?

Diagram for Worked example 1: triangle with corners (0, 0), (4, 0) and (0, 4), with the line 3x + 2y = 6 and P increasing toward (4, 0)

Solution

Evaluate P at each corner: at (0, 0), P = 0; at (4, 0), P = 12; at (0, 4), P = 8.

Compare: 12 is the largest.

Maximum P = 12 at (4, 0)

Example 2

Minimise C = x + 2y over the same triangle. What is the minimum value of C, and at which corner does it happen?

Diagram for Worked example 2: triangle with corners (0, 0), (4, 0) and (0, 4)

Solution

At (0, 0), C = 0; at (4, 0), C = 4; at (0, 4), C = 8.

Compare: 0 is the smallest.

Minimum C = 0 at (0, 0)

Practice questions

1

Profit is P = x + y, and the shaded region shows the possible mixes. What is the greatest profit, and at which corner does it happen?

Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019
2

Profit is P = 3x + y, and the shaded region shows the possible mixes. What is the greatest profit, and at which corner does it happen?

Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019
3

Why is checking the corners enough to find the best profit?

4

Cost is C = x + y, and the shaded region shows the possible mixes. What is the smallest cost, and at which corner does it happen?

Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019
5

Profit is P = 2x + y, and the shaded region shows the possible routes. What is the greatest profit, and at which corner does it happen?

Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019
6

What is P = 4x + y called in linear programming?

7

What are the conditions x + y ≤ 4, with x ≥ 0 and y ≥ 0, called?

8

Cost is C = x + 3y, and the shaded region shows the possible orders. What is the smallest cost, and at which corner does it happen?

Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019
9

Profit is P = x + 4y, and the shaded region shows the possible mixes. What is the greatest profit, and at which corner does it happen?

Coordinate axes with the triangle with corners (0, 0), (4, 0) and (0, 4) shaded.
10

Profit is P = x + 3y, and the shaded region shows the possible orders. What is the greatest profit, and at which corner does it happen?

Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019 Created by potrace 1.16, written by Peter Selinger 2001-2019
ANSWER KEY

1. 3, at (3, 0)

2. 6, at (2, 0)

3. The optimum of a linear function over a polygon always occurs at a corner

4. 2, at (1, 1)

5. 5, at (0, 5)

6. The objective function

7. Constraints

8. 2, at (2, 0)

9. 16, at (0, 4)

10. 13, at (1, 4)