Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Rational Inequality Solver

¹/

Solve rational inequalities with sign charts, step by step

Enter inequality...
Var
Num
Op
Ineq

Select an inequality type or enter your own rational inequality, then click Solve to see the step-by-step solution.






Getting Started

The solver shows an inequality display at the top with a blinking yellow caret marking the cursor position. Click anywhere in the display to place the cursor, or use arrow keys, Home, and End for keyboard navigation. Type directly or use the button panel below.

Three quick experiments:

• Type 1/x>21/x > 2 and press Enter — the right panel combines to (12x)/x>0(1 - 2x)/x > 0, identifies critical points at x=0x = 0 (excluded, denominator) and x=1/2x = 1/2 (numerator zero), builds the sign chart, and reports the solution as (0,1/2)(0, 1/2).
• Click the "Fraction less than or equal to 0" example template — an inequality of the form (x+a)/(x+b)0(x + a)/(x + b) \leq 0 loads. Note how the solver uses brackets for the numerator-zero endpoint and parentheses for the denominator-zero endpoint.
• Try the "Sum of Fractions" template to see how the solver finds a common denominator before identifying critical points.

The Solve button is disabled until you enter something. The dedicated "Ineq" row inserts the four inequality symbols.

Building Inequalities with Buttons and Keyboard

The button panel groups inputs by type. All inputs can be made either by clicking or typing on the keyboard.

• Variable row — xx, yy, nn.
• Number row — digits 0 through 9 and the decimal point.
• Operator row — multiplication, division (the division operator builds fractions in the display), plus, minus.
• Ineq row — the four inequality symbols.
• Special row — the x2x^2 shortcut button, caret operator for arbitrary exponents, and parentheses for grouping.

The division operator is the key tool for this solver: typing 1/x1/x creates a fraction structure that the solver recognizes as a rational expression. For multi-term denominators, use parentheses: 1/(x+2)1/(x + 2) is parsed as one over the quantity x+2x + 2, not as 1/x+21/x + 2.

Keyboard shortcuts: type letters and digits directly, use star or slash for multiplication and division, type << and >> directly, type <=<= or >=>= to insert the combined symbols \leq and \geq, and press Enter to solve. Ctrl+Z undoes up to fifty edits back.

Try an Example — Eight Form Templates

Click the &quot;Try an Example&quot; header to expand the template panel. Each card generates a random inequality of that form. Clicking again produces a new random version.

&bull; Simple Reciprocal &mdash; 1/x>a1/x > a. The most basic rational inequality. Critical points are 00 (denominator) and 1/a1/a (numerator after combining).
&bull; Linear Denominator &mdash; a/(x+b)<ca/(x + b) < c. Standard one-fraction inequality with a linear denominator.
&bull; Fraction $\leq 0$ &mdash; (x+a)/(x+b)0(x + a)/(x + b) \leq 0. Single fraction compared to zero, no combining needed.
&bull; Quadratic Numerator &mdash; (x2+bx+c)/(x+d)>0(x^2 + bx + c)/(x + d) > 0. Three critical points (two from the numerator quadratic, one from the denominator); four intervals in the sign chart.
&bull; Sum of Fractions &mdash; 1/x+1/(x+a)<b1/x + 1/(x + a) < b. Requires combining two fractions over a common denominator before the sign chart.
&bull; Proportion Inequality &mdash; a/(x+b)>c/(x+d)a/(x + b) > c/(x + d). Compare two fractions; subtraction combines them.
&bull; Always Positive &mdash; a/x2>0a/x^2 > 0. The denominator x2x^2 is non-negative, so the only excluded value is x=0x = 0 and the answer is all reals except 0.
&bull; Complex Rational &mdash; (ax+b)/((x+c)(x+d))0(ax + b)/((x + c)(x + d)) \geq 0. Three critical points and shows how multiple denominator factors interact.

Roughly 80 percent of generated inequalities produce clean integer critical points.

Reading the Step-by-Step Solution

The solution panel shows each algebraic move as a labeled step.

&bull; Original Inequality &mdash; restates the input.
&bull; Excluded Values &mdash; lists every value of the variable that makes any denominator zero. These are forbidden in both the problem and the answer.
&bull; Combine into Single Fraction &mdash; the solver moves everything to one side and combines into a single rational expression over the least common denominator.
&bull; Combined Form &mdash; displays the combined inequality P(x)/Q(x)0P(x) / Q(x) \square 0 where PP is the combined numerator and QQ is the LCD.
&bull; Find Critical Points &mdash; lists numerator zeros and denominator zeros separately.
&bull; Sign Chart &mdash; shows the sign of P(x)/Q(x)P(x)/Q(x) on each interval determined by the critical points. The chart displays one ++ or - per interval.
&bull; Solution &mdash; gives the final answer in interval notation, the union of intervals whose sign matches the inequality direction.

Numerator zeros under a non-strict inequality use brackets (included). All denominator zeros use parentheses (excluded) regardless of inequality strictness. The final-answer card shows the interval notation directly.

The Sign-Chart Method — Why It Works

A rational expression P(x)/Q(x)P(x)/Q(x) can change sign only at points where the numerator or denominator equals zero. Between consecutive such points the sign is constant. The sign chart records the sign on each interval.

Why sign changes only happen at critical points.

&bull; At a numerator zero, the rational expression equals zero. As xx crosses such a point, the numerator changes sign (assuming the root has odd multiplicity), so the expression flips sign.
&bull; At a denominator zero, the rational expression is undefined &mdash; it has a vertical asymptote or hole. As xx crosses such a point, the denominator changes sign (assuming odd multiplicity), and again the expression flips sign.
&bull; Between critical points, both numerator and denominator have constant sign, so the quotient does too.

Testing the sign on each interval. Plug any value from the interval into the expression. The sign of the result is the sign on that interval. The solver picks a midpoint or a value outside the outer critical points.

Endpoint rules.

&bull; Numerator zero with non-strict inequality &mdash; included (use bracket). The expression equals zero, which satisfies 0\leq 0 or 0\geq 0.
&bull; Numerator zero with strict inequality &mdash; excluded (use parenthesis). Zero does not satisfy strict <0< 0 or >0> 0.
&bull; Denominator zero, any inequality &mdash; excluded (use parenthesis). The expression is undefined.

Repeated factors and bouncing. If a factor like (x2)2(x - 2)^2 appears, the expression does not change sign as xx crosses 2 because the squared factor has even multiplicity. The solver detects this through the test-point evaluation, so the resulting sign chart is correct without special-case logic.

For deeper coverage see sign chart and rational function.

What is a Rational Inequality?

A rational inequality is a comparison involving a rational expression (a quotient of two polynomials) and one of the four inequality symbols. The general form is

P(x)Q(x)    c\frac{P(x)}{Q(x)} \;\square\; c


where PP and QQ are polynomials, QQ contains the variable, and \square is one of <<, >>, \leq, \geq. By moving cc to the left and combining, every rational inequality reduces to the form R(x)0R(x) \square 0 where RR is a single rational expression.

Domain. The domain of a rational expression excludes every value of the variable that makes any denominator zero. These excluded values can never be part of the solution and must be carefully tracked.

Solution shape. The solution to a rational inequality is a union of intervals on the real line. The number of intervals depends on the number of critical points (numerator zeros plus denominator zeros). With kk critical points there can be at most k+1k + 1 intervals to choose from.

Why rational inequalities are harder than rational equations. Solving the equation P/Q=0P/Q = 0 amounts to finding the numerator zeros (excluding any that are also denominator zeros). Solving the inequality requires the full sign analysis: it is not enough to know where the expression equals zero; you must know where it is positive, negative, and undefined.

Why rational inequalities are harder than polynomial inequalities. Polynomial inequalities have only zeros as critical points and are defined everywhere. Rational inequalities add a second class of critical points (denominator zeros) and forbidden values where the expression has no value at all.

For deeper coverage see rational inequality, rational expression, and excluded values.

The Solving Process Explained

Five stages handle any rational inequality.

&bull; Stage 1: Move everything to one side. Subtract or add to make the right side zero. The inequality becomes R(x)0R(x) \square 0.

&bull; Stage 2: Combine into a single fraction. Find a common denominator for all the rational terms on the left side and add them together. The result is a single rational expression P(x)/Q(x)P(x)/Q(x). Do not clear the denominator: that step is invalid in inequalities because it requires knowing the sign of the denominator.

&bull; Stage 3: Find the critical points.

&bull; Numerator zeros &mdash; solve P(x)=0P(x) = 0.
&bull; Denominator zeros &mdash; solve Q(x)=0Q(x) = 0. These are excluded values; they cannot be solutions but they still divide the number line.

&bull; Stage 4: Build the sign chart. Order the critical points on the number line. Test one value in each resulting interval to determine the sign of P(x)/Q(x)P(x)/Q(x) there.

&bull; Stage 5: Select intervals matching the inequality.

&bull; $R(x) > 0$: choose intervals with sign ++.
&bull; $R(x) < 0$: choose intervals with sign -.
&bull; $R(x) \geq 0$: choose ++ intervals plus numerator zeros (bracket); exclude all denominator zeros (parenthesis).
&bull; $R(x) \leq 0$: choose - intervals plus numerator zeros (bracket); exclude all denominator zeros (parenthesis).

The implementation. Internally, the solver represents polynomials as coefficient arrays, finds roots via factoring and numerical methods, and constructs the sign chart by evaluating the combined expression at midpoints. The final-answer card formats the result as a union of intervals with correct bracket-or-parenthesis logic per endpoint.

For comprehensive treatment see solving rational inequalities and sign analysis.

Related Concepts

Rational Expression &mdash; the quotient of two polynomials. The object that lives on one side of a rational inequality.

Rational Function &mdash; the function f(x)=P(x)/Q(x)f(x) = P(x)/Q(x) whose graph contains vertical asymptotes at denominator zeros and crosses the x-axis at numerator zeros (where they do not coincide with denominator zeros).

Sign Chart &mdash; the tabular method for tracking signs across critical points. Foundational for rational, polynomial, and any other inequality involving a sign question on intervals.

Excluded Values &mdash; values of the variable that make any denominator zero. They are forbidden from the domain and therefore forbidden from any solution set.

Critical Points &mdash; values where the sign of the expression can change. For rational inequalities these are the numerator zeros and the denominator zeros.

Vertical Asymptote &mdash; the geometric counterpart of a denominator zero in the graph of a rational function. The expression goes to plus or minus infinity as the variable approaches the asymptote.

Polynomial Inequality &mdash; the special case with constant (nonzero) denominator. The same sign-chart logic applies, with only numerator zeros as critical points.

Quadratic Inequality &mdash; the second-degree polynomial case. Often appears as the numerator or factor of a rational inequality.

Linear Inequality &mdash; the first-degree polynomial case. A simple rational inequality after combining might reduce to a linear inequality structure.

Interval Notation &mdash; the way the answer is written. Parentheses exclude endpoints, brackets include them, the union symbol \cup joins disjoint pieces.

Common Denominator &mdash; the technique for combining multiple fractions. Same idea as adding rational numbers, but with polynomials in place of integers.

Factoring &mdash; the algebraic tool for finding polynomial roots cleanly. Fully factored numerator and denominator make the critical points immediate by inspection.