- 1. What is the best plan? Optimisation and linear programming
- 2. Turning a story into maths: formulating an LPP
- 3. Which plans are allowed? The feasible region and its corners
- 4. Why the best plan sits at a corner: the corner point method
- 5. When the region never ends: unbounded feasible regions
- 6. Ties and impossible problems: multiple optimal solutions and no feasible region
- Review
Review
Review: Linear Programming
The chapter in one lineWrite the problem as a linear objective with linear constraints, draw the feasible region, work out Z at its corners, and, if the region never ends, check that nothing beyond the best corner does better.
Summary
Read the summary · 10 points
- An optimisation problem asks for the greatest or least value of something (profit, cost, use of resources) under limits. A linear programming problem (LPP) is the special case in which the objective and every constraint are linear.
- "Linear" means all relations are first degree; "programming" means planning a programme of action. The textbook uses only the graphical method, for two variables.
- Formulating an LPP needs decision variables (x, y), a linear objective function Z = ax + by to maximise or minimise, linear constraints, and the non-negative restrictions x ≥ 0, y ≥ 0.
- Each constraint keeps one half-plane; the common region of all of them, including x, y ≥ 0, is the feasible region (solution region). Points in it or on its boundary are feasible solutions; points outside are infeasible solutions.
- A corner point (vertex) is a point of the feasible region where two boundary lines meet. A crossing of two lines outside the region is not a corner.
- A region is bounded if a circle can enclose it, otherwise unbounded. The feasible region of an LPP is always convex.
- Theorem 1: if Z has an optimal value on the feasible region, it occurs at a corner point. Theorem 2: on a bounded region, Z has both a maximum and a minimum, each at a corner point. The same-value lines ax + by = k are parallel; sliding them outward, the last point of contact is a corner (or a whole edge).
- Corner point method: find the corners, evaluate Z at each, let M be the largest and m the smallest. On a bounded region these are the maximum and minimum.
- On an unbounded region, M is the maximum only if no feasible point lies in the open half-plane ax + by > M, and m is the minimum only if none lies in ax + by < m; if one does, there is no maximum (minimum).
- If two corners give the same optimal value, every point on the segment joining them does too (multiple optimal solutions). If the constraints have no common point, there is no feasible region and no feasible solution.
Common questions
Why is the optimum always at a corner? Why not somewhere in the middle?
Z = ax + by is a flat, tilted surface with no hills or valleys. From any point inside the region you can take a small step in the direction that increases Z (or decreases it) and still be in the region, so an inside point can never be the best. Sliding a same-value line ax + by = k across a region with straight edges, the last point it touches is a corner, or a whole edge if the line is parallel to that edge.
Is a crossing of two constraint lines always a corner point?
No. It is a corner only if it satisfies every constraint. For x + y ≤ 40 and 3x + y ≤ 60, the line 3x + y = 60 meets the y-axis at (0, 60), but that point breaks x + y ≤ 40, so it is not a corner. Check each crossing in all the inequalities before putting it in your table.
If the feasible region is unbounded, is there never a maximum or minimum?
There may still be one. A diet region that runs off towards more and more food has no maximum cost, but it does have a minimum cost at a corner. Find the best corner value, then test the open half-plane of better values: if it has no point in common with the region, that corner value is the answer.
How do I draw the open half-plane in the unbounded test?
Draw the line ax + by = M (or = m) as a dotted line through the best corner, then shade the side where Z is bigger (for a maximum) or smaller (for a minimum). The dotted line itself is not included. If any part of the feasible region falls in that shaded side, there is no maximum (minimum). Testing one feasible point that scores better is enough to show it.
What if the best corner gives a fraction, like 13.3 desks?
The graphical method in the textbook allows x and y to be any non-negative real numbers, so a fractional corner is still the answer to the LPP as stated. If the items must be whole numbers, that is a different, harder problem (integer programming) that the textbook does not cover. Textbook questions are designed so that this does not cause trouble.
What is the difference between "no feasible solution" and "no optimal solution"?
No feasible solution means the constraints contradict each other, so no point obeys all of them: there is no region at all. No optimal solution (for example, no maximum) means the region exists but is unbounded, and Z keeps improving as you move further out in it.
How should I set out an LPP answer in the board exam?
Write the LPP (objective, constraints, non-negativity). Draw each line from its intercepts and shade the feasible region; say whether it is bounded. Find the corners, solving equations where needed. Make a table of Z at each corner. State the answer as value and point ("maximum 13,500 at (10, 30)"), and for an unbounded region show the open half-plane check.
Practice
Five more of our own questions on the whole chapter.
1
Maximise Z = 5x + 4y subject to x + y ≤ 6, x + 2y ≤ 8, x, y ≥ 0. The maximum is
- 28, at (4, 2)
- 30, at (6, 0)
- 16, at (0, 4)
2
For the constraints x + y ≤ 6, x + 2y ≤ 8, x, y ≥ 0, which of these is a corner point of the feasible region?
- (0, 6)
- (8, 0)
- (4, 2)
3
Minimise Z = 2x + y subject to x + y ≥ 4, x + 3y ≥ 6, x, y ≥ 0. The feasible region is unbounded. What is the minimum?
- 4, at (0, 4)
- 7, at (3, 1)
- There is no minimum, because the region is unbounded
4
The constraints of an LPP have no point in common. The problem has
- an optimal value of 0
- no feasible solution
- infinitely many optimal solutions
5
On the bounded region x, y ≥ 0, 2x + 3y ≤ 12, Z = 4x + 6y has the value 24 at both (6, 0) and (0, 4). How many optimal solutions does the maximum have?
- One
- Exactly two
- Infinitely many
About this chapter
Written by girgit in our own words. It follows the structure and section numbers of the NCERT textbook (NCERT Mathematics Part II, Class 12, Chapter 12 (2023-24 rationalised)) so you can read it alongside your book. Where the textbook is out of date or mistaken, a "Textbook check" says so and tells you what to write in the exam. girgit is not affiliated with or endorsed by NCERT. Past questions: NEET (UG), National Testing Agency; explanations ours.
Text and interactives © 2026 girgit.org. All rights reserved. Pictures and videos credited on this page belong to their owners and keep their own licences.
Cite this chapter
girgit. (2026). Linear Programming. In Maths, Class 12. https://girgit.org/maths/class-12/linear-programming/
Picture and video credits