Sub topic 1
Reading and Writing Inequalities: Symbols, Number Lines, and Intervals
An inequality compares two quantities that need not be equal. Every later chapter in this tutorial, from linear inequalities to quadratics and absolute values, depends on reading these statements correctly. This chapter covers three ways to write the same set of numbers: inequality symbols, number lines, and interval notation. It also covers the errors that cost points on the GRE Quantitative Reasoning section.
Prerequisites
This chapter assumes you can already do the following:
- Do arithmetic with signed numbers and fractions, including comparing negative numbers (for example, knowing that -5 is less than -2).
- Solve a linear equation in one variable.
- Distribute and combine like terms.
- Factor simple quadratic expressions. This is used only in later chapters.
- Describe absolute value as distance from zero. This is also used mainly later.
If any item is shaky, review it before the chapters on solving inequalities. This chapter involves no solving, only reading, writing, and translating.
The Four Symbols and Their Meanings
Four symbols cover almost every inequality on the test, plus one for "not equal."
| Symbol | Read as | Boundary included? |
|---|---|---|
| < | is less than | No (strict) |
| > | is greater than | No (strict) |
| ≤ | is less than or equal to | Yes (non-strict) |
| ≥ | is greater than or equal to | Yes (non-strict) |
| ≠ | is not equal to | Excludes one value only |
The small end of < and > points at the smaller quantity, and the open end faces the larger one. So 3 < 7 and 7 > 3 say the same thing. Flipping the order of the two sides and flipping the symbol together never changes the meaning.
The same idea works for variables. x > 3 and 3 < x are identical statements. Most people find the form with the variable on the left easier to read, so rewrite 3 < x as x > 3 before doing anything else with it.
Translating Words
The GRE often states conditions in words. The common phrases map as follows:
| Phrase | Symbol form |
|---|---|
| x is at least 5 | x ≥ 5 |
| x is at most 5 | x ≤ 5 |
| x is no more than 5 | x ≤ 5 |
| x is no less than 5 | x ≥ 5 |
| x exceeds 5 | x > 5 |
| x is greater than 5 | x > 5 |
| x is less than 5 | x < 5 |
| x is positive | x > 0 |
| x is negative | x < 0 |
| x is nonnegative | x ≥ 0 |
| x is between 2 and 5 | 2 < x < 5 (usually) |
| x is between 2 and 5, inclusive | 2 ≤ x ≤ 5 |
Two rows deserve care. "At least" and "at most" are easy to swap under time pressure. A reliable check is to ask which direction the quantity is allowed to grow. "At least 5" means 5 is a floor, so values can go up without limit. "At most 5" means 5 is a ceiling.
"Between" is the other trap. In ordinary reading it excludes the endpoints, and the GRE adds the word "inclusive" when it wants them included. If a problem is not explicit, treat the endpoints as excluded, and read the wording once more before you commit.
Note that "nonnegative" includes zero and "positive" does not. Zero is neither positive nor negative.
Compound Statements on One Line
A chain such as -1 < x ≤ 4 packs two inequalities into one: x > -1 and x ≤ 4. Read it as "x is greater than -1 and at most 4." The middle term is the variable, and the outside terms are its bounds.
Chains are valid only when the symbols point the same way, so the smaller value sits on the left and the larger one on the right. Write 2 < x < 9, not 9 > x > 2 in a way that hides the order from you, and never write 9 < x < 2. The last one asks for a number greater than 9 and less than 2, which does not exist. If a chain's left bound is not smaller than its right bound, the solution set is empty.
Number Lines
A number line shows a solution set as a picture. The conventions are:
- A hollow (open) circle at a number means that number is not included. It goes with
<and>. - A filled (closed) circle means that number is included. It goes with
≤and≥. - A shaded ray or segment shows every value that works.
- An arrow at the end of the shading means the set continues forever in that direction.
Since this chapter is text only, here is a plain-text sketch of -1 < x ≤ 4. The o marks an open endpoint, the # marks a closed endpoint, and the = signs mark the shaded part.
<---|----o==========#---|----->
-2 -1 0 1 2 3 4 5Number lines on the GRE appear mostly in two forms. One is a question that gives a line with labeled points and asks you to compare quantities. The other is a figure that is "not drawn to scale," where you may use only the order of the points, not their spacing. If a diagram shows p to the left of q, you know p < q. You may not assume q is twice as far from zero as p.
Interval Notation
Interval notation writes a solution set with two endpoints in parentheses or square brackets. A parenthesis excludes the endpoint. A square bracket includes it.
| Inequality | Interval | Number line endpoints |
|---|---|---|
| x > 3 | (3, ∞) | open at 3, arrow right |
| x ≥ 3 | [3, ∞) | closed at 3, arrow right |
| x < 3 | (-∞, 3) | open at 3, arrow left |
| x ≤ 3 | (-∞, 3] | closed at 3, arrow left |
| -1 < x < 4 | (-1, 4) | open at both |
| -1 < x ≤ 4 | (-1, 4] | open at -1, closed at 4 |
| -1 ≤ x ≤ 4 | [-1, 4] | closed at both |
| all real numbers | (-∞, ∞) | whole line shaded |
Three rules prevent most mistakes:
- Always write the smaller endpoint first.
(4, -1]is not valid. - Infinity is not a number, so it always gets a parenthesis. Writing
[3, ∞]is an error. - The brackets in interval notation match the circles on the number line: parenthesis for open, square bracket for closed.
Two or more separate pieces are joined with the union symbol ∪. For instance, x < -2 or x > 3 becomes (-∞, -2) ∪ (3, ∞). Unions are covered in detail in the chapter on compound inequalities with "or." For now, notice that a single interval cannot describe this set, because the numbers between -2 and 3 are missing.
A value excluded from an otherwise full line, such as x ≠ 3, also needs a union: (-∞, 3) ∪ (3, ∞).
The GRE itself usually states conditions with inequality symbols and words, not interval notation. Even so, interval notation is a compact way to track a solution set while you work, so it is worth knowing as a translation tool.
Testing a Translation in Code
When you are unsure whether you translated correctly, test a few values. Choose the endpoints and one point just outside and inside. The function below turns interval notation into a membership test, so you can compare it with the original inequality.
import math
def in_interval(x, low, high, low_closed=True, high_closed=True):
above = x >= low if low_closed else x > low
below = x <= high if high_closed else x < high
return above and below
# (-1, 4] means -1 < x <= 4
for x in [-1, 0, 4, 5]:
print(x, in_interval(x, -1, 4, low_closed=False, high_closed=True))
# -1 False
# 0 True
# 4 True
# 5 False
# [3, infinity) means x >= 3
for x in [2.9, 3, 100]:
print(x, in_interval(x, 3, math.inf, low_closed=True, high_closed=False))
# 2.9 False
# 3 True
# 100 TrueThe infinite end is set to open (high_closed=False), matching the rule that infinity always takes a parenthesis. Checking the endpoints, here -1 and 4, is the most valuable part of the test. Most translation errors happen exactly at a boundary.
Real Numbers Versus Integers
A solution set depends on which numbers are allowed. The statement x > 3 with no other information allows every real number above 3, including 3.001 and the square root of 10. If the problem says "x is an integer," the same inequality allows only 4, 5, 6, and so on.
This changes what a strict inequality means in practice. For integers, x < 5 is the same as x ≤ 4, and x > 2 is the same as x ≥ 3. For real numbers, no such swap works, because there is no largest real number below 5.
It also changes counting. For integers between two bounds a and b with a ≤ b:
- Both endpoints included,
a ≤ x ≤ b: there areb - a + 1integers. - Neither endpoint included,
a < x < b: there areb - a - 1integers, provided b is greater than a. - One endpoint included: there are
b - aintegers.
The common error is subtracting without the correction. The integers from 3 to 8 inclusive are 3, 4, 5, 6, 7, 8, which is 6 numbers, not 5.
a, b = 3, 8
print(len([n for n in range(a, b + 1)])) # 6 -> b - a + 1
print(len([n for n in range(a + 1, b)])) # 4 -> b - a - 1
print(len([n for n in range(a + 1, b + 1)])) # 5 -> b - aCommon Errors
These mistakes appear again and again, and each is a notation or reading error, not an arithmetic one.
- Reading the symbol backwards.
x < 3means x is less than 3, so x sits to the left of 3 on the number line. A quick fix is to read the statement aloud with the variable first. - Closing the endpoint on a strict inequality.
x < 3does not include 3. If a Quantitative Comparison question turns on whether x can equal 3, this matters. - Using a bracket at infinity. Write
[3, ∞), never[3, ∞]. - Writing endpoints in the wrong order. The smaller number always comes first in an interval.
- Treating "between" as inclusive. Unless the word "inclusive" appears, exclude the endpoints.
- Confusing "at least" with "at most." Decide whether the number is a floor or a ceiling.
- Assuming x must be an integer, or assuming it can be any real number. Check what the problem says about x. If it says nothing, x can be any real number.
- Assuming a variable is positive. A statement like
x² > 9does not meanx > 3. It also holds for x = -4. Squared and absolute-value statements need separate treatment in later chapters. - Reading a figure as exact. Unless a diagram says otherwise, only the order and the labeled information are reliable.
Putting It Together
Take the statement "x is at least -2 and less than 6, and x is an integer." Translate it step by step:
- "At least -2" gives
x ≥ -2. - "Less than 6" gives
x < 6. - Combined as a chain:
-2 ≤ x < 6. - As an interval:
[-2, 6). - Because x is an integer, the possible values are -2, -1, 0, 1, 2, 3, 4, 5. That is 8 values. The count rule agrees, since one endpoint is included and
6 - (-2) = 8.
The number-line picture has a closed circle at -2, an open circle at 6, and a shaded segment between them. Every one of the four descriptions says the same thing, and you should be able to move from any one to the others in a few seconds.
Exercise
Write "x is more than 1 and at most 9" as a chain inequality, as an interval, and state how many integer values x can take if x is an integer.
Show answer
The chain is 1 < x ≤ 9. The interval is (1, 9]. The integers are 2 through 9, which is 8 values. This matches the rule b - a = 9 - 1 = 8 for one included endpoint.
Exercise
A student writes the solution to x ≥ 7 as [7, ∞] and the solution to "x is at most -3" as [-3, ∞). Identify both mistakes and give the correct intervals.
Show answer
The first interval uses a bracket at infinity, which is never allowed. The correct form is [7, ∞). The second reverses the direction. "At most -3" is a ceiling, so x ≤ -3, and the interval is (-∞, -3].
Exercise
Does the statement "x² > 9" mean the same as "x > 3"? Test x = -4 and explain, then write the set of values that satisfy x² > 9 as a union of intervals.
Show answer
No. For x = -4, x² = 16, which is greater than 9, but -4 is not greater than 3. Both x > 3 and x < -3 satisfy x² > 9, so the set is (-∞, -3) ∪ (3, ∞).