How to Graph X Not Equal To- Inequality Solutions

What "X Not Equal To" Actually Means

When you see x ≠ 3, it means x can be any number except 3. That's it. Nothing complicated.

This is called a strict inequality because it excludes one specific value. Every other number on the real number line is fair game.

The Notation Breakdown

The symbol is your "not equal" operator. It shows up constantly in algebra, statistics, and computer science. Learn it. Know it cold.

How to Graph X ≠ a on a Number Line

Graphing this takes four steps:

  1. Draw a horizontal number line
  2. Locate the excluded value
  3. Place an open circle on that point (hollow, not filled)
  4. Shade the entire line in both directions

The open circle tells everyone: "This exact point is banned." The shading says: "Everything else is allowed."

Why an Open Circle?

An open circle means the point is not included. A closed/filled circle means it IS included. This distinction matters—mix them up and you'll lose points on every test.

Working Examples

Example 1: Graph x ≠ 2

Draw your number line. Mark 2. Put an open circle on 2. Shade everything else from negative infinity to positive infinity.

Your graph looks like a line with a hole punched out at 2. Every other number works.

Example 2: Graph x ≠ -4

Same process. Draw the line, mark -4, open circle, shade both directions. The hole moves to negative four.

Example 3: Solve and graph 2x + 1 ≠ 7

First, solve it like a regular equation:

2x + 1 ≠ 7
2x ≠ 6
x ≠ 3

Now graph x ≠ 3. Open circle at 3, shade everything else.

Interval Notation for Not Equal To

When x ≠ 3, the interval notation is: (-∞, 3) ∪ (3, ∞)

The U symbol means "union"—you're joining two separate intervals that both exclude 3. Parentheses mean the endpoints are not included.

Compare this to x < 3, which would be (-∞, 3)—just one interval with no union needed.

Quick Reference Table

Inequality Interval Notation Graph Description
x ≠ 3 (-∞, 3) ∪ (3, ∞) Full line with open circle at 3
x ≠ 0 (-∞, 0) ∪ (0, ∞) Full line with open circle at 0
x ≠ -2 (-∞, -2) ∪ (-2, ∞) Full line with open circle at -2
x ≠ 1/2 (-∞, 0.5) ∪ (0.5, ∞) Full line with open circle at 0.5

Common Mistakes

Students mess this up in predictable ways:

Getting Started: Your First Practice Problems

Try these. Solve each inequality, then graph it.

  1. x ≠ 5 — Just graph the open circle at 5, shade both directions.
  2. x - 4 ≠ 0 — Solve first: x ≠ 4. Same process.
  3. 3x ≠ 12 — Divide both sides: x ≠ 4. Graph x ≠ 4.
  4. x² ≠ 9 — This one's trickier. x² = 9 means x = ±3. So x ≠ 3 and x ≠ -3. You'll need two open circles.

For problem 4, your graph has two holes: one at -3, one at 3. Your interval notation is (-∞, -3) ∪ (-3, 3) ∪ (3, ∞).

Why This Matters

Not-equal inequalities show up everywhere in real math. Domain restrictions in functions, solving rational equations, programming conditions—understanding x ≠ a now makes those topics easier later.

Master the open circle. Nail the interval notation. Move on.