Linear programming, the quick way
Draw the lines, shade the region, find the corners, and put each corner into Z. The best value, when there is one, is always at a corner. Seven kinds of question cover the chapter.
The chapter in one minute
What the chapter is about, and what the exam asks.
Linear programming is about the best choice under limits. You have two amounts, and , a few rules that limit them, and one quantity to make as big or as small as possible.
Each rule is a straight line on a graph, and it keeps one side of that line. The part kept by every rule is the feasible region.
The best value of , when there is one, is always at a corner of the region. So you find the corners, put each one into , and pick the largest or the smallest.
The exam gives you the rules and asks you to solve the problem with a graph, or gives you the graph and asks for the rules. Most questions are one of seven kinds, and each kind has a fixed recipe.
The book also shows how to write the rules from a story (the furniture dealer). That step is in the book but not examined: CBSE's syllabus no longer lists it.
The rules you must know
There are few formulas in this chapter. These cards are the rules every answer uses.
The profit or cost to make as big or as small as possible. and are numbers.
Almost every problem has these. They keep the region in the top-right quarter of the graph.
Put for the first point and for the second. Join the two points. This needs , and all non-zero; for a line like or , find another point.
The line through and . Clear the fractions to get .
True: shade the side with the origin. False: shade the other side. Do the same for . If , the origin is on the line: test another point.
A corner is a point of the region where two boundary lines meet. Solve their two equations together, then check the point obeys every rule.
Bounded means you can draw a circle round it. Then is the maximum and the minimum.
If this open half-plane has no point in common with the region, is the maximum. If it has any, there is no maximum. Open means the line itself is left out.
If this open half-plane has no point in common with the region, is the minimum. If it has any, there is no minimum.
If two neighbouring corners and both give the best value, so does every point on the segment .
The question types and how to crack each one
For each type: how to spot it, what to do, and one question from the book worked the exam way. In types 1 to 6 you draw a neat graph; in type 7 the graph is given.
1. Find the maximum: lines, shading, corners, table
Spot it: "Maximise " with "" rules that have only plus signs, like . The region is then a closed shape with a corner at the origin.
- Draw each line through the two points where it meets the axes.
- Test in each rule to choose its side. Shade where all the kept sides overlap.
- Find every corner. Where two lines cross away from the axes, solve their equations together.
- Put each corner into in a table. In a bounded region the largest value is the maximum.
Exercise 12.1 Q5. Maximise subject to , , .
Line meets the axes at and . Line meets them at and .
Test : and are both true, so shade the origin's side of both lines.
The lines cross where and . So and .
The region is bounded, so the largest value in the table is the maximum.
∴ Maximum at
See a full exam answer · Go deeper: see it visually · Basics: a corner solves two equations
In past papers (2): click to see
2. A "" rule: shade away from the origin
Spot it: a rule like , often with "Minimise ". The region no longer touches the origin.
- Draw the line from its two axis points, as before.
- Test . Here is false, so shade the side away from the origin.
- Find the corners and make the table. In a bounded region the smallest value is the minimum.
Example 2. Minimise subject to , , .
Line meets the axes at and . Test : is false, so shade the side away from the origin.
Line meets the axes at and . Test : is true, so shade the origin's side.
The two lines meet at . The region is the triangle with corners , and , so it is bounded.
∴ Minimum at
See a full exam answer · Go deeper: see it visually · Basics: which side of the line
In past papers (7): click to see
3. Both maximum and minimum, and a tie along an edge
Spot it: "Minimise and maximise ". Often one rule, like , is a line through the origin.
- For a line through the origin, test another point, such as .
- Find the corners and make one table. The smallest value is the minimum and the largest is the maximum.
- If two corners share the best value, every point on the segment joining them gives it too. Say so.
Exercise 12.1 Q7. Minimise and maximise subject to , , , .
The line goes through the origin, so test : is true. Shade the side with .
The corners: and on the -axis; , where meets ; , where meets .
The region is bounded. The smallest value is 300, and the largest, 600, comes at two corners.
∴ Minimum at . Maximum at every point of the segment joining and
See a full exam answer · Go deeper: see it visually · Basics: lines of equal Z
In past papers (13): click to see
4. An unbounded region: check the minimum with a half-plane
Spot it: all the rules are "", so the shaded region goes on for ever. The question asks for a minimum.
- Find the corners and make the table, as before. Call the smallest value .
- Draw the line dotted. The open half-plane is the side of it where is smaller.
- If it has no point in common with the region, is the minimum. If it has any, there is no minimum.
Exercise 12.1 Q4. Minimise such that , , .
Line meets the axes at and , and line at and . Test : and are false, so shade away from the origin. The region is unbounded.
The lines cross where (subtract them). So and .
The smallest value is 7. The open half-plane has no point in common with the region, so 7 is the minimum.
∴ Minimum at
See a full exam answer · Go deeper: see it visually · Basics: lines of equal Z
In past papers (3): click to see
5. An unbounded region with no maximum
Spot it: the region goes on for ever, and keeps growing as you move out into it.
- Make the table and call the largest value .
- Look at the open half-plane . Find one point in the region on that side.
- If you find one, write " has no maximum value". The corner value is not the answer.
Exercise 12.1 Q9. Maximise subject to , , , .
The region goes on for ever, up and to the right: it is unbounded.
The corners: on the -axis; , where meets ; , where meets .
The largest value is 1. But the open half-plane has points in the region, such as , where .
∴ has no maximum value
See a full exam answer · Go deeper: see it visually · Basics: bounded or not
In past papers (2): click to see
6. No feasible region: the rules disagree
Spot it: the shaded sides of two rules never overlap, so no point obeys every rule.
- Rewrite each rule so it starts with .
- Show that no point can obey both, on the graph or in one line of algebra.
- Write "no feasible region", so has no maximum or minimum value.
Exercise 12.1 Q10. Maximise subject to , , .
Rewrite: means , and means .
Both together would need , which is never true. The two shaded parts never overlap.
∴ There is no feasible region, so has no maximum value
See a full exam answer · Book Example 5 · Go deeper: see it visually · Basics: where the shadings overlap
7. Read the rules from a graph
Spot it: the graph of the region is given, and the question asks for its constraints, or for the rule that is missing.
- For each slanted edge, read where its line meets the axes, say and . Write , then clear the fractions. An upright or flat edge is just or .
- Put a point of the region into the left side. Less than the right side gives ""; more gives "".
- If the region stays in the top-right quarter, add and .
Section 12.2, Fig 12.1, read the other way round. The shaded region OABC is closed in by the axes and two lines. One line meets the axes at and , the other at and . The origin is in the region. Write its constraints.
Put in : and . The origin is in the region, so both rules are "".
The region stays in the top-right quarter, so add and .
∴ , , ,
See the furniture-dealer problem solved in full · Go deeper: see it visually · Basics: where a line meets the axes
In past papers (3): click to see
Shortcuts and quick tips
Small habits that save time and marks.
- Your graph must show five things: (1) both axes with a scale, (2) each line with its equation written on it, (3) the points where each line meets the axes, (4) the feasible region shaded, (5) every corner with its coordinates.
- To draw a line, put , then . For that gives and .
- Choose a scale that fits the largest intercept. For numbers like 120, let one square be 10 or 20.
- With a positive number on the right, "" keeps the origin's side and "" keeps the other side.
- A rule like has the line , through the origin. Test a point such as instead.
- Check every corner in every rule before you put it in the table. A crossing point that breaks a rule is not a corner.
- Always make the table, even when one corner looks best. The table is the working the examiner reads.
- Two corners with the same best value: the answer is every point on the segment joining them.
- Told that the maximum comes at two corners, such as and ? Then is equal there: for .
- Unbounded region: never stop at the table. Draw the half-plane's line dotted on your graph, and do the open half-plane check for each answer you give.
Mistakes that cost marks
Each one is common, and each has an easy fix.
- Shading the wrong side → test in the rule, and shade the side where it is true.
- Testing on a line through the origin → it lies on the line and tells you nothing; test .
- Using a crossing point that is outside the region, like in Exercise 12.1 Q7 → check each corner in every rule.
- Reading a corner such as in Exercise 12.1 Q3 off the graph → solve the two equations together.
- Giving the smallest corner value of an unbounded region as the minimum at once → do the open half-plane check first.
- Leaving out and when you list the rules → write them every time.
- Giving one point when two corners tie → say every point on the segment joining them.
How the examiner gives marks
From CBSE's own papers and marking rules. Write these lines and the marks follow.
- Linear programming carries 5 of the 80 marks in the theory paper.
- CBSE asks for neat figures. Your graph, with the region shaded and the corners marked, is part of the answer. In CBSE's sample marking schemes the graph earns the biggest share of a "solve graphically" question.
- Examiners mark by steps. Keep each one on its own line: the graph, the corner points, the table of , and the answer.
- Finish with a conclusion in words, such as "Maximum at ". For an unbounded region, write the half-plane check as well.
- A slip is penalised only once, so keep going. An MCQ earns 1 mark for the right option only.
Practise these first
Easiest first. Together they cover every type above.
- Exercise 12.1 Q1 one line and the axes: a triangle with three corners
- Example 1 the maximum of a bounded region; then read its rules back from the graph
- Exercise 12.1 Q2 a minimum, with a minus sign in
- Section 12.2 the furniture dealer: solve it with a corner table
- Exercise 12.1 Q3 a corner with fractions: solve the two lines together
- Example 3 minimum and maximum, with a tie at the maximum
- Exercise 12.1 Q8 a "" rule and a line through the origin
- Exercise 12.1 Q6 unbounded, with the minimum along a whole edge
- Example 4 unbounded, and the smallest corner value is not a minimum
- Example 5 no feasible region
You can do this
Seven kinds of question, one method. Draw the lines, shade the region, find the corners and make the table. Work through the practice list and you are ready for the exam.
27 CBSE board and sample-paper questions on Linear Programming, each with a full-marks exam answer. Practise them →