krit.club logo

Linear Programming - Graphical Method of Solution

Grade 12ICSE

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

🔑Concepts

•

The Feasible Region is the set of all points (x,y)(x, y) that satisfy all given linear constraints simultaneously, including the non-negativity constraints x≥0,y≥0x \geq 0, y \geq 0. This region is usually a convex polygon.

A coordinate plane showing a shaded polygonal feasible region bounded by the axes and two linear inequality lines.
•

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

A polygon representing a feasible region with vertices labeled A, B, C, and D, where the optimal solution is located.
•

Constraints of the form ax+by≤cax + by \leq c usually represent a half-plane containing the origin (if c>0c > 0), while ax+by≥cax + by \geq c represents the half-plane away from the origin.

•

Iso-profit or Iso-cost lines: These are lines where the objective function ZZ has a constant value. Moving these lines parallel to themselves helps identify the 'last' point of contact with the feasible region, indicating the optimum.

📐Formulae

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

General form of Linear Constraints: aix+biy≤cia_ix + b_iy \leq c_i or aix+biy≥cia_ix + b_iy \geq c_i

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

Equation of a boundary line: ax+by=cax + by = c

Slope-intercept form for plotting lines: y=−abx+cby = -\frac{a}{b}x + \frac{c}{b}

💡Examples

Problem 1:

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

Solution:

Step 1: Convert inequalities to equations to find intercepts. For 3x+5y=153x + 5y = 15: When x=0,y=3  ⟹  (0,3)x=0, y=3 \implies (0,3); When y=0,x=5  ⟹  (5,0)y=0, x=5 \implies (5,0). For 5x+2y=105x + 2y = 10: When x=0,y=5  ⟹  (0,5)x=0, y=5 \implies (0,5); When y=0,x=2  ⟹  (2,0)y=0, x=2 \implies (2,0).

Step 2: Plot the lines and find the feasible region. Since both constraints are ≤\leq, the region is towards the origin. The non-negativity constraints x,y≥0x, y \geq 0 limit the region to the first quadrant.

Step 3: Find the intersection point of 3x+5y=153x + 5y = 15 and 5x+2y=105x + 2y = 10. Multiplying the first by 2 and the second by 5: 6x+10y=306x + 10y = 30 25x+10y=5025x + 10y = 50 Subtracting: 19x=20  ⟹  x=2019≈1.0519x = 20 \implies x = \frac{20}{19} \approx 1.05 Substitute xx: 3(2019)+5y=15  ⟹  5y=15−6019=22519  ⟹  y=4519≈2.373(\frac{20}{19}) + 5y = 15 \implies 5y = 15 - \frac{60}{19} = \frac{225}{19} \implies y = \frac{45}{19} \approx 2.37.

Step 4: Evaluate ZZ at corner points:

  • At O(0,0):Z=5(0)+3(0)=0O(0,0): Z = 5(0) + 3(0) = 0
  • At A(2,0):Z=5(2)+3(0)=10A(2,0): Z = 5(2) + 3(0) = 10
  • At B(2019,4519):Z=5(2019)+3(4519)=100+13519=23519≈12.37B(\frac{20}{19}, \frac{45}{19}): Z = 5(\frac{20}{19}) + 3(\frac{45}{19}) = \frac{100+135}{19} = \frac{235}{19} \approx 12.37
  • At C(0,3):Z=5(0)+3(3)=9C(0,3): Z = 5(0) + 3(3) = 9

Maximum value of ZZ is 23519\frac{235}{19} at x=2019,y=4519x = \frac{20}{19}, y = \frac{45}{19}.

Explanation:

We first identify the boundary lines and shade the region satisfied by all inequalities. The feasible region is a quadrilateral with vertices (0,0),(2,0),(2019,4519),(0,0), (2,0), (\frac{20}{19}, \frac{45}{19}), and (0,3)(0,3). We then test the objective function at each vertex to find the maximum value.

Problem 2:

Minimize Z=2x+10yZ = 2x + 10y subject to x+2y≥10,3x+4y≥24,x≥0,y≥0x + 2y \geq 10, 3x + 4y \geq 24, x \geq 0, y \geq 0.

Solution:

Step 1: Find intercepts for boundary lines. Line 1: x+2y=10  ⟹  (10,0)x + 2y = 10 \implies (10,0) and (0,5)(0,5). Line 2: 3x+4y=24  ⟹  (8,0)3x + 4y = 24 \implies (8,0) and (0,6)(0,6).

Step 2: Identify the Feasible Region. Since constraints are ≥\geq, the region is 'unbounded' and away from the origin (above the lines).

Step 3: Find the corner points of the unbounded region.

  • Intersection of x+2y=10x + 2y = 10 and the y-axis: (0,6)(0,6) (since (0,6)(0,6) is higher than (0,5)(0,5)).
  • Intersection of the two lines: 3x+4y=243x + 4y = 24 2x+4y=202x + 4y = 20 (Line 1 multiplied by 2) Subtracting: x=4x = 4. Substituting xx: 4+2y=10  ⟹  2y=6  ⟹  y=34 + 2y = 10 \implies 2y = 6 \implies y = 3. Corner point: (4,3)(4,3).
  • Intersection of 3x+4y=243x + 4y = 24 and the x-axis: (10,0)(10,0) (since (10,0)(10,0) is further right than (8,0)(8,0)).

Step 4: Evaluate ZZ at corner points:

  • At (0,6):Z=2(0)+10(6)=60(0,6): Z = 2(0) + 10(6) = 60
  • At (4,3):Z=2(4)+10(3)=38(4,3): Z = 2(4) + 10(3) = 38
  • At (10,0):Z=2(10)+10(0)=20(10,0): Z = 2(10) + 10(0) = 20

Minimum value of ZZ is 2020 at (10,0)(10,0).

Explanation:

In this minimization problem with ≥\geq constraints, the feasible region is unbounded in the first quadrant. The corner points are (0,6),(4,3),(0,6), (4,3), and (10,0)(10,0). After testing these points, we find the minimum value at (10,0)(10,0).

Problem 3:

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

Graph showing the feasible region for constraints x+y=50 and 3x+y=90 with vertex (20,30) highlighted.

Solution:

  1. Plot lines: x+y=50x + y = 50 (intercepts (50,0),(0,50)(50,0), (0,50)) and 3x+y=903x + y = 90 (intercepts (30,0),(0,90)(30,0), (0,90)).
  2. Identify Feasible Region vertices by solving equations:
  • Intersection of x+y=50x+y=50 and 3x+y=903x+y=90: Subtraction gives 2x=40⇒x=20,y=302x = 40 \Rightarrow x=20, y=30. Vertex is (20,30)(20, 30).
  • Other vertices: (0,0),(30,0),(0,50)(0, 0), (30, 0), (0, 50).
  1. Evaluate ZZ at vertices:
  • At (0,0):Z=0(0,0): Z = 0
  • At (30,0):Z=4(30)+0=120(30,0): Z = 4(30) + 0 = 120
  • At (20,30):Z=4(20)+30=110(20,30): Z = 4(20) + 30 = 110
  • At (0,50):Z=4(0)+50=50(0,50): Z = 4(0) + 50 = 50 Max value is 120 at (30,0)(30, 0).

Explanation:

We identify the corner points of the shaded region bounded by the two lines and the axes. The maximum value of the linear function ZZ is found by testing each corner point.

Problem 4:

Minimize Z=3x+5yZ = 3x + 5y subject to 2x+y≥82x + y \geq 8, x+2y≥10x + 2y \geq 10, x,y≥0x, y \geq 0.

Graph of an unbounded feasible region with vertices at (0,8), (2,4), and (10,0).

Solution:

  1. Plot boundary lines: 2x+y=82x + y = 8 (intercepts (4,0),(0,8)(4,0), (0,8)) and x+2y=10x + 2y = 10 (intercepts (10,0),(0,5)(10,0), (0,5)).
  2. The region is unbounded 'above' the lines.
  3. Solve for intersection: 2(2x+y=8)⇒4x+2y=162(2x+y=8) \Rightarrow 4x+2y=16. Subtract x+2y=10⇒3x=6⇒x=2x+2y=10 \Rightarrow 3x=6 \Rightarrow x=2. Then y=4y=4. Intersection is (2,4)(2, 4).
  4. Vertices: (0,8),(2,4),(10,0)(0, 8), (2, 4), (10, 0).
  5. Evaluate ZZ:
  • At (0,8):Z=3(0)+5(8)=40(0,8): Z = 3(0) + 5(8) = 40
  • At (2,4):Z=3(2)+5(4)=26(2,4): Z = 3(2) + 5(4) = 26
  • At (10,0):Z=3(10)+5(0)=30(10,0): Z = 3(10) + 5(0) = 30 Minimum value is 26 at (2,4)(2, 4).

Explanation:

Since the inequalities are ≥\geq, the feasible region is the area above and to the right of the boundary lines. The minimum occurs at the vertex closest to the origin.