CBSE Class 12 Maths · Linear Programming
Graphical Solution of a Linear Programming Problem
A linear programming problem asks for the largest or smallest value of a linear function Z = ax + by over the region where all the linear constraints hold: draw that region, find its corner points and compare Z at each.
Why this matters
102 questions, eighty-seven of them from board papers: twenty-two in 2023, twenty-one in 2024, twenty-five in 2025 and nineteen in 2026. Every year a three-mark question says "solve graphically", and 2023, 2024 and 2026 also set it as a five-mark long answer. Unbounded regions, where the open half-plane check decides the answer, came in 2023, 2024 and 2025. The one-mark questions name the terms, count corner points, read the constraints off a shaded figure and compare Z at given corners; assertion-reason items came in 2024, 2025 and 2026, a diet case study in 2024, and two-mark "shade the region and mark the corners" questions in 2025. The textbook adds Examples 1 to 5 and all ten questions of Exercise 12.1.
Concept 1 of 6: The terms of an LPP and the corner point theorems
Definition
- A linear programming problem asks for the optimal value (maximum or minimum) of a linear function of several variables, subject to the variables being non-negative and satisfying a set of linear inequalities.
- Objective function: the linear function (, constants) to be maximised or minimised. It is linear, so its degree is 1.
- Decision variables: and , the quantities you decide.
- Constraints: the linear inequalities or equations or restrictions on the variables. , are the non-negative restrictions.
- Feasible region: the common region determined by all the constraints, including , . Every point within and on its boundary is a feasible solution; a point outside it is an infeasible solution.
- Optimal solution: a point of the feasible region that gives the optimal value of Z.
- Corner point: a point of the region where two boundary lines meet.
- A region is bounded if it can be enclosed within a circle; otherwise it is unbounded.
- Theorem 1: when Z has an optimal value, it occurs at a corner point of the feasible region.
- Theorem 2: if the feasible region is bounded, Z has both a maximum and a minimum value, and each occurs at a corner point.
- If the region is unbounded, a maximum or a minimum may not exist; if it exists, it is at a corner point.
| Term | What it means | Example |
|---|---|---|
| Objective function | The linear function to be maximised or minimised | , a dealer's profit on tables and chairsQ Board 2025 asked what a profit function of this kind measures: the combined profit from both products, not the number of units made. |
| Decision variables | The quantities you choose; they are never negative | tables and chairs |
| Constraints | The restrictions on the decision variables | : space for at most 60 piecesQ Board 2024 asked for this name as an MCQ: constraints. |
| Feasible region | The common region of all the constraints, including , | The shaded region on the graphQ Board 2024 asked for this name as an MCQ: a feasible region. |
| Feasible solution | Any point within or on the boundary of the feasible region | Infinitely many when the region has any areaQ Board 2023 asked how many feasible solutions a problem with a four-sided region has. Infinitely many: the number of corners answers a different question. |
| Optimal solution | A feasible point where Z is largest (or smallest) | The corner with the best value of Z |
| Bounded region | Can be enclosed within a circle | Z has both a maximum and a minimum, each at a cornerQ Board 2025 asked this as an MCQ: a bounded region gives both values. |
| Unbounded region | Cannot be enclosed within any circle | A maximum or minimum may not exist; if it exists, it is at a corner |
| Empty feasible region | No point satisfies all the constraints | No feasible solution, so the problem has no solution |
Practise this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 1 · Linear Programming · Graphical Solution and the Feasible Region
Counting corners as the feasible solutions
Code (D) in a Maths assertion-reason item
A Reason that only defines a word
Concept 2 of 6: Drawing the feasible region and finding its corner points
Definition
- Change each inequality into an equation and draw the line through two points, usually where it meets the axes. Label the line with its equation.
- Test a point not on the line, usually . If it satisfies the inequality, keep the side containing it; if not, keep the other side.
- If the line passes through the origin (such as ), test another point such as .
- With or the line belongs to the region. With or the line is left out: the solution set is an open half plane.
- , keep the region in the first quadrant.
- Shade the common region and name its corners A, B, C, ...
- Corner points: solve the boundary lines in pairs, and keep a point only if it satisfies every other constraint.
- Say what kind of region it is: bounded, unbounded (runs off without end), or empty (no common point, so no feasible solution).
Where a boundary line meets the axes
Worked example
Practise this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 2 · Linear Programming · Graphical Solution and the Feasible Region
Skipping the graph
Keeping a point that another constraint rejects
Testing the origin on a line through the origin
Calling every first-quadrant region bounded
Concept 3 of 6: Reading the constraints off a shaded graph
Definition
- List the corner points marked on the graph, in order round the region.
- For each slanted edge, find the line through its two corners: by the two-point form, or by the intercept form when it meets both axes.
- Test a point strictly inside the shading (the origin, if it is shaded). If it makes less than , the constraint is ; if more, it is .
- Edges along the axes give and . Write them too.
- A dashed line for a value of Z, or a labelled point outside the shading, is not a constraint: only lines that carry an edge of the region are.
Line through two corners, and the intercept form
- two corner points on the same edge
- where the line meets the x-axis and the y-axis
Worked example
Practise this conceptself-check · 3 quick reps
The same idea in a real exam question:
Example 3 · Linear Programming · Graphical Solution and the Feasible Region
Turning every drawn line into a constraint
Dropping and
Testing a point on the boundary
Concept 4 of 6: The corner point method on a bounded region
Definition
- Write the problem: decision variables, the objective function, every constraint including , . In a word problem "at most" gives and "at least" gives .
- Draw the lines, shade the feasible region and say that it is bounded.
- Find each corner point, by inspection on an axis or by solving the two lines that meet there.
- Make a table of Z at every corner. Let M be the largest value and m the smallest.
- The region is bounded, so M is the maximum and m is the minimum of Z.
- Finish with the value of Z and the point where it occurs; in a word problem, say what the point means.
Corner point method, bounded region
Worked example
Practise this conceptself-check · 3 quick reps
The same idea in a real exam question:
Example 4 · Linear Programming · Graphical Solution and the Feasible Region
Giving the value without the point
Not saying the region is bounded
Picking the corner with the biggest coordinates
Rounding a fractional corner
Concept 5 of 6: The same optimum at two corners, and unknown coefficients in Z
Definition
- If two corner points give the same maximum (or minimum) value, every point on the line segment joining them gives that value too: the problem has infinitely many optimal solutions.
- You can often see it coming: on the edge , is the same everywhere.
- Write the answer as "Z is maximum at all the points on the line segment joining A and B", not "at A and B".
- Condition for a tie at A and B: put and simplify to a relation between the coefficients. Then make sure the common value really is the largest (or smallest) of all the corners.
- Values of Z given at corners: substitute each point into and solve the two equations for and .
Same value at two corners
Worked example
Practise this conceptself-check · 3 quick reps
The same idea in a real exam question:
Example 5 · Linear Programming · Graphical Solution and the Feasible Region
Answering "at two points"
Stopping at Z(A) = Z(B)
A true Reason that does not explain the tie
Concept 6 of 6: Unbounded regions: the open half-plane check
Definition
- Find the corners and make the table of Z as usual. Let M be the largest and m the smallest corner value.
- Maximum: draw the open half plane (dashed line). If it has no point in common with the feasible region, M is the maximum. Otherwise Z has no maximum value.
- Minimum: draw the open half plane . If it has no point in common with the feasible region, m is the minimum. Otherwise Z has no minimum value.
- With constraints and positive coefficients in Z, the minimum usually exists and the maximum does not.
- If two corners tie for the minimum and the check passes, the minimum is at every point of the segment joining them.
Check for a minimum on an unbounded region
Worked example
Practise this conceptself-check · 3 quick reps
The same idea in a real exam question:
Example 6 · Linear Programming · Graphical Solution and the Feasible Region
Stopping at the corner table
Using or in the check
Saying "no solution" when only one value fails
Summary — formulas & gotchas at a glance
A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.
Formulas (5)
- Drawing the feasible region and finding its corner points
Where a boundary line meets the axes
- Reading the constraints off a shaded graph
Line through two corners, and the intercept form
- The corner point method on a bounded region
Corner point method, bounded region
- The same optimum at two corners, and unknown coefficients in Z
Same value at two corners
- Unbounded regions: the open half-plane check
Check for a minimum on an unbounded region
Reference tables (1)
The terms of an LPP and the corner point theorems9 rows
| Term | What it means | Example |
|---|---|---|
| Objective function | The linear function to be maximised or minimised | , a dealer's profit on tables and chairsQ Board 2025 asked what a profit function of this kind measures: the combined profit from both products, not the number of units made. |
| Decision variables | The quantities you choose; they are never negative | tables and chairs |
| Constraints | The restrictions on the decision variables | : space for at most 60 piecesQ Board 2024 asked for this name as an MCQ: constraints. |
| Feasible region | The common region of all the constraints, including , | The shaded region on the graphQ Board 2024 asked for this name as an MCQ: a feasible region. |
| Feasible solution | Any point within or on the boundary of the feasible region | Infinitely many when the region has any areaQ Board 2023 asked how many feasible solutions a problem with a four-sided region has. Infinitely many: the number of corners answers a different question. |
| Optimal solution | A feasible point where Z is largest (or smallest) | The corner with the best value of Z |
| Bounded region | Can be enclosed within a circle | Z has both a maximum and a minimum, each at a cornerQ Board 2025 asked this as an MCQ: a bounded region gives both values. |
| Unbounded region | Cannot be enclosed within any circle | A maximum or minimum may not exist; if it exists, it is at a corner |
| Empty feasible region | No point satisfies all the constraints | No feasible solution, so the problem has no solution |
Watch out for (20)
- Counting corners as the feasible solutions→ The terms of an LPP and the corner point theorems
- Code (D) in a Maths assertion-reason item→ The terms of an LPP and the corner point theorems
- A Reason that only defines a word→ The terms of an LPP and the corner point theorems
- Skipping the graph→ Drawing the feasible region and finding its corner points
- Keeping a point that another constraint rejects→ Drawing the feasible region and finding its corner points
- Testing the origin on a line through the origin→ Drawing the feasible region and finding its corner points
- Calling every first-quadrant region bounded→ Drawing the feasible region and finding its corner points
- Turning every drawn line into a constraint→ Reading the constraints off a shaded graph
- Dropping and→ Reading the constraints off a shaded graph
- Testing a point on the boundary→ Reading the constraints off a shaded graph
- Giving the value without the point→ The corner point method on a bounded region
- Not saying the region is bounded→ The corner point method on a bounded region
- Picking the corner with the biggest coordinates→ The corner point method on a bounded region
- Rounding a fractional corner→ The corner point method on a bounded region
- Answering "at two points"→ The same optimum at two corners, and unknown coefficients in Z
- Stopping at Z(A) = Z(B)→ The same optimum at two corners, and unknown coefficients in Z
- A true Reason that does not explain the tie→ The same optimum at two corners, and unknown coefficients in Z
- Stopping at the corner table→ Unbounded regions: the open half-plane check
- Using or in the check→ Unbounded regions: the open half-plane check
- Saying "no solution" when only one value fails→ Unbounded regions: the open half-plane check
Test yourself on Linear Programming
15 past CBSE Class 12 questions from this chapter, timed at 23 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.