Class 12 Maths Chapter 12: Linear Programming Notes
This chapter in five lines
A linear programming problem asks for the largest or smallest value of a linear function Z = ax + by when x and y are non-negative and obey linear inequalities. Draw the feasible region, find its corner points, and evaluate Z at each. On a bounded region the largest and smallest values are the maximum and minimum; on an unbounded one, check with an open half-plane first.
What is this chapter about?
Many everyday decisions come down to one question: with limited money, time, space or material, how should we choose quantities so that a profit is as large as possible or a cost as small as possible? Such questions are called optimisation problems. When the quantity to optimise and every limit can be written as linear expressions in two variables, the problem is a linear programming problem, and Class 11 graphs of linear inequalities are enough to solve it.
The chapter covers book pages 394–405. It has one teaching section, 12.2, which first turns a word problem into mathematics (12.2.1) and then solves it on a graph (12.2.2). It ends with five worked examples and Exercise 12.1 of 10 questions; there is no Miscellaneous Exercise.
Turning a situation into an LPP
The book’s opening problem is about a furniture dealer who buys tables and chairs with a fixed amount of money and limited storage, and wants the largest profit. To write it as an LPP:
- Decision variables. Call the number of tables x and the number of chairs y. Neither can be negative: x ≥ 0, y ≥ 0.
- Constraints. The money limit gives 2500x + 500y ≤ 50000, that is 5x + y ≤ 100. The storage limit gives x + y ≤ 60.
- Objective function. The profit is Z = 250x + 75y, and we want to maximise it.
So the problem is: maximise Z = 250x + 75y subject to 5x + y ≤ 100, x + y ≤ 60, x ≥ 0, y ≥ 0. The word linear says every relation is of the first degree; programming means choosing a plan of action. More on this, with a second example of our own: formulating a linear programming problem.
The feasible region and the corner points
Draw each constraint as a line and keep the side where the inequality holds. The part of the plane common to all of them is the feasible region. Every point in it, boundary included, is a feasible solution; for the dealer, (10, 50), (0, 60) and (20, 0) are feasible, while (25, 40) is not, because 25 + 40 = 65 is more than the 60 pieces he can store.
The region for the dealer is the quadrilateral OABC with corners O(0, 0), A(20, 0), B(10, 50) and C(0, 60). B is where 5x + y = 100 meets x + y = 60: subtracting gives 4x = 40, so x = 10 and y = 50.
Two theorems and the corner point method
The region has infinitely many points, so we cannot test them all. Two theorems (stated, not proved, in the book) save us:
- Theorem 1. If Z = ax + by has an optimal value on the feasible region, that value occurs at a corner point.
- Theorem 2. If the feasible region is bounded, both the maximum and the minimum of Z exist on it, and each sits at a corner point.
For the dealer, Z = 0, 5000, 6250 and 4500 at O, A, B and C, so the largest profit is ₹6250, from 10 tables and 50 chairs. This is the corner point method:
- Draw the feasible region and find its corner points, by inspection or by solving the two lines that meet at each one.
- Evaluate Z at every corner point. Let M be the largest value and m the smallest.
- If the region is bounded, M is the maximum and m is the minimum.
- If the region is unbounded, M is the maximum only if the open half-plane ax + by > M shares no point with the region, and m is the minimum only if ax + by < m has none. Otherwise Z has no maximum (or no minimum).
Full method with worked examples: the graphical (corner point) method.
Unbounded regions need one more check
A region is unbounded when no circle can enclose it. Then a corner value can be the largest or smallest among the corners and still not be the maximum or minimum, because Z may keep growing (or falling) as we move out along the region. In Example 4 of the book, Z = −50x + 20y is −300 at the corner (6, 0), the smallest corner value. But the half-plane −50x + 20y < −300 still contains points of the region, such as (10, 3) where Z = −440, so Z has no minimum.
Two special cases
- A whole edge can be optimal. If two corner points give the same maximum (or minimum), every point of the segment joining them gives it too. In Example 3, Z = 3x + 9y is 180 at both (15, 15) and (0, 20).
- There may be no feasible region. If the half-planes have no common point, the problem has no feasible solution at all, as in Example 5 (x + y ≥ 8 and 3x + 5y ≤ 15 in the first quadrant).
The book also notes that the feasible region of an LPP is always a convex region.
A plan for every LPP
- Read the problem and name the decision variables.
- Write the objective function and every constraint, with x ≥ 0 and y ≥ 0.
- Draw the lines, shade the feasible region, and say whether it is bounded.
- Find every corner point exactly (solve the pair of equations; do not read it off the graph).
- Make a table of Z at the corners.
- Bounded: read off M and m. Unbounded: test the open half-plane before you call M a maximum or m a minimum.
Before we move on
This is the rationalised book (marked Reprint 2026-27). The chapter keeps sections 12.1 and 12.2 only, with 5 worked examples and Exercise 12.1 (10 questions), and it solves problems by the graphical method alone. Every example and exercise question is worked out, each with its own graph of the feasible region, in the NCERT solutions for Chapter 12. Chapter 11, Three Dimensional Geometry, comes just before this chapter.
Key terms
| Term | Meaning |
|---|---|
| Linear programming problem (LPP) | A problem of finding the largest or smallest value of a linear function of x and y, where x and y are non-negative and must satisfy a set of linear inequalities. |
| Objective function | The linear function Z = ax + by (a and b constants) that has to be maximised or minimised, such as a profit or a cost. |
| Decision variables | The unknowns x and y whose values we choose, such as the number of tables and of chairs. They can never be negative. |
| Constraints | The linear inequalities or equations that limit x and y, such as a budget or a storage limit. x ≥ 0 and y ≥ 0 are called non-negative restrictions. |
| Feasible region | The region common to all the constraints, including x ≥ 0 and y ≥ 0. The rest of the plane is the infeasible region. |
| Feasible solution | Any point inside the feasible region or on its boundary. A point outside it is an infeasible solution. |
| Optimal solution | A point of the feasible region where Z takes its optimal value (its maximum or its minimum). |
| Corner point | A vertex of the feasible region: a point of the region where two of its boundary lines meet. |
| Bounded region | A feasible region that can be enclosed in a circle. If no circle can hold it, because it runs on without end in some direction, it is unbounded. |
| Corner point method | The graphical method of this chapter: find the corner points, evaluate Z at each, and read off the maximum and minimum, with an extra half-plane check when the region is unbounded. |
Topics in this chapter
Practice
-
Which of these can be the objective function of a linear programming problem?
Show answer
Answer: (b) Z = 3x + 4y
-
A bounded feasible region has corner points (0, 0), (5, 0), (3, 4) and (0, 5). The maximum of Z = 2x + 3y is:
Show answer
Answer: (c) 18
-
For the same region, the minimum of Z = x − y is:
Show answer
Answer: (c) −5
-
On an unbounded feasible region, the largest corner value of Z = ax + by is M. Then M is the maximum of Z only if:
Show answer
Answer: (b) the open half-plane ax + by > M shares no point with the region
-
Z takes its maximum value at two corner points P and Q of the feasible region. The same maximum is also taken at:
Show answer
Answer: (b) every point of the segment PQ
Questions students ask
What are the main topics of Class 12 Maths Chapter 12?
How to write a real problem as a linear programming problem (decision variables, objective function, constraints and non-negative restrictions), and how to solve it graphically: the feasible region, feasible and optimal solutions, the two theorems on corner points, the corner point method, and the extra check for unbounded regions. The chapter has Exercise 12.1 with 10 questions.
What is in the 2026-27 book for this chapter?
Sections 12.1 Introduction and 12.2 Linear Programming Problem and its Mathematical Formulation (with 12.2.1 on formulation and 12.2.2 on the graphical method), five worked examples, Exercise 12.1 with 10 questions, a summary and a historical note. There is no Miscellaneous Exercise, and only the graphical method is taught.
Why does the optimal value always come at a corner point?
The book states this as Theorem 1 and says its proof is beyond the scope of the book. Extra (an intuitive picture, not from the book): the points where Z = ax + by takes a fixed value k lie on a straight line, and changing k slides that line parallel to itself. The last place the sliding line touches a convex region before leaving it is a corner, or a whole edge when the line is parallel to that edge.
What is the difference between a bounded and an unbounded feasible region?
A bounded region can be enclosed in a circle; an unbounded one cannot, because it runs on without end in some direction. On a bounded region Z always has a maximum and a minimum at corner points. On an unbounded region one or both may not exist, so the largest or smallest corner value has to be tested with an open half-plane.
Stuck on a question?
Take a photo and Lagnever AI explains it step by step. Try it for 7 days for ₹2.
Get it on Google Play Open in browser
For parents: after the trial, the plan renews monthly by UPI or card autopay. You can cancel anytime in the app.