Subject: Class 12 Mathematics Chapter: Linear Programming Revision Topic: 15.7 Linear Programming Revision – Revise graphical optimization methods
Linear programming is the mathematics of making the best possible decision under constraints. A manufacturer limited by raw materials, machines and time wants the maximum profit or the minimum cost, and linear programming supplies the precise framework for that optimisation when everything is linear. The graphical method, restricted to two variables, turns this optimisation into a picture the examiner can follow and reward.
This revision chapter begins with the formulation of a linear programming problem: the decision variables, the objective function to be maximised or minimised, and the linear constraints that bound the region of feasible solutions. It then develops the graphical method, where the feasible region is drawn, the corner points are located, and the objective is evaluated at each corner.
The key theorem of the subject states that the optimal value, when it exists, occurs at a corner point of the feasible region. Board papers test exactly this: formulating the problem, sketching the constraints, identifying the corner points, and reading off the optimum. The revision below condenses the whole graphical technique into tables, a mind map and fully worked examples.
A linear programming problem, or LPP, is an optimisation problem in which the objective and every constraint are linear functions of the decision variables. Setting the problem up correctly is half the solution and earns the opening marks.
Worked example 1: A workshop makes two products A and B. Each unit of A needs 2 hours of machine time and 1 hour of labour; each unit of B needs 1 hour of machine time and 2 hours of labour. The workshop has at most 10 machine hours and 8 labour hours per day, and profit is 5 per unit of A and 4 per unit of B. Formulate the LPP. Step 1: let x be the number of units of A and y the number of units of B. Step 2: the objective is to maximise Z = 5x + 4y. Step 3: the machine constraint is 2x + y ≤ 10 and the labour constraint is x + 2y ≤ 8. Step 4: the non-negativity constraints are x ≥ 0 and y ≥ 0, completing the formulation.
Worked example 2: Write the constraints for a diet problem where x units of food X and y units of food Y must supply at least 12 grams of protein with X giving 2 grams per unit and Y giving 3 grams per unit, and at most 20 grams of fat with X giving 4 grams per unit and Y giving 2 grams per unit. Step 1: the protein requirement gives 2x + 3y ≥ 12. Step 2: the fat limit gives 4x + 2y ≤ 20. Step 3: with x ≥ 0 and y ≥ 0, these four inequalities form the constraint set.
The graphical method solves a two-variable LPP by drawing the feasible region and testing the objective at its corners. Every constraint is a half-plane, and the feasible region is their common intersection.
Worked example 3: Maximise Z = 5x + 4y subject to 2x + y ≤ 10, x + 2y ≤ 8, x ≥ 0, y ≥ 0. Step 1: the corner points of the feasible region are (0, 0), (5, 0), (0, 4) and the intersection of 2x + y = 10 with x + 2y = 8. Step 2: solving the two lines gives x = 4 and y = 2, so the fourth corner is (4, 2). Step 3: evaluating Z gives Z(0, 0) = 0, Z(5, 0) = 25, Z(0, 4) = 16 and Z(4, 2) = 20 + 8 = 28. Step 4: the maximum is 28 at x = 4 and y = 2, and the feasible region is bounded so the optimum is guaranteed.
Worked example 4: Minimise Z = 3x + 2y subject to x + y ≥ 3, x ≥ 0, y ≥ 0. Step 1: the feasible region is the half-plane above the line x + y = 3 in the first quadrant. Step 2: the corner points are (0, 3) and (3, 0), with the region unbounded to the upper right. Step 3: Z(0, 3) = 6 and Z(3, 0) = 9, so the minimum is 6 at (0, 3). Step 4: because the region is unbounded the maximum does not exist, but the minimum is still found at the corner point.
Beyond the basic maximisation problem, linear programming handles minimisation, alternative optima and infeasibility, and each special case needs its own reasoning.
Worked example 5: Decide whether a maximum exists for Z = x + y subject to x + y ≥ 5, x ≥ 0, y ≥ 0. Step 1: the feasible region is the first-quadrant half-plane above x + y = 5, which is unbounded. Step 2: along the edge y = 10, both x and y can grow together without bound. Step 3: Z = x + y also grows without bound, so the maximum does not exist and the problem is unbounded. Step 4: the problem has no finite maximum, even though the minimum exists at the corner (0, 5).
| Element of an LPP | Description |
|---|---|
| Decision variables | x and y to be chosen |
| Objective function | Z = a x + b y to optimise |
| Constraints | linear inequalities binding the variables |
| Non-negativity | x ≥ 0 and y ≥ 0 |
| Feasible region | points satisfying all constraints |
| Optimal solution | corner point giving the best Z |
| Situation | Conclusion |
|---|---|
| Bounded feasible region | optimum always exists |
| Unbounded region, objective grows | maximum does not exist |
| Unbounded region, objective falls | minimum exists at a corner |
| Objective parallel to an edge | alternative optima on that edge |
| Empty feasible region | problem is infeasible |
| Optimal corner | satisfies every constraint |
flowchart TD
A[Linear Programming Revision] --> B[Formulation]
A --> C[Graphical Method]
A --> D[Special Cases]
B --> E[Decision Variables]
B --> F[Objective Function]
B --> G[Constraints]
B --> H[Non-Negativity]
C --> I[Draw Constraint Lines]
C --> J[Shade Half-Planes]
C --> K[Feasible Region]
K --> L[Corner Points]
L --> M[Evaluate Objective]
M --> N[Maximum or Minimum]
D --> O[Alternative Optima]
D --> P[Infeasible Problem]
D --> Q[Unbounded Objective]
N --> R[Optimal Plan]
Linear programming revision reduces optimisation to a clean recipe: formulate the variables, objective and constraints, draw the feasible region, and test the objective at each corner point. The theorem that the optimum lies at a corner makes the graphical method reliable, while the special cases of unbounded and infeasible problems teach careful reasoning. With the tables, mind map and worked examples above, a focused revision converts linear programming into confident, structured marks, so practise formulation and the corner point method until the graphical routine flows without a pause.