Graphing Inequalities On A Number Line

Download as PDF

Ever wondered how to show 'all numbers greater than 5' on a graph? Unlike equations with a single answer, inequalities represent a whole range of solutions. This guide will teach you how to visually represent these solutions on a number line, a fundamental skill for mastering algebra.

Graphing Inequalities On A Number Line — an original Algebra911 reference diagram defining graphing inequalities on a number line and a worked example.
Graphing Inequalities on a Number Line: A Complete Guide

What Is an Inequality and How Does It Relate to a Number Line?

Graphing an inequality on a number line is a way to create a visual representation of all the possible solutions to the inequality. In algebra, you often start by solving equations. An equation like x=5 has exactly one solution: 5. It's a single point on the number line.

An inequality, however, is different. It uses symbols like < (less than) or (greater than or equal to) to show a relationship between values that are not equal. For example, the inequality x>5 doesn't have just one solution. Its solutions include 5.01, 6, 17, and 1,000,000 — in fact, there are infinitely many solutions! Since we can't write down an infinite list of numbers, we use a number line to graph the entire set of solutions at once. The graph shows the range of all numbers that make the inequality true.

What Are the Key Symbols for Inequalities?

Before you can graph, you need to know the language of inequalities. There are four primary symbols, each with a specific meaning. Understanding them is the first step to creating a correct graph.

SymbolNameMeaningExample
<Less ThanThe value on the left is smaller than the value on the right.x<10
>Greater ThanThe value on the left is larger than the value on the right.y>2
Less Than or Equal ToThe value on the left is smaller than or equal to the value on the right.a20
Greater Than or Equal ToThe value on the left is larger than or equal to the value on the right.b0

The key difference to watch for is the little line under the < and > symbols. That line signifies "or equal to" and completely changes how we draw the graph at the boundary point.

Open vs. Closed Circles: When Do You Use Each One?

When graphing an inequality, you start by marking the main number from the inequality (the "boundary point") on the number line. You mark this point with either an open circle () or a closed circle (). The choice depends entirely on the inequality symbol.

  • Open Circle (): Used for "Less Than" (<) and "Greater Than" (>). An open circle means the boundary point is not included in the solution set. For x>5, the number 5 itself is not a solution, so we use an open circle to show we get infinitely close to it, but don't include it.
  • Closed Circle (): Used for "Less Than or Equal To" () and "Greater Than or Equal To" (). A closed, or filled-in, circle means the boundary point is included in the solution set. For x5, the number 5 is a valid solution, so we fill in the circle to include it.

Think of it this way: the "or equal to" line in and is what 'fills in' the circle.

How Do You Graph a Simple Inequality? A Step-by-Step Guide

Graphing a basic inequality follows a simple four-step process. Once you learn these steps, you can graph any inequality you encounter.

  1. Isolate the variable. Make sure the inequality is solved for the variable (e.g., x>5, not x+2>7). If it's not, use inverse operations to solve it first. Be careful: if you multiply or divide by a negative number, you must flip the inequality symbol!
  2. Find the boundary point. Locate the number from the inequality on a number line. Draw a simple number line with a few numbers on either side for context.
  3. Choose your circle. Look at the inequality symbol. If it's < or >, draw an open circle on the boundary point. If it's or , draw a closed circle.
  4. Shade the solution set. Read the inequality to determine which direction to shade. If the variable is on the left (e.g., x>...), the symbol points in the direction you should shade. For x>5, you shade to the right (towards the larger numbers). For x<5, you shade to the left (towards the smaller numbers). Draw a thick line or arrow in that direction.
Example 1

Graph the inequality x>1.

Step 1: The variable x is already isolated.

Step 2: The boundary point is 1. We'll draw a number line that includes 1.

Step 3: The symbol is > (greater than). This does not include "or equal to," so we use an open circle at 1.

Step 4: The inequality x>1 reads "x is greater than -1." The numbers greater than 1 are to the right on the number line (like 0,1,2,). So, we shade to the right.

The final graph shows an open circle on 1 with a shaded arrow pointing to the right.

More Examples: Graphing Different Types of Inequalities

Let's walk through a couple more examples to solidify the concepts, including one where the variable isn't on the left side initially.

Example 2

Graph the inequality m4.

Step 1: The variable m is isolated.

Step 2: The boundary point is 4.

Step 3: The symbol is (less than or equal to). The "or equal to" part tells us to use a closed circle at 4, because 4 is a valid solution.

Step 4: The inequality m4 means we want all numbers that are less than or equal to 4. These numbers (like 3,2,0,1) are to the left on the number line. We shade to the left.

The graph is a closed circle on 4 with an arrow pointing to the left.

Example 3

Graph the inequality 2<y.

Step 1: The variable y is isolated, but it's on the right side. This can be confusing. A great strategy is to rewrite the inequality with the variable on the left. Reading 2<y from right to left says "y is greater than 2," which we can write as y>2. These are the same statement!

Step 2: The boundary point is 2.

Step 3: The symbol is > (greater than). We use an open circle at 2.

Step 4: Using our rewritten inequality, y>2, it's clear we need to shade to the right, towards the larger numbers.

The graph is an open circle on 2 with an arrow pointing to the right.

How Do You Graph Compound 'And' and 'Or' Inequalities?

Compound inequalities combine two or more inequalities using the words "and" or "or."

'And' Inequalities

An "and" inequality shows a value that is between two other values. For example, 3x<2 is shorthand for x3 AND x<2. A solution must satisfy both conditions at the same time. The graph is a line segment connecting the two boundary points.

Example 4

Graph the compound inequality 3x<2.

1. Identify boundary points: The points are 3 and 2.

2. Choose circles: For 3, the symbol is , so we use a closed circle. For 2, the symbol is <, so we use an open circle.

3. Shade: Since x is between these two values, we shade the line segment connecting the two circles.

'Or' Inequalities

An "or" inequality is true if the variable satisfies either one of the conditions. For example, a<1 or a3. The graph of an "or" inequality typically consists of two rays pointing in opposite directions.

Example 5

Graph the compound inequality a<1 or a3.

1. Graph the first part: For a<1, we draw an open circle at 1 and shade to the left.

2. Graph the second part: For a3, we draw a closed circle at 3 and shade to the right.

3. Combine them: The final graph shows both of these rays on the same number line.

What's the Most Important Rule When Solving Inequalities?

While graphing is straightforward, you often have to solve an inequality first. There is one golden rule you must never forget, as it's the most common source of errors.

When you multiply or divide both sides of an inequality by a negative number, you MUST flip the direction of the inequality symbol.

Why? Consider the true statement 4<10. If we divide both sides by 2, we get 2 on the left and 5 on the right. Is 2<5? No! 2 is greater than 5. To keep the statement true, we must flip the symbol: 2>5.

Example: Solve and graph 3x+410.

  1. Subtract 4 from both sides: 3x6.
  2. Divide both sides by 3. Because we are dividing by a negative number, we must flip the to .
  3. The solution is x2.

To graph this, you would place a closed circle on 2 and shade to the right.

What Are the Most Common Mistakes to Avoid?

  • Forgetting to flip the sign: As mentioned above, this is the #1 mistake. Always double-check your work when multiplying or dividing by a negative.
  • Mixing up open and closed circles: Remember, the line in and means "or equal to," which fills in the circle. No line, no fill.
  • Shading the wrong direction: To avoid this, always rewrite the inequality with the variable on the left (e.g., change 7<x to x>7). The inequality will then point in the direction you need to shade.
  • Confusing 'And' vs. 'Or' Graphs: 'And' inequalities are a single connected segment (showing an intersection). 'Or' inequalities are two separate rays pointing outwards (showing a union).

Quick Reference: Your Cheat Sheet for Graphing Inequalities

Use this table as a quick review for the basic rules of graphing inequalities, assuming the variable is on the left side.

SymbolWordsCircle TypeShading Direction
>Greater thanOpen ()Right ()
<Less thanOpen ()Left ()
Greater than or equal toClosed ()Right ()
Less than or equal toClosed ()Left ()

Frequently Asked Questions

What's the main difference between graphing an equation and an inequality on a number line?

Graphing an equation like x=3 results in a single, solid point on the number line. Graphing an inequality like x>3 results in a shaded region, called a ray or a segment, which represents an infinite number of solutions.

How do I know whether to use an open or closed circle?

Use a closed circle () for symbols with "or equal to": and . This shows the endpoint is included. Use an open circle () for strict inequalities: < and >, showing the endpoint is not included.

Does it matter if the variable is on the left or right side of the inequality?

While 5>x is technically correct, it's much easier to graph if you rewrite it as x<5. Putting the variable on the left makes the inequality symbol visually point in the direction you need to shade, reducing errors.

What happens if I multiply or divide an inequality by a negative number?

You must flip the direction of the inequality symbol. For example, < becomes >, and becomes . Forgetting to do this is one of the most common mistakes in algebra.

How do you graph a compound inequality with 'and'?

An 'and' inequality, like 1<x4, is graphed as a single shaded segment between the two numbers. You place the correct circle type on each endpoint (open at 1, closed at 4) and shade the area connecting them.

How do you graph a compound inequality with 'or'?

An 'or' inequality, like x<0 or x>2, is graphed as two separate rays pointing in opposite directions. You graph each inequality individually on the same number line, resulting in two shaded regions that move away from the center.

Why is graphing inequalities on a number line useful?

It provides a clear, visual way to understand the infinite set of solutions that an inequality represents. This makes abstract concepts more concrete and helps in understanding solutions to more complex problems in algebra and beyond.

What does the shaded arrow on the graph mean?

The shaded arrow at the end of a line indicates that the solutions continue forever in that direction. It's a way to visually represent the infinite nature of the solution set for most simple inequalities.