Lagnever AI Hinglish

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.

Mind map of Chapter 12: what an LPP is, how to formulate it, the feasible region, the corner point theorems, the corner point method, the check for unbounded regions, and special cases
The whole chapter on one page

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:

  1. Decision variables. Call the number of tables x and the number of chairs y. Neither can be negative: x ≥ 0, y ≥ 0.
  2. Constraints. The money limit gives 2500x + 500y ≤ 50000, that is 5x + y ≤ 100. The storage limit gives x + y ≤ 60.
  3. 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.

The dealer's feasible region OABC with corners (0, 0), (20, 0), (10, 50) and (0, 60), and a table of Z = 250x + 75y at each corner: the maximum 6250 is at (10, 50)
Every point of the shaded region is a feasible choice

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:

  1. Draw the feasible region and find its corner points, by inspection or by solving the two lines that meet at each one.
  2. Evaluate Z at every corner point. Let M be the largest value and m the smallest.
  3. If the region is bounded, M is the maximum and m is the minimum.
  4. 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.

Example 4: the unbounded feasible region with corners (0, 5), (0, 3), (1, 0) and (6, 0); the hatched half-plane −5x + 2y < −30 overlaps it, so Z = −50x + 20y has no minimum
A corner value is only a candidate on an unbounded region

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

  1. Read the problem and name the decision variables.
  2. Write the objective function and every constraint, with x ≥ 0 and y ≥ 0.
  3. Draw the lines, shade the feasible region, and say whether it is bounded.
  4. Find every corner point exactly (solve the pair of equations; do not read it off the graph).
  5. Make a table of Z at the corners.
  6. 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

TermMeaning
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 functionThe linear function Z = ax + by (a and b constants) that has to be maximised or minimised, such as a profit or a cost.
Decision variablesThe unknowns x and y whose values we choose, such as the number of tables and of chairs. They can never be negative.
ConstraintsThe 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 regionThe region common to all the constraints, including x ≥ 0 and y ≥ 0. The rest of the plane is the infeasible region.
Feasible solutionAny point inside the feasible region or on its boundary. A point outside it is an infeasible solution.
Optimal solutionA point of the feasible region where Z takes its optimal value (its maximum or its minimum).
Corner pointA vertex of the feasible region: a point of the region where two of its boundary lines meet.
Bounded regionA 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 methodThe 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

NCERT solutions for this chapter Every exercise question of this chapter, answered step by step.

Practice

  1. Which of these can be the objective function of a linear programming problem?

    1. (a) Z = x² + y
    2. (b) Z = 3x + 4y
    3. (c) Z = xy
    4. (d) Z = √x + y
    Show answer

    Answer: (b) Z = 3x + 4y

  2. A bounded feasible region has corner points (0, 0), (5, 0), (3, 4) and (0, 5). The maximum of Z = 2x + 3y is:

    1. (a) 10
    2. (b) 15
    3. (c) 18
    4. (d) 20
    Show answer

    Answer: (c) 18

  3. For the same region, the minimum of Z = x − y is:

    1. (a) 0
    2. (b) −1
    3. (c) −5
    4. (d) 5
    Show answer

    Answer: (c) −5

  4. On an unbounded feasible region, the largest corner value of Z = ax + by is M. Then M is the maximum of Z only if:

    1. (a) the region contains the origin
    2. (b) the open half-plane ax + by > M shares no point with the region
    3. (c) M is positive
    4. (d) the region has at least four corner points
    Show answer

    Answer: (b) the open half-plane ax + by > M shares no point with the region

  5. Z takes its maximum value at two corner points P and Q of the feasible region. The same maximum is also taken at:

    1. (a) no other point
    2. (b) every point of the segment PQ
    3. (c) the origin
    4. (d) every point of the region
    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.