A compound inequality is written from a number line by reading three things in order: the shaded region, the endpoint style, and the arrow direction. Shade between two endpoints and you have an "and" statement; shade outward from one endpoint and you have an "or" statement. A closed dot means that endpoint is included, so the inequality uses "less than or equal to" or "greater than or equal to." An open dot means the endpoint is excluded, so you use strict "less than" or "greater than." None of that requires a calculator β€” it requires you to slow down at the dots.

This is stable, settled algebra found in every standard sequence-of-curriculum document that covers inequalities, and nothing about it changes from year to year. What follows is the method I'd draw on a whiteboard if you were sitting beside me, plus the mistakes that cost students points on homework and exams.

Read the Shaded Region Before You Touch the Inequality Symbols

The region tells you the type of compound statement. If the shading sits in the middle of the number line β€” say, between βˆ’2 and 5 β€” the graph is an intersection, written with the word "and." If the shading runs off the left end or the right end, the graph is a union, written with "or." There's no third category.

Students tend to jump straight to the symbols because that feels like "doing the math." But the math is already done. The number line is the answer; your job is transcription. Look at where the solid color lives, and the words "and" or "or" decide themselves.

One edge case trips people up constantly: a graph shaded on both far ends, with a gap in the middle. That's a union too, written as two separate inequalities joined by "or," like x < βˆ’3 or x > 4. The gap is the tell. If the shaded parts don't touch, you have two statements, not one.

And if the shading covers the entire line, the answer isn't a compound inequality at all β€” it's "all real numbers." If nothing is shaded, the answer is "no solution." Both show up in textbooks as trick questions, and both have zero inequality symbols in the honest answer.

Decide Between a Closed Dot and an Open Dot With One Rule

A closed dot means "include this endpoint." An open dot means "exclude this endpoint." That's the entire rule, and it maps one-to-one onto the symbols: closed gives ≀ or β‰₯, open gives < or >.

Dot style Endpoint status Symbol to write Example
Closed (filled) Included ≀ or β‰₯ x β‰₯ βˆ’1
Open (hollow) Excluded < or > x < 4
Mixed, two dots One in, one out One of each βˆ’1 ≀ x < 4

The mixed row is where most of the point loss happens. A graph with a closed dot at βˆ’1 and an open dot at 4 is not "βˆ’1 ≀ x ≀ 4." It's "βˆ’1 ≀ x < 4," and a grader will mark the second version wrong every time. Read the two dots independently, then assemble.

If the dots are hard to distinguish β€” photocopied worksheets are notorious for this β€” check the original or ask which convention the class uses. Some textbooks render closed dots as slightly larger circles, and at small print sizes the size difference disappears. Confirm before you commit rather than guessing.

Write "And" Inequalities by Sandwiching the Variable

For a shaded middle region, the variable sits between the two endpoints. Take a closed dot at βˆ’2 and a closed dot at 5: the standard form is βˆ’2 ≀ x ≀ 5. Both comparisons point the same direction, toward the larger number on the right, which is why the variable gets "sandwiched."

The alternate form, x β‰₯ βˆ’2 and x ≀ 5, is equally correct. Which one to submit depends on your teacher's preference, so check the textbook's worked examples. The sandwich is more compact and shows up more often in later algebra and calculus, so it's the one I'd default to.

If your graph is βˆ’2 ≀ x ≀ 5, the equivalent "and" statement is also expressible in interval notation as [βˆ’2, 5]. That's not a compound inequality, but it's the same object, and being able to switch between forms will pay off when you hit functions and domains.

Watch the direction of the symbols if you rewrite the sandwich by hand. Writing 5 β‰₯ x β‰₯ βˆ’2 is technically true but nonstandard, and some grading keys won't accept it. The fixed convention is verb: smaller number on the left, larger on the right, variable in the middle with both signs pointing right.

Write "Or" Inequalities by Treating Each Ray as Its Own Statement

For a shaded region that runs off one end, you're describing a ray. A closed dot at 3, shaded to the right, is x β‰₯ 3. The word "or" doesn't appear because there's only one condition β€” a single inequality, not a compound one.

The "or" shows up when both far ends are shaded. Gap between βˆ’3 and 4, shaded outside: x < βˆ’3 or x > 4. Each ray gets its own inequality, and the word "or" joins them. The two statements never overlap, which is exactly why the word is "or" β€” satisfying either one makes the compound true.

A trick worth knowing: x < βˆ’3 or x > 4 can also be written as the single inequality |x βˆ’ 0.5| > 3.5. Absolute value handles "distance from a center exceeds a threshold," which is precisely an "or" shape. You don't need that form to answer a number-line question, but recognizing it prevents the very common error of trying to write an "or" graph as a sandwich β€” which produces a "no solution" answer that's obviously wrong.

Here's a sanity check students rarely use: pick one point inside each shaded ray and plug it into your inequality. Take x = βˆ’4 and x = 5 for the graph above. Both should make the statement true. Then pick x = 0, in the gap, and confirm the statement is false. If any of the three checks fails, you've misread a dot or a direction.

Work From the Picture to the Symbols in Four Steps

The order matters. Students who hunt for symbols first end up redoing the problem, so read left to right and let the picture decide.

1: Identify the shaded region: middle (write "and"), both far ends (write "or"), one far end (single inequality), whole line ("all real numbers"), or nothing ("no solution"). 2: Record each endpoint's dot style: closed means include, open means exclude. If the graph has two dots, record both independently. 3: Trace the arrow direction at each shaded end: shading to the right of a point means the variable is greater than that point; shading to the left means it's less. 4: Assemble and check: for "and," sandwich the variable between the endpoints using the two symbols you recorded; for "or," write each ray separately and join with the word. Then test one point from each shaded piece.

Here's where step 4 fails in practice. Suppose the graph is open at βˆ’1, closed at 6, shaded between. You record βˆ’1 excluded and 6 included, and write βˆ’1 < x ≀ 6. Now plug in a test point like 0 β€” it works. But suppose you accidentally wrote βˆ’1 ≀ x < 6. The test point 0 still works, so the check passes and you ship a wrong answer. That's the failure mode: point-testing inside the region can't distinguish which endpoint is closed when both are in the middle. The fix is to test the endpoints themselves, not the interior: substitute x = βˆ’1 and x = 6, and confirm exactly one endpoint makes the statement true when one dot is closed and one is open.

Flip the Output Into Interval Notation Without Reading the Graph Again

Once you have the inequality, interval notation is mechanical. A square bracket means the endpoint is included; a parenthesis means it's excluded. Round infinity always, because infinity is a direction, not a number you can reach.

βˆ’2 ≀ x ≀ 5 becomes [βˆ’2, 5] βˆ’1 ≀ x < 4 becomes [βˆ’1, 4) x β‰₯ 3 becomes [3, ∞) x < βˆ’3 or x > 4 becomes (βˆ’βˆž, βˆ’3) βˆͺ (4, ∞)

That last row is where the two notations genuinely diverge, and students misread it constantly. The symbol βˆͺ means "union," which is the interval-notation word for "or." If your answer used the word "or," it needs a βˆͺ, not a comma. A comma would imply a single interval, which is the exact shape you ruled out in step 1.

Also note the asymmetry: an "and" answer like [βˆ’1, 4) is one interval with no union symbol at all. So the notation encodes the same information the number line did β€” one connected piece means no βˆͺ, two pieces mean βˆͺ. If your notation and your picture disagree about connectivity, you've made an error somewhere, and the notation is usually the easier place to spot it.

The Mistakes That Actually Cost Points, Ranked

Closed-versus-open errors are the most frequent, because the dots often look alike on a photocopy. The second most frequent is using "and" where "or" belongs β€” students see two numbers and reach for the word that usually joins two conditions, forgetting that "and" describes a middle region.

Attempting to write an "or" graph as a double inequality comes third. If you catch yourself writing something like 4 > x > βˆ’3 for a graph shaded outside both ends, stop: that expression describes the gap, not the shaded parts, and it'll be empty. The gap in the picture becomes the region your inequality excludes, not the region it describes.

Rounding off the list: writing x β‰₯ 3 when the graph is x > 3 (open dot misread as closed), and dropping the word "or" or "and" entirely so you have two loose inequalities. A single x β‰₯ 3 is fine alone; two statements jammed together without a connective is not a compound inequality, it's a fragment. Middle-school and early-high-school rubrics are usually strict about the connective, so write it.

The habit that prevents all five: after you write your answer, cover the number line and redraw it from your inequality. If the redrawn picture doesn't match the original, the error is in your transcription, and you'll find it in about fifteen seconds.

Practice Set With Answers, From Six Real Graphs

Work these on paper before checking. They cover each shape described above, including the two degenerate cases.

Closed dot at 0, shaded right: x β‰₯ 0, or [0, ∞). Open dot at βˆ’5, shaded left: x < βˆ’5, or (βˆ’βˆž, βˆ’5). Closed dots at 1 and 7, shaded between: 1 ≀ x ≀ 7, or [1, 7]. Open dot at 2, closed dot at 6, shaded between: 2 < x ≀ 6, or (2, 6]. Open dots at βˆ’4 and 3, shaded outside both: x < βˆ’4 or x > 3, or (βˆ’βˆž, βˆ’4) βˆͺ (3, ∞). Shading across the entire line: all real numbers, (βˆ’βˆž, ∞).

Two of those six are one-symbol answers, which is the point. Not every number-line question has a compound answer, and forcing two symbols onto a single ray is itself an error. If your teacher's worksheet is titled "compound inequalities," though, and a problem produces one symbol, double-check the dots before deciding the worksheet is wrong β€” the odds favor a misread.

Cross-check the answers against the vocabulary: "compound" just means joining two inequalities with a connective. A single ray joined to nothing isn't compound, and a full line is described by an identity rather than an inequality.

Classroom Materials and Test Conventions Differ in Ways Textbooks Don't Advertise

Not every course accepts every correct form. Some teachers require the sandwich form for "and" graphs and mark "x β‰₯ βˆ’2 and x ≀ 5" wrong by policy, even though it's mathematically identical. Others accept any correct form. Ask before the first quiz; it's a thirty-second question that saves several points.

Mixed-dot conventions also vary slightly. In some textbooks an open dot is drawn noticeably smaller; in others it's a hollow circle of identical size to a closed one. Modern adaptive platforms typically render them clearly, but printed materials designed before roughly 2010 are less consistent. If you're reviewing old materials, verify the convention against the answer key before absorbing the visual habit.

The pragmatic test when you're unsure: check whether the shaded region is connected, then check the dots, then match your answer format to whatever the most recent graded example in the class looked like. That last cue is more reliable than the textbook, since the grader is the person with the answer key.

None of this is a finding I looked up for this article β€” it's the standard sorting these problems go through. The point is that format ambiguity is real, and it's cheaper to resolve with a question than with a zero.

Why Inequalities Show Up Again in Domain, Range, and Optimization Problems

Inequality transcription isn't a self-contained unit that's finished and forgotten. Domain questions ask "where is this function defined," and the answer usually gets written as an interval β€” which is the same object you just learned to build from a number line. Range questions do the same thing vertically.

Optimization problems in algebra and calculus routinely answer with constraints, like 0 ≀ t ≀ 12 for a time window or x β‰₯ 0 for a length that can't be negative. If you can't turn a picture or a sentence into a correct inequality, those problems fail for a reason that has nothing to do with the calculus.

The most common professional failure I'd flag: students who can graph from an inequality but can't go the other direction. Going from inequality to graph is taught heavily. Going from graph to inequality is tested lightly and then assumed in later courses. That asymmetry is exactly why this topic deserves slow, careful practice now.

The fix is volume with feedback. Six problems per shape, both directions, until the transcription is automatic. Then you can spend your attention on the harder problem rather than on the notation.

FAQ

Does the word "and" mean the shaded parts overlap?

No. "And" means a single point must satisfy both conditions at once, and the overlap of the two individual solution regions is the shaded middle. If the shading has a gap in the middle, the shaded parts never overlap in that sense, and the correct connective is "or," because satisfying either ray satisfies the statement. Check the picture: a connected middle means "and," disconnected ends mean "or."

What if the graph shades only one end with an open dot?

Then it's a single strict inequality, like x > βˆ’1 for an open dot at βˆ’1 shaded right. There's no connective and no second symbol, and writing one would be an error. In interval notation it's (βˆ’1, ∞), with the parenthesis carrying the exclusion. Many worksheets include these among compound-inequality problems specifically to check whether you're reading or pattern-matching.

Can I write the sandwich as 5 β‰₯ x β‰₯ βˆ’2?

It's mathematically true but nonstandard, and automated grading systems frequently reject it. The convention is to put the smaller endpoint on the left so both comparison signs point right: βˆ’2 ≀ x ≀ 5. If a printed answer key uses the reversed form, it's not wrong as a mathematical statement, but it's unusual, and you should match whichever form your course uses. When in doubt, the left-pointing convention is the safer submission.

How do I graph x < βˆ’3 or x > 4 without mixing up the endpoints?

Plot both endpoints with open dots, shade the region left of βˆ’3, and shade the region right of 4. The unshaded gap between βˆ’3 and 4 is the giveaway that the answer is a union: two separate shaded rays, no ink between them, and a βˆͺ in interval notation. If you accidentally shade between instead, you've answered a different question entirely β€” the one where the gap is the solution.

Is there an absolute value shortcut for these graphs?

Yes, for symmetric unions. A graph of x < βˆ’3 or x > 4 centers at 0.5 with a half-width of 3.5, so it equals |x βˆ’ 0.5| > 3.5. The general rule: center equals the average of the two endpoints, and the threshold equals half the distance between them. Symmetric middles convert similarly into |x βˆ’ center| ≀ half-width. You don't need this form for a number-line question, but it's useful for checking your answer.

What's the fastest way to verify a compound inequality answer?

Test a point from each shaded region and one point from each unshaded region. For βˆ’1 ≀ x < 4, test x = 0 (true), x = βˆ’2 (false), and x = 5 (false), then specifically test the two endpoints against the dot styles. Endpoint testing is the crucial part, because interior points can't distinguish a closed endpoint from an open one. The whole check takes under a minute and catches the majority of transcription errors.

Do college placement exams use the same conventions?

Most do, with one difference worth knowing: placement exams and standardized tests are more likely to accept alternate equivalent forms, including reversed sandwiches and absolute-value notation, because they're machine-scored against multiple acceptable answers. Classroom quizzes are where format specificity bites. If you're preparing for a placement test, prioritize mathematical equivalence; for a class quiz, match your teacher's format exactly.

What if the graph is shaded everywhere except one gap?

That's a union: two rays with open or closed dots at the gap's endpoints, joined by "or." Interval notation uses βˆͺ. The gap's endpoints follow the dot rule exactly as they would in an "and" problem β€” an open dot at the gap edge means the edge is excluded from the solution, which is often counterintuitive because the ink surrounds it. Read the dots, not the ink.

The article above is general educational information about reading and writing inequalities, not a diagnosis, treatment plan, legal opinion, or financial recommendation, and it promises no particular exam outcome. Conventions vary by teacher, textbook edition, and grading platform, so confirm the required answer format with your local instructor or the official materials for your course before a graded assessment.