PracticeVideosBlogFlashcards

8.2 Linear Inequalities & Linear Programming

Key Takeaways

  • A linear inequality ax+by≤cax + by \le c represents a half-plane: draw the boundary line ax+by=cax + by = c (solid for ≤\le or ≥\ge, dashed for << or >>) and test a point such as the origin to choose the side.

  • The feasible region of a system of linear inequalities is the intersection of their half-planes; when it is bounded it is a convex polygon whose corners are found by solving pairs of boundary equations.

  • The corner-point theorem: if a linear objective function z=px+qyz = px + qy has a maximum or minimum on a bounded feasible region, it occurs at a vertex of that region.

  • Formulating a linear programming problem means naming the decision variables, writing the constraints (including x≥0x \ge 0, y≥0y \ge 0), and writing the objective function to maximize or minimize.

  • If two adjacent vertices give the same optimal value, every point on the edge joining them is optimal; an unbounded region may have no maximum.

Last updated: October 2026

Linear Inequalities & Linear Programming

Linear programming is the part of analytic geometry that turns straight lines into decision-making. A manufacturer with limited labour and material, a farmer with limited land and water, or a diet planner with a cost limit all face the same question: which combination of two quantities gives the best result while respecting every constraint? The tools are the straight-line skills from Section 8.1 plus a few new rules about inequalities.


1. Linear Inequalities in Two Variables

A linear inequality in xx and yy has one of the forms

ax+by<c,ax+by≤c,ax+by>c,ax+by≥cax + by < c, \quad ax + by \le c, \quad ax + by > c, \quad ax + by \ge c

Its solution set is a half-plane: all points on one side of the boundary line ax+by=cax + by = c.

Graphing Procedure

  1. Draw the boundary line ax+by=cax + by = c using its intercepts. Use a solid line for ≤\le or ≥\ge (boundary points are included) and a dashed line for << or >> (boundary excluded).
  2. Choose a test point not on the line, usually the origin (0,0)(0, 0).
  3. Substitute it into the inequality. If the statement is true, shade the side containing the test point; otherwise shade the other side.

Example: Graph 2x+3y≤122x + 3y \le 12. The boundary 2x+3y=122x + 3y = 12 passes through (6,0)(6, 0) and (0,4)(0, 4) and is drawn solid. Testing (0,0)(0, 0) gives 0≤120 \le 12, which is true, so the half-plane containing the origin (below and to the left of the line) is the solution region.

If the line passes through the origin, use another test point such as (1,0)(1, 0) or (0,1)(0, 1).

Shortcut for Standard Forms

  • x≥0x \ge 0 is the right half-plane including the yy-axis; y≥0y \ge 0 is the upper half-plane including the xx-axis. Together they give the first quadrant, the usual non-negativity constraints.
  • For y≤mx+cy \le mx + c, shade below the line; for y≥mx+cy \ge mx + c, shade above it (when the inequality is solved for yy).

2. Systems of Inequalities and the Feasible Region

The solution of a system of linear inequalities is the intersection of the individual half-planes. In linear programming this common region is called the feasible region, and each point in it is a feasible solution.

  • The feasible region is always convex: the segment joining any two of its points lies entirely inside it.
  • When it is bounded, it is a convex polygon. Its corners are called vertices or corner points.
  • Each vertex is the intersection of two boundary lines, found by solving the two equations simultaneously.
  • A system may also have an empty feasible region (inconsistent constraints) or an unbounded one.

Example: Find the vertices of the region defined by x≥0x \ge 0, y≥0y \ge 0, x+y≤6x + y \le 6, x+2y≤8x + 2y \le 8.

  • x+y=6x + y = 6 meets the xx-axis at (6,0)(6, 0).
  • x+2y=8x + 2y = 8 meets the yy-axis at (0,4)(0, 4).
  • x+y=6x + y = 6 and x+2y=8x + 2y = 8 intersect where y=2y = 2, x=4x = 4, so at (4,2)(4, 2).

The feasible region is the quadrilateral with vertices (0,0)(0, 0), (6,0)(6, 0), (4,2)(4, 2) and (0,4)(0, 4). Check each vertex against every constraint: for example, (6,0)(6, 0) gives 6+0=6≤86 + 0 = 6 \le 8 in the second constraint, so it is feasible; the point (8,0)(8, 0), where x+2y=8x + 2y = 8 meets the xx-axis, violates x+y≤6x + y \le 6 and is not a vertex.


3. Linear Programming: Objective Function and Corner-Point Theorem

A linear programming problem asks for the maximum or minimum of a linear objective function

z=px+qyz = px + qy

subject to linear constraints. The key result is:

Corner-Point Theorem: If the feasible region is bounded, the objective function attains both its maximum and its minimum at vertices of the region.

The reason is geometric: the lines px+qy=kpx + qy = k for different kk are parallel. Sliding such a line across the region, the last point it touches is always a corner (or a whole edge).

Corner-Point Method

  1. Graph the constraints and identify the feasible region.
  2. Find the coordinates of every vertex.
  3. Evaluate zz at each vertex.
  4. The largest value is the maximum; the smallest is the minimum.

Continuing the example, maximize z=3x+4yz = 3x + 4y over the region above:

Vertexz=3x+4yz = 3x + 4y
(0,0)(0, 0)00
(6,0)(6, 0)1818
(4,2)(4, 2)12+8=2012 + 8 = 20
(0,4)(0, 4)1616

The maximum is z=20z = 20 at (4,2)(4, 2); the minimum is z=0z = 0 at (0,0)(0, 0).

Special Cases

  • Multiple optima: if the objective line is parallel to an edge, both endpoints of that edge give the same optimal value, and so does every point between them. For z=x+yz = x + y in the example, (6,0)(6, 0) and (4,2)(4, 2) both give z=6z = 6.
  • Unbounded region: a minimum may still exist (common in cost problems with ≥\ge constraints), but a maximum may not. Check whether zz can increase without limit along an unbounded edge.

4. Formulating a Linear Programming Problem

Word problems are converted into mathematics in four steps:

  1. Decision variables: let xx and yy be the quantities to be decided.
  2. Constraints: translate each resource limit into an inequality.
  3. Non-negativity: add x≥0x \ge 0 and y≥0y \ge 0.
  4. Objective: write the quantity to maximize (profit, output) or minimize (cost, time).

Worked example: A workshop makes chairs and tables. A chair needs 2 hours of carpentry and 1 hour of polishing; a table needs 3 hours of carpentry and 3 hours of polishing. Each week 36 carpentry hours and 24 polishing hours are available. Profit is Rs. 500 per chair and Rs. 900 per table. How many of each should be made?

  • Variables: xx chairs, yy tables.
  • Constraints: 2x+3y≤362x + 3y \le 36 (carpentry), x+3y≤24x + 3y \le 24 (polishing), x≥0x \ge 0, y≥0y \ge 0.
  • Objective: maximize P=500x+900yP = 500x + 900y.

Vertices: (0,0)(0, 0); (18,0)(18, 0) from 2x=362x = 36; (0,8)(0, 8) from 3y=243y = 24; and the intersection of 2x+3y=362x + 3y = 36 with x+3y=24x + 3y = 24, which gives x=12x = 12, y=4y = 4.

VertexP=500x+900yP = 500x + 900y
(0,0)(0, 0)Rs. 0
(18,0)(18, 0)Rs. 9,000
(12,4)(12, 4)Rs. 6,000 + 3,600 = 9,600
(0,8)(0, 8)Rs. 7,200

The best plan is 12 chairs and 4 tables per week, for a profit of Rs. 9,600.


5. Quick Checks for MCQs

  • A vertex claimed in an answer option must satisfy every constraint; substituting it takes seconds and eliminates wrong options.
  • The optimum is never at an interior point for a linear objective.
  • Changing the objective function changes which vertex is optimal, but never the feasible region itself.
  • A strict inequality (<<) excludes the boundary, so a "maximum" may not be attained; Intermediate problems normally use ≤\le and ≥\ge to avoid this.
Loading diagram...
Corner-Point Method for a Linear Programming Problem
Test Your Knowledge

Which point lies in the solution region of the system x≥0x \ge 0, y≥0y \ge 0, 3x+2y≤123x + 2y \le 12, x+2y≤8x + 2y \le 8?

A

(4,1)(4, 1)

B

(2,2)(2, 2)

C

(1,4)(1, 4)

D

(5,0)(5, 0)

Test Your Knowledge

The feasible region of a linear programming problem has vertices (0,0)(0, 0), (5,0)(5, 0), (3,4)(3, 4) and (0,6)(0, 6). What is the maximum value of z=2x+3yz = 2x + 3y?

A

1010

B

1818

C

2424

D

2121

Test Your Knowledge

For the graph of the inequality 4x−3y>124x - 3y > 12, which description is correct?

A

Solid boundary line; the shaded side contains the origin

B

Dashed boundary line; the shaded side contains the origin

C

Solid boundary line; the shaded side does not contain the origin

D

Dashed boundary line; the shaded side does not contain the origin

Sections you finish are checked off in the contents.