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. Its solution is a set of ordered pairs $(x, y)$, not single numbers.
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}$$
Drawing the boundary line. The quickest way to plot $ax + by = c$ is by its intercepts: put $y = 0$ to get the $x$-intercept $\left(\tfrac{c}{a}, 0\right)$, and put $x = 0$ to get the $y$-intercept $\left(0, \tfrac{c}{b}\right)$, then join the two points. Special boundaries are even easier — $x = k$ is a vertical line and $y = k$ is a horizontal line.
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.
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.
$$\text{Test }(0,0):\quad a(0) + b(0) = 0 \;\;\text{vs}\;\; c \;\;\Longrightarrow\;\; \text{shade the origin side iff the statement holds}$$
For instance, to graph $2x + 3y \le 6$: draw the solid line $2x + 3y = 6$ through $(3, 0)$ and $(0, 2)$, 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). When the boundary passes through the origin (for example $y = x$), the origin gives $0 = 0$ and cannot decide; pick a clear off-line point such as $(1, 0)$ instead.
Axis inequalities appear so often they are worth memorising on sight: $x \ge 0$ is the half-plane on and to the right of the $y$-axis, $x \le 0$ is to its left, $y \ge 0$ is on and above the $x$-axis, and $y \le 0$ is below it. These four are the building blocks of the non-negativity constraints that confine many problems to the first quadrant.
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.
Determine whether the point $(1, 1)$ satisfies the inequality $2x + y \ge 4$.
Solution- Substitute $x = 1$, $y = 1$: $2(1) + 1 = 3$.
- 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.
Should the boundary line be solid or dashed for (a) $x + y < 5$ and (b) $3x - 2y \ge 6$?
Solution- (a) The symbol is $<$ (strict), so the line is not part of the solution: draw it dashed.
- (b) The symbol is $\ge$ (weak), so points on the line are included: draw it solid.
Answer: (a) dashed; (b) solid.
Graph $x + y \le 4$. State the boundary's intercepts and which side to shade using the origin test.
Solution- Boundary: $x + y = 4$. Intercepts: $x = 4$ (when $y = 0$) and $y = 4$ (when $x = 0$).
- The symbol is $\le$, so draw the line through $(4,0)$ and $(0,4)$ solid.
- Test the origin: $0 + 0 = 0 \le 4$ is true.
- Shade the side containing the origin (toward the lower-left).
Answer: Solid line through $(4,0)$ and $(0,4)$; shade the origin side.
Graph $y > 2x - 1$. Decide the line style and the region to shade.
Solution- Boundary: $y = 2x - 1$, passing through $(0,-1)$ and $(1,1)$.
- The symbol is $>$ (strict), so draw the line dashed.
- Test the origin $(0,0)$: is $0 > 2(0) - 1$, i.e. $0 > -1$? Yes.
- 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).
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- Boundary: $y = x$, drawn solid because the symbol is $\le$.
- The origin lies on the line, so choose another point, $(1,0)$.
- Test $(1,0)$: is $0 \le 1$? Yes.
- 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)$).
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- The boundary is dashed, so the inequality is strict ($<$ or $>$).
- "Below the line" together with the origin: test $(0,0)$ in $2x + y$: $2(0) + 0 = 0$, which is less than $2$.
- So the origin satisfies $2x + y < 2$, and the origin lies below the line — consistent.
Answer: The region is described by $2x + y < 2$.
Find the $x$- and $y$-intercepts of the boundary line for $3x + 4y \le 12$ and use them to graph the inequality.
Solution- Boundary: $3x + 4y = 12$. Put $y = 0$: $3x = 12 \Rightarrow x = 4$, so the $x$-intercept is $(4, 0)$.
- Put $x = 0$: $4y = 12 \Rightarrow y = 3$, so the $y$-intercept is $(0, 3)$.
- The symbol is $\le$, so join $(4,0)$ and $(0,3)$ with a solid line.
- Test $(0,0)$: $0 \le 12$ is true, so shade the origin side.
Answer: Solid line through $(4,0)$ and $(0,3)$, with the origin side shaded.
Solve $x \ge 0$ graphically — describe and sketch the region it represents.
Solution- The boundary is the line $x = 0$, which is the $y$-axis.
- The symbol is $\ge$, so the boundary is included: draw the $y$-axis solid.
- Test $(1, 0)$: is $1 \ge 0$? Yes, so shade the side containing $(1,0)$.
Answer: The region is the $y$-axis together with everything to its right (all points with $x \ge 0$).
Does the point $(-2, 3)$ satisfy $x - 4y < -5$? Show the check.
Solution- Substitute $x = -2$, $y = 3$ into the left side: $(-2) - 4(3) = -2 - 12 = -14$.
- Compare with $-5$: is $-14 < -5$? Yes.
Answer: Yes, $(-2, 3)$ satisfies $x - 4y < -5$; it lies in the shaded half-plane.
Graph $2x - 3y > 6$, stating the line style and the side to shade.
Solution- Boundary: $2x - 3y = 6$. Intercepts: $(3, 0)$ and $(0, -2)$.
- The symbol is $>$ (strict), so draw the line dashed.
- Test $(0,0)$: $2(0) - 3(0) = 0$; is $0 > 6$? No.
- Since the origin fails, shade the other side — the side not containing the origin.
Answer: Dashed line through $(3,0)$ and $(0,-2)$; shade the side away from the origin.
A factory worker is paid ₹$x$ per regular hour and ₹$y$ per overtime hour, and the firm wants the combined rate to stay under ₹$300$ via the rule $x + y < 300$. Express the constraint set realistically and check the pair $(120, 200)$.
Solution- The wage rates cannot be negative, so $x \ge 0$ and $y \ge 0$ as well as $x + y < 300$.
- Test $(120, 200)$: $x + y = 120 + 200 = 320$.
- Is $320 < 300$? No.
Answer: $(120, 200)$ does not satisfy $x + y < 300$, so it lies outside the allowed region.
Write the linear inequality represented by the half-plane on and above the solid line passing through $(0, 2)$ and $(4, 0)$.
Solution- Find the line: from $(0,2)$ and $(4,0)$ the intercept form is $\dfrac{x}{4} + \dfrac{y}{2} = 1$, i.e. $x + 2y = 4$.
- The line is solid, so the inequality is weak ($\le$ or $\ge$).
- "On and above" means a point above the line, say $(4, 4)$, should satisfy it: $4 + 2(4) = 12 \ge 4$. True.
Answer: The region is described by $x + 2y \ge 4$.