Math Lab
Home/Class XI/Ch 5/Systems of linear inequalities and feasible regions

Systems of linear inequalities and feasible regions

A system of linear inequalities is a collection of inequalities that must all be satisfied simultaneously. The solution set is the intersection of the individual solution regions , a polygon (possibly unbounded) in the plane called the feasible region.

How to solve a system

  1. Graph each inequality as a half-plane.
  2. The feasible region is the intersection , the set of points satisfying every inequality.
  3. The corners (vertices) of the feasible region are intersections of pairs of boundary lines.
  4. Check whether the region is bounded or unbounded.

Vertices and the bounded case

If the feasible region is bounded, it is a convex polygon. Its vertices are critical for linear programming: the maximum and minimum of any linear function f(x,y)=px+qyf(x, y) = px + qy over the region are attained at a vertex. (You will prove this in Class XII.)

Worked examples

Example 1. Solve graphically: {x+y4,xy0,x0,y0}\{x + y \le 4, x - y \ge 0, x \ge 0, y \ge 0\}.

Each inequality is a half-plane:

  • x+y4x + y \le 4: below the line through (4,0),(0,4)(4, 0), (0, 4).
  • xy0x - y \ge 0: i.e. yxy \le x , below the line y=xy = x.
  • x0x \ge 0: right of yy-axis.
  • y0y \ge 0: above xx-axis.

Intersection: a triangle with vertices (0,0),(4,0),(2,2)(0, 0), (4, 0), (2, 2).

Example 2. Solve graphically: {2x+y4,x+y3,2x+5y10,x0,y0}\{2x + y \ge 4, x + y \le 3, 2x + 5y \le 10, x \ge 0, y \ge 0\}.

Boundaries:

  • 2x+y=42x + y = 4: through (2,0)(2, 0) and (0,4)(0, 4).
  • x+y=3x + y = 3: through (3,0)(3, 0) and (0,3)(0, 3).
  • 2x+5y=102x + 5y = 10: through (5,0)(5, 0) and (0,2)(0, 2).

The feasible region is bounded by the upper sides of the first inequality and the lower sides of the second and third, with x,y0x, y \ge 0.

Compute vertices by pairwise intersection:

  • 2x+y=42x + y = 4 and x+y=3x + y = 3: subtract, x=1x = 1, y=2y = 2 , point (1,2)(1, 2).
  • 2x+y=42x + y = 4 and y=0y = 0: x=2x = 2 , point (2,0)(2, 0).
  • x+y=3x + y = 3 and y=0y = 0: point (3,0)(3, 0) (check 2x+5y106102x + 5y \le 10 \Rightarrow 6 \le 10 ✓).
  • x+y=3x + y = 3 and 2x+5y=102x + 5y = 10: subtract twice first from second: 3y=43y = 4, y=4/3y = 4/3, x=5/3x = 5/3. Check 2x+y=10/3+4/3=14/342x + y = 10/3 + 4/3 = 14/3 \ge 4 ✓.
  • 2x+5y=102x + 5y = 10 and y=0y = 0: x=5x = 5. But check x+y3x + y \le 3: fails. So (5,0)(5, 0) is not a vertex.

Feasible vertices: (2,0),(3,0),(5/3,4/3),(1,2)(2, 0), (3, 0), (5/3, 4/3), (1, 2). The region is a quadrilateral.

Example 3. A manufacturer makes two products with profit 40\\₹40 on each AA and 50\\₹50 on each BB. Each AA takes 33 machine-hours, each BB takes 22, and the factory has 120120 machine-hours per day. Labour: each AA takes 11 hour, each BB takes 22, and there are 8080 labour hours. How many of each maximise profit?

Constraints (with x,yx, y units of A,BA, B):

  • 3x+2y1203x + 2y \le 120 (machine)
  • x+2y80x + 2y \le 80 (labour)
  • x,y0x, y \ge 0

Find vertices:

  • (0,0)(0, 0).
  • (40,0)(40, 0) from 3x=1203x = 120 with y=0y = 0 (check x+2y=4080x + 2y = 40 \le 80 ✓).
  • (0,40)(0, 40) from 2y=802y = 80 with x=0x = 0 (check 3x+2y=801203x + 2y = 80 \le 120 ✓).
  • Intersection of 3x+2y=1203x + 2y = 120 and x+2y=80x + 2y = 80: subtract, 2x=402x = 40, x=20x = 20, y=30y = 30. Point (20,30)(20, 30).

Profit f=40x+50yf = 40x + 50y:

  • At (0,0)(0, 0): 00.
  • At (40,0)(40, 0): 16001600.
  • At (0,40)(0, 40): 20002000.
  • At (20,30)(20, 30): 800+1500=2300800 + 1500 = 2300.

Max profit 2300\\₹2300 at (20,30)(20, 30).

Example 4. Sketch the feasible region of {x+y10,x+y4,x8,y6,x,y0}\{x + y \le 10, x + y \ge 4, x \le 8, y \le 6, x, y \ge 0\}.

The region is bounded by the strips 4x+y104 \le x + y \le 10 and 0x80 \le x \le 8, 0y60 \le y \le 6.

Vertices: (4,0),(8,0),(8,2),(4,6),(0,6),(0,4)(4, 0), (8, 0), (8, 2), (4, 6), (0, 6), (0, 4).

Example 5 (harder). Find the feasible region of {x+y5,x4,y6,x,y0}\{x + y \ge 5, x \le 4, y \le 6, x, y \ge 0\}. Is it bounded?

  • x+y5x + y \ge 5: above the line x+y=5x + y = 5.
  • x4x \le 4: left of x=4x = 4.
  • y6y \le 6: below y=6y = 6.
  • x,y0x, y \ge 0.

Vertices:

  • (4,1)(4, 1): x+y=5x + y = 5 and x=4x = 4 (y=1y = 1).
  • (4,6)(4, 6): x=4x = 4 and y=6y = 6.
  • (0,6)(0, 6): x=0x = 0 and y=6y = 6.
  • (0,5)(0, 5): x=0x = 0 and x+y=5x + y = 5 (y=5y = 5).

Closed polygon: quadrilateral. Bounded.

Try it yourself

  1. Graph {x+y6,xy2,x0,y0}\{x + y \le 6, x - y \ge -2, x \ge 0, y \ge 0\}.
  2. Find the feasible region of {2x+y6,x+3y9,x,y0}\{2x + y \le 6, x + 3y \le 9, x, y \ge 0\} and its vertices.
  3. Graph {x2,y3}\{|x| \le 2, |y| \le 3\}.
  4. Find the maximum of z=3x+4yz = 3x + 4y subject to {x+y4,x0,y0}\{x + y \le 4, x \ge 0, y \ge 0\}.
  5. Find the minimum of z=2x+yz = 2x + y subject to {x+y6,2x+y8,x,y0}\{x + y \ge 6, 2x + y \ge 8, x, y \ge 0\}.
  6. A diet must contain at least 4040 units of vitamin A and 5050 units of vitamin B. Food XX has 4A+2B4A + 2B per gram; food YY has 2A+5B2A + 5B. Cost: 5/g\\₹5/g for XX, 4/g\\₹4/g for YY. Set up the inequalities.
  7. Graph {x+y3,xy1}\{x + y \ge 3, x - y \le 1\} and decide if bounded.
  8. Find all vertices of {x+2y10,3x+y9,x,y0}\{x + 2y \le 10, 3x + y \le 9, x, y \ge 0\}.
  9. A shopkeeper sells two types of sweets. He has at most 2400\\₹2400 to invest. The first costs 30\\₹30/kg and the second 40\\₹40/kg. He has storage for at most 8080 kg. Set up the inequalities.
  10. Graph {x+y10,x0,y2}\{x + y \le 10, x \ge 0, y \ge 2\}.
  11. Find feasible region of {2x+y4,x+y3,x0,y0}\{2x + y \ge 4, x + y \ge 3, x \ge 0, y \ge 0\}. Is it bounded?
  12. A farmer plants two crops. Crop AA needs 11 hectare and 55 man-days; crop BB needs 11 hectare and 33 man-days. He has 1010 hectares and 3030 man-days. Profit per hectare: 40000\\₹40000 for AA, 30000\\₹30000 for BB. Maximise profit.

Pitfalls / Tricks

  • Always check the corner points. The optimum of a linear function on a polygon is at a vertex.
  • Decide bounded vs unbounded before searching for extrema. Unbounded regions may give "no max" or "no min".
  • A single inequality gives a half-plane (unbounded). Multiple inequalities can carve a bounded region.
  • Insight. Linear programming is just "find the best corner". The whole subject in Class XII reduces to (a) graph the feasible region, (b) evaluate the objective at each vertex, (c) pick the best.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Systems of inequalities
6 questions · pick the best answer
Q1

Q2

Q3

Q4

Q5

Q6