Skip to content

Mathematics · Ch 14 — Sets and Relations

Intervals and Solving Inequalities

14.1.6

Intervals and Solving Inequalities

An interval is a special kind of subset of the real numbers R, consisting of all real numbers lying between two fixed bounds. Six standard types:

  1. OPEN INTERVAL: for a,b∈Ra,b\in R with a<ba<b, the set {x/x∈R,a<x<b}\{x/x\in R, a<x<b\} is the open interval (a,b)(a,b) — all numbers strictly between a and b belong to it, but a and b themselves do NOT (Fig. 5.8).
  2. CLOSED INTERVAL: the set {x/x∈R,a≤x≤b}\{x/x\in R, a\le x\le b\} is the closed interval [a,b][a,b] — this time a and b themselves ARE included, along with everything between them (Fig. 5.9).
  3. SEMI-CLOSED INTERVAL: [a,b)={x/x∈R,a≤x<b}[a,b) = \{x/x\in R, a\le x<b\} — a is included, but b is not (Fig. 5.10).
  4. SEMI-OPEN INTERVAL: (a,b]={x/x∈R,a<x≤b}(a,b] = \{x/x\in R, a<x\le b\} — a is excluded, but b is included (Fig. 5.11).
  5. The set of all reals greater than a is the ray (a,∞)={x/x∈R,x>a}(a,\infty)=\{x/x\in R, x>a\} (Fig. 5.12); the set of all reals greater than or equal to a is [a,∞)={x/x∈R,x≥a}[a,\infty)=\{x/x\in R, x\ge a\} (Fig. 5.13).
  6. Similarly, the set of all reals less than b is (−∞,b)={x/x∈R,x<b}(-\infty,b)=\{x/x\in R, x<b\} (Fig. 5.14); less than or equal to b is (−∞,b]={x/x∈R,x≤b}(-\infty,b]=\{x/x\in R, x\le b\} (Fig. 5.15).
  7. The entire set of real numbers is R=(−∞,∞)={x/x∈R,−∞<x<∞}R=(-\infty,\infty)=\{x/x\in R, -\infty<x<\infty\} (Fig. 5.16). Note ∞\infty and −∞-\infty are never themselves included, so the bracket beside them is always round.

RULES OF INEQUALITY used to solve inequalities: (1) if 0<a<b0<a<b and k>0k>0, then a±k<b±ka\pm k<b\pm k, ka<kbka<kb, and ak<bk\frac{a}{k}<\frac{b}{k} — adding, subtracting, or multiplying/dividing by a POSITIVE number preserves the inequality direction. (2) if 0<a<b0<a<b and k<0k<0, then ka>kbka>kb and ak>bk\frac{a}{k}>\frac{b}{k} — multiplying or dividing by a NEGATIVE number REVERSES the inequality direction.

SOLVING A LINEAR COMPOUND INEQUALITY, e.g. −7<2x+5≤9-7<2x+5\le9: subtract 5 throughout to get −12<2x≤4-12<2x\le4, then divide by 2 to get −6<x≤2-6<x\le2, so x∈(−6,2]x\in(-6,2].

SOLVING A QUADRATIC INEQUALITY by sign analysis, e.g. x2+2x<15x^2+2x<15: rewrite as x2+2x−15<0x^2+2x-15<0, factor as p(x)=(x−3)(x+5)<0p(x)=(x-3)(x+5)<0. The critical points x=3,−5x=3,-5 (where the factors are zero) divide the number line into three regions: x<−5x<-5, −5<x<3-5<x<3, x>3x>3. Testing one representative point from each region (e.g. x=−6,0,4x=-6, 0, 4) and checking the sign of p(x)p(x) shows p(x)>0p(x)>0 for x<−5x<-5, p(x)<0p(x)<0 for −5<x<3-5<x<3, and p(x)>0p(x)>0 for x>3x>3. Since we need p(x)<0p(x)<0, the solution is −5<x<3-5<x<3, i.e. x∈(−5,3)x\in(-5,3). …

Figure 1Fig. 5.8 — open interval (a,b)

What this figure shows. A number line with two hollow (unfilled) circles marking the points a and b, and the segment strictly between them shaded, showing that an open interval (a,b) excludes both endpoints — neither a nor b itself belongs to the interval, only the values strictl …

Figure 2Fig. 5.9 — closed interval [a,b]

What this figure shows. A number line with two solid (filled) circles marking the points a and b, and the segment between them shaded, showing that a closed interval [a,b] includes both endpoints as well as everything strictly between th …

Figure 3Fig. 5.10 — semi-closed interval [a,b)

What this figure shows. A number line with a solid filled circle at a (included) and a hollow circle at b (excluded), with the segment between them shaded, showing the semi-closed interval [a,b) includes its left endpoint but not its right endpoint. …

Figure 4Fig. 5.11 — semi-open interval (a,b]

What this figure shows. A number line with a hollow circle at a (excluded) and a solid filled circle at b (included), with the segment between them shaded, showing the semi-open interval (a,b] excludes its left endpoint but includes its right endpoint …

Figure 5Fig. 5.12 — ray (a,∞)

What this figure shows. A number line with a hollow circle at the point a and shading extending rightward without end (an arrow), showing the interval (a,∞) contains every real number strictly greater than a, with no upper bound an …

Figure 6Fig. 5.13 — ray [a,∞)

What this figure shows. A number line with a solid filled circle at the point a and shading extending rightward without end, showing the interval [a,∞) contains every real number greater than or equal to a, with a included …

Figure 7Fig. 5.14 — ray (-∞,b)

What this figure shows. A number line with a hollow circle at the point b and shading extending leftward without end, showing the interval (-∞,b) contains every real number strictly less than b, with no lower bound and b …

Figure 8Fig. 5.15 — ray (-∞,b]

What this figure shows. A number line with a solid filled circle at the point b and shading extending leftward without end, showing the interval (-∞,b] contains every real number less than or equal to b, with b included …

Figure 9Fig. 5.16 — the full real line R = (-∞,∞)

What this figure shows. A number line entirely shaded from end to end with arrows on both sides, showing that the interval (-∞,∞) represents the complete set of real numbers R, with no boundary at either end. …