Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Algebra 1

2.9.2 Graphing Inequalities

Algebra 12.9.2 Graphing Inequalities

Search for key terms or text.

Activity

Work with a partner to match each of the following inequalities to its correct number line.

1.
A number line is shown. There is a closed circle on 2. The number line to the right of 2 is highlighted.

Multiple Choice:

x<2

x≥2

x>2

x≤2

2.
A number line is shown. There is an open circle on 2. The number line to the left of 2 is highlighted.

Multiple Choice:

x<2

x≥2

x>2

x≤2

3.
A number line is shown. There is an open circle on 2. The number line to the right of 2 is highlighted.

Multiple Choice:

x<2

x≥2

x>2

x≤2

4.
A number line is shown. There is a closed circle on 2. The number line to the left of 2 is highlighted.

Multiple Choice:

x<2

x≥2

x>2

x≤2

Why Should I Care?

A colorful illustration of a fruit bowl, with slices of berries, kiwis, and citrus fruits bursting out, surrounded by dynamic white lines. Vibrant and joyful.

Nafy Flatley has worked to achieve her goal of bringing the food of Senegal to the world through her snack mix company, TERANGA.

Coming up with snack mixes is not as simple as just combining ingredients. They have a lot of things to consider: What ingredients will they use? How much does each ingredient cost? What are the nutrititional values of each ingredient? How much does each ingredient weigh?

If they can translate each question in a linear inequality, then they can use math to find mixes that meet their goals.

Self Check

Which number line is represented by the inequality x 4 ?
  1. A number line is shown. There is an open circle on -4. The number line to the left of -4 is highlighted.
  2. A number line is shown. There is a closed circle on -4. The number line to the left of -4 is highlighted.
  3. A number line is shown. There is a closed circle on -4. The number line to the right of -4 is highlighted.
  4. A number line is shown. There is an open circle on -4. The number line to the right of -4 is highlighted.

Additional Resources

Graphing Linear Inequalities

What number would make the inequality x>3x>3 true? Are you thinking, “xx could be 4”? That’s correct, but xx could be 6, too, or 37, or even 3.001. Any number greater than 3 is a solution to the inequality x>3x>3. We show all the solutions to the inequality x>3x>3 on the number line by shading in all the numbers to the right of 3, to show that all numbers greater than 3 are solutions. Because the number 3 itself is not a solution, we put an open circle at 3.

We can also represent inequalities using interval notation. There is no upper end to the solution to this inequality. In interval notation, we express x>3x>3 as (3,)(3,). The symbol ∞ is read as “infinity.” It is not an actual number.

The figure below shows both the number line and the interval notation.

                                                                        x>3x>3

A number line is shown. There is an open circle on 3. The number line to the right of 3 is highlighted.

(3,)(3,)

The inequality x1x1 means all numbers less than or equal to 1. Here we need to show that 1 is a solution, too. We do that by putting a closed circle at x=1x=1. We then shade in all the numbers to the left of 1, to show that all numbers less than 1 are solutions. See the figure below.

                                                   x1x1

A number line is shown. There is a closed circle on 1. The number line to the left of 1 is highlighted.

(,1](,1]

There is no lower end to those numbers. We write x1x1 in interval notation as (,1](,1]. The symbol − is read as “negative infinity.” The figure below shows both the number line and interval notation.

Inequalities, Number Lines, and Interval Notation

Four different number lines are shown.The > symbol corresponds to an open circle and the number line to the right being highlighted. Its set notation is open parentheses a comma positive infinity close parentheses. The < symbol corresponds to a closed circle and the number line to the right being highlighted. Its set notation is closed brackets a comma positive infinity close parentheses. The ≥ symbol corresponds to a closed circle and the number line to the right being highlighted. Its set notation is open parentheses negative infinity comma a close parentheses. The ≤ symbol corresponds to a closed circle and the number line to the left being highlighted. Its set notation is open parentheses negative infinity comma a close brackets.

Try it

Try It: Graphing Linear Inequalities

For questions 1 - 2 use the following inequality:

x>3x>3
1.

Write the inequality on a number line.

2.

Write the inequality in interval notation.

For questions 3 and 4 use the following inequality:

x5x5
3.

Write the inequality in interval notation.

4.

Write the inequality on a number line.

Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

Citation information

© May 21, 2025 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.