Skip to content

Chapter 1 — Fundamental Concepts

1.7 — Inequalities

An equation asks where two expressions coincide; an inequality, where one exceeds the other.


An equation looks for the values at which two expressions are equal. An inequality looks for the values at which one is greater or less than the other. It is written with one of the signs \(<\), \(>\), \(\le\) or \(\ge\) between two expressions, and its solution set is, as in §1.5, the set of values of the variable that make it true. The difference lies in the shape of the answer: the solution set of an inequality is usually not a handful of points but an interval or a union of intervals, and the interval notation of §1.1 is the natural way to write it.

The question that guided §1.5 returns here: which steps preserve the solution set. The answer is similar, with one important difference that is worth proving and not merely remembering.


§1. Linear inequalities

The order axioms of §1.1 say that if \(a < b\), then \(a + c < b + c\) for every real \(c\), and \(ac < bc\) for every \(c > 0\). Adding the same number to both sides, or multiplying them by the same positive number, preserves the direction of the inequality. Both steps can be undone, by adding \(-c\) or multiplying by \(c^{-1}\), which is also positive, as we will see shortly. They therefore yield equivalent inequalities, in the same sense as in §1.5. With a negative number, on the other hand, the direction is reversed.

Proposition. If \(a < b\) and \(c < 0\), then \(ac > bc\).

Proof. Since \(a < b\), adding \(-a\) to both sides gives \(b - a > 0\). Since \(c < 0\), also \(-c > 0\). The product of two positive numbers is positive, so \((b - a)(-c) > 0\), that is, \(ac - bc > 0\). Adding \(bc\) to both sides, \(ac > bc\). \(\blacksquare\)

Dividing by \(c\) is multiplying by \(c^{-1}\), and \(c^{-1}\) has the same sign as \(c\): since \(c \cdot c^{-1} = 1 > 0\), and the product of two numbers of opposite sign is negative, \(c\) and \(c^{-1}\) cannot have opposite signs. That is why dividing by a positive number preserves the direction and dividing by a negative one reverses it. The reversal is not a typographical convention: it is a consequence of how the negative reals are ordered, and it will reappear in the rest of the section whenever the sign of a factor is unknown.

Example. Let us solve \(3 - 2x \le 7\). Adding \(-3\) leaves \(-2x \le 4\). Multiplying by \(-\frac{1}{2}\), which is negative, reverses the direction: \(x \ge -2\). The solution set is \([-2, \infty)\). Let us check with one value: for \(x = 0\), \(3 \le 7\) is true, and indeed \(0 \ge -2\).

Reminder. Adding the same number or multiplying by a positive number preserves the direction of the inequality; multiplying or dividing by a negative number reverses it. This is not a convention: it is proved from the order of \(\mathbb{R}\).



§2. Polynomial inequalities

An inequality such as \(x^2 - x - 6 > 0\) is not solved by isolating \(x\), because there is no step that leaves \(x\) alone on one side. It is solved by a sign analysis, which rests on the factoring of §1.3. The idea is that the sign of a product depends only on the signs of its factors: by the order axioms of §1.1, a product of nonzero reals is positive if the number of negative factors is even, and negative if it is odd; and by the zero product property of §1.5, it is zero if and only if some factor is.

The procedure is as follows. We bring the inequality to the form \(P(x) > 0\), or \(P(x) < 0\), or with \(\ge\) or \(\le\), leaving zero on one side. We factor \(P\) completely over \(\mathbb{R}\). Each factor has a sign that is easy to know. A linear factor \(x - r\) is positive if \(x > r\) and negative if \(x < r\). An irreducible quadratic factor \(ax^2 + bx + c\), with \(\Delta < 0\), always has the sign of \(a\): in the proof in §1.3 we wrote it as \(a\) times a positive quantity. The roots of the linear factors divide the line into intervals, and within each interval no factor changes sign, so neither does the product. It suffices to determine the sign of the product on each interval and choose those that satisfy the inequality, adding the roots when the inequality is \(\ge\) or \(\le\).

Example. Let us solve \(x^2 - x - 6 > 0\). Factoring, \((x - 3)(x + 2) > 0\). The roots \(-2\) and \(3\) divide the line into three intervals: \((-\infty, -2)\), \((-2, 3)\) and \((3, \infty)\). On the first, both factors are negative and the product is positive. On the second, \(x + 2\) is positive and \(x - 3\) negative, and the product is negative. On the third, both are positive and the product is positive. Since the inequality is strict, the roots are not included. The solution set is \((-\infty, -2) \cup (3, \infty)\), where \(\cup\) is the union of sets from §1.1.

Number line with roots at -2 and 3 (open circles), signs +,-,+ on the three intervals, and the solution regions highlighted

Figure 1.2 — Sign analysis of \((x-3)(x+2)>0\): the highlighted regions are the solution set.

A repeated factor deserves attention. In \((x - 1)^2(x + 3) < 0\), the factor \((x - 1)^2\) is a square, positive except at \(x = 1\), where it is zero; it does not change sign when passing through \(1\). The sign of the product is therefore that of \(x + 3\), except at \(x = 1\), and the solution set is \((-\infty, -3)\). The rule that the sign "alternates" from one interval to the next holds only when each root appears once.

Reminder. Leave zero on one side, factor, and analyze the sign of each factor on each interval. A factor raised to an even power does not change sign when passing through its root.



§3. Absolute value inequalities

These inequalities are solved by translating them into inequalities without absolute value. The translation rests on a lemma that follows from the definition of absolute value in §1.1 and has a geometric reading: \(|x - a|\) is the distance between \(x\) and \(a\).

Lemma. Let \(u \in \mathbb{R}\) and \(\epsilon > 0\). Then:

(i) \(|u| < \epsilon\) if and only if \(-\epsilon < u < \epsilon\);

(ii) \(|u| > \epsilon\) if and only if \(u > \epsilon\) or \(u < -\epsilon\).

Proof. We separate two cases according to the sign of \(u\). If \(u \ge 0\), then \(|u| = u\), and moreover \(-\epsilon < 0 \le u\); therefore \(|u| < \epsilon\) is equivalent to \(u < \epsilon\), which is equivalent to \(-\epsilon < u < \epsilon\), and \(|u| > \epsilon\) is equivalent to \(u > \epsilon\), because \(u < -\epsilon\) is impossible. If \(u < 0\), then \(|u| = -u\), and moreover \(u < 0 < \epsilon\); by the proposition of §1, \(-u < \epsilon\) is equivalent to \(u > -\epsilon\), and \(-u > \epsilon\) is equivalent to \(u < -\epsilon\). In both cases we obtain (i) and (ii). \(\blacksquare\)

With \(\le\) and \(\ge\) in place of \(<\) and \(>\), the same proof gives the non-strict versions. The hypothesis \(\epsilon > 0\) matters: if \(\epsilon \le 0\), the inequality \(|u| < \epsilon\) has no solution, because an absolute value is never negative.

Applying the lemma to \(u = x - a\), the inequality \(|x - a| < \epsilon\) says that \(x\) is less than \(\epsilon\) away from \(a\):

\[|x - a| < \epsilon \iff -\epsilon < x - a < \epsilon \iff a - \epsilon < x < a + \epsilon\]

that is, \(x \in (a - \epsilon, a + \epsilon)\), which is the neighborhood of \(a\) of radius \(\epsilon\) from §1.1. The opposite inequality, \(|x - a| > \epsilon\), says that \(x\) is more than \(\epsilon\) away from \(a\), which happens on both sides of the point:

\[|x - a| > \epsilon \iff x - a > \epsilon \text{ or } x - a < -\epsilon \iff x \in (-\infty, a - \epsilon) \cup (a + \epsilon, \infty)\]

The difference in shape between the two cases, a bounded interval for "\(<\)" and a union of two unbounded intervals for "\(>\)", is no accident. It is the difference between being near a point, which happens only in a limited region around it, and being far from it, which happens everywhere outside.

Example. Let us solve \(|2x - 3| \le 5\). By the non-strict version of the lemma, it is equivalent to \(-5 \le 2x - 3 \le 5\). Adding \(3\), \(-2 \le 2x \le 8\), and multiplying by \(\frac{1}{2}\), which is positive, \(-1 \le x \le 4\). The solution set is \([-1, 4]\).

Reminder. For \(\epsilon > 0\), \(|x - a| < \epsilon\) is the interval with center \(a\) and radius \(\epsilon\); \(|x - a| > \epsilon\) is everything outside the closed interval \([a - \epsilon, a + \epsilon]\), a union of two unbounded intervals.



§4. Rational inequalities

A rational inequality, such as \(\dfrac{x - 1}{x + 2} \le 0\), is solved with the same sign analysis as in §2, applied to the numerator and the denominator. The justification is that \(\dfrac{N}{D} = N \cdot D^{-1}\) and, as we saw in §1, \(D^{-1}\) has the same sign as \(D\); the sign of the quotient is therefore the one the product \(N \cdot D\) would have.

What must not be done is to multiply both sides by the denominator. Its sign depends on \(x\), and the proposition of §1 says that, according as it is positive or negative, the direction is preserved or reversed. Multiplying without knowing which of the two cases occurs produces wrong results. For example, from \(\frac{1}{x} < 1\) one might "deduce", multiplying by \(x\), that \(1 < x\); but \(x = -1\) satisfies the original inequality, because \(-1 < 1\), and does not satisfy \(1 < x\). The correct course is to leave zero on one side: \(\frac{1}{x} - 1 = \frac{1 - x}{x} < 0\), whose sign analysis gives the solution set \((-\infty, 0) \cup (1, \infty)\).

The procedure, then, brings everything to one side and leaves zero on the other, factors numerator and denominator, and analyzes the sign of the quotient on each interval determined by all the roots, those of the numerator and those of the denominator. The roots of the denominator are always excluded, whatever the sign of the inequality, because by §1.4 they do not belong to the domain of the expression.

Example. Let us solve \(\dfrac{x - 1}{x + 2} \le 0\). The roots that matter are \(x = 1\), from the numerator, and \(x = -2\), from the denominator, which is excluded. On \((-\infty, -2)\) the numerator and the denominator are negative, and the quotient is positive. On \((-2, 1)\) the numerator is negative and the denominator positive, and the quotient is negative. On \((1, \infty)\) both are positive, and the quotient is positive. The inequality asks for negative values or zero: we take the interval \((-2, 1)\) and the point \(x = 1\), where the quotient is zero and which does belong to the domain, but never \(x = -2\). The solution set is \((-2, 1]\).

Number line with excluded root at -2 (open red circle) and included root at 1 (filled blue circle), signs +,-,+ on the three intervals, solution region highlighted between -2 and 1

Figure 1.3 — Sign analysis of \(\dfrac{x-1}{x+2}\le0\): \(x=-2\) is excluded from the domain (red circle) even though the inequality is "\(\le\)"; \(x=1\) is included (filled blue circle).

Reminder. In a rational inequality, do not multiply by an expression whose sign depends on the variable: leave zero on one side and analyze the sign of the quotient. The roots of the denominator are always excluded, even when the inequality is "\(\le\)" or "\(\ge\)".



With equations and inequalities solved on the real line, the chapter moves to the plane: the analytic geometry of the next section translates these same algebraic ideas into the language of points, distances and curves.