Skip to content
Family Table Math

Rational Inequalities

An equation like 2x−1=4\dfrac{2}{x - 1} = 4 has one answer, x=1.5x = 1.5. The inequality 2x−1<4\dfrac{2}{x - 1} \lt 4 has infinitely many: whole intervals of xx-values. Solving rational inequalities uses the same sign-chart idea as polynomial inequalities, with one new rule: you can’t multiply both sides by an expression unless you know its sign.

The solution to an equation is usually a few separate numbers. The solution to an inequality is usually one or more intervals, written as inequalities like x<1x \lt 1 or x>1.5x \gt 1.5. You can show that a solution is right by testing values: any xx in the solution should make the inequality true, and any xx outside it should make it false.

Never multiply by an expression of unknown sign

Section titled “Never multiply by an expression of unknown sign”

Multiplying both sides of an inequality by a negative number reverses the inequality sign. An expression like x−1x - 1 is positive for some xx and negative for others, so you don’t know whether to reverse the sign.

Here’s what goes wrong. “Solving” 2x−1<4\dfrac{2}{x - 1} \lt 4 by multiplying by x−1x - 1 gives 2<4x−42 \lt 4x - 4, so x>1.5x \gt 1.5. But x=0x = 0 also works: 2−1=−2<4\dfrac{2}{-1} = -2 \lt 4. The shortcut lost half of the answer.

(If you do know the sign, for example if xx stands for a number of people and must be positive, multiplying is fine. See Example 4.)

  1. Move everything to one side, so the other side is 00.
  2. Combine into a single fraction and factor the numerator and denominator.
  3. Find the critical values: the zeros of the numerator and the zeros of the denominator. These are the only places where the sign of the fraction can change.
  4. Make a sign chart: test one value in each interval (or track the sign of each factor).
  5. Choose the intervals with the sign you want. Zeros of the numerator are included for ≤\le or ≥\ge. Zeros of the denominator are never included, because the expression is undefined there.

To solve f(x)<g(x)f(x) \lt g(x), graph both sides and find where the graph of ff is below the graph of gg. The boundaries are the intersection points and the vertical asymptotes. Graphing technology such as Desmos is a good way to check an algebraic answer.

Solve x−3x+2≥0\dfrac{x - 3}{x + 2} \ge 0.

Solution. It’s already one fraction compared with 00. Critical values: x=3x = 3 (numerator) and x=−2x = -2 (denominator).

Intervalx<−2x \lt -2−2<x<3-2 \lt x \lt 3x>3x \gt 3
Test value−3-30044
x−3x - 3−-−-++
x+2x + 2−-++++
x−3x+2\dfrac{x - 3}{x + 2}++−-++

We want positive or zero. The fraction is 00 at x=3x = 3, so include it. It’s undefined at x=−2x = -2, so exclude it.

x<−2orx≥3x \lt -2 \quad \text{or} \quad x \ge 3

Solve 2x−1<4\dfrac{2}{x - 1} \lt 4 algebraically, and check with a graph.

Solution. Move the 44 over and combine using the common denominator x−1x - 1:

2x−1−4<0⇒2−4(x−1)x−1<0⇒6−4xx−1<0\frac{2}{x - 1} - 4 \lt 0 \quad\Rightarrow\quad \frac{2 - 4(x - 1)}{x - 1} \lt 0 \quad\Rightarrow\quad \frac{6 - 4x}{x - 1} \lt 0

Critical values: 6−4x=06 - 4x = 0 at x=1.5x = 1.5, and x−1=0x - 1 = 0 at x=1x = 1.

Intervalx<1x \lt 11<x<1.51 \lt x \lt 1.5x>1.5x \gt 1.5
Test value001.251.2522
6−4x6 - 4x++++−-
x−1x - 1−-++++
fraction−-++−-

We want negative. The inequality is strict, so x=1.5x = 1.5 is not included (and x=1x = 1 never is):

x<1orx>1.5x \lt 1 \quad \text{or} \quad x \gt 1.5

Check with test values in the original: x=0x = 0 gives −2<4-2 \lt 4 ✓; x=1.25x = 1.25 gives 20.25=8\dfrac{2}{0.25} = 8, and 8<48 \lt 4 is false ✓; x=2x = 2 gives 2<42 \lt 4 ✓.

Check with a graph: the curve y=2x−1y = \dfrac{2}{x - 1} is below the line y=4y = 4 everywhere except between the asymptote x=1x = 1 and the intersection point (1.5,4)(1.5, 4).

The curve y = 2/(x - 1) and the line y = 4, which meet at (1.5, 4). The curve is below the line for x < 1 and for x > 1.5, shown as thick bars on the x-axis −2 2 4 −2 2 4 6 (1.5, 4) x = 1 y = 4 y = 2/(x − 1)
2x−1<4\dfrac{2}{x - 1} \lt 4 wherever the blue curve is below the line y=4y = 4: x<1x \lt 1 or x>1.5x \gt 1.5.

Solve x2−x−6x−1≤0\dfrac{x^2 - x - 6}{x - 1} \le 0.

Solution. Factor: (x−3)(x+2)x−1≤0\dfrac{(x - 3)(x + 2)}{x - 1} \le 0. Critical values: −2-2, 11, 33.

Intervalx<−2x \lt -2−2<x<1-2 \lt x \lt 11<x<31 \lt x \lt 3x>3x \gt 3
x+2x + 2−-++++++
x−1x - 1−-−-++++
x−3x - 3−-−-−-++
fraction−-++−-++

We want negative or zero. Include the zeros of the numerator (−2-2 and 33) but not 11:

x≤−2or1<x≤3x \le -2 \quad \text{or} \quad 1 \lt x \le 3

Check: x=0x = 0 gives −6−1=6\dfrac{-6}{-1} = 6, which is not ≤0\le 0, and 00 is correctly outside the solution ✓. x=2x = 2 gives −41=−4≤0\dfrac{-4}{1} = -4 \le 0 ✓.

A school club rents a bus for $300 and buys museum tickets at $12 per student. If nn students go, the cost per student, in dollars, is

C(n)=300+12nnC(n) = \frac{300 + 12n}{n}

How many students must go for the cost per student to be less than $20?

Solution. Solve 300+12nn<20\dfrac{300 + 12n}{n} \lt 20. Here nn is a number of students, so n>0n \gt 0. Because we know nn is positive, we can multiply both sides by nn without reversing the sign:

300+12n<20n⇒300<8n⇒n>37.5300 + 12n \lt 20n \quad\Rightarrow\quad 300 \lt 8n \quad\Rightarrow\quad n \gt 37.5

At least 3838 students must go. Check: C(38)=75638≈19.89C(38) = \dfrac{756}{38} \approx 19.89, under $20 ✓; C(37)=74437≈20.11C(37) = \dfrac{744}{37} \approx 20.11, over $20 ✓.

Multiplying both sides by an expression with xx in it. You don’t know whether it’s positive or negative, so you don’t know whether to flip the sign. Move everything to one side and use a sign chart instead.

Including a zero of the denominator. Even for ≤\le or ≥\ge, a value that makes the denominator 00 is never part of the solution.

Leaving out the denominator’s zeros as critical values. The sign of a fraction can change at a vertical asymptote, not just at an xx-intercept. In Example 2, the sign changes at x=1x = 1 as well as at x=1.5x = 1.5.

Comparing with a number other than 00. A sign chart only tells you where an expression is positive or negative. For 2x−1<4\dfrac{2}{x - 1} \lt 4, you must first rewrite it as 6−4xx−1<0\dfrac{6 - 4x}{x - 1} \lt 0.

Assuming the signs alternate. A squared factor, like (x−1)2(x - 1)^2, doesn’t change sign at its zero. Track the sign of each factor rather than just alternating ++ and −-.

1. (Warm-up) Explain the difference between the solutions of x−4x+1=0\dfrac{x - 4}{x + 1} = 0 and x−4x+1>0\dfrac{x - 4}{x + 1} \gt 0, and find both.

Solution

The equation is true only where the numerator is 00: x=4x = 4. That’s a single number.

The inequality is true on whole intervals. Critical values are 44 and −1-1. Testing x=−2x = -2 gives −6−1=6>0\frac{-6}{-1} = 6 \gt 0; x=0x = 0 gives −4-4; x=5x = 5 gives 16>0\frac{1}{6} \gt 0. So the solution is x<−1x \lt -1 or x>4x \gt 4.

2. (Warm-up) Solve xx−5<0\dfrac{x}{x - 5} \lt 0.

Solution

Critical values: 00 and 55. A fraction is negative when the numerator and denominator have opposite signs. For 0<x<50 \lt x \lt 5, xx is positive and x−5x - 5 is negative. For x<0x \lt 0 both are negative, and for x>5x \gt 5 both are positive.

0<x<50 \lt x \lt 5

3. (Core) Solve 2x+6x−4≤0\dfrac{2x + 6}{x - 4} \le 0.

Solution

Critical values: −3-3 (numerator) and 44 (denominator).

Intervalx<−3x \lt -3−3<x<4-3 \lt x \lt 4x>4x \gt 4
2x+62x + 6−-++++
x−4x - 4−-−-++
fraction++−-++

Include −3-3 (it makes the fraction 00) but not 44:

−3≤x<4-3 \le x \lt 4

4. (Core) Solve 4x−3≥2\dfrac{4}{x - 3} \ge 2. Then explain what goes wrong if you multiply both sides by x−3x - 3.

Solution4x−3−2≥0⇒4−2(x−3)x−3≥0⇒10−2xx−3≥0\frac{4}{x - 3} - 2 \ge 0 \quad\Rightarrow\quad \frac{4 - 2(x - 3)}{x - 3} \ge 0 \quad\Rightarrow\quad \frac{10 - 2x}{x - 3} \ge 0

Critical values: 55 and 33.

Intervalx<3x \lt 33<x<53 \lt x \lt 5x>5x \gt 5
10−2x10 - 2x++++−-
x−3x - 3−-++++
fraction−-++−-
3<x≤53 \lt x \le 5

Multiplying by x−3x - 3 gives 4≥2x−64 \ge 2x - 6, so x≤5x \le 5. That wrongly includes every x<3x \lt 3. For example, x=0x = 0 gives 4−3≈−1.33\frac{4}{-3} \approx -1.33, which is not ≥2\ge 2. When x<3x \lt 3, x−3x - 3 is negative and the sign should have flipped.

5. (Core) Solve 3x−2>1x+2\dfrac{3}{x - 2} \gt \dfrac{1}{x + 2}.

Solution

Move everything to the left and use the common denominator (x−2)(x+2)(x - 2)(x + 2):

3(x+2)−(x−2)(x−2)(x+2)>0⇒2x+8(x−2)(x+2)>0\frac{3(x + 2) - (x - 2)}{(x - 2)(x + 2)} \gt 0 \quad\Rightarrow\quad \frac{2x + 8}{(x - 2)(x + 2)} \gt 0

Critical values: −4-4, −2-2, 22.

Intervalx<−4x \lt -4−4<x<−2-4 \lt x \lt -2−2<x<2-2 \lt x \lt 2x>2x \gt 2
2x+82x + 8−-++++++
x+2x + 2−-−-++++
x−2x - 2−-−-−-++
fraction−-++−-++
−4<x<−2orx>2-4 \lt x \lt -2 \quad \text{or} \quad x \gt 2

Check: x=−3x = -3 gives 3−5=−0.6>1−1=−1\frac{3}{-5} = -0.6 \gt \frac{1}{-1} = -1 ✓; x=0x = 0 gives −1.5>0.5-1.5 \gt 0.5, false ✓.

6. (Core) Solve x2−4x+1>0\dfrac{x^2 - 4}{x + 1} \gt 0.

Solution

Factor: (x−2)(x+2)x+1>0\dfrac{(x - 2)(x + 2)}{x + 1} \gt 0. Critical values: −2-2, −1-1, 22.

Intervalx<−2x \lt -2−2<x<−1-2 \lt x \lt -1−1<x<2-1 \lt x \lt 2x>2x \gt 2
x+2x + 2−-++++++
x+1x + 1−-−-++++
x−2x - 2−-−-−-++
fraction−-++−-++
−2<x<−1orx>2-2 \lt x \lt -1 \quad \text{or} \quad x \gt 2

7. (Core) A small shop in Kitchener makes custom hockey sticks. It has fixed costs of $2400 a month, plus $45 in materials per stick. The average cost per stick for nn sticks is A(n)=2400+45nnA(n) = \dfrac{2400 + 45n}{n}. How many sticks must the shop make in a month for the average cost to be at most $60?

Solution

Solve 2400+45nn≤60\dfrac{2400 + 45n}{n} \le 60. Since nn is a number of sticks, n>0n \gt 0, so we can multiply by nn without flipping the sign:

2400+45n≤60n⇒2400≤15n⇒n≥1602400 + 45n \le 60n \quad\Rightarrow\quad 2400 \le 15n \quad\Rightarrow\quad n \ge 160

At least 160160 sticks. Check: A(160)=2400+7200160=9600160=60A(160) = \dfrac{2400 + 7200}{160} = \dfrac{9600}{160} = 60 ✓

8. (Challenge) Solve xx−1≤2x+1\dfrac{x}{x - 1} \le \dfrac{2}{x + 1}.

Solutionx(x+1)−2(x−1)(x−1)(x+1)≤0⇒x2−x+2(x−1)(x+1)≤0\frac{x(x + 1) - 2(x - 1)}{(x - 1)(x + 1)} \le 0 \quad\Rightarrow\quad \frac{x^2 - x + 2}{(x - 1)(x + 1)} \le 0

The numerator has discriminant (−1)2−4(1)(2)=−7<0(-1)^2 - 4(1)(2) = -7 \lt 0, and its leading coefficient is positive, so x2−x+2x^2 - x + 2 is always positive and never 00. The fraction is therefore negative exactly when the denominator is negative, and it’s never 00.

(x−1)(x+1)<0(x - 1)(x + 1) \lt 0 when −1<x<1-1 \lt x \lt 1. So the solution is

−1<x<1-1 \lt x \lt 1

Check: x=0x = 0 gives 0≤20 \le 2 ✓; x=2x = 2 gives 2≤232 \le \frac{2}{3}, false ✓.

9. (Challenge) Solve (x−1)2(x−4)x+2<0\dfrac{(x - 1)^2(x - 4)}{x + 2} \lt 0.

Solution

Critical values: −2-2, 11, 44. The factor (x−1)2(x - 1)^2 is positive except at x=1x = 1, where it’s 00, so it doesn’t change the sign.

Intervalx<−2x \lt -2−2<x<1-2 \lt x \lt 11<x<41 \lt x \lt 4x>4x \gt 4
(x−1)2(x - 1)^2++++++++
x−4x - 4−-−-−-++
x+2x + 2−-++++++
fraction++−-−-++

The fraction is negative on −2<x<4-2 \lt x \lt 4, except at x=1x = 1, where it equals 00 (and 0<00 \lt 0 is false):

−2<x<1or1<x<4-2 \lt x \lt 1 \quad \text{or} \quad 1 \lt x \lt 4