Linear Programming | CBSE - Wyatt's Notes
sources:
- text: Standard textbook reference
Linear Programming
Section titled “Linear Programming”Linear programming is an optimization technique for maximizing or minimizing a linear objective function subject to linear constraints. It has applications in resource allocation, production planning, and transportation.
Key Concepts
Section titled “Key Concepts”- Objective function: (to maximize or minimize)
- Constraints: linear inequalities (or )
- Feasible region: the set of all points satisfying all constraints
- Corner point theorem: the optimal value occurs at a vertex of the feasible region
- Artificial variables and slack variables for standard form
- Dual problem: every LP problem has a corresponding dual
Worked Example 1 — Graphical Method
Section titled “Worked Example 1 — Graphical Method”Problem: Maximize subject to:
Solution:
Step 1: Graph the constraints.
For : intercepts at and . For : intercepts at and .
Step 2: Find the corner points of the feasible region:
- : origin
- : intersection of with -axis
- : intersection of with -axis
- : intersection of and
Step 3: Evaluate at each corner point:
Step 4: Maximum value is at .
Common mistake: Checking interior points instead of corner points. The optimal value always occurs at a vertex.
Worked Example 2 — Minimization Problem
Section titled “Worked Example 2 — Minimization Problem”Problem: Minimize subject to:
Solution:
Step 1: Graph the constraints. The feasible region is unbounded (extends to infinity).
Step 2: Find corner points:
- : intersection of with -axis
- : intersection of with -axis
- : intersection of and
Step 3: Evaluate :
Step 4: Minimum is at .
Common mistake: For unbounded regions, verify that no point in the feasible region gives a smaller value. Check if has any solution in the feasible region.
Worked Example 3 — Manufacturing Problem
Section titled “Worked Example 3 — Manufacturing Problem”Problem: A manufacturer produces two products. Product A requires 2 hours on machine I and 1 hour on machine II. Product B requires 1 hour on machine I and 3 hours on machine II. Machine I is available for 8 hours and machine II for 9 hours. If profit is Rs. 400 per unit of A and Rs. 500 per unit of B, find the production plan that maximizes profit.
Solution:
Let = units of A, = units of B.
Objective: Maximize
Constraints:
Corner points:
- :
- :
- :
- : intersection of and ;
Maximum profit is Rs. 2200 by producing 3 units of A and 2 units of B.
Common mistake: Not converting word problems into mathematical constraints correctly. Always define variables first and then translate each condition.
Common Mistakes
Section titled “Common Mistakes”Checking interior points instead of corner points. The corner point theorem guarantees the optimum is at a vertex. Students waste time checking interior points or midpoints, which can never be optimal for linear objectives. Always evaluate Z only at corner points.
Forgetting to verify unbounded regions. When the feasible region is unbounded (extends to infinity), you must verify that no point gives a better value. For minimization, check whether Z < minimum corner value has any solution in the feasible region. For maximization, the maximum may not exist if the region is unbounded in the direction of increase.
Incorrectly translating word problems into constraints. “At least” means ≥, “at most” means ≤, “no more than” means ≤. Students often reverse these. Always define variables first, then systematically translate each word condition.
Cross-References
Section titled “Cross-References”- Matrices: The simplex method uses matrix operations to solve linear programming problems systematically.
- Derivatives: Optimization without constraints uses derivatives; linear programming handles constrained optimization.
- Probability: Decision theory and expected value problems sometimes lead to linear programming formulations.
- Biomolecules (Chemistry): Diet optimization problems in linear programming often involve nutritional constraints from biochemistry.
Practice Problems
Section titled “Practice Problems”- Maximize subject to , , .
- Minimize subject to , , .
- A diet must contain at least 400 units of carbohydrates and 300 units of protein. Food A costs Rs. 2 per unit and provides 100 units of carbs and 50 units of protein. Food B costs Rs. 3 per unit and provides 50 units of carbs and 100 units of protein. Minimize the cost.
Why This Matters
Section titled “Why This Matters”Linear programming is used in logistics, supply chain management, telecommunications, and finance. It provides optimal solutions to resource allocation problems and forms the basis for more advanced optimization techniques.
Intuition
Section titled “Intuition”Finding the best answer by drawing a map: Linear programming is like finding the highest point on a mountain by walking along the boundary of a fenced area. The fence represents your constraints (what you can’t do), and the terrain represents your objective (what you want to maximize). The corner point theorem says the best answer always lies at a corner of the feasible region — you never need to check the middle of an edge or the interior. This is because linear functions can’t have their maximum in the middle of a flat region.
Why it matters: Linear programming is used by airlines to optimize flight routes, factories to plan production schedules, logistics companies to minimize delivery costs, and farmers to decide crop allocation. Every time you see an “optimal” solution in business, there’s likely a linear programming algorithm behind it.
The key insight: The feasible region is convex (no dents), which guarantees that any local optimum is also a global optimum — no need to worry about getting stuck in a local maximum.
Common Exam Patterns
Section titled “Common Exam Patterns”- Always graph constraints and identify the feasible region
- The optimal solution is at a corner point (vertex theorem)
- For unbounded regions, always verify the minimum or maximum exists
- Word problems require careful translation of English to mathematical constraints
- Practice with both maximization and minimization problems