krit.club logo

Linear Programming - Graphical method of solution for problems in two variables

Grade 12CBSE

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

🔑Concepts

•

The Feasible Region is the common region determined by all constraints including non-negative constraints x,y≥0x, y \geq 0. This region represents the set of all possible points that satisfy the system of linear inequalities.

Graph showing the feasible region as a shaded triangle bounded by the axes and a constraint line.
•

Corner Point Method: The optimal (maximum or minimum) value of the objective function Z=ax+byZ = ax + by must occur at one of the vertices (corner points) of the feasible region. If the region is bounded, both a maximum and a minimum value exist.

A bounded convex polygon with vertices labeled A, B, C, D representing corner points.
•

Bounded vs Unbounded Regions: A feasible region is bounded if it can be enclosed within a circle. If the region extends infinitely in any direction, it is unbounded. For unbounded regions, a maximum or minimum value might not exist.

An open region shaded above two intersecting lines representing an unbounded feasible region.
•

Multiple Optimal Solutions: If two adjacent corner points of the feasible region produce the same optimal value of ZZ, then every point on the line segment joining these two points is also an optimal solution.

📐Formulae

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

Standard Linear Constraint: aix+biy≤ci or aix+biy≥cia_i x + b_i y \leq c_i \text{ or } a_i x + b_i y \geq c_i

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

Condition for Multiple Optimal Solutions: If two corner points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) give the same maximum/minimum value, then every point on the line segment joining them is also an optimal solution.

💡Examples

Problem 1:

Maximize Z=4x+yZ = 4x + y subject to the constraints: x+y≤50x + y \leq 50, 3x+y≤903x + y \leq 90, x≥0,y≥0x \geq 0, y \geq 0.

Solution:

Step 1: Convert inequalities to equations to find boundary lines: L1:x+y=50L_1: x + y = 50 and L2:3x+y=90L_2: 3x + y = 90. Step 2: Find the intercepts for L1L_1: (50,0)(50, 0) and (0,50)(0, 50). Find the intercepts for L2L_2: (30,0)(30, 0) and (0,90)(0, 90). Step 3: Solve L1L_1 and L2L_2 simultaneously to find the intersection point: Subtracting x+y=50x + y = 50 from 3x+y=903x + y = 90 gives 2x=40  ⟹  x=202x = 40 \implies x = 20. Substituting into L1L_1 gives 20+y=50  ⟹  y=3020 + y = 50 \implies y = 30. The intersection is B(20,30)B(20, 30). Step 4: Identify the feasible region (bounded by the axes and these lines in the first quadrant). The corner points are O(0,0)O(0, 0), A(30,0)A(30, 0), B(20,30)B(20, 30), and C(0,50)C(0, 50). Step 5: Evaluate Z=4x+yZ = 4x + y at each corner point:

  • At O(0,0):Z=4(0)+0=0O(0, 0): Z = 4(0) + 0 = 0
  • At A(30,0):Z=4(30)+0=120A(30, 0): Z = 4(30) + 0 = 120
  • At B(20,30):Z=4(20)+30=110B(20, 30): Z = 4(20) + 30 = 110
  • At C(0,50):Z=4(0)+50=50C(0, 50): Z = 4(0) + 50 = 50 Step 6: The maximum value of ZZ is 120120 at the point (30,0)(30, 0).

Explanation:

We use the graphical method to find the intersection of the constraints. Since the region is bounded, we evaluate the objective function at all vertices of the shaded polygon to find the highest value.

Problem 2:

Minimize Z=20x+10yZ = 20x + 10y subject to: x+2y≥40x + 2y \geq 40, 3x+y≥303x + y \geq 30, x,y≥0x, y \geq 0.

Solution:

Step 1: Boundary lines are L1:x+2y=40L_1: x + 2y = 40 (intercepts (40,0),(0,20)(40, 0), (0, 20)) and L2:3x+y=30L_2: 3x + y = 30 (intercepts (10,0),(0,30)(10, 0), (0, 30)). Step 2: Find intersection of L1L_1 and L2L_2: Multiply L1L_1 by 3  ⟹  3x+6y=1203 \implies 3x + 6y = 120. Subtract L2L_2 from this: (3x+6y)−(3x+y)=120−30  ⟹  5y=90  ⟹  y=18(3x + 6y) - (3x + y) = 120 - 30 \implies 5y = 90 \implies y = 18. Then x+2(18)=40  ⟹  x=4x + 2(18) = 40 \implies x = 4. Intersection is (4,18)(4, 18). Step 3: The feasible region is unbounded and lies above the lines L1L_1 and L2L_2. The corner points are A(40,0)A(40, 0), B(4,18)B(4, 18), and C(0,30)C(0, 30). Step 4: Evaluate Z=20x+10yZ = 20x + 10y:

  • At A(40,0):Z=20(40)+0=800A(40, 0): Z = 20(40) + 0 = 800
  • At B(4,18):Z=20(4)+10(18)=80+180=260B(4, 18): Z = 20(4) + 10(18) = 80 + 180 = 260
  • At C(0,30):Z=20(0)+10(30)=300C(0, 30): Z = 20(0) + 10(30) = 300 Step 5: The minimum value is 260260 at (4,18)(4, 18). (Since the region is unbounded, we verify if 20x+10y<26020x + 10y < 260 has points in common with the feasible region; it does not, so 260 is the actual minimum).

Explanation:

This is a minimization problem with an unbounded feasible region extending away from the origin. The corner point with the smallest ZZ value is the candidate for the minimum.

Problem 3:

Minimize Z=3x+5yZ = 3x + 5y subject to constraints: x+3y≥3x + 3y \geq 3, x+y≥2x + y \geq 2, x,y≥0x, y \geq 0.

Graph showing two intersecting lines and the corner points of the unbounded region.

Solution:

  1. Plot lines x+3y=3x + 3y = 3 (points (3,0), (0,1)) and x+y=2x + y = 2 (points (2,0), (0,2)).
  2. The intersection point of x+3y=3x + 3y = 3 and x+y=2x + y = 2 is found by subtraction: (x+3y)−(x+y)=3−2⇒2y=1⇒y=0.5,x=1.5(x+3y) - (x+y) = 3 - 2 \Rightarrow 2y = 1 \Rightarrow y = 0.5, x = 1.5.
  3. Corner points of the unbounded feasible region are A(3,0)A(3, 0), B(1.5,0.5)B(1.5, 0.5), and C(0,2)C(0, 2).
  4. Evaluate ZZ at each point:
  • At A(3,0)A(3, 0): Z=3(3)+5(0)=9Z = 3(3) + 5(0) = 9
  • At B(1.5,0.5)B(1.5, 0.5): Z=3(1.5)+5(0.5)=4.5+2.5=7Z = 3(1.5) + 5(0.5) = 4.5 + 2.5 = 7
  • At C(0,2)C(0, 2): Z=3(0)+5(2)=10Z = 3(0) + 5(2) = 10
  1. Minimum value is 7 at (1.5,0.5)(1.5, 0.5). Since the region is unbounded, we check if 3x+5y<73x + 5y < 7 has points in common with the feasible region. It does not, so 7 is the minimum.

Explanation:

Identify the feasible region above the lines, find vertices, and apply the corner point method.

Problem 4:

Maximize Z=5x+3yZ = 5x + 3y subject to 3x+5y≤153x + 5y \leq 15, 5x+2y≤105x + 2y \leq 10, x,y≥0x, y \geq 0.

Graph of the bounded feasible region for the maximization problem.

Solution:

  1. Plot lines 3x+5y=153x + 5y = 15 (intercepts (5,0), (0,3)) and 5x+2y=105x + 2y = 10 (intercepts (2,0), (0,5)).
  2. Find intersection: 2(3x+5y)=302(3x+5y) = 30 and 5(5x+2y)=50⇒6x+10y=30,25x+10y=505(5x+2y) = 50 \Rightarrow 6x+10y=30, 25x+10y=50. Subtracting gives 19x=20⇒x=2019≈1.0519x = 20 \Rightarrow x = \frac{20}{19} \approx 1.05. Substituting xx gives y=4519≈2.37y = \frac{45}{19} \approx 2.37.
  3. Corner points: O(0,0)O(0,0), A(2,0)A(2,0), B(2019,4519)B(\frac{20}{19}, \frac{45}{19}), C(0,3)C(0,3).
  4. Evaluate ZZ:
  • At OO: Z=0Z = 0
  • At AA: Z=5(2)+3(0)=10Z = 5(2) + 3(0) = 10
  • At BB: Z=5(2019)+3(4519)=100+13519=23519≈12.37Z = 5(\frac{20}{19}) + 3(\frac{45}{19}) = \frac{100+135}{19} = \frac{235}{19} \approx 12.37
  • At CC: Z=5(0)+3(3)=9Z = 5(0) + 3(3) = 9
  1. Maximum value is 23519\frac{235}{19} at (2019,4519)(\frac{20}{19}, \frac{45}{19}).

Explanation:

The feasible region is a bounded quadrilateral. The maximum value occurs at the intersection of the two constraint lines.