A compound inequality from a graph is two inequalities joined by "and" or "or," read directly from where the shaded region sits relative to the boundary points. If the shading lies between two endpoints, you're writing an "and" statement; if it runs outward in two directions, you're writing an "or" statement. Everything else is detail work on endpoints and bracket type.

The method below takes about 90 seconds per graph once you've done five of them. The failure modes are predictable too: wrong conjunction, flipped bracket, or a variable placed on the wrong side. Here's the full procedure, the rules that decide each choice, and the cases where a graph produces no compound inequality at all.

Read Shading Direction Before Writing Anything

The first decision is conjunction, and the shaded region answers it without algebra. Look at which parts of the number line are darkened.

If the shading sits as one connected segment between two points β€” say everything from -2 to 5 β€” that's an "and" compound inequality, because a value must satisfy both endpoint conditions at once. If the shading runs left from one point and right from another with a gap in the middle, that's an "or" compound inequality, because a value only needs to satisfy one side.

A useful test: pick a number in the shaded region and a number in the gap. For "and" graphs, the gap numbers fail both conditions. For "or" graphs, the gap numbers fail both conditions too β€” but so what, because the shaded numbers only need to pass one. That asymmetry is the tell.

Watch for the single-ray case. A graph with one arrow and one endpoint is a plain inequality, not a compound one, and forcing it into "and" or "or" form is the most common beginner error. The phrase "compound" requires two boundary conditions, full stop.

Also check whether the graph uses open or closed circles before you write a single symbol. The circle type dictates the comparison operator, and getting the conjunction right while getting the bracket wrong costs the same points on a test.

Match Open and Closed Circles to Inequality Symbols

Open circles mean the endpoint is excluded; closed circles mean it's included. That maps to four symbols and nothing more.

Circle at left endpoint Circle at right endpoint Left symbol Right symbol Interval notation
Open Open < < (a, b)
Closed Open ≀ < [a, b)
Open Closed < ≀ (a, b]
Closed Closed ≀ ≀ [a, b]

Read the table left to right against the graph: the left circle determines whether the left comparison uses < or ≀, and the right circle does the same for the right comparison. A graph with a closed circle at -3 and an open circle at 4 becomes -3 ≀ x < 4.

Students routinely assume both endpoints share the same bracket type. They don't β€” mixed brackets are the norm on tests because they check whether you actually looked at both circles.

If the graph is drawn on a coordinate plane rather than a number line, the same logic applies to the x-axis shading, but confirm the problem states "shade the x-values" or that y is unconstrained. A shaded half-plane in two variables is a linear inequality in two variables, which is a different animal and doesn't collapse to a single-variable compound statement.

Place the Variable in the Middle for "And" Graphs

For an "and" graph shaded between two endpoints, write the variable alone in the center with both comparisons wrapping around it. This is the standard form and the one graders expect.

Take a graph shaded from -2 (open) to 5 (closed). The compound inequality is -2 < x ≀ 5. The smaller endpoint always sits on the left, the variable in the middle, the larger endpoint on the right, and the symbols point toward the variable from both sides.

The direction rule matters here. Since -2 < x means x is greater than -2, the arrow opens toward x. Since x ≀ 5 means x is less than or equal to 5, the arrow opens toward x again. Both symbols "hug" the variable. A student who writes -2 > x ≀ 5 has the first symbol backwards and the statement is nonsense β€” it claims x is simultaneously less than -2 and at most 5, which describes a different region entirely.

If the original problem gives you the inequality first (say 3 < 2x + 1 < 11), solve all three parts simultaneously: subtract 1 from all three, then divide all three by 2, and the middle isolates to x. The graph you'd draw from 1 < x < 5 matches what the compound form predicts.

Never split an "and" inequality into two separate statements unless a problem explicitly asks. The combined form is shorter, harder to misread, and matches the graph visually.

Use Two Separate Inequalities for "Or" Graphs

An "or" graph shaded outward from two endpoints produces two independent inequalities joined by the word "or." Neither side constrains the other.

Consider a graph with a closed circle at -1 and shading to the left, plus an open circle at 4 and shading to the right. The compound inequality is x ≀ -1 or x > 4. Each piece stands alone; a value like -5 satisfies the first and a value like 7 satisfies the second, and neither needs to satisfy both.

Order doesn't matter for correctness but does for readability β€” put the left-side inequality first, matching how you read the number line. The conjunction "or" is mandatory; writing "and" between outward rays describes the empty set, which is the exact opposite of what the graph shows.

A subtler trap: some textbooks use "union" notation and write (-∞, -1] βˆͺ (4, ∞). That's the interval form of the same statement, and it's correct, but if the question asks for an inequality, union symbols alone won't earn full credit. Write the inequality form unless interval notation is specified.

If both rays have closed circles, both symbols become ≀ or β‰₯. If both are open, both become < or >. Mixed circles across the two rays are possible and each side takes its own symbol independently.

Work Through a Full Example With Mixed Brackets

Here's a complete conversion that exercises every rule at once. Graph: closed circle at -4, shading to the right through -1, then a gap, then an open circle at 2 with shading to the right. Wait β€” that's not a compound inequality; that's a single ray with a break. Redo it.

Take a cleaner example. Graph: open circle at -3, shading right to a closed circle at 6, then shading stops. This is an "and" graph. Left endpoint open β†’ -3 < x. Right endpoint closed β†’ x ≀ 6. Combined: -3 < x ≀ 6. Interval notation: (-3, 6].

Now a harder one. Graph: closed circle at 0 with shading left, open circle at 5 with shading right, gap between 0 and 5. The left ray is x ≀ 0 and the right ray is x > 5, so the compound inequality is x ≀ 0 or x > 5. Interval notation: (-∞, 0] βˆͺ (5, ∞).

Try a reverse-engineering case. Given 2x - 1 < 7 and 3x + 2 β‰₯ -4, solve each separately: x < 4 and x β‰₯ -2. The conjunction here is "and," but note that -2 ≀ x < 4 is the equivalent compact form. The graph would show a closed circle at -2 and an open circle at 4 with shading between. Working backward from inequality to graph is the same skill in reverse and it's worth practicing because tests often ask for both directions.

Check your answer by testing a value in the shaded region and a value in the gap. For -2 ≀ x < 4, try x = 0 (should satisfy both) and x = 5 (should fail the second). If either test disagrees with the graph, one of your symbols or brackets is wrong.

Translate Between Inequality, Interval, and Set Notation

Three notations describe the same graph, and exams ask for any of them. Knowing the conversion cold saves time under pressure.

Graph shading Inequality Interval Set-builder
Between -1 and 3, both closed -1 ≀ x ≀ 3 [-1, 3] {x | -1 ≀ x ≀ 3}
Between 0 and 8, open then closed 0 < x ≀ 8 (0, 8] {x | 0 < x ≀ 8}
Left of -2 closed, right of 5 open x ≀ -2 or x > 5 (-∞, -2] βˆͺ (5, ∞) {x | x ≀ -2 or x > 5}
Left of 1 open, right of 4 closed x < 1 or x β‰₯ 4 (-∞, 1) βˆͺ [4, ∞) {x | x < 1 or x β‰₯ 4}

The bracket rule carries across all three columns: square bracket = included endpoint, parenthesis = excluded endpoint, with ∞ always taking a parenthesis because infinity is never a value you can reach. Students who write [-∞, 3] lose points because no real number equals negative infinity.

Set-builder notation is the most error-prone, mainly because of the vertical bar. Write it as "the set of all x such that..." in words when in doubt, then compress. Many teachers accept the verbal form as a check.

Converting from interval back to inequality trips people on unions. An interval like (-∞, 2) βˆͺ [6, ∞) becomes x < 2 or x β‰₯ 6, and the "or" must appear in the inequality form even though the interval form uses no explicit conjunction. A comma-separated interval list always means "or" in inequality language.

Know When a Graph Produces No Solution or All Reals

Some compound inequalities resolve to the empty set or every real number, and graphs of these look strange at first. Recognizing them prevents you from writing nonsense.

An "and" inequality like x > 5 and x < 2 has no solution, because no number is simultaneously greater than 5 and less than 2. The graph shows no shaded region at all β€” a blank number line. The correct answer is "no solution" or the empty set symbol βˆ…. Writing the two inequalities without comment earns partial credit at best.

An "or" inequality like x > 5 or x < 2 is the opposite: two outward rays, so the whole line is shaded? No β€” check again. x > 5 or x < 2 has a gap between 2 and 5, so the shaded region is the two outer rays, not the whole line. To shade everything with "or", you'd need overlapping rays, like x > 2 or x < 5, which covers all reals and can be simplified to "all real numbers."

That overlapping case is the one most students mishandle. If both rays extend past each other and leave no gap, the compound inequality is x ∈ ℝ, and the graph is the fully darkened number line. The simplified form is more defensible than the original because the original was redundant.

Failure case worth flagging: if the problem gives you two inequalities joined by "and" but their solution sets overlap completely in one direction (e.g., x > 3 and x > 7), the compound simplifies to the tighter condition, x > 7. "And" means intersection, so you take the narrower set. Writing x > 3 and x > 7 as a two-part answer is technically true but not simplified, and many rubrics require the simplification.

Faults That Cost Points on Tests and Homework

Four mistakes account for most lost credit on this skill, and three of them are avoidable with a thirty-second check.

The first is swapped conjunctions. Writing "and" when the graph shows outward rays, or "or" when it shows a single shaded segment, produces an answer that describes the wrong region. Fix: sketch the region your answer produces and compare it to the original graph before submitting.

The second is flipped inequality symbols. The rule is that the symbol opens toward the variable in "and" form and opens away from the variable on each ray in "or" form β€” but only if the variable stays on the left of each "or" inequality. If a student writes 4 > x instead of x < 4 for a right-side ray, the symbol points the wrong way relative to standard form. Fix: always arrange "or" inequalities with the variable on the left.

The third is bracket mismatch between inequality and interval notation. Writing x ≀ 3 but then (∞, -2] βˆͺ (3, ∞) uses a parenthesis where the inequality used ≀. Fix: translate symbol to bracket mechanically β€” ≀ or β‰₯ becomes square, < or > becomes parenthesis.

The fourth, rarer but costly, is treating a coordinate-plane half-plane as a single-variable compound inequality. If the problem graphs 2x + y ≀ 6, there is no compound inequality in x alone, because y is free. Check what the question asks before assuming single-variable form.

Practice Order That Builds Speed: 4 Graph Types in Sequence

Build fluency by practicing the four graph types in a fixed order, because the harder types reuse skills from the easier ones.

1: Shaded segment with both endpoints closed. Write -1 ≀ x ≀ 4, then convert to [-1, 4] and {x | -1 ≀ x ≀ 4}. This isolates the middle-variable arrangement. 2: Shaded segment with mixed brackets, e.g., open at 2, closed at 9. Write 2 < x ≀ 9. This teaches bracket independence between the two endpoints. 3: Two outward rays, both closed, e.g., closed at -3 shading left and closed at 5 shading right. Write x ≀ -3 or x β‰₯ 5. This practices conjunction choice and left-side arrangement. 4: Two outward rays with mixed brackets, e.g., closed at 0 shading left and open at 7 shading right. Write x ≀ 0 or x > 7. This is the full exercise, and if it's clean, the skill is done.

Do ten of each type rather than ten mixed problems in a row. Blocked practice feels less interesting but builds the pattern recognition faster, and the four-way split maps directly to the four decision points on a test: conjunction, left bracket, right bracket, variable placement.

When starting from an inequality rather than a graph, reverse the process. Solve the inequality completely, mark the endpoints and bracket types, then sketch. Checking the graph against a test value in the shaded and unshaded regions catches errors before you hand in the paper.

Time yourself after the first twenty problems. A clean conversion takes 20 to 30 seconds at the segment stage and 45 seconds on outward rays; anything beyond 90 seconds usually means you're second-guessing the conjunction, which the first two paragraphs of this article settle definitively.

FAQ

Can a compound inequality have three separate inequalities joined together?

Rarely, and only when a problem explicitly defines a set with three conditions. Standard algebra courses limit compound inequalities to two statements joined by "and" or "or." A third condition can technically appear if a problem asks for values satisfying all three (e.g., x > 1 and x < 10 and x β‰  5), but that last piece isn't an inequality β€” it's an exclusion, and it changes the set from an interval to a union of two intervals: (1, 5) βˆͺ (5, 10). The graph would show an open circle at 5 inside a shaded segment. If a test shows this, write the union form.

What does a graph with a solid dot at 2 and an arrow pointing left mean in interval notation?

It means x ≀ 2, written as (-∞, 2] in interval notation. The single arrow tells you it's a plain inequality rather than a compound one, so there's no conjunction to choose. The parenthesis before the infinity is mandatory β€” infinity is never included β€” while the square bracket after the 2 matches the solid dot. Writing (-∞, 2) is wrong because the open parenthesis at 2 excludes the endpoint the graph clearly includes.

Which is correct: -3 < x ≀ 5 or 5 β‰₯ x > -3?

Both are mathematically correct, but only the first is standard form. Convention places the smaller endpoint on the left, the variable in the middle, and both inequality symbols pointing toward the variable. The second form is a legitimate rearrangement but graders often mark it as "not simplified" or "nonstandard," and it's harder to read. On a timed test, the standard form costs less time and eliminates a correction cycle.

Why does my answer for an "or" graph get marked wrong when both inequalities are true?

Check two things: whether you wrote "and" instead of "or" (which describes the gap rather than the rays), and whether you put the variable on the left in each inequality. Writing 4 < x instead of x > 4 is mathematically equivalent but often marked as unsimplified. A third possibility: you may have included an endpoint as open when the graph showed it closed, or vice versa β€” the brackets must match each circle exactly.

How long should it take to convert a graph to a compound inequality on an exam?

About 30 to 45 seconds for a typical problem if the mechanics are automatic, and about 60 seconds if you sketch a verification graph. Exam timing at the high school level typically budgets 1 to 2 minutes per inequality conversion problem, so 90 seconds total including a test-value check is acceptable. If you're spending over 2 minutes on one graph, the conjunction decision is probably the sticking point β€” check the shading direction first, before writing any symbols.

Is a fully shaded number line a compound inequality?

It can be, but it doesn't have to be. A graph of "all real numbers" is often the result of simplifying x > 2 or x < 5, where the two rays overlap and cover every value. In that case the compound form simplifies to x ∈ ℝ. If the problem shows the whole line shaded from the start, the answer is "all real numbers," and writing a compound form is unnecessary. Only include the compound form if the problem asks you to write one, or if simplifying a given compound produced it.

What's the difference between a compound inequality and a system of inequalities?

A compound inequality is one statement about a single variable joined by "and" or "or," and its graph is on a number line. A system of inequalities involves two or more inequalities in two variables (x and y) whose solution is a region on a coordinate plane. A graph showing two lines with overlapping shaded regions is a system, not a compound inequality, and converting it to single-variable compound form isn't possible unless the problem restricts one variable. Read the problem statement carefully β€” the phrase "system" signals the coordinate-plane version.

Does the order of endpoints matter when writing an "and" inequality?

Yes, and this is a real source of errors. Convention requires the smaller number on the left, the variable in the middle, the larger number on the right, with the variable hugging both symbols. Writing 5 β‰₯ x β‰₯ -3 is technically true but violates the arrangement most graders expect. Always check the left endpoint's value against the right endpoint's value before writing β€” if the left value is larger, the format is backwards. For "or" inequalities, order is flexible but left-first matches how the number line reads and reduces mistakes.