Free Graphing Inequalities on a Number Line Calculator

Inequality 1

Enter values to see the number line graph

Results appear automatically

Understanding the Number Line and Inequalities

A number line is a visual representation of real numbers, where values increase from left to right. This makes it an excellent tool for showing the range of numbers that satisfy an inequality. The Graphing Inequalities on a Number Line Calculator — a free inequality graph solver — helps you instantly visualize where solutions lie for linear and compound inequalities. Whether you need to graph a simple “greater than” relation or a more complex system, this calculator provides a clean number line graph that highlights the solution region.

What Are Linear Inequalities?

Inequalities describe the relative size between two expressions. The four basic types are:

  • < (less than)
  • ≤ (less than or equal to)
  • > (greater than)
  • ≥ (greater than or equal to)

For example, x−10>13x - 10 > 13 means that xx minus 10 is always greater than 13. Unlike equations that pin down a specific value, inequalities yield an interval (or union of intervals) of possible values.

A linear inequality involves variables only to the first power. In other words, there are no squared terms, no variable in a denominator, no roots, and no logarithms of the variable. Examples include:

x≥0,−2<2x+7,4x−y≤z−2x+1.x \ge 0,\qquad -2 < 2x + 7,\qquad 4x - y \le z - 2x + 1.

When working with a single variable (usually xx), we can focus on one‑dimensional graphs — the number line.

How to Graph a Single Inequality on a Number Line

Before you can plot an inequality, you must solve it to express the variable explicitly. For instance, 3x+1≥73x + 1 \ge 7 becomes x≥2x \ge 2 after subtracting 1 and dividing by 3. Note that multiplying or dividing by a negative number would reverse the inequality sign. The general steps for graphing are:

  1. Mark the boundary point on the number line at the value obtained from the inequality.
  2. Draw a ray from that point in the appropriate direction:
    • Left if the inequality is < or ≤ (values are smaller than the point).
    • Right if the inequality is > or ≥ (values are larger than the point).
  3. Indicate strict vs. non‑strict using the style of the ray’s starting point. The calculator uses a slanted line for strict (<, >) and a straight line for non‑strict (≤, ≥). An alternative popular convention uses an empty circle (open dot) for strict and a filled circle for non‑strict, but this tool follows the slanted/straight system.

Remember that the number line extends infinitely in both directions, so the ray also continues indefinitely. For x>ax > a, the solution is (a,∞)(a, \infty); for x≤bx \le b, it is (−∞,b](-\infty, b].

Handling Compound Inequalities (Systems)

A compound inequality — also called a system of inequalities — requires that every inequality hold simultaneously. Such systems often appear in real‑world problems where multiple constraints apply.

To graph a compound inequality:

  • Graph each individual inequality on the same number line. Using different colors or line styles helps keep them distinct.
  • The solution set is the portion of the number line where all rays overlap (intersection).
  • Pay close attention to the endpoints: a point that belongs to the solution must satisfy every inequality. If an inequality is strict at that point, the endpoint is excluded; if non‑strict, it is included.

If the compound inequality contains contradictory conditions (e.g., x<3x < 3 and x>6x > 6), the intersection is empty — no numbers satisfy all requirements.

Worked Example: A Two‑Part System

Suppose you want to find all xx such that:

x<2andx≥−1.x < 2 \quad \text{and} \quad x \ge -1.

Using the compound inequality calculator, you would select two inequalities: the first “<” with value 2, the second “≥” with value -1. The resulting number line graph would show a slanted ray leftward from 2 and a straight ray rightward from -1. The overlap occurs between -1 and 2.

Because the first inequality is strict, 2 is excluded (slanted start); because the second is non‑strict, -1 is included (straight start). Thus, the solution in interval notation is [−1,2)[-1, 2).

Solving and Graphing Inequalities Made Simple

With an online inequality number line plotter, the entire process becomes effortless. You input the inequalities, and the graph appears instantly — ideal for students checking homework or teachers preparing examples. The Graph Linear Inequalities and Compound Inequality Calculator features handle up to three inequalities simultaneously, making it a versatile tool for algebra and precalculus. Whether you need to solve and graph inequalities for a single condition or a system, this tool delivers a clear, accurate number line graph in seconds.

FAQ

1. How do I graph a single inequality like x ≤ 4 on a number line?

First solve the inequality to isolate x (here it's already done). Mark point 4 on the number line. Since the inequality is ≤, draw a straight ray going left from 4. The straight line indicates the endpoint is included.

2. What does a slanted line on the number line mean?

A slanted line (as used by this calculator) indicates a strict inequality (< or >). The starting point is not part of the solution. If you see an open circle, that also means strict, but this tool uses the slanted style.

3. How can I solve and graph a compound inequality with two conditions?

Enter each inequality into the calculator. For example, x < 2 and x ≥ -1. The tool will draw each ray on the same number line. The overlapping region (between -1 and 2, including -1 but not 2) is the solution. The calculator also shows the interval notation.

4. What is the difference between graphing a system of inequalities and a single inequality?

A single inequality yields one ray on the number line. A system (compound inequality) requires each inequality to be true simultaneously, so you graph multiple rays and look for the overlap. The calculator can handle up to three inequalities in one graph.

How to Use

  1. Select the number of inequalities you want to graph (1, 2, or 3).
  2. For each inequality, choose the relation (<, ≤, >, ≥) and enter the comparison value.
  3. View the color-coded number line graph and the solution set in interval notation.