Unit 2, lesson 35

Rational Inequalities

How to solve an inequality with a variable in a denominator by comparing one fraction with zero, cutting the line at zero points and undefined points, and testing each critical interval.

  • Theory part 69
  • Practice part 70
  • Polynomial and Rational Inequalities

A print shop charges a 500 dollar setup fee plus 4 dollars per poster, so the average cost of each of xx posters is (500+4x)/x(500 + 4x)/x dollars. Asking how many posters bring that average below 9 dollars is a rational inequality. Here xx is positive, so clearing the fraction is safe, and the answer is more than 100 posters. In general a denominator can be negative or zero, the shortcut fails, and a sign chart does the job instead.

Key terms

Rational inequality

Definition A rational inequality is an inequality that can be written in one of the forms

r(x)>0,r(x)≥0,r(x)<0,r(x)≤0,\begin{gathered} r(x) > 0, \qquad r(x) \ge 0, \\[0.4em] r(x) < 0, \qquad r(x) \le 0, \end{gathered}

where r=p/qr = p/q is a rational function, with pp and qq polynomials and qq not the zero polynomial. Its solution set consists of the real numbers xx at which every fraction in the original inequality is defined and the inequality is true. An inequality between rational expressions is brought to this form by subtracting one side from both sides and combining everything over a common denominator. Done without cancelling, this keeps every number that made an original denominator zero as a zero of qq, so none of them can slip into the answer. Multiplying both sides by an expression that contains xx is not a valid step unless its sign is known, because a negative multiplier would reverse the inequality.

In plain words Get zero on one side and a single fraction on the other. Then the question is only about the sign of that fraction.

Example To solve

x+3x−1≥2,\frac{x + 3}{x - 1} \ge 2,

subtract 22 and combine,

x+3−2(x−1)x−1=5−xx−1≥0.\frac{x + 3 - 2(x - 1)}{x - 1} = \frac{5 - x}{x - 1} \ge 0.

Multiplying the original inequality by x−1x - 1 instead would give x+3≥2x−2x + 3 \ge 2x - 2, so x≤5x \le 5. That accepts x=0x = 0, where the left side is 3/(−1)=−33/(-1) = -3, which is not at least 22. The shortcut kept the direction of the inequality, which is correct only when x−1>0x - 1 > 0.

Zero points

Definition A zero point of the rational inequality r(x)>0r(x) > 0, or of the same inequality with ≥\ge, << or ≤\le, is a real number aa in the domain of rr with r(a)=0r(a) = 0. For r=p/qr = p/q these are the real zeros of pp at which qq is not zero. Every zero point satisfies a non-strict inequality (≥\ge or ≤\le) and fails a strict one (>> or <<).

In plain words A zero point is where the fraction actually equals zero, because the top is zero and the bottom is not. It belongs to the answer exactly when the inequality allows equality.

Example For (5−x)/(x−1)≥0(5 - x)/(x - 1) \ge 0 the numerator is zero at x=5x = 5, where the denominator is 44. So 55 is a zero point, and since the inequality is ≥\ge, it is a solution. In the original form the check is (5+3)/(5−1)=2(5 + 3)/(5 - 1) = 2, which is at least 22.

Undefined points

Definition An undefined point of a rational inequality is a real number aa that makes a denominator of the original inequality zero, before any cancellation. The expression has no value at aa, so an undefined point is never in the solution set, whether the inequality is strict or not. It still counts as a critical value, because the sign of rr can change there.

In plain words Undefined points and zero points both go on the number line, but they play different roles. A zero point gets a closed dot when equality is allowed, while an undefined point always gets an open dot.

Example In (5−x)/(x−1)≥0(5 - x)/(x - 1) \ge 0 the denominator is zero at x=1x = 1. So 11 is an undefined point and is left out of the solution set, even though the inequality is ≥\ge. Its sign still matters, since the fraction is negative just to the left of 11 and positive just to the right.

Critical intervals

Definition The critical values of a rational inequality are its zero points together with its undefined points. Placed in order on the number line, they cut it into open intervals, called critical intervals. On each critical interval rr is defined, continuous and never zero, so it keeps one sign there, and its sign at a single test value is its sign on the whole interval. The solution set is the union of the critical intervals with the right sign, plus the zero points when the inequality is non-strict.

In plain words Mark both kinds of critical values, test one number in each gap between them, then decide about the borders.

Example For (5−x)/(x−1)≥0(5 - x)/(x - 1) \ge 0 the critical values are 11 and 55.

Critical intervalTest valueValue of (5−x)/(x−1)(5 - x)/(x - 1)Sign
(−∞,1)(-\infty, 1)00−5-5negative
(1,5)(1, 5)2233positive
(5,∞)(5, \infty)66−1/5-1/5negative

The fraction is positive on (1,5)(1, 5), the zero point 55 is included and the undefined point 11 is not. The solution set is (1,5](1, 5].

Sign chart for a quotient

Definition A quotient of two nonzero numbers has the same sign as their product. So a rational expression written as a constant times factors in the numerator and factors in the denominator has a sign chart built exactly like that of a polynomial, with one row for each factor and a last row for the whole expression. A factor (x−c)m(x - c)^m changes sign at cc when mm is odd and keeps its sign when mm is even, whether it sits in the numerator or the denominator.

In plain words For signs it does not matter whether a factor is on the top or the bottom. Track every factor, count the negative ones, and remember which critical values come from the bottom.

Example Solve

x−2(x+1)(x−4)≤0.\frac{x - 2}{(x + 1)(x - 4)} \le 0.

The zero point is 22 and the undefined points are −1-1 and 44.

Factor(−∞,−1)(-\infty, -1)(−1,2)(-1, 2)(2,4)(2, 4)(4,∞)(4, \infty)
x−2x - 2−-−-++++
x+1x + 1−-++++++
x−4x - 4−-−-−-++
Quotient−-++−-++

The quotient is negative on (−∞,−1)(-\infty, -1) and on (2,4)(2, 4). Adding the zero point 22 and leaving out −1-1 and 44 gives the solution set (−∞,−1)∪[2,4)(-\infty, -1) \cup [2, 4). The test value x=3x = 3 gives 1/(4⋅(−1))=−1/41/\bigl(4 \cdot (-1)\bigr) = -1/4, as the chart says.

Cancelled factors

Definition If the numerator and denominator share a factor x−ax - a, cancelling it gives a simpler expression that has the same value as the original at every number where the original is defined. The simpler expression may be defined at aa, but the original is not, so aa stays an undefined point of the original inequality. Solve the simpler inequality, then remove every undefined point of the original from the answer.

In plain words Cancelling is fine for finding signs, but it cannot bring back a number the original fraction was not allowed to use.

Example Solve

x2−xx2−1>0.\frac{x^2 - x}{x^2 - 1} > 0.

Factoring and cancelling gives

x2−xx2−1=x(x−1)(x−1)(x+1)=xx+1for x≠1 and x≠−1.\begin{gathered} \begin{aligned} \frac{x^2 - x}{x^2 - 1} &= \frac{x(x - 1)}{(x - 1)(x + 1)} \\[0.8em] &= \frac{x}{x + 1} \end{aligned} \\[0.8em] \text{for } x \neq 1 \text{ and } x \neq -1. \end{gathered}

The simpler inequality x/(x+1)>0x/(x + 1) > 0 holds on (−∞,−1)(-\infty, -1) and on (0,∞)(0, \infty). At x=1x = 1 the original fraction is 0/00/0, which has no value, so 11 must be removed. The solution set is

(−∞,−1)∪(0,1)∪(1,∞).(-\infty, -1) \cup (0, 1) \cup (1, \infty).

Check yourself

  1. Solve (x−4)/(x+2)<0(x - 4)/(x + 2) < 0.
Show the answer

The zero point is 44 and the undefined point is −2-2. The test values −3-3, 00 and 55 give 77, −2-2 and 1/71/7, so the fraction is negative only on (−2,4)(-2, 4). The inequality is strict, so neither critical value is included, and the solution set is (−2,4)(-2, 4).

  1. Solve 1/x≤21/x \le 2.
Show the answer

Subtracting 22 gives

1−2xx≤0.\frac{1 - 2x}{x} \le 0.

The zero point is 1/21/2 and the undefined point is 00. The test values −1-1, 1/41/4 and 11 give −3-3, 22 and −1-1. The solution set is (−∞,0)∪[1/2,∞)(-\infty, 0) \cup [1/2, \infty). Multiplying the original inequality by xx would have given only x≥1/2x \ge 1/2 and lost every negative xx.

  1. Solve (x+1)/(x−2)2≥0(x + 1)/(x - 2)^2 \ge 0.
Show the answer

The denominator (x−2)2(x - 2)^2 is positive for every x≠2x \neq 2, so the fraction has the sign of x+1x + 1. It is positive for x>−1x > -1 with x≠2x \neq 2, zero at the zero point −1-1, and undefined at 22. The solution set is [−1,2)∪(2,∞)[-1, 2) \cup (2, \infty).

How this lesson connects