Example 1: Maximise on a bounded feasible region
Solve the following linear programming problem graphically:
Maximise … (1)
subject to the constraints:
Draw the lines (graph):
through and ;
through and .
At : and are true, so shade the side of each line that contains the origin. With , the feasible region is OABC (shaded). It is bounded.
At B, subtracting from gives , so , .
The region is bounded, so the largest value in the table is the maximum of .
Maximum at .
Want the reason behind every step, the basics and the checks?
Each constraint keeps one side of a straight line, and the four kept sides overlap in a closed quadrilateral, the feasible region. Because the region is bounded and is linear, the maximum of exists and is at a corner. So the whole problem comes down to four corners and a table of four values.
- Given
- and the constraints , , , .
- To find
- The maximum value of on the feasible region, and where it occurs.
- Plan
- (1) and (2) Draw each line from its axis points and choose its side. (3) Shade the feasible region and see that it is bounded. (4) Find the corners. (5) Make the table of . (6) Read off the maximum.
Basics you need
For , put , then , and join the two points. Basics: where a line meets the axes
Put into the inequality: true means shade the origin's side, false means the other side. Basics: one side of a line
The points obeying all the constraints: the overlap of all the kept sides. Basics: where the shadings overlap
Where two boundary lines meet; solve their two equations together, then check the point in every constraint. Basics: a corner solves two equations
If the region can be enclosed in a circle, has a maximum and a minimum on it, and each occurs 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 true, so constraint (2) keeps the side of the line that contains the origin.
The boundary of is the line , and two points fix a line; the axis points are the quickest to find. The inequality holds on one whole side, and one test point tells us which.Draw the line and choose its side
Put : , so . Put : . So the line joins and .
Test in (3): is true, so again the origin's side is kept.
Same method. This line is steeper (it falls 3 units for each unit across), so it meets the -axis sooner, at 30 instead of 50.Shade the feasible region
Constraint (4) keeps the first quadrant. The part of it on the origin's side of both lines is the quadrilateral OABC:
The feasible region OABC of Example 1 (shaded). One unit along the -axis is drawn 1.75 times as long as one unit along the -axis. The corners are O(0, 0), A(30, 0), B(20, 30) and C(0, 50); the points and are outside the region. OABC is bounded: every corner is within 50 of O (B is , about 36, from O), so a circle about O of radius 51 encloses it.
The feasible region is where all four kept sides overlap. Whether it is bounded decides how we read the table at the end: for a bounded region the largest corner value is certainly the maximum.Find the corner points
O , where the axes meet.
A , where meets the -axis. The other line meets the -axis at , but there , so breaks (3) and is not a corner.
C , where meets the -axis. The point breaks (2): .
B, where the two lines cross:
and . So B is , and it obeys every constraint: , , .
The two lines and the two axes cross in six points; only the four that obey every constraint are corners of the region. Subtracting the equations removes , because both have .Work out at each corner
Corner point O A ← largest B C By Theorem 1 the maximum, if it exists, is at a corner, so these four values are the only candidates. The largest is and the smallest is .Conclude
The region is bounded, so by Theorem 2 the largest value in the table is the maximum of : maximum at .
Notice that the best corner is A, not the crossing point B. rewards four times as much as , and A has the largest possible . Moving from A to B along loses for each unit of given up but gains only in : a net loss.
The feasible region is bounded, with corners , , and , and
(Textbook answer: maximum value of is 120 at the point .)
A direct proof that nothing beats 120: on the region , so (3) gives , that is . Then , with equality only when and , that is at ✓.
Two other feasible points: gives , and gives ; both are below 120 ✓.
A computer check of all 1006 whole-number points of the region found the largest value 120, at only ✓.
- Assuming the crossing point B is always the answer. It gives 110 here; the table decides, not the picture.
- Using as a corner. It lies on but breaks .
- Shading away from the origin for "". Test : is true, so the origin's side is kept.
- Leaving out O. The origin is a corner too; here it gives the minimum, 0.
- For "" constraints with positive numbers on the right, together with , the region is a closed polygon with a corner at the origin.
- Find every corner, check each in every constraint, and let the table decide.
- The same steps give the dealer's answer in Section 12.2; Example 2 has a "" constraint and asks for a minimum.
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 1, 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 →