Inequality Basics

Learning goals

  • Compare two quantities with <<, >>, ≤\le or ≥\ge
  • Describe a solution set as a range of values
  • Show a solution in words, on a line, and as an interval
  • Bracket an included endpoint and parenthesize an excluded one
  • Reverse the direction when scaling by a negative number
  • Read a compound a<x<ba < x < b as a band between bounds

The four inequality symbols

An inequality compares two quantities that need not be equal. In place of the equals sign it uses one of four symbols.

SymbolRead asMeaning
<<”less than”strictly smaller, not equal
>>”greater than”strictly larger, not equal
≤\le”less than or equal to”, “at most”smaller, or exactly equal
≥\ge”greater than or equal to”, “at least”larger, or exactly equal

So 5<85 < 8 says five is less than eight, and 8>58 > 5 says eight is greater than five. Those are the same fact read from opposite ends. The symbol always opens toward the larger amount and narrows to a point at the smaller one: in 5<85 < 8 the point is at the 55.

You can also read an inequality from the other end. Swap the sides of 7>x7 > x and reverse the symbol to get x<7x < 7. Both say that xx is less than 77. Likewise, a≤ba \le b and b≥ab \ge a mean the same thing.

The two symbols with a bar underneath, ≤\le and ≥\ge, allow equality as well as the strict comparison. The statement x≤6x \le 6 is true when xx is 66 and also true when xx is anything below 66. We call << and >> strict inequalities, because they exclude the boundary, and ≤\le and ≥\ge inclusive (or non-strict), because they let it in. The bar tells you to include the boundary.

Every number that makes an inequality true is part of its solution set. Ask which numbers satisfy x>3x > 3: the value 44 works, and so do 55, 3.13.1, 3.00013.0001, and a million. Every number to the right of 33 qualifies, so this solution set holds infinitely many numbers. That is why we describe the answer as a range and draw it, rather than listing it.

Worked example 1 Turn each phrase into an inequality

Let nn be the number in question. Match the wording to the symbol, watching for whether the boundary is allowed.

“A rider must be at least 4848 inches tall” allows exactly 4848 and anything taller, so it includes the boundary:

n≥48.n \ge 48.

“You may spend at most 2020 dollars” allows exactly 2020 and anything less, again including the boundary:

n≤20.n \le 20.

“There are more than 22 players” excludes 22 itself, since “more than” is strict:

n>2.n > 2.

Finally, rewrite 15≥n15 \ge n with the variable on the left. Swap the sides and reverse the symbol:

15≥n⟺n≤15.15 \ge n \quad\Longleftrightarrow\quad n \le 15.

Both forms say ”nn is at most 1515.”

Picturing the solution on a number line

For x>2x > 2, first mark the boundary 22. Since 2>22 > 2 is false, mark it with an open circle. Larger numbers lie to the right, so shade a ray in that direction.

An open circle excludes an endpoint; a filled circle includes it. Use open for << or >> and filled for ≤\le or ≥\ge. Shade toward the values that work: left for smaller values, right for larger ones. An arrow shows that the solutions continue beyond the part of the line drawn.

Here is that graph.

Number-line graph of x greater than 2A number line with an open circle at 2 and shading extending right, representing all numbers greater than 2.-10123456
The graph of x > 2. The open circle on 2 marks it as excluded, and the shaded ray runs right to cover every number greater than 2.

The only thing that changes for x≥2x \ge 2 is the circle: it becomes filled, because now 22 belongs to the solution. The same holds for any boundary: switching between a strict and an inclusive relation changes the circle and leaves the shading where it is.

Try that change in the interactive figure. Set “Endpoint” to 22 and “Side” to right, then switch “Endpoint is” between out and in. The ray stays in place while the circle and the symbol change. Next set “Endpoint” to −1-1, “Side” to left, and “Endpoint is” to in. Describe that solution before reading the next example.

The three decisions behind a solution graph

x > 2. Every number to the right of 2 is a solution. 2 itself is not, so its circle is hollow: the sign is strict. A number line from -6 to 6. A thick ray covers every number on one side of a marked endpoint, and the circle at that endpoint is filled when it is part of the solution and hollow when it is not. Use the controls below the figure to move the endpoint, switch which side is covered, or switch between a strict sign and one that allows equality. -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 2
Endpoint Side Endpoint is

x > 2. Every number to the right of 2 is a solution. 2 itself is not, so its circle is hollow: the sign is strict.

A number line carrying the solution set of an inequality. The circle at the boundary is hollow when the boundary is excluded and filled when it is included, and the shaded ray runs toward the numbers that solve the inequality.

Worked example 2 Graph x≤−1x \le -1 and describe its parts

The symbol is ≤\le, which is inclusive, so the boundary −1-1 is a solution and gets a filled circle. It is a “less” relation, so the solutions are the numbers below −1-1, which lie to the left. Shade left from the filled circle.

Number-line graph of x less than or equal to negative 1A number line with a filled circle at negative 1 and shading extending left, representing negative 1 and all numbers below it.-5-4-3-2-1012
The graph of x is less than or equal to negative 1. The filled circle on negative 1 includes it, and the shading runs left over every number below negative 1.

In words, ”xx is at most −1-1.” The filled circle confirms that −1-1 itself is allowed.

Check your understanding

Which number line shows the solution of x<3x < 3?

Answer choices

Interval notation

The set 2≤x≤52 \le x \le 5 contains both endpoints and every number between them. We can write it more compactly as [2,5][2,5]. This is interval notation: list the left and right bounds, with a mark at each end to show whether that endpoint belongs.

A square bracket includes an endpoint, like a filled circle. A parenthesis excludes it, like an open circle. Thus 2<x<52 < x < 5 becomes (2,5)(2,5), and 2≤x<52 \le x < 5 becomes [2,5)[2,5): included on the left, excluded on the right.

When the solution runs on forever in one direction, we mark that end with the infinity symbol, ∞\infty for the right and −∞-\infty for the left. Infinity always takes a parenthesis, never a bracket. Infinity is not a number, so there is no endpoint to reach or to include; the parenthesis just shows that the set goes on without end on that side. That is why x>2x > 2 is written (2,∞)(2, \infty) and x≤−1x \le -1 is written (−∞,−1](-\infty, -1], with a bracket on the real endpoint and a parenthesis at infinity. The table lines up all three ways of saying the same thing.

InequalityIn wordsNumber lineInterval
x>2x > 2greater than 22open circle at 22, shade right(2,∞)(2, \infty)
x≥2x \ge 2at least 22filled circle at 22, shade right[2,∞)[2, \infty)
x<2x < 2less than 22open circle at 22, shade left(−∞,2)(-\infty, 2)
x≤2x \le 2at most 22filled circle at 22, shade left(−∞,2](-\infty, 2]
−1<x≤3-1 < x \le 3above −1-1 and at most 33open at −1-1, filled at 33, shade between(−1,3](-1, 3]

One caution about reading. Written on its own, a symbol pair like (2,5)(2, 5) could be an interval on a line or a point (x,y)(x, y) in the plane from the last chapter. The surrounding words tell you which is meant: an interval names a set of numbers on one axis, while a coordinate point names one location in the plane.

Worked example 3 Move between symbols, number line, and interval

Take the inequality x≥−2x \ge -2. It is inclusive, so the boundary −2-2 belongs, and it is a “greater” relation, so the solutions run right. On a number line that is a filled circle on −2-2 with a ray to the right. In interval notation the real endpoint −2-2 is included, so it takes a bracket, and the right end runs to infinity, which always takes a parenthesis:

x≥−2⟺[−2,∞).x \ge -2 \quad\Longleftrightarrow\quad [-2, \infty).

Now run the translation the other way, starting from the interval (−∞,4)(-\infty, 4). The left end is −∞-\infty, so the set is unbounded below, and the right endpoint 44 carries a parenthesis, so 44 is excluded. That is exactly the strict “less” relation

(−∞,4)⟺x<4,(-\infty, 4) \quad\Longleftrightarrow\quad x < 4,

an open circle on 44 with the shading running left. The parenthesis on 44 matches its open circle.

Check your understanding

Which interval represents x≤5x \le 5?

Answer choices

The rules for changing an inequality

On the number line, a<ba < b means aa sits to the left of bb. For each move below, we check whether it keeps that order.

Start with 3<73 < 7. Adding 44 gives 7<117 < 11; subtracting 1010 from the original gives −7<−3-7 < -3. Both comparisons stay true because the two numbers move the same distance in the same direction. Adding or subtracting the same amount on both sides keeps the direction.

Multiplying 3<73 < 7 by 22 gives 6<146 < 14, and dividing 6<146 < 14 by 22 returns 3<73 < 7. A positive scale stretches or shrinks distances without reversing left and right. Multiplying or dividing by a positive number keeps the direction.

Now multiply 3<53 < 5 by −1-1. Keeping the symbol would claim −3<−5-3 < -5, which is false: −3-3 is to the right of −5-5. The true comparison is −3>−5-3 > -5. Multiplying or dividing by a negative number reverses the direction. The figure below shows why: each number is reflected across zero, and that swaps their order.

Multiplying an inequality by a negative reverses the orderA number line showing 3 and 5 and their reflections across zero at negative 3 and negative 5, where the left-right order is swapped.-5-4-3-2-10123453 < 5-3 > -5reflection reverses order
Multiplying by -1 reflects each number across zero. 3 sits left of 5, but their opposites -3 and -5 land in swapped order, with -3 now to the right of -5, so the direction reverses.

Why multiplying by a negative reverses the inequality#

Start with 4<104 < 10. The difference 10−4=610-4=6 is positive. Multiplying by 22 gives

20−8=2(10−4)=12>0,20-8=2(10-4)=12>0,

so 8<208 < 20. For the negative multiplier −2-2, the products are −2⋅4=−8-2\cdot4=-8 and −2⋅10=−20-2\cdot10=-20. Subtract them in the opposite order:

(−8)−(−20)=20−8=12>0.(-8)-(-20)=20-8=12>0.

Thus −8>−20-8 > -20. In both cases the difference we found was the same positive number.

For any a<ba < b and positive kk, the difference b−ab-a is positive. Hence

kb−ka=k(b−a)>0,kb-ka=k(b-a)>0,

which gives ka<kbka < kb. After taking opposites, subtract in the other order to get the same positive difference:

(−ka)−(−kb)=kb−ka>0.(-ka)-(-kb)=kb-ka>0.

Therefore −ka>−kb-ka > -kb. The argument used only the signs of the difference and of kk, so it works for every negative multiplier −k-k. If a=ba=b, both products remain equal; this gives the inclusive rule a≤b⇒−ka≥−kba \le b \Rightarrow -ka \ge -kb too.

Dividing by −k-k is multiplying by 1/k1/k and then by −1-1. The positive step keeps the order; the negative step reverses it.

Multiplication by zero is different: both products become 00, so the original order is lost. Division by zero is undefined. Neither is a valid way to preserve the solution set.

Since 2<52 < 5 and 5<95 < 9, we also know 2<92 < 9: the first number lies left of the second, which lies left of the third. This is transitivity. In general, a<ba < b and b<cb < c give a<ca < c; the same reason gives a≤ca \le c from a≤ba \le b and b≤cb \le c.

These rules let you isolate a variable. Subtracting 33 from x+3<7x+3 < 7 gives x<4x < 4. Dividing −2x<6-2x < 6 by −2-2 gives x>−3x > -3, with the direction reversed. The next lesson combines such moves into longer solutions.

Worked example 4 Apply one rule to an inequality

Start with −13x≤2-\tfrac{1}{3}x \le 2. The variable is multiplied by the negative number −13-\tfrac{1}{3}, so to isolate xx you multiply both sides by −3-3. Multiplying by a negative reverses the direction, so ≤\le turns into ≥\ge:

−3⋅(−13x)≥−3⋅2⟹x≥−6.-3 \cdot \left(-\tfrac{1}{3}x\right) \ge -3 \cdot 2 \quad\Longrightarrow\quad x \ge -6.

Check the direction with values on both sides of the boundary in the original inequality. Try x=0x = 0, which should satisfy x≥−6x \ge -6: the original gives −13(0)=0-\tfrac{1}{3}(0) = 0, and 0≤20 \le 2 is true. Try x=−9x = -9, which should fail x≥−6x \ge -6: the original gives −13(−9)=3-\tfrac{1}{3}(-9) = 3, and 3≤23 \le 2 is false, exactly as predicted. The solution set is [−6,∞)[-6, \infty).

Check your understanding

You multiply both sides of the true statement −4<1-4 < 1 by −2-2. Which inequality results from this multiplication?

Answer choices

Compound inequalities

The condition −2<x≤3-2 < x \le 3 gives two bounds: xx is above −2-2 and at most 33. Both must hold. A compound inequality joins conditions like these. In general, a<x<ba < x < b means a<xa < x and x<bx < b at the same time.

To write a band with xx in the middle, put the smaller bound first and let both comparisons point the same way, as in −2<x≤3-2 < x \le 3. A mixed chain such as −2<x>3-2 < x > 3 does not describe a band between those numbers; write its two conditions separately to avoid confusion. The same band can be read from the other end: 3≥x>−23 \ge x > -2 also says −2<x≤3-2 < x \le 3.

Check the bounds as well as the symbols. The chain 3<x<−23 < x < -2 has no solution: it asks for a number above 33 and below −2-2. If some xx had a<xa < x and x<bx < b, transitivity would give a<ba < b. When both ends are inclusive, equal bounds can give a single value: 0≤x≤00 \le x \le 0 allows only 00.

Each end keeps its own circle: an open circle where the bound is strict and a filled circle where it is inclusive. On the number line the solution is the band between the two boundaries rather than a ray running off to one side. In interval notation the same band is just the pair of bounds in one set of fences, each fence chosen by its own symbol. So −2<x≤3-2 < x \le 3, open on the left and closed on the right, is the half-open interval (−2,3](-2, 3].

Number-line graph of a compound inequality between negative 2 and 3A number line with an open circle at negative 2, a filled circle at 3, and shading covering the numbers between them.-3-2-101234
The graph of negative 2 < x is less than or equal to 3. An open circle on negative 2 and a filled circle on 3 bound a shaded band covering the numbers in between, matching the interval (-2, 3].

Worked example 5 A compound inequality in three forms

Read the statement ”xx is at least −1-1 and less than 44.” “At least −1-1” is inclusive, so the left bound −1-1 is included; “less than 44” is strict, so the right bound 44 is excluded. Written as one line with the smaller bound on the left, that is

−1≤x<4.-1 \le x < 4.

On the number line this is a filled circle on −1-1, an open circle on 44, and a shaded band between them. In interval notation the left endpoint is included, so it takes a bracket, and the right endpoint is excluded, so it takes a parenthesis:

−1≤x<4⟺[−1,4).-1 \le x < 4 \quad\Longleftrightarrow\quad [-1, 4).

Test a value to make sure both parts hold. Is x=−1x = -1 a solution? The left part −1≤−1-1 \le -1 is true and the right part −1<4-1 < 4 is true, so −1-1 is in, matching the filled circle. Is x=4x = 4 a solution? The right part 4<44 < 4 is false, so 44 is out, matching the open circle. The value x=0x = 0 sits comfortably inside, since −1≤0-1 \le 0 and 0<40 < 4 both hold.

Common mistakes

Practice

Multiple Choice Questions (MCQ)

Progressively harder sets of questions. Each opens on its own page.

Core practice

Practice problems at the level of the course, to be worked out on paper. Hints one at a time, then the answer or the full worked solution, with your progress kept in this browser.

Core practice Work it out on paper 10 problems Start →
More practice (optional)

Extra sets, as hard as the Challenge set. Each one opens on its own page.

More resources (optional)

Other explanations of this lesson, if you want a second take.

A bit of history (optional)

Mathematicians tried several versions of the extra line in ≤\le and ≥\ge before the notation settled.

The plain signs << and >> appeared in an algebra book published under Thomas Harriot’s name in 16311631, ten years after his death. The book was assembled from his papers by others, and the surviving manuscripts do not use those exact signs. So the signs are in the printed book, but it is not clear who first drew them.

John Wallis used a horizontal bar above the comparison signs in 16701670. In 17341734, Pierre Bouguer, who taught navigation and helped measure the shape of the Earth, used two bars below them. Today’s version uses one bar below. The extra bar allows equality as well as the stated greater-than or less-than comparison.

MacTutor’s history of relation symbols records the variations and the uncertainty about Harriot’s role. Its Bouguer biography describes his navigation teaching and Earth measurements.

Your progress

See all your progress →