Home/Calculator/Rational Inequality Calculator
Free with steps, sign chart, number line, and function graph

Rational Inequality Calculator

Solve any rational inequality instantly using the sign chart method — get step-by-step solutions with critical points identified, animated sign charts, number line graphs, function graphs, and interval notation. Free, no sign-up required.

rational inequality calculator with stepsrational inequality sign chart calculatorrational inequality interval notation calculator

Why this page is different

Built specifically for rational sign-chart work instead of reusing a generic inequality layout.
Separates numerator zeros from denominator undefined points and keeps their endpoint rules visibly different.
Pairs sign chart logic with a number line and a rational function graph so the domain break is impossible to miss.

Rational Solver

Built for rational inequalities with standard-form rewrites, critical points, sign charts, excluded denominator values, and graph-based verification.

Split numerator and denominator input

Build the fraction first, then compare it with any value.

─────────────────────────────

Preview

((x+1))/((x-2)) > 0

Live parse preview
(x + 1) / (x - 2) > 0

Supported Input Styles

  • (x+1)/(x-2)>0 solves a standard-form rational inequality.
  • (x-3)/(x+4)<=0 keeps a numerator zero but excludes the denominator root.
  • (x^2-4)/(x+3)>0 factors the numerator into linear pieces.
  • (2x-1)/((x+1)(x-3))>=0 handles multiple undefined points.
  • 1/(x-5)>2 is moved to one side automatically.

Math Keyboard

Tap fraction symbols, powers, and comparison signs for fast rational-inequality input.

Result

The sign chart marks numerator zeros and denominator restrictions, then keeps only the intervals whose sign matches the inequality.

Zeros-1
Undefined2
Interval(-∞, -1) ∪ (2, ∞)

Standard form

x+1x2>0\frac{x + 1}{x - 2} > 0

Numerator zeros

-1

Undefined points

2

Solution

(,1)(2,)(-\infty, -1) \cup (2, \infty)
UNDEFINED POINTS: x = 2 makes the denominator equal 0. These points are never included in the solution.

Factor view

Numerator

x+1x + 1

Denominator

x2x - 2
1

Step 1

Identify the rational structure

A rational inequality is solved by tracking the sign of the numerator and denominator across the real line.

Before

(x+1)/(x2)>0(x+1)/(x-2) > 0

After

(x+1)/(x2)>0(x+1)/(x-2) > 0
2

Step 2

Check the standard form

The right side is already 0, so the inequality is ready for sign-chart analysis.

Before

(x+1)/(x2)>0(x+1)/(x-2) > 0

After

x+1x2>0\frac{x + 1}{x - 2} > 0
3

Step 3

Factor when useful

Factoring exposes the real zeros that control the sign chart and makes repeated roots easier to recognize.

Before

x+1x2>0\frac{x + 1}{x - 2} > 0

After

Numerator: x+1Denominator: x2\text{Numerator: } x + 1 \qquad \text{Denominator: } x - 2
4

Step 4

Find critical points

Zeros of the numerator can become included endpoints for ≤ or ≥. Zeros of the denominator are undefined points and are never included.

Before

Numerator: x+1Denominator: x2\text{Numerator: } x + 1 \qquad \text{Denominator: } x - 2

After

Zeros: x=1Undefined: x=2\text{Zeros: } x = -1 \qquad \text{Undefined: } x = 2
Numerator zeros can close only for ≤ or ≥. Denominator zeros never close, even when the inequality is inclusive.
5

Step 5

Build the sign chart

Each critical point splits the number line into intervals. One test value per interval is enough because the sign can only change at a zero or undefined point.

Before

Zeros: x=1Undefined: x=2\text{Zeros: } x = -1 \qquad \text{Undefined: } x = 2

After

(,1):+(1,2):(2,):+(-\infty, -1): + \qquad (-1, 2): - \qquad (2, \infty): +
Numerator zeros can close only for ≤ or ≥. Denominator zeros never close, even when the inequality is inclusive.
6

Step 6

Apply endpoint rules

The inequality is strict, so numerator zeros stay open. Denominator zeros always stay excluded.

Before

(,1):+(1,2):(2,):+(-\infty, -1): + \qquad (-1, 2): - \qquad (2, \infty): +

After

Denominator zeros x=2 are never included.\text{Denominator zeros } x = 2 \text{ are never included.}
Numerator zeros can close only for ≤ or ≥. Denominator zeros never close, even when the inequality is inclusive.
7

Step 7

Write the solution

Keep only the intervals whose sign matches the inequality, then convert the result into interval notation.

Before

Denominator zeros x=2 are never included.\text{Denominator zeros } x = 2 \text{ are never included.}

After

(,1)(2,)(-\infty, -1) \cup (2, \infty)

Sign Chart

Each interval keeps a constant sign, so one test value per interval is enough.

x = -1 · zero
x = 2 · undefined
Row(-∞, -1)(-1, 2)(2, +∞)
Test value
2.5-2.5
0.50.5
44
x + 1
numerator
-
+
+
x - 2
denominator
-
-
+
Overall sign
f(x)/g(x)
+
-
+
Solution
Keep matching intervals
UNDEFINED POINTS: x = 2 makes the denominator equal 0. These points are never included in the solution.

Calculator Types

Switch to another inequality tool in one tap

Zone 4

How to Use the Rational Inequality Calculator

This rational inequality calculator is designed for the exact trouble spots students hit in algebra and precalculus: quotient inequalities such as (x + 1)/(x - 2) > 0, non-strict comparisons such as (x - 3)/(x + 4) <= 0, factorable quadratic numerators like (x^2 - 4)/(x + 3) > 0, multi-critical-point cases such as (2x - 1)/((x + 1)(x - 3)) >= 0, and rearrangement problems such as 1/(x - 5) > 2. You can type the whole inequality directly or switch to the split numerator and denominator builder when you want to see the fraction structure more clearly.

Once the expression is recognized, the page keeps the solving workflow close to what a strong teacher would do on paper. First put everything on one side so the comparison is against 0. Next identify zeros of the numerator and undefined points from the denominator. Then use the sign chart to test one value per interval. After that, move through the number line, function graph, and interval notation tabs so the answer is visible in several different representations instead of staying trapped in symbols.

The result area is built to solve two different jobs. If you are learning, follow the tabs in order: Steps, Sign Chart, Number Line, Function Graph, Interval Notation, Verify. If you are only checking homework, jump straight to the Sign Chart or Verify tab and test one value from inside the answer, one value outside it, and one undefined point. That three-value check catches almost every endpoint mistake.

01

Enter a rational inequality such as (x + 1)/(x - 2) > 0, switch to fraction-builder mode, or load one of the example buttons.

02

Review the standard-form rewrite, numerator zeros, denominator restrictions, sign chart, number line, and function graph together.

03

Use the interval notation and verification tabs to confirm which endpoints stay open, which numerator zeros are included, and which denominator points are always excluded.

What Is a Rational Inequality?

A rational inequality compares a rational expression, meaning a quotient of polynomials, with zero or with another expression. In its standard classroom form it looks like f(x)/g(x) > 0, f(x)/g(x) < 0, f(x)/g(x) >= 0, or f(x)/g(x) <= 0. The core difference from linear or quadratic inequalities is that the denominator matters twice: it affects the sign, and it also creates values where the expression is undefined.

That undefined-domain issue is what makes rational inequalities conceptually different from ordinary polynomial sign problems. A numerator zero is a place where the rational expression equals 0. A denominator zero is a place where the expression does not exist at all. Those two kinds of critical points are not interchangeable, and the final number-line picture has to keep them visually separate.

The final answer to a rational inequality is usually an interval or a union of intervals. It can also be a single point, no solution, all real numbers, or all real numbers except one or more undefined points. That range of answer shapes is exactly why sign charts, number lines, and interval notation belong on the same page.

Model form

f(x)g(x)>0\frac{f(x)}{g(x)} > 0

Key restriction

g(x)0g(x) \ne 0

Critical Points: Zeros and Undefined Points Explained

The most important idea in rational inequality work is that not all critical points behave the same way. A zero of the numerator makes the whole fraction equal to 0, so it may become an included endpoint if the inequality uses <= or >=. A zero of the denominator makes the fraction undefined, so it can never be included, no matter what comparison symbol appears in the problem.

Both kinds of points split the number line into sign intervals. That is why they both appear on the sign chart. But they get different endpoint rules. Students often remember to find both sets of points but then treat them identically in the final answer. That is the error this page is designed to prevent.

There is one more subtlety: repeated factors. If the numerator has a factor such as (x - 1)^2, the point x = 1 is still critical, but the sign does not flip there because an even power stays nonnegative on both sides. The same even-power idea can happen in the denominator too. A repeated denominator root is still undefined, still excluded, and still may fail to flip the sign.

Comparison pointZero of numeratorZero of denominator
Function valueEquals 0Undefined because the denominator is 0
Strict inequalityExcluded with an open endpointAlways excluded
Inclusive inequalityIncluded if it satisfies the signStill excluded
Number-line markerOpen or closed circleVertical warning marker
Sign behaviorMay flip for odd multiplicityMay flip for odd multiplicity, but never enters the solution
Mistake: including a denominator root because the nearby interval works.
Mistake: building the sign chart before moving everything to one side.
Mistake: assuming an even-powered factor must flip the sign.

How to Solve Rational Inequalities Using the Sign Chart Method

The sign chart method is the standard reliable way to solve rational inequalities. It works because the sign of a rational expression can only change at critical points: zeros of the numerator and zeros of the denominator. Between those points, the sign stays constant, so testing one number per interval is enough.

This approach is much safer than cross-multiplying blindly. If you multiply both sides by a denominator whose sign is not fixed, you risk flipping the inequality in some intervals but not others. The sign chart method avoids that trap by keeping the denominator in view until the end.

Even when the numerator or denominator does not factor perfectly, the same workflow applies. You still move everything to one side, identify the real critical points, divide the number line into intervals, and read the sign on each interval. When the denominator is always positive or always negative, the chart becomes simpler, but the endpoint rules stay the same.

Sign multiplication rule

+×+=+
+×-=-
-×+=-
-×-=+

Working model

x+1x2>0\frac{x+1}{x-2} > 0

Zeros and undefined points split the real line into intervals. The sign chart chooses the positive or negative regions that match the inequality.

The Sign Chart Method Step by Step

1

Move to Standard Form

Rewrite the inequality so the right side is 0. If the problem starts as 1/(x-5) > 2, move the 2 left first and combine the result over a common denominator.

1x5>2112xx5>0\frac{1}{x-5} > 2 \Rightarrow \frac{11 - 2x}{x - 5} > 0
2

Factor Completely

Factor the numerator and denominator when real factors are available. Factoring makes zeros, repeated roots, and sign changes much easier to see.

x24x+3>0(x2)(x+2)x+3>0\frac{x^2 - 4}{x + 3} > 0 \Rightarrow \frac{(x-2)(x+2)}{x+3} > 0
3

Find Critical Points

Set numerator factors equal to 0 to get zeros. Set denominator factors equal to 0 to get undefined points. Sort every critical point from left to right.

4

Divide the Number Line

If there are n critical points, they create n+1 intervals. Each interval keeps a constant sign until another critical point is crossed.

5

Test One Value per Interval

Substitute one test value into each interval. Record the sign of each factor, then combine the signs to get the sign of the full rational expression.

6

Read the Solution

Keep the intervals whose sign matches the inequality. Include numerator zeros only for <= or >=. Exclude denominator zeros every time.

Sign Chart

Each interval keeps a constant sign, so one test value per interval is enough.

x = -1 · zero
x = 2 · undefined
Row(-∞, -1)(-1, 2)(2, +∞)
Test value
2.5-2.5
0.50.5
44
x + 1
numerator
-
+
+
x - 2
denominator
-
-
+
Overall sign
f(x)/g(x)
+
-
+
Solution
Keep matching intervals
UNDEFINED POINTS: x = 2 makes the denominator equal 0. These points are never included in the solution.

Rational Inequality Examples with Solutions

Example 1Basic sign chart
(x+1)/(x2)>0(x+1)/(x-2) > 0

This is the classic two-critical-point introduction. One numerator zero and one denominator restriction split the real line into three intervals.

Critical points

x = -1 (zero), x = 2 (undefined)

Answer

(,1)(2,)(-\infty, -1) \cup (2, \infty)

Strict inequality, one zero, one undefined point.

Example 2Inclusive endpoint
(x3)/(x+4)0(x-3)/(x+4) \le 0

This example shows the most common endpoint mistake: x = 3 can be included, but x = -4 cannot, even though the nearby interval is valid.

Critical points

x = -4 (undefined), x = 3 (zero (included))

Answer

(4,3](-4, 3]

≤ includes a numerator zero but still excludes the denominator root.

Example 3Factor the numerator
(x24)/(x+3)>0(x^{2}-4)/(x+3) > 0

Factoring the numerator into two linear factors creates three critical points and four sign intervals.

Critical points

x = -3 (undefined), x = -2 (zero), x = 2 (zero)

Answer

(3,2)(2,)(-3, -2) \cup (2, \infty)

Quadratic numerator and multiple sign flips.

Example 4Multiple restrictions
(2x1)/((x+1)(x3))0(2x-1)/((x+1)(x-3)) \ge 0

A linear numerator with two denominator factors creates several intervals and tests whether the inclusive symbol adds the numerator zero without ever admitting denominator roots.

Critical points

x = -1 (undefined), x = 0.5 (zero (included)), x = 3 (undefined)

Answer

(1,0.5](3,)(-1, 0.5] \cup (3, \infty)

Multiple undefined points and a non-strict inequality.

Example 5Move the right side first
1/(x5)>21/(x-5) > 2

This is the model problem for showing why standard form matters. You cannot read a sign chart correctly until every term has been moved to one side.

Critical points

x = 5 (undefined), x = 5.5 (zero)

Answer

(5,5.5)(5, 5.5)

Rearrangement into quotient compared with 0.

Example 6Denominator always positive
(x+2)/(x2+1)<0(x+2)/(x^{2}+1) < 0

Since x^2 + 1 is always positive, the sign chart collapses to the sign of the numerator alone.

Critical points

x = -2 (zero)

Answer

(,2)(-\infty, -2)

Constant-sign denominator.

Example 7Repeated root
(x1)2/(x+2)>0(x-1)^{2}/(x+2) > 0

The repeated numerator root creates a critical point that does not flip the sign. The denominator restriction still does.

Critical points

x = -2 (undefined), x = 1 (zero)

Answer

(2,1)(1,)(-2, 1) \cup (1, \infty)

Even-powered factor and non-flipping sign.

Example 8Factor both numerator and denominator
(x2x6)/(x24)0(x^{2}-x-6)/(x^{2}-4) \le 0

Both polynomials factor, and one critical point appears in both the numerator and denominator. That overlap is a good reminder that undefined still beats zero.

Critical points

x = -2 (zero and undefined), x = 2 (undefined), x = 3 (zero (included))

Answer

(2,3](2, 3]

Shared critical point and mixed endpoint logic.

Graphing Rational Inequalities on a Number Line

A rational inequality number line must show more information than a linear one. Numerator zeros may get open or closed circles depending on whether the inequality is strict or inclusive. Denominator zeros are different: they should be marked as excluded warning points because the expression is undefined there.

This distinction is not cosmetic. It is the visual version of the domain rule. If two intervals are both valid but a denominator root sits between them, the graph must break there. That is why interval notation for rational inequalities often uses a union, even when the expression seems positive on both sides of one missing point.

Number Line

Zero points can open or close. Undefined denominator points stay excluded and use an orange marker.

-3-1.833-0.6670.51.6672.8334+-+-1undef2
Orange vertical markers are undefined denominator points and are never included.Open circles exclude. Filled circles include. Purple segments are the solution.

Interval Notation for Rational Inequalities

Interval notation for rational inequalities follows two different endpoint rules at once. Numerator zeros can be included only when the symbol is <= or >= and the rational expression is actually defined there. Denominator zeros are never included because division by zero is undefined.

A strong final check is to read the answer aloud with the graph in mind. For example, (-infinity, -4) union (-4, 3] means every x less than -4 or between -4 and 3, with -4 excluded and 3 included. If the spoken sentence does not match the number line, the interval notation needs one more correction.

Solution shapeExampleInterval notationMeaning
Two open outer intervals
x<1orx>2x < -1 or x > 2
(,1)(2,)(-\infty, -1) \cup (2, \infty)
Strict sign with both endpoints excluded.
Mixed union around an undefined point
x<4or4<x3x < -4 or -4 < x \le 3
(,4)(4,3](-\infty, -4) \cup (-4, 3]
The numerator zero can close, but the denominator zero stays open.
Single bounded interval
1<x<2-1 < x < 2
(1,2)(-1, 2)
Strict inequality between two critical points.
All reals except one undefined point
x5x \ne 5
(,5)(5,)(-\infty, 5) \cup (5, \infty)
Every interval works, but the denominator root still breaks the line.
No solution
none\text{none}
\varnothing
No interval matches the requested sign.

Special Cases: No Solution, All Real Numbers & Undefined Points

Denominator Always Positive

Expressions such as (x + 2)/(x^2 + 1) < 0 become easier because the denominator never changes sign. The solution comes entirely from the numerator, but the method is still a rational sign chart method because the denominator analysis is what tells you the sign is fixed.

No Solution

If every interval on the sign chart has the wrong sign, the answer is the empty set. A common example is (x^2 + 1)/(x^2 + 4) < 0, where both numerator and denominator stay positive for all real x.

All Real Numbers Except Undefined Points

Sometimes every interval satisfies the inequality, but denominator roots still have to be removed from the domain. In that case the final answer is all real numbers with one or more exclusions.

Even-Powered Factors

Factors such as (x - 1)^2 create critical points without forcing a sign change. They still matter for endpoint logic, but they do not automatically flip the sign chart the way a simple first power does.

Frequently Asked Questions

What is a rational inequality?

A rational inequality compares a rational expression, such as (x + 1)/(x - 2), with another value using <, >, <=, or >=. Its solution is usually a set of intervals rather than one isolated number.

What is the difference between a rational inequality and a linear inequality?

A linear inequality has no variable in the denominator, so its main job is to isolate x. A rational inequality also has to respect domain restrictions because denominator values equal to zero are undefined.

What are critical points in a rational inequality?

Critical points are the real numbers where the numerator is zero or the denominator is zero. They divide the real line into intervals where the sign of the rational expression stays constant.

What is the difference between zeros and undefined points?

Zeros come from the numerator and may be included when the inequality is inclusive. Undefined points come from the denominator and are never included because division by zero is undefined.

Why can't the denominator equal zero in a rational inequality?

Because a rational expression does not exist when its denominator is zero. Any x-value that makes the denominator 0 must be excluded from the domain and from the final solution.

When do you include the endpoint in a rational inequality solution?

Include an endpoint only when it comes from a numerator zero and the inequality uses <= or >=. Denominator zeros are excluded in every case.

Why is the undefined point never included even with <= or >=?

The comparison symbol does not change the domain. If the denominator is zero, the rational expression is undefined, so the point cannot be part of the solution set.

What happens at a zero of the denominator on the number line?

That point becomes a break in the number line. The solution may continue on both sides, but the point itself is excluded and shown separately from ordinary endpoints.

How do even-powered factors affect the sign chart?

An even-powered factor such as (x - 1)^2 does not flip sign when you cross its root. The point is still critical, but the sign on the two adjacent intervals may stay the same.

What is the sign chart method for rational inequalities?

The sign chart method finds numerator zeros and denominator restrictions, splits the number line into intervals, tests one value per interval, and keeps the intervals whose sign matches the inequality.

How do you build a sign chart for a rational inequality?

First move everything to one side so the inequality compares a quotient with 0. Then factor, list the critical points, choose one test value from each interval, record the sign of each factor, and combine the signs to read the result.

How do you choose test values for each interval?

Choose any convenient number strictly inside each interval. Midpoints are common because they avoid the endpoints and usually keep the arithmetic simple.

How do you read the solution from a sign chart?

After you know the sign on every interval, keep the intervals with the required sign. Then apply the endpoint rules: inclusive numerator zeros may enter, denominator zeros never do.

Do I need to factor the numerator and denominator?

Factoring is very helpful because it makes the critical points explicit, but the real goal is sign information. If a factor does not split nicely, you can still analyze its sign from roots or constant-sign behavior.

How do you solve a rational inequality step by step?

Put the inequality into quotient-versus-zero form, factor when possible, find numerator zeros and denominator restrictions, build the sign chart, choose the satisfying intervals, and then apply endpoint rules.

What do you do when the right side is not zero?

Move every term to one side first. For example, 1/(x - 5) > 2 becomes (11 - 2x)/(x - 5) > 0 before you build the sign chart.

How do you solve rational inequalities with quadratic numerators or denominators?

Treat them the same way after factoring or analyzing their real roots. Quadratic factors create additional critical points, and repeated roots may affect whether the sign flips.

When does a rational inequality have no solution?

It has no solution when none of the sign-chart intervals satisfy the requested sign. That often happens when both numerator and denominator keep the same sign everywhere.

When does a rational inequality have all real numbers as solution?

It happens when every interval satisfies the inequality and there are no denominator restrictions. If denominator roots exist, the result becomes all real numbers except those undefined points.

What happens when the denominator is always positive?

The denominator no longer creates sign flips, so the sign of the rational expression is determined entirely by the numerator.

How do I use this rational inequality calculator?

Enter a rational inequality, press Solve, then move through the Steps, Sign Chart, Number Line, Function Graph, Interval Notation, and Verify tabs. Example buttons are included if you want a model problem first.

Is this rational inequality calculator free?

Yes. The full solver, sign chart, graph views, interval notation, and verification tools are free to use without registration.

Keep Exploring

Related inequality calculators