krit.club logo

Linear Programming - Introduction, related terminology (constraints, objective function, optimization)

Grade 12CBSE

Review the key concepts, formulae, and examples before starting your quiz.

🔑Concepts

•

Linear Programming Problem (LPP) is an optimization method used to find the maximum or minimum value of a linear function, called the Objective Function, subject to a set of linear inequalities called constraints. The variables xx and yy are known as decision variables.

Flowchart showing components of a Linear Programming Problem
•

The Feasible Region is the set of all points (x,y)(x, y) that satisfy all given constraints simultaneously. If the region is enclosed by lines on all sides, it is called Bounded; if it extends infinitely in any direction, it is Unbounded.

Graph showing a shaded feasible region bounded by axes and a line
•

Corner Point Theorem: The optimal value (maximum or minimum) of the objective function Z=ax+byZ = ax + by, if it exists, must occur at one of the corner points (vertices) of the feasible region.

Polygon with labeled vertices representing corner points
•

Non-negativity constraints x≥0,y≥0x \ge 0, y \ge 0 restrict the feasible region to the first quadrant of the Cartesian plane, representing physical quantities that cannot be negative (e.g., number of items produced).

📐Formulae

Objective Function: Z=ax+byZ = ax + by

General Linear Constraint: aix+biy≤ci or aix+biy≥cia_i x + b_i y \le c_i \text{ or } a_i x + b_i y \ge c_i

Non-negativity Constraints: x≥0,y≥0x \ge 0, y \ge 0

Condition for Bounded Region: ZmaxZ_{max} and ZminZ_{min} exist at corner points.

Condition for Unbounded Region: If the region is unbounded, a maximum or minimum may or may not exist.

💡Examples

Problem 1:

Maximize Z=3x+4yZ = 3x + 4y subject to the constraints: x+y≤4x + y \le 4, x≥0x \ge 0, y≥0y \ge 0.

Solution:

  1. Convert the inequality to an equation: x+y=4x + y = 4. The line passes through (4,0)(4, 0) and (0,4)(0, 4).
  2. Since the constraint is x+y≤4x + y \le 4, the feasible region is the area below the line x+y=4x + y = 4 in the first quadrant (due to x,y≥0x, y \ge 0).
  3. The corner points of the feasible region are O(0,0)O(0, 0), A(4,0)A(4, 0), and B(0,4)B(0, 4).
  4. Evaluate ZZ at each corner point:
  • At O(0,0):Z=3(0)+4(0)=0O(0, 0): Z = 3(0) + 4(0) = 0
  • At A(4,0):Z=3(4)+4(0)=12A(4, 0): Z = 3(4) + 4(0) = 12
  • At B(0,4):Z=3(0)+4(4)=16B(0, 4): Z = 3(0) + 4(4) = 16
  1. Comparing the values, the maximum value of ZZ is 1616 at the point (0,4)(0, 4).

Explanation:

The problem asks for the maximum value of a linear function. By plotting the boundary and identifying the vertices of the resulting triangle (feasible region), we test each vertex in the objective function to find the highest value.

Problem 2:

Minimize Z=5x+10yZ = 5x + 10y subject to: x+2y≥120x + 2y \ge 120, x+y≥60x + y \ge 60, x,y≥0x, y \ge 0.

Solution:

  1. Plot the boundary lines: L1:x+2y=120L_1: x + 2y = 120 (intercepts (120,0),(0,60)(120, 0), (0, 60)) and L2:x+y=60L_2: x + y = 60 (intercepts (60,0),(0,60)(60, 0), (0, 60)).
  2. The constraints are 'greater than or equal to', so the feasible region is the area above both lines in the first quadrant (unbounded region).
  3. Find the corner points of the feasible region: A(120,0)A(120, 0) and B(0,60)B(0, 60). Note that the intersection of the two lines is at (0,60)(0, 60).
  4. Evaluate ZZ at the corner points:
  • At A(120,0):Z=5(120)+10(0)=600A(120, 0): Z = 5(120) + 10(0) = 600
  • At B(0,60):Z=5(0)+10(60)=600B(0, 60): Z = 5(0) + 10(60) = 600
  1. Since the value is the same at both points, any point on the line segment joining (120,0)(120, 0) and (0,60)(0, 60) that satisfies the constraints will give the minimum value of 600600.

Explanation:

This example demonstrates a minimization problem with an unbounded feasible region. It also shows a special case where multiple points (an entire line segment) provide the same optimal value.

Problem 3:

Minimize Z=200x+500yZ = 200x + 500y subject to x+2y≥10x + 2y \ge 10, 3x+4y≤243x + 4y \le 24, x≥0,y≥0x \ge 0, y \ge 0.

Graph showing the intersection of two lines and the resulting triangular feasible region on the y-axis

Solution:

  1. Identify corner points by solving boundary equations:
  • Line 1: x+2y=10x + 2y = 10. Intercepts are (10,0)(10, 0) and (0,5)(0, 5).
  • Line 2: 3x+4y=243x + 4y = 24. Intercepts are (8,0)(8, 0) and (0,6)(0, 6).
  1. Intersection of x+2y=10x + 2y = 10 and 3x+4y=243x + 4y = 24: Multiply Line 1 by 2: 2x+4y=202x + 4y = 20. Subtract from Line 2: (3x−2x)=24−20⇒x=4(3x - 2x) = 24 - 20 \Rightarrow x = 4. Substitute x=4x=4 in Line 1: 4+2y=10⇒2y=6⇒y=34 + 2y = 10 \Rightarrow 2y = 6 \Rightarrow y = 3.
  2. Corner points of feasible region: A(0,5)A(0, 5), B(0,6)B(0, 6), C(4,3)C(4, 3).
  3. Evaluate ZZ at corners:
  • At A(0,5):Z=200(0)+500(5)=2500A(0, 5): Z = 200(0) + 500(5) = 2500
  • At B(0,6):Z=200(0)+500(6)=3000B(0, 6): Z = 200(0) + 500(6) = 3000
  • At C(4,3):Z=200(4)+500(3)=800+1500=2300C(4, 3): Z = 200(4) + 500(3) = 800 + 1500 = 2300 Minimum value is 2300 at (4,3)(4, 3).

Explanation:

The feasible region is the small triangular area bounded by the yy-axis and the two intersecting lines. The minimum occurs at the intersection point (4,3)(4, 3) because it has the lowest cost coefficient weight.

Problem 4:

Find the maximum value of Z=x+yZ = x + y subject to x−y≤−1x - y \le -1, −x+y≤0-x + y \le 0, x,y≥0x, y \ge 0.

Graph showing two parallel lines with no overlapping region between their respective half-planes

Solution:

  1. Analyze constraints:
  • Constraint 1: y≥x+1y \ge x + 1
  • Constraint 2: y≤xy \le x
  1. Check for common region:
  • The first inequality represents the region above the line y=x+1y = x + 1.
  • The second inequality represents the region below the line y=xy = x.
  1. Since the lines y=x+1y = x + 1 and y=xy = x are parallel and the required regions are in opposite directions, there is no point that satisfies both conditions simultaneously.
  2. Therefore, the feasible region is empty.

Explanation:

When constraints are contradictory, no feasible region exists. In such cases, the LPP has no optimal solution.