Answers to inequal­i­ties often come in two pieces, or as the over­lap of two con­di­tions. "x<1x < 1 or x>3x > 3" is two sep­a­rate stretches of the line; "x>1x > 1 and x<3x < 3" is the stretch where both con­di­tions hold. Inter­vals are sets, so they can be com­bined with union and inter­sec­tion, exactly as in the chap­ter on sets. This les­son shows how the words "or" and "and" turn into union and inter­sec­tion, and what hap­pens in the cases that look strange at first.

"Or" means union, "and" means inter­sec­tion

A num­ber sat­is­fies "con­di­tion 1 or con­di­tion 2" if it sat­is­fies at least one of them. So the solu­tion set is the union of the two solu­tion sets.

A num­ber sat­is­fies "con­di­tion 1 and con­di­tion 2" if it sat­is­fies both. So the solu­tion set is the inter­sec­tion: here we con­sider only the val­ues com­mon to both sets.

The safest way to com­bine inter­vals is to draw both on one num­ber line, one above the other, and read off the answer.

Four cases to under­stand

Take the two con­di­tions x<1x < 1, x>3x > 3 and the two con­di­tions x<3x < 3, x>1x > 1.

Case 1: x<1x < 1 or x>3x > 3. These are two sep­a­rate stretches, one to the left of 1 and one to the right of 3. Noth­ing joins them, so the answer is writ­ten as a union:

x∈(−∞,1)∪(3,∞)x \in (-\infty, 1) \cup (3, \infty)

The num­bers from 1 to 3, both included, are left out. So this set is also R−[1,3]R - [1, 3].

Case 2: x<3x < 3 or x>1x > 1. Every real num­ber sat­is­fies at least one of these: a num­ber less than 3 sat­is­fies the first, and any num­ber 3 or more is cer­tainly greater than 1. So the answer is the whole line:

x∈(−∞,3)∪(1,∞)=(−∞,∞)=Rx \in (-\infty, 3) \cup (1, \infty) = (-\infty, \infty) = R

Case 3: x<3x < 3 and x>1x > 1. We want the num­bers com­mon to both. These are the num­bers strictly between 1 and 3:

x∈(−∞,3)∩(1,∞)=(1,3)x \in (-\infty, 3) \cap (1, \infty) = (1, 3)

Case 4: x<1x < 1 and x>3x > 3. No num­ber is both less than 1 and greater than 3. So xx does not take any real value, and the solu­tion set is the empty set:

x∈(−∞,1)∩(3,∞)=ϕx \in (-\infty, 1) \cap (3, \infty) = \phi

Notice how the same two num­bers, 1 and 3, give four com­pletely dif­fer­ent answers depend­ing on the direc­tion of the inequal­i­ties and the join­ing word.

More exam­ples

Exam­ple 1

Find [−2,4)∪(1,6][-2, 4) \cup (1, 6] and [−2,4)∩(1,6][-2, 4) \cap (1, 6].

The first inter­val runs from −2-2 (included) to 4 (excluded); the sec­ond from 1 (excluded) to 6 (included). They over­lap between 1 and 4.

Union: every­thing cov­ered by either, from −2-2 to 6. The left end −2-2 is included (by the first) and the right end 6 is included (by the sec­ond): [−2,6][-2, 6].

Inter­sec­tion: only the over­lap, from 1 to 4. The point 1 is excluded (it is not in the sec­ond inter­val) and 4 is excluded (it is not in the first): (1,4)(1, 4).

Exam­ple 2

Find (−∞,2]∩[2,∞)(-\infty, 2] \cap [2, \infty) and (−∞,2)∪(2,∞)(-\infty, 2) \cup (2, \infty).

The only num­ber in both (−∞,2](-\infty, 2] and [2,∞)[2, \infty) is 2 itself, so the inter­sec­tion is the sin­gle-ele­ment set {2}\{2\}.

The union (−∞,2)∪(2,∞)(-\infty, 2) \cup (2, \infty) is every real num­ber except 2. It is writ­ten R−{2}R - \{2\}.

Exam­ple 3

Solve: x≥−1x \ge -1 and x<5x < 5 and x≠3x \neq 3.

The first two con­di­tions give [−1,5)[-1, 5). Remov­ing the point 3 gives [−1,3)∪(3,5)[-1, 3) \cup (3, 5), which can also be writ­ten [−1,5)−{3}[-1, 5) - \{3\}.

Exam­ple 4

Find the com­ple­ment in RR of each inter­val: (a) [2,7)[2, 7) (b) (−∞,0](-\infty, 0].

(a) The num­bers not in [2,7)[2, 7) are those less than 2 and those 7 or more: (−∞,2)∪[7,∞)(-\infty, 2) \cup [7, \infty). Notice the brack­ets swap: 2 was included in the inter­val, so it is excluded from the com­ple­ment, and 7 was excluded, so it is included.

(b) The com­ple­ment of (−∞,0](-\infty, 0] is (0,∞)(0, \infty).

Exam­ple 5

Find (−3,5]−[0,2)(-3, 5] - [0, 2).

Remove from (−3,5](-3, 5] every num­ber from 0 (included) to 2 (excluded). What remains is (−3,0)(-3, 0) together with [2,5][2, 5]:

(−3,5]−[0,2)=(−3,0)∪[2,5](-3, 5] - [0, 2) = (-3, 0) \cup [2, 5]

Exam­ple 6

Find all real xx sat­is­fy­ing both 2<x≤82 < x \le 8 and x>5x > 5, then all xx sat­is­fy­ing at least one of them.

Both: the com­mon part of (2,8](2, 8] and (5,∞)(5, \infty) is (5,8](5, 8].

At least one: (2,8]∪(5,∞)=(2,∞)(2, 8] \cup (5, \infty) = (2, \infty).

Prac­tice

  1. Find (1,5)∪[3,9)(1, 5) \cup [3, 9) and (1,5)∩[3,9)(1, 5) \cap [3, 9).
  2. Find [−4,0]∪(0,2][-4, 0] \cup (0, 2] and [−4,0]∩(0,2][-4, 0] \cap (0, 2].
  3. Write the solu­tion set of "x<−2x < -2 or x>4x > 4" in inter­val nota­tion.
  4. Write the solu­tion set of "x>−2x > -2 or x<4x < 4".
  5. Write the solu­tion set of "x>−2x > -2 and x<4x < 4".
  6. Write the solu­tion set of "x<−2x < -2 and x>4x > 4".
  7. Find the com­ple­ment in RR of (−1,3](-1, 3].
  8. Find [0,10]−(2,5)[0, 10] - (2, 5).
  9. Find (−∞,4]∩[4,9)(-\infty, 4] \cap [4, 9).
  10. Find all xx such that −3≤x<6-3 \le x < 6 and x≥1x \ge 1 and x≠4x \neq 4.

Answers

Show answers
  1. Union (1,9)(1, 9); inter­sec­tion [3,5)[3, 5).
  2. Union [−4,2][-4, 2]; inter­sec­tion ϕ\phi (0 is in the first but not the sec­ond).
  3. (−∞,−2)∪(4,∞)(-\infty, -2) \cup (4, \infty)
  4. RR
  5. (−2,4)(-2, 4)
  6. ϕ\phi
  7. (−∞,−1]∪(3,∞)(-\infty, -1] \cup (3, \infty)
  8. [0,2]∪[5,10][0, 2] \cup [5, 10]
  9. {4}\{4\}
  10. [1,4)∪(4,6)[1, 4) \cup (4, 6)