Solving Rational Inequalities

Rational

A Rational Expression looks like:

A fraction where the numerator is a polynomial and the denominator is a polynomial.

Inequalities

Sometimes we need to solve rational inequalities like these:

Symbol Words Example
> greater than (x+1)/(3−x) > 2
< less than x/(x+7) < −3
greater than or equal to (x−1)/(5−x) ≥ 0
less than or equal to (3−2x)/(x−1) ≤ 2

Solving

Solving inequalities is very like solving equations ... we do most of the same things.

Graph of a rational function showing intervals where the function is positive (above x-axis) or negative (below x-axis).
When we solve inequalities
we try to find interval(s),
such as the ones marked "<0" or ">0"

These are the steps:

  • 1. Simplify the inequality so that one side is 0 (for example, f(x) > 0 or f(x) < 0)
  • 2. Find key points:
    • the "=0" points (roots), and
    • where the function is undefined (vertical asymptotes)
  • 3. In between the key points, the function is either greater than zero (>0) or less than zero (<0)
    • choose a test value from each interval to see if it is >0 or <0

Here's an example:

Example: 3x−10x−4 > 2

1, let's simplify!

But we can't just multiply both sides by (x − 4).

Why? Because if (x − 4) is negative, we would have to flip the inequality sign.

But we don't know if x − 4 is positive or negative, so we must avoid multiplying by it ... see Solving Inequalities.

Instead, bring 2 left:

3x−10x−4 − 2 > 0

Then multiply the 2 by (x−4)/(x−4):

3x−10x−4 − 2x−4x−4 > 0

Now we have a common denominator, let's bring it all together:

3x−10 − 2(x−4)x−4 > 0

Simplify:

x−2x−4 > 0

2, let's find key points

At x=2 we have: x−2x−4 = 0−2, which is a "=0" point, or root

At x=4 we have: x−2x−4 = 20, which is undefined

3, calculate test points to see what it does in between

The sign can only change at key points: where the expression equals 0 or is undefined, in our case at x=2 and x=4.

Let's test points before 2, between 2 and 4, and after 4:

At x=0:

  • x−2 = −2, which is negative
  • x−4 = −4, which is also negative
  • So (x−2)/(x−4) must be positive

We can do the same for x=3 and x=5 (or any other values in those intervals), and end up with these results:

  x=0 x=2 x=3 x=4 x=5
x−2 < 0   > 0   > 0
x−4 < 0   < 0   > 0
which gives
x−2x−4 > 0 0 < 0 undefined > 0

That gives us a complete picture!

And where is (x−2)/(x−4) > 0 ?

  • Less than 2
  • Greater than 4

So, after rearranging and analysing 3x−10x−4 > 2 we get the result for x:

x < 2 or x > 4

Or using Interval Notation and the union symbol :

(−∞, 2) (4, +∞)

We did all that without drawing a graph!

And here's that graph:

Graph of the rational function y=(x-2)/(x-4) showing an x-intercept at x=2 and a vertical asymptote at x=4.

Play with it here:
images/function-graph.js?fn0=%28x-2%29/%28x-4%29&xmin=-4&xmax=10&ymin=-4&ymax=5
581, 582, 9046, 1230, 9047, 2282, 9048, 1231, 9049, 2283