Skip to content

Solve Rational Inequalities

By the end of this section, you will be able to: solve rational inequalities, and solve an inequality with rational functions.

Solve rational inequalities

We learned to solve linear inequalities after learning to solve linear equations. The techniques were very much the same, with one major exception: when we multiplied or divided by a negative number, the inequality sign reversed. Having just learned to solve rational equations, we are now ready to solve rational inequalities.

Rational inequality. A rational inequality is an inequality that contains a rational expression.

Inequalities such as 32x>1\tfrac{3}{2x}>1, 2xx3<4\tfrac{2x}{x-3}<4, 2x3x6x\tfrac{2x-3}{x-6}\ge x, and 142x23x\tfrac{1}{4}-\tfrac{2}{x^2}\le\tfrac{3}{x} are rational inequalities. When solving them, we must remember to reverse the inequality if multiplying or dividing by a negative number. We must also exclude every value that makes the rational expression undefined.

If an inequality gives x>3x>3, there are many solutions. The number 33 is a zero partition number, and we decide which side to shade.

−5−4−3−2−1012345(x > 3

To solve a rational inequality, first write it with only one quotient on the left and zero on the right. Next determine the zero partition numbers that divide the number line into intervals.

Zero partition number. A zero partition number is a number that makes the rational expression zero or undefined.

Evaluate the factors of the numerator and denominator to find the sign of the quotient in every interval. This identifies the intervals containing all solutions. Write the result in interval notation, carefully deciding whether each endpoint is included.

Example. Solve and write the solution in interval notation:

x1x+30.\tfrac{x-1}{x+3}\ge0.

The inequality already has one quotient on the left and zero on the right. The numerator is zero at x=1x=1, and the expression is undefined at x=3x=-3. Thus the zero partition numbers are 3-3 and 11, producing the intervals (,3)(-\infty,-3), (3,1)(-3,1), and (1,)(1,\infty).

Test one number in each interval:

IntervalTest valueSign of x1x-1Sign of x+3x+3Sign of quotient
(,3)(-\infty,-3)4-4negativenegativepositive
(3,1)(-3,1)00negativepositivenegative
(1,)(1,\infty)22positivepositivepositive

We need the quotient to be greater than or equal to zero, so (,3)(-\infty,-3) and (1,)(1,\infty) contain solutions. The value 3-3 makes the denominator zero and must be excluded. The value 11 makes the expression zero and is included. The solution is

(,3)[1,).(-\infty,-3)\cup[1,\infty).

The two rays of the solution are shown separately:

−7−6−5−4−3−2−10123)(−∞, −3)
−3−2−101234567[[1, ∞)

Solve x2x+40\tfrac{x-2}{x+4}\ge0. Enter the solution in interval notation.

Solve x+2x40\tfrac{x+2}{x-4}\ge0. Enter the solution in interval notation.

Solve a rational inequality.

  1. Write the inequality as one quotient on the left and zero on the right.
  2. Determine the zero partition numbers—the points where the rational expression will be zero or undefined.
  3. Use the zero partition numbers to divide the number line into intervals.
  4. Test a value in each interval. Above the number line, show the sign of each factor of the numerator and denominator. Below it, show the sign of the quotient.
  5. Determine the intervals where the inequality is correct, and write the solution in interval notation.

The next example first requires putting the rational inequality into the correct form.

Example. Solve and write the solution in interval notation:

4xx6<1.\tfrac{4x}{x-6}<1.

Subtract 11, rewrite it with the LCD, and simplify:

Subtract 1.4xx61<0Rewrite 1 using the LCD.4xx6x6x6<0Combine the numerators.4x(x6)x6<0Simplify and factor.3(x+2)x6<0 \begin{array}{lrcl} \text{Subtract 1.} & \tfrac{4x}{x-6}-1 &<& 0 \\[10pt] \text{Rewrite 1 using the LCD.} & \tfrac{4x}{x-6}-\tfrac{x-6}{x-6} &<& 0 \\[10pt] \text{Combine the numerators.} & \tfrac{4x-(x-6)}{x-6} &<& 0 \\[10pt] \text{Simplify and factor.} & \tfrac{3(x+2)}{x-6} &<& 0 \end{array}

The zero partition numbers are 2-2 and 66.

IntervalSign of x+2x+2Sign of x6x-6Sign of quotient
(,2)(-\infty,-2)negativenegativepositive
(2,6)(-2,6)positivenegativenegative
(6,)(6,\infty)positivepositivepositive

The quotient must be negative, so the solution is (2,6)(-2,6). Because the inequality is strict, neither endpoint is included.

Solve 3xx3<1\tfrac{3x}{x-3}<1. Enter the solution in interval notation.

Solve 3xx4<2\tfrac{3x}{x-4}<2. Enter the solution in interval notation.

In the next example, the numerator is always positive, so the sign of the rational expression depends on the sign of the denominator.

Example. Solve and write the solution in interval notation:

5x22x15>0.\tfrac{5}{x^2-2x-15}>0.

Factor the denominator:

5(x+3)(x5)>0.\tfrac{5}{(x+3)(x-5)}>0.

The numerator cannot be zero. The denominator is zero at x=3x=-3 and x=5x=5, so these are the zero partition numbers.

IntervalSign of x+3x+3Sign of x5x-5Sign of quotient
(,3)(-\infty,-3)negativenegativepositive
(3,5)(-3,5)positivenegativenegative
(5,)(5,\infty)positivepositivepositive

The strict inequality requires positive values, and neither undefined endpoint can be included. The solution is

(,3)(5,).(-\infty,-3)\cup(5,\infty).

Solve 1x2+2x8>0\tfrac{1}{x^2+2x-8}>0. Enter the solution in interval notation.

Solve 3x2+x12>0\tfrac{3}{x^2+x-12}>0. Enter the solution in interval notation.

The next example requires some work to get it into the needed form.

Example. Solve and write the solution in interval notation:

132x2<53x.\tfrac{1}{3}-\tfrac{2}{x^2}<\tfrac{5}{3x}.

Subtract 53x\tfrac{5}{3x} and use the LCD 3x23x^2:

Get zero on the right.132x253x<0Write over the LCD.x265x3x2<0Factor the numerator.(x6)(x+1)3x2<0 \begin{array}{lrcl} \text{Get zero on the right.} & \tfrac{1}{3}-\tfrac{2}{x^2}-\tfrac{5}{3x} &<& 0 \\[10pt] \text{Write over the LCD.} & \tfrac{x^2-6-5x}{3x^2} &<& 0 \\[10pt] \text{Factor the numerator.} & \tfrac{(x-6)(x+1)}{3x^2} &<& 0 \end{array}

The zero partition numbers are 1-1, 00, and 66. The factor x2x^2 is positive on both sides of 00, but x=0x=0 is excluded because it makes the denominator zero.

IntervalSign of x6x-6Sign of x+1x+1Sign of x2x^2Quotient
(,1)(-\infty,-1)negativenegativepositivepositive
(1,0)(-1,0)negativepositivepositivenegative
(0,6)(0,6)negativepositivepositivenegative
(6,)(6,\infty)positivepositivepositivepositive

The solution is

(1,0)(0,6).(-1,0)\cup(0,6).

Solve 12+4x2<3x\tfrac{1}{2}+\tfrac{4}{x^2}<\tfrac{3}{x}. Enter the solution in interval notation.

Solve 13+6x2<3x\tfrac{1}{3}+\tfrac{6}{x^2}<\tfrac{3}{x}. Enter the solution in interval notation.

Solve an inequality with rational functions

When working with rational functions, it is sometimes useful to know when the function is greater than or less than a particular value. This leads to a rational inequality.

Example. Given R(x)=x+3x5R(x)=\tfrac{x+3}{x-5}, find the values of xx that make the function less than or equal to 00.

Substitute the rational expression for R(x)R(x):

x+3x50,x5.\tfrac{x+3}{x-5}\le0,\qquad x\ne5.

The zero partition numbers are 3-3 and 55.

IntervalSign of x+3x+3Sign of x5x-5Sign of quotient
(,3)(-\infty,-3)negativenegativepositive
(3,5)(-3,5)positivenegativenegative
(5,)(5,\infty)positivepositivepositive

Because the quotient may equal zero, 3-3 is included. The value 55 is undefined and excluded. The solution is [3,5)[-3,5).

Given R(x)=x2x+4R(x)=\tfrac{x-2}{x+4}, find the values of xx that make R(x)0R(x)\le0. Enter interval notation.

Given R(x)=x+1x4R(x)=\tfrac{x+1}{x-4}, find the values of xx that make R(x)0R(x)\le0. Enter interval notation.

In economics, C(x)C(x) represents the cost of producing xx units of a commodity. The average cost per unit is found by dividing C(x)C(x) by the number of items:

c(x)=C(x)x.c(x)=\tfrac{C(x)}{x}.

Example. The function C(x)=10x+3000C(x)=10x+3000 represents the cost to produce xx items. Find (a) the average cost function c(x)c(x) and (b) how many items should be produced so that the average cost is less than $40.

For part (a), divide the cost function by xx:

c(x)=C(x)x=10x+3000x.c(x)=\tfrac{C(x)}{x}=\tfrac{10x+3000}{x}.

For part (b), solve

10x+3000x<40,x0.\tfrac{10x+3000}{x}<40,\qquad x\ne0.

Write the left side as one quotient:

Subtract 40.10x+3000x40<0Combine over x.10x+300040xx<0Factor.30(x100)x<0 \begin{array}{lrcl} \text{Subtract 40.} & \tfrac{10x+3000}{x}-40 &<& 0 \\[10pt] \text{Combine over }x. & \tfrac{10x+3000-40x}{x} &<& 0 \\[10pt] \text{Factor.} & \tfrac{-30(x-100)}{x} &<& 0 \end{array}

The zero partition numbers are 00 and 100100. Since the number of items must be positive, the inequality is satisfied when x>100x>100. More than 100 items must be produced to keep the average cost below $40 per item.

If C(x)=20x+6000C(x)=20x+6000, find the average cost function c(x)c(x).

If C(x)=20x+6000C(x)=20x+6000, how many items must be produced so that the average cost is less than $60? Enter the least whole-number quantity that works.

If C(x)=5x+900C(x)=5x+900, find the average cost function c(x)c(x).

Key terms. A rational inequality is an inequality that contains a rational expression. A zero partition number is a number that makes the rational expression zero or undefined.

Adapted from OpenStax Intermediate Algebra 2e, Section 7.6, by Lynn Marecek and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: reformatted examples, sign analyses, number lines, and Try It exercises for interactive web use and accessibility.