Linear Inequalities
Solving Linear Inequalities
An inequality is a statement that two quantities are not necessarily equal — one is less than, greater than, or comparable to the other. A linear inequality in one variable is any statement of the form $ax + b < 0$, $ax + b \le 0$, $ax + b > 0$ or $ax + b \ge 0$, where $a \ne 0$. The strict symbols $<$ and $>$ exclude equality; the weak symbols $\le$ and $\ge$ allow it.
Solving an inequality means finding every value of the variable that makes the statement true. Unlike an equation, which usually pins the variable to one or two numbers, an inequality almost always has a whole range of solutions — an interval on the number line.
Most of the rules you already use for equations carry over unchanged. You may add or subtract the same number from both sides, and you may multiply or divide both sides by the same positive number. The one rule that catches students out is the sign-flip:
For example, $-3x \ge 6 \Rightarrow x \le -2$ — dividing by $-3$ turns $\ge$ into $\le$. The table below summarises which operations preserve the direction of the inequality and which reverse it:
| Operation on both sides | Effect on the symbol | Example |
|---|---|---|
| Add or subtract any number | unchanged | $x - 4 < 1 \Rightarrow x < 5$ |
| Multiply / divide by a positive number | unchanged | $2x \le 10 \Rightarrow x \le 5$ |
| Multiply / divide by a negative number | reversed | $-2x \le 10 \Rightarrow x \ge -5$ |
The solution is then written either in set-builder form, such as $\{x : x \le -2,\ x \in \mathbb{R}\}$, or as an interval, such as $(-\infty, -2]$. On the number line we use an open circle ($\circ$) at the endpoint for a strict inequality and a closed circle ($\bullet$) for a weak one, then shade the ray of all values that satisfy it.
When the variable is restricted to the integers ($x \in \mathbb{Z}$) or naturals ($x \in \mathbb{N}$) rather than all reals, the same algebra applies but the final answer is a discrete list, for instance $\{-2, -1, 0, 1\}$, not a continuous interval.
Deeper Insight — why the sign-flip is unavoidable: The reversal rule is not an arbitrary convention you must memorise; it is forced by what "less than" actually means on the number line. Consider the plain truth $2 < 5$. Now multiply both sides by $-1$: the numbers $-2$ and $-5$ sit on the negative side, where the order is mirrored — $-5$ lies further left than $-2$, so $-2 > -5$. Multiplying by any negative number reflects every point across zero, and reflection turns "to the left of" into "to the right of", which is exactly what flipping the symbol records. This is also why you should never multiply an inequality by an expression like $x$ whose sign you do not know — you would not know whether to flip. Keep the operations transparent: isolate the variable using additions and positive multipliers wherever possible, and reach for a negative multiplier only when you consciously remember to reverse the symbol.
- Add $5$ to both sides: $3x < 12$.
- Divide both sides by $3$ (positive, so the symbol stays): $x < 4$.
- On the number line, place an open circle at $4$ and shade everything to the left.
Answer: $x < 4$, i.e. $x \in (-\infty, 4)$.
- Subtract $2$ from both sides: $-4x \ge 12$.
- Divide both sides by $-4$. Because the divisor is negative, reverse the inequality: $x \le -3$.
- The endpoint is included, so use a closed circle at $-3$ and shade to the left.
Answer: $x \le -3$, i.e. $x \in (-\infty, -3]$.
- Multiply every term by $6$ (positive — symbol unchanged): $3x - 6 \le 2x + 6$.
- Subtract $2x$ from both sides: $x - 6 \le 6$.
- Add $6$ to both sides: $x \le 12$.
Answer: $x \le 12$, i.e. $x \in (-\infty, 12]$.
- Subtract $5$ from both sides: $-2x < 6$.
- Divide by $-2$ and reverse the symbol: $x > -3$.
- Combine with the restriction $x > -5$ and $x \in \mathbb{Z}$: the binding condition is $x > -3$.
- Integers greater than $-3$: $-2, -1, 0, 1, 2, \dots$
Answer: $x > -3$; integer solutions are $\{-2, -1, 0, 1, 2, \dots\}$.
- The LCM of $3, 4, 5$ is $60$. Multiply every term by $60$: $20(2x-1) \ge 15(3x-2) - 12(2-x)$.
- Expand: $40x - 20 \ge 45x - 30 - 24 + 12x$.
- Simplify the right side: $40x - 20 \ge 57x - 54$.
- Bring terms together: $-20 + 54 \ge 57x - 40x \Rightarrow 34 \ge 17x$.
- Divide by $17$ (positive): $2 \ge x$, i.e. $x \le 2$.
Answer: $x \le 2$, i.e. $x \in (-\infty, 2]$.
- Profit needs revenue $>$ cost: $40x > 2500 + 15x$.
- Subtract $15x$ from both sides: $25x > 2500$.
- Divide by $25$ (positive): $x > 100$.
- The smallest whole number strictly greater than $100$ is $101$.
Answer: The company must sell at least $101$ units to make a profit.
- A linear inequality in one variable has the form $ax + b$ compared to $0$ using $<, \le, >$ or $\ge$, with $a \ne 0$.
- Adding, subtracting, or multiplying / dividing by a positive number leaves the symbol unchanged.
- Multiplying or dividing both sides by a negative number reverses the inequality.
- Solutions form a range: write them in set-builder or interval form, e.g. $x \le -2$ as $(-\infty, -2]$.
- On the number line use an open circle for $<,>$ and a closed circle for $\le, \ge$, then shade the solution ray.
Number Line and Intervals
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.
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.
| Inequality | Boundary line | Shaded 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.
- 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.
- (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.
- 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.
- 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).
- 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)$).
- 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$.
- 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.
Systems and Word Problems
A system of linear inequalities is two or more linear inequalities in the same two variables that must hold simultaneously. A point is a solution of the system only if it satisfies every inequality at once. Geometrically, each inequality contributes one half-plane, and the solution of the whole system is the overlap — the region common to all of them.
This common region is called the feasible region (or solution region). It is found by graphing every inequality on the same axes and then keeping only the area where all the shadings agree.
A reliable procedure for any system:
| Step | What to do |
|---|---|
| 1 | Draw each boundary line (solid for $\le, \ge$; dashed for $<, >$). |
| 2 | Shade the correct half-plane for each inequality using a test point. |
| 3 | Identify the region where all shadings overlap. |
| 4 | That overlap, with its boundaries, is the feasible region. |
Many systems include the non-negativity constraints $x \ge 0$ and $y \ge 0$, which confine the solution to the first quadrant. These appear constantly in word problems where the variables count physical things — units produced, hours worked, items bought — that cannot be negative.
The feasible region may be bounded (enclosed on all sides, forming a polygon) or unbounded (extending to infinity in some direction). It is also possible for a system to have no solution at all: if the half-planes never overlap, the feasible region is empty.
For example, the system $x + y \le 4,\ x \ge 0,\ y \ge 0$ has a feasible region that is the triangle with corners $(0,0)$, $(4,0)$ and $(0,4)$ — a bounded region trapped in the first quadrant beneath the line $x + y = 4$.
Deeper Insight — the feasible region is where linear programming begins: Finding the common region is not an end in itself; it is the first half of one of the most useful techniques in applied mathematics, linear programming. In a typical problem the inequalities are constraints (limited materials, budget, labour) and you want to maximise or minimise some linear quantity such as profit or cost over all points that satisfy them. A beautiful theorem guarantees that the optimum, when it exists, always occurs at a corner (vertex) of the feasible region — never in the smooth interior — so once the region is drawn, the search shrinks to checking a handful of corner points. That is why precision matters here: shade the wrong half-plane and the whole optimisation collapses. Whether the region is bounded also carries meaning: a bounded region guarantees both a maximum and a minimum exist, while an unbounded one may let a quantity grow without limit. Mastering the overlap now makes the optimisation you meet later feel like a short final step rather than a new topic.
- Check the first: $1 + 1 = 2 \le 3$. True.
- Check the second: $1 - 1 = 0 \le 2$. True.
- Both hold simultaneously.
Answer: Yes, $(1,1)$ lies in the feasible region of the system.
- $x \ge 0$ and $y \ge 0$ restrict the region to the first quadrant.
- The line $x + y = 5$ meets the axes at $(5,0)$ and $(0,5)$.
- The axes meet at the origin $(0,0)$.
- The bounded region is the triangle with these three vertices.
Answer: Corner points are $(0,0)$, $(5,0)$ and $(0,5)$.
- $x \ge 1$ is the half-plane to the right of the vertical line $x = 1$.
- $y \ge 1$ is the half-plane above the horizontal line $y = 1$.
- Their overlap is the corner region above-and-right of $(1,1)$, which extends to infinity.
Answer: The feasible region is unbounded.
- The first inequality requires $x + y$ to be at most $1$.
- The second requires $x + y$ to be at least $3$.
- No value of $x + y$ can be both $\le 1$ and $\ge 3$ at once.
- The two half-planes lie on opposite sides of parallel lines and never overlap.
Answer: The system has no solution; the feasible region is empty.
- The total cost is $10x + 30y$, which must not exceed $120$: $10x + 30y \le 120$, i.e. $x + 3y \le 12$.
- Quantities cannot be negative: $x \ge 0$ and $y \ge 0$.
- (If only whole items can be bought, also $x, y \in \mathbb{Z}$.)
Answer: $x + 3y \le 12,\ x \ge 0,\ y \ge 0$.
- Non-negativity confines the region to the first quadrant.
- The line $2x + y = 8$ meets the $x$-axis where $y = 0$: $2x = 8 \Rightarrow x = 4$, giving $(4,0)$.
- It meets the $y$-axis where $x = 0$: $y = 8$, giving $(0,8)$.
- The third corner is the origin $(0,0)$.
Answer: Corner points are $(0,0)$, $(4,0)$ and $(0,8)$.
- A system requires all its inequalities to hold simultaneously; the solution is the common region of their half-planes.
- Graph each inequality, shade with a test point, then keep only where all shadings overlap.
- The overlap is the feasible region; non-negativity ($x \ge 0,\ y \ge 0$) confines it to the first quadrant.
- A feasible region may be bounded (a polygon), unbounded, or empty (no solution).
- Corner points of the feasible region are central to linear programming, where the optimum sits at a vertex.