Skip to content

Mathematics and Statistics · Ch 17 — Linear Inequations

Linear Inequations in Two Variables — Graphical Solution (Half-Planes)

3

Linear Inequations in Two Variables — Graphical Solution (Half-Planes)

A linear inequation in two variables has the form ax+by<cax+by<c (or with >,≤,≥>,\le,\ge), where a,ba,b are not both zero. Its solution is not a set of isolated points but an entire region of the coordinate plane — a half-plane.

The idea of a half-plane

The corresponding equation ax+by=cax+by=c is a straight line. That line splits the whole plane into two parts (half-planes), one on each side. Every point on one side satisfies ax+by<cax+by<c, and every point on the other side satisfies ax+by>cax+by>c; points on the line satisfy ax+by=cax+by=c exactly.

Graphical solution of a two-variable linear inequation

The solution set of ax+by □ cax+by\ \square\ c (where □\square is one of <,>,≤,≥<,>,\le,\ge) is one of the two half-planes determined by the boundary line ax+by=cax+by=c, together with the line itself when the sign is ≤\le or ≥\ge.

The method, step by step

Note

Four steps to shade the correct half-plane

  1. Draw the boundary line ax+by=cax+by=c. The easiest points are the intercepts: put x=0x=0 to get the yy-intercept, and y=0y=0 to get the xx-intercept.
  2. Dashed or solid? Draw the line dashed for a strict sign (<,><,>, boundary excluded) and solid for a weak sign (≤,≥\le,\ge, boundary included).
  3. Pick a test point not on the line — the origin (0,0)(0,0) is easiest whenever the line does not pass through it. Substitute it into the inequation.
  4. Shade the side of the test point if it satisfies the inequation; otherwise shade the other side. That shaded region (with or without the line) is the solution.
Tip

Use the origin as the test point

Because substituting (0,0)(0,0) gives simply "0 □ c0\ \square\ c", it is the quickest test. Only choose a different point (such as (1,0)(1,0)) when the boundary line actually passes through the origin (i.e. when c=0c=0), because a point on the line cannot tell you which side to shade. …

Definition 1Linear inequation in two variables

An inequation ax+by □ cax+by\ \square\ c (a,ba,b not both 00; □∈{<,>,≤,≥}\square\in\{<,>,\le,\ge\}). Its solution is a half-plane of …

Definition 2Boundary line

The line ax+by=cax+by=c separating the two half-planes. Drawn solid (included) for ≤,≥\le,\ge and dashed (ex …

Definition 3Test-point rule

Substitute a point not on the line (usually the origin, when c≠0c\ne0): if it satisfies the inequation, shade its side; if not …