What Are Linear Inequalities In Two Variables?
Linear inequalities in two variables are inequalities of the form $ax + by \le c$ (or with $<$, $>$, or $\ge$), where $a$ and $b$ are not both zero. They compare a two-variable expression against a number instead of setting it equal to one. Swap the inequality sign for an "=", and you would have an ordinary linear equation in two variables instead.
A solution is any ordered pair $(x, y)$ that makes the statement true. Take $2x + y \le 4$. The pair $(1, 1)$ works because $2(1) + 1 = 3$, and $3 \le 4$. The pair $(3, 0)$ fails because $2(3) + 0 = 6$, and $6 \le 4$ is false.
Here is the difference from a single-variable statement. A one-variable inequality like $x > 3$ has a solution set you can draw on a number line. Give it a second variable and the solution set spreads out across the whole plane. It is worth meeting plain inequalities and one-variable linear inequalities first, because the two-variable case builds directly on them.
Because two variables are free to move, a linear inequality in two variables has infinitely many solutions. You cannot list them, so you shade them.
Word problems often hide the inequality inside a phrase. Translating the phrase is half the work.
Table: Words that signal each inequality symbol.
English phrase | Symbol |
|---|---|
"at most", "no more than", "up to" | $\le$ |
"at least", "no less than", "a minimum of" | $\ge$ |
"more than", "greater than", "over" | $>$ |
"fewer than", "less than", "under" | $<$ |
How Do You Graph A Linear Inequality In Two Variables?
Graph the boundary line first, then shade the correct side. Every linear inequality in two variables follows the same three-step routine, and it never changes.
Draw the boundary line. Replace the inequality sign with "=" and graph that line, exactly as you would when graphing a linear equation. This boundary line splits the plane into two halves.
Choose solid or dashed. Use a solid line if the sign is $\le$ or $\ge$, and a dashed line if the sign is $<$ or $>$.
Test a point and shade. Pick a point that is not on the line, substitute it, and shade the half-plane that makes the inequality true.
Example 1: Graph $2x + y \le 4$.
Start with the boundary line $2x + y = 4$. Two points fix it:
$$\text{when } x = 0:\ y = 4 \quad\Rightarrow\quad (0, 4)$$
$$\text{when } y = 0:\ 2x = 4,\ x = 2 \quad\Rightarrow\quad (2, 0)$$
The sign is $\le$, so the line is solid. Now test the origin $(0, 0)$, which is not on the line:
$$2(0) + 0 = 0, \qquad 0 \le 4 \ \checkmark$$
The origin satisfies the inequality, so shade the side of the line that contains the origin.
Final answer: a solid line through $(0, 4)$ and $(2, 0)$, with the region on the origin's side shaded. Every point in that shaded half-plane is a solution.
When Do You Use A Solid Line, And When A Dashed Line?
The sign decides the line. A strict inequality ($<$ or $>$) excludes the points on the boundary itself, so the line is drawn dashed to show they are not solutions. An inclusive inequality ($\le$ or $\ge$) includes those points, so the line is solid.
Table: How the inequality sign sets the boundary line and the shading.
Sign | Line style | Points on the line? | Reading it aloud |
|---|---|---|---|
$\le$ | Solid | Included | "less than or equal to" |
$\ge$ | Solid | Included | "greater than or equal to" |
$<$ | Dashed | Excluded | "less than" |
$>$ | Dashed | Excluded | "greater than" |
One quick check saves marks: read the sign before you pick up the pencil. If it has the little bar underneath, the line is solid.
How Do You Choose Which Side To Shade?
Substitute a test point that is not on the line. If the point makes the inequality true, shade the side that contains it. If the point makes the inequality false, shade the other side. The origin $(0, 0)$ is the easiest test point whenever the line does not pass through it, because multiplying by zero is fast.
Example 2: Graph $y > 2x - 4$.
The boundary line is $y = 2x - 4$, which passes through $(0, -4)$ and $(2, 0)$. The sign is $>$, so the line is dashed. Test the origin:
$$0 > 2(0) - 4 \quad\Rightarrow\quad 0 > -4 \ \checkmark$$
True, so shade the side holding the origin, which is the region above the line.
The rule works in reverse just as cleanly. For $2x + 3y > 12$, the origin gives $0 > 12$, which is false, so you shade the side away from the origin. The test never lies, and it takes about five seconds. Guessing "less than means below" does not survive a line with a steep slope, which is exactly where that habit sends students to the wrong region.
How Do You Graph A System Of Linear Inequalities?
Graph each inequality on the same axes, then keep only the region where all the shadings overlap. That overlap is the feasible region, the set of points that satisfy every condition at once. It is the two-variable answer to "what choices work under all my limits."
Example 3: Graph the system.
$$x + y \le 6, \qquad x \ge 0, \qquad y \ge 0$$
Read the three conditions in plain language first: the two amounts add to no more than 6, and neither amount can be negative. The last two inequalities trap the solution inside the first quadrant. The first draws a solid line through $(6, 0)$ and $(0, 6)$; testing the origin gives $0 \le 6$, true, so shade toward the origin.
The overlap is the triangle with corners $(0, 0)$, $(6, 0)$, and $(0, 6)$. Every point inside or on that triangle satisfies all three inequalities, and no point outside it does.
Notice where the corners sit. The most useful points of a feasible region, the ones a business or a planner cares about, almost always land at those corner points. That single observation is the doorway to linear programming.
Why Do Linear Inequalities In Two Variables Matter?
A linear equation in two variables draws one line. A linear inequality fills a whole side of it. That gap, one line versus one region, is the entire reason the topic exists, and it shows up wherever a situation has room to move rather than a single fixed answer.
A region, not a point. Most real questions do not have one right answer. A budget, a diet, or a delivery schedule has many combinations that work, and a shaded region is the honest way to hold all of them at once.
Constraints, not exact values. Real limits are usually "at most" or "at least", never "exactly". Money runs out, time is capped, a machine can only run so many hours. Each such limit is one linear inequality.
The seed of optimisation. Stack several constraints and their feasible region appears. Searching that region for the best point, cheapest, fastest, most profitable, is linear programming, a tool that routes deliveries and schedules airlines.
So the shaded half-plane is not a drawing exercise. It is how mathematics represents freedom inside limits, which is what most planning problems actually are.
Who Discovered The Inequality Symbols?
The symbols came before the graphs. Long before anyone shaded a half-plane, someone had to invent a way to write "greater than" on paper, and that story belongs to an explorer's navigator.
Two figures shaped the notation we still use:
Thomas Harriot (1560–1621, England) first used $<$ and $>$ for less-than and greater-than, published posthumously in his 1631 work Artis Analyticae Praxis.
Pierre Bouguer (1698–1758, France) is usually credited with adding the bar underneath to give $\le$ and $\ge$ around 1734, the very marks that decide solid versus dashed lines.
Where Are Linear Inequalities In Two Variables Used In The Real World?
The same shaded-region idea runs quietly under a wide range of everyday decisions.
Budgeting and business: buying two products under a spending cap is $ax + by \le c$, and the shaded region is every affordable mix. These are the same applications you meet with linear equations, now with a limit instead of an exact total.
Nutrition and health: meeting "at least" a protein target while staying "at most" a calorie cap is a system of two inequalities, and the feasible region holds every meal plan that qualifies.
Manufacturing and logistics: limited machine-hours and limited raw materials each become an inequality; the feasible region is every production schedule the factory can actually run.
Computer graphics: deciding whether a pixel lies inside a shape is a series of half-plane tests, one linear inequality per edge.
Environmental limits: an emissions cap shared between two processes is a single inequality, and the region beneath its line is the set of compliant plans.
One idea, a line plus the region on one side of it, models budgets, diets, factories, and screens. Mathematics is the shared language across fields that look nothing alike.
What Are The Most Common Linear Inequalities In Two Variables Mistakes?
These four errors account for most lost marks on this topic, confirmed against SAT-math graphing guides, shading tutorials, and the classic sign-flip error carried over from one-variable inequalities.
Using the wrong line style for the sign.
Where it slips in:
A student draws a solid line for a $<$ or $>$ inequality, or a dashed line for a $\le$ or $\ge$ one, without checking the sign.
Don't do this:
Do not decide the line style from habit. The two cases mean different things: a dashed line says the boundary points are not solutions.
The correct way:
Read the sign first. If it carries the bar ($\le$ or $\ge$), draw a solid line. If it is strict ($<$ or $>$), draw a dashed line.
Shading the wrong side of the line.
Where it slips in:
A student remembers "less than means shade below" and skips the test point, then shades the wrong half-plane on a slanted or rearranged line.
Don't do this:
Do not guess the side from the words. "Below" fails the moment the inequality is not solved for $y$, or the slope is steep.
The correct way:
Substitute a test point, usually the origin. Shade the side that makes the inequality true; if the origin tests false, shade the other side.
Forgetting to flip the sign when dividing by a negative.
Where it slips in:
While rearranging an inequality to isolate $y$, a student divides both sides by a negative number and keeps the sign facing the same way.
Don't do this:
Do not treat an inequality like an equation here. Dividing or multiplying by a negative reverses the direction of the sign.
The correct way:
When you divide by a negative, flip the sign. For $-2y < 6$, dividing by $-2$ gives $y > -3$, not $y < -3$. The same care applies to a compound inequality.
Picking a test point that sits on the line.
Where it slips in:
A student chooses a point that lies exactly on the boundary, so the substitution gives equality and settles nothing.
Don't do this:
Do not test a point on the line. It can never tell you which side to shade.
The correct way:
Choose a point clearly off the line. If the line passes through the origin, test an easy alternative such as $(1, 0)$ or $(0, 1)$.
Practice Problems On Linear Inequalities In Two Variables
Work each one, then check against the answer that follows.
Is $(1, 2)$ a solution of $3x + y \le 6$?
(Answer: $3(1) + 2 = 5$, and $5 \le 6$, so yes.)To graph $y < x + 2$, is the boundary solid or dashed, and which side do you shade?
(Answer: dashed line through $(0, 2)$ and $(-2, 0)$; the origin gives $0 < 2$, true, so shade the side containing the origin.)For $2x - y \ge 4$, is the boundary solid or dashed, and is the origin a solution?
(Answer: solid; the origin gives $0 \ge 4$, false, so the origin is not a solution and you shade the other side.)Rearrange and describe the graph of $-3y < 9$.
(Answer: divide by $-3$ and flip the sign to get $y > -3$; a dashed horizontal line at $y = -3$ with the region above it shaded.)Which pair solves the system $x + y \le 4$ and $y \ge 0$: $(1, 1)$ or $(3, 3)$?
(Answer: $(1, 1)$, since $2 \le 4$ and $1 \ge 0$; the pair $(3, 3)$ fails because $6 \le 4$ is false.)Write a linear inequality in two variables for "the total of $x$ notebooks and $y$ pens is at most 10."
(Answer: $x + y \le 10$.)
Where Should You Go Next After Linear Inequalities In Two Variables?
Shading a half-plane is the first move in a much larger toolkit, and several doors open straight from here.
Linear programming. Turn a feasible region into a decision by finding the corner point that gives the best result.
Graphing linear equations. Sharpen the boundary-line skill that every inequality graph depends on.
Absolute value inequalities. See how a single inequality can carve out two regions at once.
If your child is building these foundations, a live Bhanzu trainer teaches the topic starting from the "why", the region of choices behind every limit, in the Bhanzu algebra program.
Was this article helpful?
Your feedback helps us write better content
