Curious Minds

Clear answers to science and history questions

Plot Inequalities on a Number Line: A Clear Guide

· 4 min read · Science

To plot an inequality on a number line, first solve the inequality for the variable, then draw a number line and mark the critical value (the boundary point). Use an open circle if the inequality is strict ( or >) and a closed circle if it includes equality (≤ or ≥), then shade the region that contains all solutions. For example, x > 3 is shown with an open circle at 3 and shading to the right; x ≤ −1 uses a closed circle at −1 and shading to the left.

What Inequalities Represent on a Number Line

An inequality compares two expressions and describes a range of values rather than a single value. On a number line, each point corresponds to a real number, so an inequality in one variable is represented as a set of points—a ray, a segment, or the entire line. The boundary point is the number where the expression changes from true to false (or vice versa). For instance, the inequality x < 2 is true for every number less than 2 and false for 2 and every number greater than 2. The number line makes this visible: the solution set is the portion of the line to the left of 2.

Inequalities can be simple (x > 5), compound (2 < x ≤ 7), or involve absolute values (|x| < 4). Each type has a distinct number-line representation, but the core idea is the same: identify the boundary points and shade the correct side or interval.

Step-by-Step: Plotting a Simple Inequality

Follow these steps for a single inequality such as 3x − 4 ≤ 8:

  1. Solve the inequality algebraically. Add 4 to both sides: 3x ≤ 12. Divide by 3: x ≤ 4. (If you multiply or divide by a negative number, reverse the inequality sign.)
  2. Draw a horizontal number line with a few tick marks on either side of the boundary value. Label the boundary value (here, 4).
  3. Decide on the circle type: use a closed circle (●) for ≤ or ≥, because the boundary is included; use an open circle (○) for < or >, because the boundary is not included.
  4. Shade the side that makes the inequality true. For x ≤ 4, shade to the left of 4. A quick test: pick a number in the shaded region, such as 0, and substitute it into the original inequality. 3(0) − 4 = −4 ≤ 8 is true, so the shading is correct.

For x > −2, you would place an open circle at −2 and shade to the right.

Compound Inequalities and Interval Notation

A compound inequality like −1 < x ≤ 3 combines two conditions. On a number line, it appears as a segment between −1 and 3: an open circle at −1 (since x is strictly greater than −1), a closed circle at 3 (since x can equal 3), and shading between them. This is often written in interval notation as (−1, 3].

When a compound inequality uses “or,” such as x < −2 or x ≥ 1, the solution set is two separate rays. Plot an open circle at −2 with shading to the left, and a closed circle at 1 with shading to the right. The two shaded regions do not connect.

Interval notation is a compact way to describe these sets: parentheses ( ) indicate excluded endpoints, brackets [ ] indicate included endpoints, and the symbols −∞ and ∞ are always paired with parentheses because infinity is not a number.

Absolute Value Inequalities on a Number Line

Absolute value inequalities produce two boundary points and either a middle interval or two outer rays. For |x| < 4, the inequality means the distance from x to 0 is less than 4, so x lies between −4 and 4: −4 < x < 4. On a number line, use open circles at −4 and 4 and shade between them. For |x| ≥ 3, the distance from x to 0 is at least 3, so x ≤ −3 or x ≥ 3. Use closed circles at −3 and 3 and shade outward in both directions. The same logic applies to shifted expressions like |x − 2| ≤ 5, which becomes −5 ≤ x − 2 ≤ 5, or −3 ≤ x ≤ 7.

Common Mistakes and How to Avoid Them

  • Forgetting to flip the inequality sign when multiplying or dividing by a negative number. For example, solving −2x > 6 gives x < −3, not x > −3.
  • Using the wrong circle type. An open circle means the boundary is not part of the solution; a closed circle means it is. Mixing these up changes the solution set.
  • Shading the wrong direction. Always test a point from the shaded region in the original inequality to confirm it works.
  • Misreading compound inequalities. The statement 2 < x < 5 means x is greater than 2 and less than 5 simultaneously; it is not two separate inequalities to be solved independently.

Why Number Lines Matter in Algebra

Number lines provide a visual check on algebraic solutions and build intuition for functions, domains, and intervals. They are a standard tool in pre-algebra and algebra curricula because they connect symbolic manipulation with geometric meaning. In more advanced contexts, the same shading logic extends to graphing inequalities in two variables on a coordinate plane, where a boundary line separates the plane into regions. Understanding one-variable inequalities on a number line is a foundation for that later work.

Frequently Asked Questions

What is the difference between an open and a closed circle?

An open circle indicates that the boundary point is not included in the solution set, which corresponds to the strict inequalities < and >. A closed circle indicates that the boundary point is included, corresponding to ≤ and ≥.

How do I know which side to shade?

After plotting the boundary point, pick any test number on one side and substitute it into the original inequality. If the result is true, shade that side; if false, shade the other side. For simple inequalities like x > 5, the direction is immediate: greater than means to the right, less than means to the left.

Can an inequality have no solution on a number line?

Yes. For example, x > 3 and x < 1 cannot both be true, so the compound inequality x > 3 and x < 1 has no solution; the number line would show no shaded region. Similarly, an absolute value inequality such as |x| < −2 has no solution because absolute value is never negative.

What does it mean when the entire number line is shaded?

If an inequality is true for every real number, the entire line is shaded. For instance, x + 1 > x simplifies to 1 > 0, which is always true, so every point on the number line is a solution.

How do I plot an inequality with fractions or decimals?

The process is identical. Locate the boundary value on the number line (for example, 1.5 or −3/4), choose the correct circle type, and shade the appropriate side. You may need to estimate the position between tick marks, but the logic does not change.

In this article
  1. What Inequalities Represent on a Number Line
  2. Step-by-Step: Plotting a Simple Inequality
  3. Compound Inequalities and Interval Notation
  4. Absolute Value Inequalities on a Number Line
  5. Common Mistakes and How to Avoid Them
  6. Why Number Lines Matter in Algebra
  7. Frequently Asked Questions