Linear Inequalities • Topic 2 of 3

Linear Inequalities in Two Variables

A linear inequality in two variables has the form $ax + by < c$ (or with $\le$, $>$, $\ge$), where $a$ and $b$ are not both zero. Whereas an inequality in one variable carves out a stretch of the number line, an inequality in two variables carves out a region of the plane — a half-plane.

The starting point is the boundary line $ax + by = c$. This line splits the whole $xy$-plane into two halves. Every point in one half makes $ax + by < c$ true; every point in the other half makes $ax + by > c$ true. The line itself is where $ax + by = c$ exactly.

$$ax + by = c \;\;\text{is the boundary; it divides the plane into two half-planes}$$

Two decisions turn the line into a complete picture of the solution set. The first is whether the boundary is part of the solution. For a weak inequality ($\le$ or $\ge$) the points on the line satisfy it, so we draw a solid line. For a strict inequality ($<$ or $>$) the line is excluded, so we draw a dashed (broken) line.

InequalityBoundary lineShaded region
$ax + by \le c$ or $\ge c$solid (included)half-plane on the satisfying side
$ax + by < c$ or $> c$dashed (excluded)half-plane on the satisfying side

The second decision is which half to shade. Here the test-point method is fast and foolproof: pick any point not on the line, substitute it into the inequality, and check whether the statement is true. If it is true, shade the side containing that point; if it is false, shade the other side. The origin $(0,0)$ is the easiest test point whenever the line does not pass through it.

For instance, to graph $2x + 3y \le 6$: draw the solid line $2x + 3y = 6$, then test $(0,0)$ — $2(0) + 3(0) = 0 \le 6$ is true, so shade the side that contains the origin (the side toward the lower-left).

Deeper Insight — why one test point settles everything: The reason a single test point decides the shading for an entire half-plane is that the quantity $ax + by$ changes monotonically as you move directly across the line. On the boundary it equals $c$; step to one side and it grows larger, step to the other and it shrinks — it can never "come back" to satisfy the opposite inequality without re-crossing the line. So every point on the same side of the line gives the same true-or-false verdict, which is precisely why checking one representative point is enough to colour all of them. Choosing the origin is simply a convenience because the arithmetic collapses to comparing $0$ with $c$; the only time you must pick a different point is when the line itself passes through $(0,0)$, in which case any off-line point such as $(1,0)$ does the job. This half-plane idea is the foundation of linear programming, where overlapping half-planes fence off the feasible region in which an optimal solution is hunted.

Shaded half-plane for two x plus three y less than or equal to six Graph of 2x + 3y ≤ 6 x y (3, 0) (0, 2) test (0,0): 0 ≤ 6 true shaded: 2x + 3y ≤ 6 solid line (≤ includes boundary) Solid versus dashed boundary lines Boundary: solid vs dashed ≤ or ≥ : SOLIDboundary included < or > : DASHEDboundary excluded
1
Worked Example
Determine whether the point $(1, 1)$ satisfies the inequality $2x + y \ge 4$.
Solution
  1. Substitute $x = 1$, $y = 1$: $2(1) + 1 = 3$.
  2. Compare with $4$: is $3 \ge 4$? No.

Answer: $(1,1)$ does not satisfy $2x + y \ge 4$; it lies in the unshaded half-plane.

2
Worked Example
Should the boundary line be solid or dashed for (a) $x + y < 5$ and (b) $3x - 2y \ge 6$?
Solution
  1. (a) The symbol is $<$ (strict), so the line is not part of the solution: draw it dashed.
  2. (b) The symbol is $\ge$ (weak), so points on the line are included: draw it solid.

Answer: (a) dashed; (b) solid.

3
Worked Example
Graph $x + y \le 4$. State the boundary's intercepts and which side to shade using the origin test.
Solution
  1. Boundary: $x + y = 4$. Intercepts: $x = 4$ (when $y = 0$) and $y = 4$ (when $x = 0$).
  2. The symbol is $\le$, so draw the line through $(4,0)$ and $(0,4)$ solid.
  3. Test the origin: $0 + 0 = 0 \le 4$ is true.
  4. Shade the side containing the origin (toward the lower-left).

Answer: Solid line through $(4,0)$ and $(0,4)$; shade the origin side.

4
Worked Example
Graph $y > 2x - 1$. Decide the line style and the region to shade.
Solution
  1. Boundary: $y = 2x - 1$, passing through $(0,-1)$ and $(1,1)$.
  2. The symbol is $>$ (strict), so draw the line dashed.
  3. Test the origin $(0,0)$: is $0 > 2(0) - 1$, i.e. $0 > -1$? Yes.
  4. Shade the side containing the origin (above the line).

Answer: Dashed line through $(0,-1)$ and $(1,1)$; shade the region above it (the origin side).

5
Worked Example
The line $y = x$ passes through the origin, so the origin cannot be the test point. Which side should be shaded for $y \le x$? Use the test point $(1, 0)$.
Solution
  1. Boundary: $y = x$, drawn solid because the symbol is $\le$.
  2. The origin lies on the line, so choose another point, $(1,0)$.
  3. Test $(1,0)$: is $0 \le 1$? Yes.
  4. Shade the side that contains $(1,0)$ — the region below the line $y = x$.

Answer: Solid line $y = x$; shade below it (the half-plane containing $(1,0)$).

6
Worked Example
Write the inequality whose graph is the half-plane below the dashed line $2x + y = 2$, not including the boundary, and verify with the origin.
Solution
  1. The boundary is dashed, so the inequality is strict ($<$ or $>$).
  2. "Below the line" together with the origin: test $(0,0)$ in $2x + y$: $2(0) + 0 = 0$, which is less than $2$.
  3. So the origin satisfies $2x + y < 2$, and the origin lies below the line — consistent.

Answer: The region is described by $2x + y < 2$.

Key Points

  • A linear inequality in two variables describes a half-plane, split off by the boundary line $ax + by = c$.
  • Draw the boundary solid for $\le$ or $\ge$ (included) and dashed for $<$ or $>$ (excluded).
  • Use a test point — usually the origin — to decide which side to shade: true means shade that side.
  • If the line passes through the origin, pick another test point such as $(1,0)$.
  • The shaded region is the complete solution set; every point in it satisfies the inequality.
Tap an option to check your answer0 / 4
Q1.The graph of a linear inequality in two variables is:
Explanation: It is the region on one side of the boundary line.
Q2.Does $(0,0)$ satisfy $2x+3y\le6$?
Explanation: $0\le6$ is true.
Q3.For the strict inequality $x+y<4$, the boundary line is:
Explanation: Strict inequalities exclude the boundary.
Q4.The inequality $y\ge x$ represents the region:
Explanation: $y\ge x$ is the region above the line.