This is “Introduction to Inequalities and Interval Notation”, section 2.7 from the book Beginning Algebra (v. 1.0). For details on it (including licensing), click here.

For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there. To download a .zip file containing this book to use offline, simply click here.

Has this book helped you? Consider passing it on:
Creative Commons supports free culture from music to education. Their licenses helped make this book available to you.
DonorsChoose.org helps people like you help teachers fund their classroom projects, from art supplies to books to calculators.

2.7 Introduction to Inequalities and Interval Notation

Learning Objectives

  1. Graph the solutions of a single inequality on a number line and express the solutions using interval notation.
  2. Graph the solutions of a compound inequality on a number line, and express the solutions using interval notation.

Unbounded Intervals

An algebraic inequalityExpressions related with the symbols , <, , and >., such as x2, is read “x is greater than or equal to 2.” This inequality has infinitely many solutions for x. Some of the solutions are 2, 3, 3.5, 5, 20, and 20.001. Since it is impossible to list all of the solutions, a system is needed that allows a clear communication of this infinite set. Two common ways of expressing solutions to an inequality are by graphing them on a number lineSolutions to an algebraic inequality expressed by shading the solution on a number line. and using interval notationA textual system of expressing solutions to an algebraic inequality..

To express the solution graphically, draw a number line and shade in all the values that are solutions to the inequality. Interval notation is textual and uses specific notation as follows:

Determine the interval notation after graphing the solution set on a number line. The numbers in interval notation should be written in the same order as they appear on the number line, with smaller numbers in the set appearing first. In this example, there is an inclusive inequalityAn inequality that includes the boundary point indicated by the “or equal” part of the symbols and and a closed dot on the number line., which means that the lower-bound 2 is included in the solution. Denote this with a closed dot on the number line and a square bracket in interval notation. The symbol (∞) is read as infinityThe symbol (∞) indicates the interval is unbounded to the right. and indicates that the set is unbounded to the right on a number line. Interval notation requires a parenthesis to enclose infinity. The square bracket indicates the boundary is included in the solution. The parentheses indicate the boundary is not included. Infinity is an upper bound to the real numbers, but is not itself a real number: it cannot be included in the solution set.

Now compare the interval notation in the previous example to that of the strict, or noninclusive, inequality that follows:

Strict inequalitiesExpress ordering relationships using the symbol < for “less than” and > for “greater than.” imply that solutions may get very close to the boundary point, in this case 2, but not actually include it. Denote this idea with an open dot on the number line and a round parenthesis in interval notation.

 

Example 1: Graph and give the interval notation equivalent: x<3.

Solution: Use an open dot at 3 and shade all real numbers strictly less than 3. Use negative infinityThe symbol (−∞) indicates the interval is unbounded to the left. (−∞) to indicate that the solution set is unbounded to the left on a number line.

Answer: Interval notation: (,3)

 

Example 2: Graph and give the interval notation equivalent: x5.

Solution: Use a closed dot and shade all numbers less than and including 5.

Answer: Interval notation: (,5]

 

It is important to see that 5x is the same as x5. Both require values of x to be smaller than or equal to 5. To avoid confusion, it is good practice to rewrite all inequalities with the variable on the left. Also, when using text, use “inf” as a shortened form of infinity. For example, (,5] can be expressed textually as (−inf, 5].

A compound inequalityTwo inequalities in one statement joined by the word “and” or by the word “or.” is actually two or more inequalities in one statement joined by the word “and” or by the word “or.” Compound inequalities with the logical “or” require that either condition must be satisfied. Therefore, the solution set of this type of compound inequality consists of all the elements of the solution sets of each inequality. When we join these individual solution sets it is called the unionThe set formed by joining the individual solution sets indicated by the logical use of the word “or” and denoted with the symbol ., denoted . For example, the solutions to the compound inequality x<3 or x6 can be graphed as follows:

Sometimes we encounter compound inequalities where the separate solution sets overlap. In the case where the compound inequality contains the word “or,” we combine all the elements of both sets to create one set containing all the elements of each.

 

Example 3: Graph and give the interval notation equivalent: x1 or x<3.

Solution: Combine all solutions of both inequalities. The solutions to each inequality are sketched above the number line as a means to determine the union, which is graphed on the number line below.

Answer: Interval notation: (,3)

 

Any real number less than 3 in the shaded region on the number line will satisfy at least one of the two given inequalities.

 

Example 4: Graph and give the interval notation equivalent: x<3 or x1.

Solution: Both solution sets are graphed above the union, which is graphed below.

Answer: Interval notation: R = (−∞, ∞)

 

When you combine both solution sets and form the union, you can see that all real numbers satisfy the original compound inequality.

In summary,

and

Bounded Intervals

An inequality such as

reads “−1 one is less than or equal to x and x is less than three.” This is a compound inequality because it can be decomposed as follows:

The logical “and” requires that both conditions must be true. Both inequalities are satisfied by all the elements in the intersectionThe set formed by the shared values of the individual solution sets that is indicated by the logical use of the word “and,” denoted with the symbol ., denoted , of the solution sets of each.

 

Example 5: Graph and give the interval notation equivalent: x<3 and x1.

Solution: Determine the intersection, or overlap, of the two solution sets. The solutions to each inequality are sketched above the number line as a means to determine the intersection, which is graphed on the number line below.

Here x=3 is not a solution because it solves only one of the inequalities.

Answer: Interval notation: [1,3)

 

Alternatively, we may interpret 1x<3 as all possible values for x between or bounded by −1 and 3 on a number line. For example, one such solution is x=1. Notice that 1 is between −1 and 3 on a number line, or that −1 < 1 < 3. Similarly, we can see that other possible solutions are −1, −0.99, 0, 0.0056, 1.8, and 2.99. Since there are infinitely many real numbers between −1 and 3, we must express the solution graphically and/or with interval notation, in this case [1,3).

 

Example 6: Graph and give the interval notation equivalent: 32<x<2.

Solution: Shade all real numbers bounded by, or strictly between, 32=112 and 2.

Answer: Interval notation: (32,2)

 

Example 7: Graph and give the interval notation equivalent: 5<x15.

Solution: Shade all real numbers between −5 and 15, and indicate that the upper bound, 15, is included in the solution set by using a closed dot.

Answer: Interval notation: (5,15]

 

In the previous two examples, we did not decompose the inequalities; instead we chose to think of all real numbers between the two given bounds.

In summary,

Set-Builder Notation

In this text, we use interval notation. However, other resources that you are likely to encounter use an alternate method for describing sets called set-builder notationA system for describing sets using familiar mathematical notation.. We have used set notation to list the elements such as the integers

The braces group the elements of the set and the ellipsis marks indicate that the integers continue forever. In this section, we wish to describe intervals of real numbers—for example, the real numbers greater than or equal to 2.

Since the set is too large to list, set-builder notation allows us to describe it using familiar mathematical notation. An example of set-builder notation follows:

Here xR describes the type of number, where the symbol (∈) is read “element of.” This implies that the variable x represents a real number. The vertical bar (|) is read “such that.” Finally, the statement x2 is the condition that describes the set using mathematical notation. At this point in our study of algebra, it is assumed that all variables represent real numbers. For this reason, you can omit the “∈R” and write {x|x2}, which is read “the set of all real numbers x such that x is greater than or equal to 2.”

To describe compound inequalities such as x<3 or x6, write {x|x<3 or x6}, which is read “the set of all real numbers x such that x is less than 3 or x is greater than or equal to 6.”

Write bounded intervals, such as 1x<3, as {x|1x<3}, which is read “the set of all real numbers x such that x is greater than or equal to −1 and less than 3.”

Key Takeaways

  • Inequalities usually have infinitely many solutions, so rather than presenting an impossibly large list, we present such solutions sets either graphically on a number line or textually using interval notation.
  • Inclusive inequalities with the “or equal to” component are indicated with a closed dot on the number line and with a square bracket using interval notation.
  • Strict inequalities without the “or equal to” component are indicated with an open dot on the number line and a parenthesis using interval notation.
  • Compound inequalities that make use of the logical “or” are solved by solutions of either inequality. The solution set is the union of each individual solution set.
  • Compound inequalities that make use of the logical “and” require that all inequalities are solved by a single solution. The solution set is the intersection of each individual solution set.
  • Compound inequalities of the form n<A<m can be decomposed into two inequalities using the logical “and.” However, it is just as valid to consider the argument A to be bounded between the values n and m.

Topic Exercises

Part A: Simple Inequalities

Graph all solutions on a number line and provide the corresponding interval notation.

1. x10

2. x>5

3. x>0

4. x0

5. x3

6. x1

7. 4<x

8. 1x

9. x<12

10. x32

11. x134

12. x<34

Part B: Compound Inequalities

Graph all solutions on a number line and give the corresponding interval notation.

13. 2<x<5

14. 5x1

15. 5<x20

16. 0x<15

17. 10<x40

18. 40x<10

19. 0<x 50

20. 30<x<0

21. 58<x<18

22. 34x12

23. 1x<112

24. 112<x<12

25. x<3   or   x>3

26. x<2   or   x4

27. x0   or   x>10

28. x20   or  x10

29. x<23   or   x>13

30. x43   or   x>13

31. x>5  or  x<5

32. x<12  or  x>6

33. x<3  or  x3

34. x0  or  x>0

35. x<7  or  x<2

36. x3  or  x>0

37. x5  or  x>0

38. x<15  or  x10

39. x>2   and   x<3

40. x0   and  x<5

41. x5   and  x1

42. x<4   and   x>2

43. x3  and  x>3

44. x5   and   x5

45. x0andx0

46. x<2andx1

47. x>0andx1

48. x<5andx<2

Part C: Interval Notation

Determine the inequality given the answers expressed in interval notation.

49. (,7]

50. (4,)

51. [12,)

52. (,3)

53. (8,10]

54. (20,0]

55. (14,2)

56. [23,43]

57. (34,12)

58. (,8)

59. (8,)

60. (,4)[8,)

61. (,2][0,)

62. (,5](5,)

63. (,0)(2,)

64. (,15)(5,)

Write an equivalent inequality.

65. All real numbers less than 27.

66. All real numbers less than or equal to zero.

67. All real numbers greater than 5.

68. All real numbers greater than or equal to −8.

69. All real numbers strictly between −6 and 6.

70. All real numbers strictly between −80 and 0.

Part D: Discussion Board Topics

71. Compare interval notation with set-builder notation. Share an example of a set described using both systems.

72. Explain why we do not use a bracket in interval notation when infinity is an endpoint.

73. Research and discuss the different compound inequalities, particularly unions and intersections.

74. Research and discuss the history of infinity.

75. Research and discuss the contributions of Georg Cantor.

76. What is a Venn diagram? Explain and post an example.

Answers

1: (,10]

3: (0,)

5: (,3]

7: (4,)

9: (,12)

11: [134,)

13: (2,5)

15: (5,20]

17: (10,40]

19: (0,50]

21: (58,18)

23: [1,112)

25: (,3)(3,)

27: (,0](10,)

29: (,23)(13,)

31: R

33: R

35: (,2)

37: (0,)

39: (2,3)

41: [5,1]

43:

45: {0}

47: (0,)

49: x7

51: x12

53: 8<x10

55: 14<x<2

57: 34<x<12

59: x>8

61: x2  or  x0

63: x<0  or  x>2

65: x<27

67: x>5

69: 6<x<6