📚 StudyOS CBSE Class 5–12 AI Tutor

Linear Programming

NCERT Class 12 · Mathematics Based on NCERT Class 12 Mathematics textbook · Free CBSE study kit

Chapter Notes

Linear Programming Problem: Definition and Components

A **Linear Programming Problem (LPP)** is an optimization problem concerned with finding the optimal value (maximum or minimum) of a linear function (called the **objective function**) of several variables, subject to the conditions that the variables are non-negative and satisfy a set of linear inequalities (called **linear constraints**).

**Key Features:**

  • All mathematical relations must be linear
  • Decision variables are always non-negative (x ≥ 0, y ≥ 0)
  • The objective function is linear: Z = ax + by (where a, b are constants)
  • Constraints are linear inequalities or equations
  • **Real-Life Application Example (Furniture Dealer):**

    A furniture dealer has Rs 50,000 capital and storage for 60 pieces. A table costs Rs 2,500 (profit Rs 250) and a chair costs Rs 500 (profit Rs 75). How many tables (x) and chairs (y) should he buy to maximize profit?

  • Objective Function: Maximize Z = 250x + 75y
  • Constraints: 5x + y ≤ 100 (investment), x + y ≤ 60 (storage), x ≥ 0, y ≥ 0
  • Variables x and y are called **decision variables**
  • Mathematical Formulation of Linear Programming Problems

    **Step 1: Identify Decision Variables**

    Define variables clearly. Let x and y represent the quantities to be determined.

    **Step 2: Formulate the Objective Function**

    Express the quantity to be maximized or minimized as a linear combination: Z = ax + by

    **Step 3: State the Constraints**

    Write all restrictions as linear inequalities:

  • Resource constraints (e.g., budget, time, space)
  • Non-negativity constraints: x ≥ 0, y ≥ 0
  • **Standard Form of LPP:**

    Optimize Z = ax + by

    Subject to:

  • c₁x + d₁y ≤ (or ≥ or =) e₁
  • c₂x + d₂y ≤ (or ≥ or =) e₂
  • x ≥ 0, y ≥ 0
  • **Exam Tip:** Always clearly define variables and write constraints in simplified form (divide by GCD of coefficients).

    Graphical Method: Feasible Region and Corner Points

    **Feasible Region:** The common region determined by all constraints (including non-negativity) is called the **feasible region** or **solution region**. Every point within and on the boundary of this region represents a feasible solution.

    **Identifying the Feasible Region (Step-by-Step):**

    1. Convert each inequality to an equation and draw its boundary line

    2. For each inequality, shade the region satisfying it

    3. The intersection of all shaded regions is the feasible region

    4. The feasible region is always a **convex polygon** in 2D problems

    **Corner Points (Vertices):** These are the vertices of the feasible region polygon, found by:

  • Inspection from the graph, OR
  • Solving pairs of boundary line equations simultaneously
  • **Example:** For constraints x + y ≤ 50, 3x + y ≤ 90, x ≥ 0, y ≥ 0

  • Corner points are found at intersections: O(0,0), A(30,0), B(20,30), C(0,50)
  • These points are candidates for optimal solutions
  • Fundamental Theorems of Linear Programming

    **Theorem 1 (Optimal Value at Corner Point):**

    If the feasible region R (a convex polygon) is non-empty, and the objective function Z = ax + by has an optimal value (maximum or minimum), this optimal value must occur at a corner point (vertex) of the feasible region.

    **Theorem 2 (Bounded Region):**

    If the feasible region R is **bounded** (can be enclosed within a circle), then the objective function Z = ax + by has both a maximum and minimum value, and each occurs at a corner point of R.

    **Important Remark on Unbounded Regions:**

    If the feasible region is unbounded:

  • An optimal value may or may not exist
  • If it exists, it must occur at a corner point
  • Must verify using the half-plane test (see Example 4 below)
  • Corner Point Method: Complete Procedure

    The **Corner Point Method** is the standard graphical approach for solving LPPs in two variables.

    **Step 1:** Graph the feasible region by plotting all constraint inequalities and identifying their common region.

    **Step 2:** Find all corner points either by inspection or by solving the equations of intersecting boundary lines.

    **Step 3:** Evaluate the objective function Z = ax + by at each corner point.

    **Step 4:** Determine the optimal solution:

  • **If feasible region is bounded:** The maximum value is the largest Z-value; the minimum is the smallest Z-value obtained at step 3.
  • **If feasible region is unbounded:**
  • For maximum: Check if the half-plane ax + by > M (where M is largest corner value) intersects the feasible region. If no intersection, M is maximum; otherwise, no maximum exists.
  • For minimum: Check if the half-plane ax + by < m (where m is smallest corner value) intersects the feasible region. If no intersection, m is minimum; otherwise, no minimum exists.
  • Worked Example 1: Maximization Problem (Bounded Feasible Region)

    **Problem:** Maximize Z = 4x + y subject to x + y ≤ 50, 3x + y ≤ 90, x ≥ 0, y ≥ 0

    **Solution:**

    *Graphical Setup:*

  • Line 1: x + y = 50 passes through (50,0) and (0,50)
  • Line 2: 3x + y = 90 passes through (30,0) and (0,90)
  • Feasible region is intersection of x + y ≤ 50 and 3x + y ≤ 90 with x,y ≥ 0
  • *Finding Corner Points:*

  • O = (0, 0): intersection of x = 0, y = 0
  • A = (30, 0): intersection of 3x + y = 90 and y = 0
  • B: intersection of x + y = 50 and 3x + y = 90
  • From first: y = 50 - x
  • Substitute: 3x + 50 - x = 90 → 2x = 40 → x = 20, y = 30
  • B = (20, 30)
  • C = (0, 50): intersection of x = 0 and x + y = 50
  • *Evaluating Z at each corner point:*

    | Corner Point | Z = 4x + y |

    |---|---|

    | O(0,0) | 0 |

    | A(30,0) | 120 |

    | B(20,30) | 110 |

    | C(0,50) | 50 |

    **Answer:** Maximum value of Z is **120 at point (30, 0)**

    Worked Example 2: Minimization Problem (Bounded Feasible Region)

    **Problem:** Minimize Z = 200x + 500y subject to x + 2y ≥ 10, 3x + 4y ≤ 24, x ≥ 0, y ≥ 0

    **Solution:**

    *Finding Corner Points (where boundary lines intersect):*

  • From x + 2y = 10 and x = 0: A = (0, 5)
  • From x + 2y = 10 and 3x + 4y = 24:
  • From first: x = 10 - 2y
  • Substitute: 3(10 - 2y) + 4y = 24 → 30 - 6y + 4y = 24 → y = 3, x = 4
  • B = (4, 3)
  • From 3x + 4y = 24 and y = 0: 3x = 24 → x = 8, but check x + 2(0) ≥ 10? No
  • From 3x + 4y = 24 and x = 0: C = (0, 6)
  • *Evaluating Z at feasible corner points:*

    | Corner Point | Z = 200x + 500y |

    |---|---|

    | A(0,5) | 2,500 |

    | B(4,3) | 2,300 |

    | C(0,6) | 3,000 |

    **Answer:** Minimum value of Z is **2,300 at point (4, 3)**

    Worked Example 3: Multiple Optimal Solutions

    **Problem:** Minimize and Maximize Z = 3x + 9y subject to x + 3y ≤ 60, x + y ≥ 10, x ≤ y, x ≥ 0, y ≥ 0

    **Solution:**

    *Corner Points:*

  • A = (0, 10): intersection of x = 0 and x + y = 10
  • B = (5, 5): intersection of x = y and x + y = 10
  • C = (15, 15): intersection of x = y and x + 3y = 60
  • D = (0, 20): intersection of x = 0 and x + 3y = 60
  • *Evaluating Z at corner points:*

    | Corner Point | Z = 3x + 9y |

    |---|---|

    | A(0,10) | 90 |

    | B(5,5) | 60 |

    | C(15,15) | 180 |

    | D(0,20) | 180 |

    **Answer:**

  • **Minimum:** Z = 60 at point B(5, 5)
  • **Maximum:** Z = 180 at points C(15, 15) and D(0, 20) - **multiple optimal solutions**
  • **Key Point:** Every point on line segment CD also gives Z = 180 (optimal solutions form a line segment)
  • Worked Example 4: Unbounded Feasible Region (No Optimal Value)

    **Problem:** Minimize Z = -50x + 20y subject to 2x - y ≥ -5, 3x + y ≥ 3, 2x - 3y ≤ 12, x ≥ 0, y ≥ 0

    **Solution:**

    *Corner Points:*

  • (0, 5), (0, 3), (1, 0), (6, 0)
  • *Evaluating Z:*

    | Corner Point | Z = -50x + 20y |

    |---|---|

    | (0,5) | 100 |

    | (0,3) | 60 |

    | (1,0) | -50 |

    | (6,0) | -300 |

    *Checking for Unboundedness:*

    The feasible region is **unbounded**. The smallest corner value is -300 at (6, 0).

    To verify if this is truly the minimum, check the half-plane: -50x + 20y < -300

    Simplify: -5x + 2y < -30

    If this open half-plane intersects the feasible region, then no minimum exists.

    **Answer:** Since the half-plane -5x + 2y < -30 has points in common with the unbounded feasible region, **Z has no minimum value**.

    Worked Example 5: Inconsistent Constraints (No Feasible Solution)

    **Problem:** Minimize Z = 3x + 2y subject to x + y ≥ 8, 3x + 5y ≤ 15, x ≥ 0, y ≥ 0

    **Solution:**

    Plotting the constraints:

  • x + y ≥ 8: region above/on the line x + y = 8
  • 3x + 5y ≤ 15: region below/on the line 3x + 5y = 15
  • x ≥ 0, y ≥ 0: first quadrant
  • **Check feasibility:** The region where x + y ≥ 8 and 3x + 5y ≤ 15 do not intersect in the first quadrant (line x + y = 8 lies entirely above line 3x + 5y = 15 in relevant region).

    **Answer:** **No feasible region exists.** The problem has **no solution**.

    Important Properties and Remarks

    1. **Feasible Region is Convex:** The intersection of half-planes determined by linear inequalities always forms a convex polygon (for 2D problems).

    2. **Optimal Value Location:** The maximum or minimum of a linear objective function over a convex polygon always occurs at a vertex. This is fundamental to the graphical method's efficiency.

    3. **Multiple Optimal Solutions:** If two adjacent corner points give the same optimal value, then every point on the line segment joining them is also optimal. This occurs when the objective function line is parallel to a constraint boundary.

    4. **Unbounded Feasible Regions:** In such cases, the optimal value may not exist even though corner points are computed. The half-plane test is mandatory.

    5. **Degenerate Cases:**

  • No feasible region (inconsistent constraints)
  • Unbounded feasible region with no optimal solution
  • Unique optimal solution at a single corner point
  • Multiple optimal solutions on an edge
  • Summary of Corner Point Method

    | Step | Action |

    |---|---|

    | 1 | Formulate constraints as system of inequalities |

    | 2 | Graph each inequality and shade feasible region |

    | 3 | Identify corner points (vertices) of feasible region |

    | 4 | Evaluate objective function Z at each corner point |

    | 5 | For bounded region: max = largest Z, min = smallest Z |

    | 6 | For unbounded region: use half-plane test to verify optimality |

    | 7 | State the optimal solution (point and Z-value) |

    MCQs — 10 Questions with Answers

    Q1. In a linear programming problem, what is the feasible region?

    • A. The region that satisfies all constraints including non-negative restrictions ✓
    • B. The region that violates at least one constraint
    • C. The area where the objective function is zero
    • D. The region containing only the corner points of the graph

    Answer: A — The feasible region is the common area determined by all constraints where each point satisfies every inequality and restriction.

    Q2. A company manufactures two products X and Y. Let the profit from X be Rs 40 per unit and from Y be Rs 50 per unit. If the company can produce at most 100 units total, which statement correctly represents the objective function and one constraint?

    • A. Maximize Z = 40x + 50y; constraint: x + y ≤ 100 ✓
    • B. Minimize Z = 40x + 50y; constraint: x + y ≥ 100
    • C. Maximize Z = 100x + 100y; constraint: 40x + 50y ≤ 100
    • D. Minimize Z = 40 + 50; constraint: x + y = 100

    Answer: A — Profit is maximized with objective function Z = 40x + 50y, and the production limit 'at most 100 units' translates to constraint x + y ≤ 100.

    Q3. Which of the following statements is correct about the optimal solution of a linear programming problem?

    • A. It always occurs at the origin
    • B. It occurs at one of the corner points of the feasible region ✓
    • C. It occurs at the center of the feasible region
    • D. It occurs wherever the objective function equals zero

    Answer: B — By the Corner Point Theorem, the optimal value of a linear objective function over a feasible region always occurs at a vertex (corner point) of that region.

    Q4. A problem has constraints: x + y ≤ 8, 2x + y ≤ 12, x ≥ 0, y ≥ 0. If we want to maximize Z = 3x + 2y, which corner point will NOT be a vertex of the feasible region?

    • A. (0, 0)
    • B. (6, 0)
    • C. (4, 4) ✓
    • D. (0, 8)

    Answer: C — Checking each point: (0,0) ✓, (0,8) ✓, (6,0) satisfies 2x+y=12 and x+y≤8 ✓, (4,4) ✓—all are feasible; this tests careful constraint verification.

    Q5. Which of the following is NOT a requirement for formulating a linear programming problem?

    • A. All constraints must be linear inequalities or equations
    • B. Decision variables must be non-negative
    • C. The objective function must be a quadratic expression ✓
    • D. There must be an objective function to maximize or minimize

    Answer: C — Linear programming requires linear objective functions of the form Z = ax + by, NOT quadratic expressions like Z = x² + y.

    Q6. A company produces chairs and tables. The profit is Z = 100x + 150y. The constraints are: 2x + 3y ≤ 180 (labor hours), x + y ≤ 70 (storage), x ≥ 0, y ≥ 0. The corner points of the feasible region are (0, 0), (70, 0), (0, 60), and (45, 25). What is the maximum profit?

    • A. Rs 7000
    • B. Rs 9000
    • C. Rs 10500 ✓
    • D. Rs 11250

    Answer: C — Evaluate the objective function Z = 100x + 150y at all corner points; the largest value is the maximum profit.

    Q7. For a linear programming problem, which statement is true about the feasible region and the objective function?

    • A. The feasible region must always be bounded
    • B. The feasible region can be unbounded, and in that case no optimal solution exists ✓
    • C. The objective function cannot be evaluated at corner points if the feasible region is unbounded
    • D. An unbounded feasible region guarantees multiple optimal solutions

    Answer: B — If the feasible region is unbounded (extends to infinity), the objective function may not have a finite maximum or minimum value, resulting in no optimal solution or unbounded solutions.

    Q8. In a linear programming problem, if two corner points of the feasible region give the same maximum value for the objective function, which of the following is true?

    • A. The problem has no optimal solution
    • B. There are exactly two optimal solutions
    • C. All points on the line segment joining these two corner points are optimal solutions ✓
    • D. Only one of these corner points is actually optimal

    Answer: C — When two corner points yield the same objective function value, the entire edge between them (all points on the line segment) represents optimal solutions due to the linearity of the objective function.

    Q9. A factory has constraints: x + 2y ≤ 10 and 3x + y ≤ 15, with x ≥ 0, y ≥ 0. Which of the following corner points does NOT lie on the boundary of the feasible region?

    • A. (0, 0)
    • B. (5, 0)
    • C. (0, 5)
    • D. (3, 3) ✓

    Answer: D — Point (3,3) lies in the interior of the feasible region since 3+2(3)=9<10 and 3(3)+3=12<15; corner points must lie on at least one constraint boundary line as an equality.

    Flashcards

    What is the feasible region in a linear programming problem?

    The feasible region is the common area determined by all constraints (including non-negative restrictions) where every point represents a valid solution satisfying all conditions.

    Define an objective function in linear programming.

    An objective function Z = ax + by is a linear function of decision variables that must be maximized or minimized according to the problem requirement.

    What are non-negative constraints and why are they important?

    Non-negative constraints (x ≥ 0, y ≥ 0) ensure that decision variables represent real quantities like number of items, which cannot be negative in practical problems.

    State the Corner Point Theorem in linear programming.

    The optimal value of the objective function in a linear programming problem occurs at one of the corner points (vertices) of the feasible region.

    What is the difference between feasible and infeasible regions?

    The feasible region consists of all points satisfying every constraint, while the infeasible region contains points that violate at least one constraint.

    How do you formulate a linear programming problem from a word problem?

    Identify decision variables, write the objective function (what to maximize/minimize), list all constraint inequalities, and add non-negative restrictions.

    Why must the objective function be linear in linear programming?

    A linear objective function ensures the optimal solution always occurs at a corner point of the feasible region, making the graphical solution method reliable.

    What does the feasible solution represent in a linear programming problem?

    Each feasible solution is a point (x, y) within or on the boundary of the feasible region that satisfies all constraints and represents a valid strategy.

    In the graphical method, why do we evaluate the objective function only at corner points?

    For a linear objective function over a convex feasible region, the maximum or minimum always occurs at a vertex (corner point), not in the interior.

    What are decision variables and what do they represent in linear programming?

    Decision variables (like x and y) are the quantities we can control and optimize (e.g., number of tables and chairs) to achieve the objective function.

    Important Board Questions

    Define the feasible region in a linear programming problem and state the Corner Point Theorem. [2 marks]

    State that feasible region is the intersection of all constraint half-planes; then define Corner Point Theorem: optimal value occurs at a vertex of the feasible region.

    A manufacturer produces two products A and B. Product A requires 2 hours of labor and yields profit Rs 80, while product B requires 3 hours of labor and yields profit Rs 120. If 180 labor hours are available per week and the manufacturer can produce at most 70 units total, formulate the linear programming problem to maximize profit. Then, identify the objective function and list all constraints including non-negative restrictions. [5 marks]

    Let x = units of A, y = units of B. Objective: Maximize Z = 80x + 120y. Constraints: 2x + 3y ≤ 180 (labor), x + y ≤ 70 (production limit), x ≥ 0, y ≥ 0. Show each constraint's origin clearly.

    Solve the linear programming problem graphically: Maximize Z = 5x + 4y subject to x + 2y ≤ 8, 3x + y ≤ 9, x ≥ 0, y ≥ 0. Find all corner points of the feasible region, evaluate the objective function at each, and determine the optimal solution with the maximum value of Z. [6 marks]

    Plot lines x + 2y = 8 and 3x + y = 9; find intersections with axes and each other: (0,0), (3,0), (0,4), and solve x+2y=8 with 3x+y=9 simultaneously to get (2,3). Verify each point satisfies both inequalities. Evaluate Z = 5x + 4y at all four corners: (0,0)→0, (3,0)→15, (0,4)→16, (2,3)→22. Maximum is Z = 22 at (2,3).

    Next chapterProbability →

    Practice with interactive flashcards, mind maps, upload your own chapters and get AI study kits instantly

    Try StudyOS Free →