Skip to content

Linear Programming in the Class 12 NCERT Maths Textbook

CBSEMathematicsLinear Programming

This CBSE Class 12 NCERT Mathematics chapter shows how to turn practical limits into linear inequalities and use a graph to find the best feasible outcome. It also explains when testing corner points is enough and when the graph needs a further check.

A first-quadrant graph shows two boundary lines whose overlapping allowed side forms a shaded, bounded feasible region, with orange corner points where the optimum is tested.
The feasible region is the overlap of all constraints; optima occur at corners.

From a practical choice to a mathematical model

The chapter opens with a furniture dealer who must decide how many tables and chairs to buy. Let xx be the number of tables and yy the number of chairs. These are the decision variables. The dealer's ₹50,000 budget gives 2500x+500y≤500002500x+500y\le 50000, which simplifies to 5x+y≤1005x+y\le100. Storage for at most 60 pieces gives a separate constraint, x+y≤60x+y\le60. The model also includes x≥0x\ge0 and y≥0y\ge0 because neither quantity can be negative.

The quantity to maximise is profit. Assuming all purchased items can be sold, the objective function is Z=250x+75yZ=250x+75y, measured in rupees. Notice the difference between the coefficients: purchase costs belong in the budget constraint, while profits per item belong in the objective function. The constraints decide which choices are allowed; the objective function ranks those choices.

Preview of Linear Programming | Class 12 | NCERT Textbook

Linear Programming | Class 12 | NCERT Textbook

In the StudentCurio app

Covers linear programming formulation, constraints and objective functions, graphical feasible regions, and corner-point optimisation, including bounded, unbounded and infeasible cases and multiple optimal solutions. Helps Class 12 students learn to find maximum or minimum values and practise solving problems graphically.

Common graphing mistakes: finding the overlap

The graphical method builds on the Class 11 treatment of linear inequalities in two variables. Draw the boundary line for each inequality, then identify the side that satisfies it. The feasible region is the overlap of all the allowed half-planes, not the collection of all separately shaded areas. The non-negativity constraints matter here: they restrict the graph to the first quadrant, including the axes.

Do not exclude points merely because they lie on a boundary. With the inclusive inequalities used in the chapter, a boundary point is feasible if it satisfies every other constraint as well. Conversely, a point where two boundary lines cross is not automatically a feasible corner: it still has to satisfy the full system. This is why the chapter finds the common region before listing the vertices to test.

When the corner-point method settles the question

Even a small feasible region can contain infinitely many points, so checking choices one at a time is not a solution method. The chapter gives the result that makes a finite comparison possible: for the feasible polygons under discussion, if an optimal value exists, it is attained at a vertex. If the feasible region is nonempty and bounded, both a maximum and a minimum exist. Bounded here means the entire region can be enclosed within a circle.

Read the vertex coordinates from the graph where they are clear, or solve the equations of the two boundary lines that meet there. Then substitute each vertex into the objective function, not one of the constraint expressions. In a bounded region, the largest and smallest entries in that table give the maximum and minimum values respectively. Keep the value separate from the coordinates: one tells you how much, the other tells you which choice attains it.

Unbounded and infeasible are different cases

An unbounded feasible region extends indefinitely in at least one direction. That does not mean the requested optimum is absent. It means the vertex comparison alone does not settle the question. For a maximum, let MM be the largest vertex value and check the open half-plane ax+by>Max+by>M. For a minimum, let mm be the smallest vertex value and check ax+by<max+by<m. If the relevant half-plane has no point in common with the feasible region, the candidate is the requested optimum. If it does overlap, the chapter's method concludes that the requested optimum does not exist.

The strict inequality matters: the check looks for points that do better, not points that tie. An infeasible problem is different. Its constraints have no common point at all, so there is no feasible choice at which to evaluate the objective.

Why tied vertices can give a whole segment of optima

The chapter includes a bounded example in which two vertices attain the same maximum. The two vertices are not the only optimal solutions: every point on the segment joining them attains that value as well. Two facts explain this. First, the feasible region is convex, so the segment between any two feasible points stays inside the region. Second, the objective is linear, so its value along the segment varies linearly between the endpoint values. If those values are equal, the objective stays constant throughout the segment.

The same reasoning applies when two vertices attain the same minimum. A tie matters only after the shared value is shown to be optimal; two equal entries in a corner-point table need not themselves represent a maximum or a minimum.

Quick self-check before Exercise 12.1

Use the furniture model to practise translating words into inequalities: explain why the budget and storage limits are separate and why neither requires the dealer to use the full allowance. Then use the worked examples to compare the steps for a bounded graph with those for an unbounded graph. In particular, identify the exact point at which the unbounded example needs information beyond its table of vertices.

Exercise 12.1 asks for graphical solutions. Before calculating objective values, can you explain why your shaded region satisfies every inequality? If it extends indefinitely, can you identify which strict inequality would represent an improvement in the direction the question asks for? If your final statement names only a point, check whether you have also reported the objective value the question asks you to find.

Spotted an error? Report a correction. Practise this in the app: notes, formula sheets and mind maps.

Discussion

Sign in to join the discussion

Loading comments…

More for Linear Programming

More for Sets, Relations and Functions

More for Inverse Trigonometric Functions

More for Trigonometry

More for Matrices and Determinants

More for Matrices

More for Continuity and Differentiability

More for Limit, Continuity and Differentiability

More for Applications of Derivatives

More for Application Of Derivatives

More for Integral Calculus

More for Applications of the Integrals

More for Differential Equations

More for Application Of Integrals

More for Vector Algebra

More for Three-Dimensional Geometry

More for Probability

More for Statistics and Probability

More for Mathematics