Example 2: Minimise graphically
Solve the following linear programming problem graphically:
Minimise … (1)
subject to the constraints:
Draw the lines (graph):
through and ;
through and .
At : is false, so for shade the side away from the origin; is true, so for shade the side containing the origin. With , the feasible region is the triangle ABC (shaded). It is bounded.
At B, from , . Then gives , .
The region is bounded, so the smallest value in the table is the minimum of .
Minimum at .
Want the reason behind every step, the basics and the checks?
A "" constraint keeps the side of its line away from the origin, and a "" constraint the side towards it. Here the two kept sides overlap only in a thin triangle between the two lines, next to the -axis. It is bounded, so the minimum of the linear function exists and sits at one of the three corners.
- Given
- and the constraints , , , .
- To find
- The minimum value of and where it occurs.
- Plan
- (1) and (2) Draw each line and choose its side with the test point . (3) Shade the triangle ABC. (4) Find its corners, solving for B. (5) Tabulate . (6) Take the smallest value.
Basics you need
Put , then , in , and join the two points. Basics: where a line meets the axes
If makes the inequality false, the kept side is the one without the origin. Basics: one side of a line
The overlap of all the kept sides, including and . Basics: where the shadings overlap
Solve the equations of the two lines that meet there; check the point in every constraint. Basics: a corner solves two equations
On a bounded region has both a maximum and a minimum, each at a corner point (Section 12.2.2). Basics: bounded or not
Solution
Draw the line and choose its side
Put : . Put : , so . The line joins and .
Test in (2): is false. So (2) keeps the side of the line that does not contain the origin.
The origin gives , which is too small for "at least 10". Every point on the origin's side gives a value below 10, and every point on the far side a value above 10, so the far side (with the line itself) is kept.Draw the line and choose its side
Put : , so . Put : , so . The line joins and .
Test in (3): is true, so (3) keeps the origin's side.
Same test, opposite result: "" with a positive number on the right always keeps the origin.Shade the feasible region
We need points above , below , and in the first quadrant. On the -axis this is ; moving right, the two lines close in and meet at B. The region is the small triangle ABC:
The feasible region of Example 2 is the thin triangle ABC (shaded), drawn with equal scales. A(0, 5) and C(0, 6) are on the -axis, and B(4, 3) is where the two lines cross. Beyond B the line is below , so no point there obeys both constraints. The triangle is bounded: all three corners lie within a circle about O of radius 6.
To the right of B, every point on or below is below , so the two kept sides do not overlap there. That is why the region stops at B. The distances from O are 5, 5 and 6, so a circle of radius 6 about O contains the whole triangle.Find the corner points
A : meets the -axis. C : meets the -axis.
B: from , . Substitute in :
and . So B is , and it obeys every constraint: , , .
The other crossing points are not in the region: breaks (3), since ; breaks (2), since ; and O breaks (2).
Substitution works well here because is easy to isolate from the first equation. Checking the rejected points shows why the region has only three corners.Work out at each corner
Corner point A B ← smallest C By Theorem 1 the minimum, if it exists, is at a corner, so these three values are the candidates: and .Conclude
The region is bounded, so by Theorem 2 the smallest value in the table is the minimum: minimum at .
The question asks only for the minimum. (The same table also gives the maximum, 3000 at , because the region is bounded.) B wins because is the expensive variable in (500 per unit against 200 for ), and B has the smallest in the region.
The feasible region is the bounded triangle with corners , , , and
(Textbook answer: minimum value of is 2300 attained at the point .)
An exact proof that nothing is below 2300: . On the region and , so , with equality only where both lines meet, at ✓.
The centre of the triangle, , gives , between 2300 and 3000 ✓.
The region has just five whole-number points: , , , , , with ; the smallest is at ✓.
- Shading towards the origin for . The test is false, so the origin's side is not kept.
- Including O, or as corners. Each breaks one of the constraints.
- Arithmetic at B. , not . Then gives ; forgetting to multiply by 3 gives the impossible .
- Giving the largest value. The question says minimise: the answer is 2300, not 3000.
- "" with a positive number on the right keeps the side away from the origin; "" keeps the origin's side.
- A bounded region gives both a maximum and a minimum from the same corner table.
- Next, Example 3 asks for both, and two corners tie for the maximum.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| A line from its axis points; a test point chooses the side | Steps 1, 2 | Class XI, Linear Inequalities (Basics, Basics) |
| Feasible region: common region of all the constraints | Step 3 | Section 12.2.2 (Basics) |
| Bounded: can be enclosed within a circle | Step 3 | Section 12.2.2, footnote to Theorem 2 (Basics) |
| Corner point: where two boundary lines meet | Step 4 | Section 12.2.2, footnote to Theorem 1 (Basics) |
| Theorem 1 and Theorem 2 | Steps 5, 6 | Section 12.2.2 |
| Corner Point Method, step 3(i): bounded region | Step 6 | Section 12.2.2 (Lesson) |
| Textbook working and answer | Result | Example 2, Section 12.2.2 |
| All values | Steps, Check | Recomputed with exact fractions in the site's verification script |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →