To solve and graph an inequality on a number line, isolate the variable exactly as you would in an equation, then plot the boundary value with an open circle for strict inequalities (< or >) or a closed circle for inclusive ones (≤ or ≥), and shade the ray pointing in the direction of all valid solutions. The one rule that changes everything: multiplying or dividing both sides by a negative number flips the inequality sign. From there, the graph is a picture of an interval, and every step has a geometric reason behind it.

What the symbols actually encode

An inequality is a comparison, not an equation. The expression x > 3 does not name a single number; it describes a set containing every real number larger than 3. That set is infinite, which is exactly why a number line outperforms a list of test values. The line shows the entire solution set at a glance, including values you never computed.

The boundary value is where the two sides would be equal. In x > 3, the boundary sits at 3 because 3 is the exact point where x stops being greater and starts being equal. The circle at that boundary answers one question: does the boundary itself belong to the solution set? An open circle says no, the value is excluded. A closed circle says yes, the value is included. Shading then marks the side where the comparison holds.

Strict versus inclusive matters in real problems. A parking garage that charges for "more than 2 hours" excludes exactly 2 hours, so the graph uses an open circle at 2. A minimum age requirement of 13 includes 13, so the graph uses a closed circle at 13. The symbol and the circle must agree, and mismatches are the single most common grading error on this topic.

The direction of shading follows from testing one point. Pick any number on one side of the boundary, substitute it, and check whether the statement is true. If it is, shade that side. This test-point method works for every linear inequality, including compound ones, and it never requires memorizing "left for less than."

Why the sign flips when you multiply or divide by a negative

Start with a true statement: 2 < 5. Multiply both sides by −1. You get −2 and −5. Now −2 is greater than −5, not less than it. The order of the two numbers reversed on the number line because negation reflects every point across zero. Distance from zero stays the same, but left and right swap. That reflection is the mechanism behind the flip rule.

Adding or subtracting a negative number does not flip anything. Adding −3 to both sides slides both points three units left, and sliding preserves order. Multiplying by a positive number stretches or compresses the line uniformly, which also preserves order. Only multiplication or division by a negative reverses orientation, so only then does the inequality sign reverse.

Consider solving −3x ≥ 12. Divide both sides by −3 and flip: x ≤ −4. Check with x = −5, which satisfies −3(−5) = 15 ≥ 12, true. Check the boundary x = −4, which gives 12 ≥ 12, also true, so the circle at −4 is closed and shading runs left. A student who forgets the flip shades right and includes every number that makes the original statement false, a total inversion of the answer.

There is a deeper way to see it that prevents the error permanently. Instead of dividing by a negative, add the term to the other side so the variable's coefficient becomes positive. From −3x ≥ 12, add 3x to both sides to get 0 ≥ 12 + 3x, then subtract 12 to get −12 ≥ 3x, then divide by positive 3 to get −4 ≥ x, which is the same as x ≤ −4. The flip never appears because you never divided by a negative. Professionals use this rearrangement when teaching, because it converts the one rule students forget into ordinary algebra.

Reading compound inequalities as intervals

A compound inequality such as −2 < x ≤ 5 combines two conditions. Read it as a sandwich: x sits strictly above −2 and at or below 5. On the number line, this appears as an open circle at −2, a closed circle at 5, and shading between them. The solution is a bounded segment, not a ray. The two endpoints carry different circle types because the two symbols differ, and that asymmetry is correct, not a mistake.

The word "and" versus "or" changes the graph shape fundamentally. A statement joined by "and" requires both conditions, so the solution is the overlap of two rays, which is usually a segment like the one above. A statement joined by "or" requires either condition, so the solution is the union of two rays, often pointing in opposite directions with a gap between them. For x < −1 or x ≥ 4, the graph has an open circle at −1 shaded left and a closed circle at 4 shaded right, leaving the middle empty.

Absolute value inequalities follow the same logic once you unpack them. The statement |x| < 3 means the distance from x to zero is less than 3, which converts to −3 < x < 3 and graphs as a segment. The statement |x| > 3 means the distance exceeds 3, which converts to x < −3 or x > 3 and graphs as two outward rays. The less-than case produces an "and" sandwich, and the greater-than case produces an "or" split. This inversion surprises almost everyone the first time, yet it follows directly from what distance means.

Watch for the special cases that break the pattern. If you solve and reach a false statement such as 0 > 5, there is no solution and the graph is empty. If you reach a true statement such as 0 < 5 with no variable remaining, every real number works and the graph is the entire line. These two outcomes are opposites and are frequently confused.

A comparison of graph features

Situation Boundary symbol Circle type Shading Set shape
x > 3 > Open at 3 Right of 3 Ray
x ≥ 3 ≥ Closed at 3 Right of 3 Ray
x < 3 < Open at 3 Left of 3 Ray
x ≤ 3 ≤ Closed at 3 Left of 3 Ray
−2 < x ≤ 5 Mixed Open at −2, closed at 5 Between Segment
x < −1 or x ≥ 4 Mixed Open at −1, closed at 4 Outside both Two rays
No solution None None None Empty set

The sequence from algebra to a correct picture

The workflow has a fixed order, and following it eliminates most errors. Undo addition and subtraction first, then multiplication and division, then handle any negative coefficient with the flip. Only after the variable stands alone does the graphing begin.

Simplify each side by distributing and combining like terms. Move variable terms to one side and constants to the other using addition or subtraction. Divide or multiply by the coefficient, flipping the sign if that number is negative. Test one point on each side of the boundary to confirm the shading direction. Draw the circle as open or closed according to the final symbol. Shade the confirmed side and label the boundary value.

The test-point step is cheap insurance. It takes about ten seconds and catches both a forgotten flip and a wrong-direction shade, the two errors that account for most lost points. Do it even when you feel certain, because certainty is exactly what the flip rule erodes.

A worked example shows the sequence in motion. Solve 4 − 2x < 10. Subtract 4 from both sides to get −2x < 6. Divide by −2 and flip: x > −3. Test x = 0, which gives 4 < 10, true, so shade right. Test x = −4, which gives 12 < 10, false, confirming the left side is excluded. Draw an open circle at −3 and shade right. Every step is checkable, and the picture matches the algebra.

Edge cases and the details that trip people up

Boundary values can be fractions or decimals, and the graph must place them accurately. For x ≥ 7/3, the circle sits at roughly 2.33, between 2 and 3 but closer to 2. Estimating poorly and dropping the circle near 2.5 is a common visual error. Use a consistent scale and mark tick marks before plotting.

Multiplying by a variable is forbidden unless you know its sign. If you multiply both sides of an inequality by x without knowing whether x is positive or negative, you cannot decide whether to flip, so the resulting inequality may be wrong. This is a genuine limitation of elementary techniques, and it is why textbook problems keep variables out of denominators until later courses.

Interval notation must match the circle types. An open circle at 3 with rightward shading is written (3, ∞), with parentheses because 3 is excluded. A closed circle at 3 is written [3, ∞), with a bracket. The infinity symbol always takes a parenthesis because infinity is not a number and cannot be included. Mixing brackets and parentheses inconsistently is a notation error even when the graph is right.

One professional caveat deserves emphasis: in applied settings, the mathematical solution set is often wider than the physically meaningful one. If x represents a count of items, the real-world answer may be restricted to whole numbers, which turns a continuous ray into a set of discrete points. The number-line graph shows the algebra, and the context may narrow it further.

Red-flag warnings worth committing to memory: Dividing by a negative without flipping the sign inverts the entire solution set. Using a closed circle for a strict inequality falsely includes the boundary. Shading before testing a point invites direction errors that look plausible. Treating "and" and "or" as interchangeable reverses segment and split graphs. Writing [3, ∞] with a bracket on infinity is always wrong. Dropping a negative sign during distribution silently changes the boundary value.

Practical actions for accuracy and speed

Build the habit of solving in one column and graphing in another, so the algebra and the picture are checked independently. Write the final inequality in symbols before touching the number line, because graphing from a half-simplified expression invites boundary errors.

Set a personal threshold: any time you divide or multiply by a number that could be negative, stop and write "flip?" in the margin before proceeding. This single checkpoint prevents the most costly error in the topic. For compound inequalities, rewrite the statement as two separate inequalities joined by "and" or "or" before graphing, then combine the pictures.

When accuracy matters, verify with two test points rather than one, choosing values on opposite sides of the boundary and one at the boundary itself to confirm the circle type. For absolute value problems, always convert to the compound form first and graph the compound result rather than trying to reason about distance directly.

Practice with mixed symbol types in the same problem set, because switching between strict and inclusive is where attention lapses. Time yourself solving and graphing ten problems in fifteen minutes as a fluency benchmark; most learners reach this pace after roughly two weeks of short daily practice.

Limits of the number-line method

The number line represents one variable only. Inequalities in two variables require a coordinate plane and shading of regions, and the circle-and-ray vocabulary does not transfer directly. Systems of inequalities in one variable can be combined on a single line, but the overlap logic becomes harder to track as the number of conditions grows.

Nonlinear inequalities, such as quadratics, need sign analysis across multiple boundary points. A quadratic can have two boundary values and a solution set that alternates between shaded and unshaded regions, which the simple ray model cannot express. The number line still helps, but it becomes a sign chart rather than a single shade.

Finally, the method assumes real numbers and exact arithmetic. Rounding a boundary value before graphing can shift the circle to the wrong side of a tick mark, and in applied work the precision of the boundary should match the precision of the data. The graph is a model of the solution set, and like any model it inherits the assumptions of the algebra behind it.