Skip to content
Math & Scientific

Simplify Rationals Calculator

Simplify Rationals Calculator

Factor, cancel, and simplify rational expressions up to quadratics.

A rational expression is a fraction whose numerator and denominator are polynomials, and simplifying one is a staple skill in algebra: factor both polynomials, cancel any factors they share, and record the values that would make the original denominator zero. The Simplify Rationals Calculator above automates the whole process for expressions up to quadratics. Enter the coefficients of the numerator and denominator, and it shows the factored forms, the cancelled factors, the simplified expression, and the restricted values — every step visible.

This guide explains what simplifying a rational expression means, how the factoring works, two complete worked examples with every arithmetic step shown, how to interpret the restricted values, and the mistakes students make most often when simplifying by hand.

What This Calculator Does

The calculator accepts a numerator of the form ax² + bx + c and a denominator of the form dx² + ex + f. It finds the roots of each polynomial, writes each as a product of linear factors, cancels any common factors between numerator and denominator, and presents the simplified form. Crucially, it also lists the restricted values — every root of the original denominator — because a simplified expression is only equivalent to the original where the original was defined.

Linear expressions are supported too: just set the x² coefficient to zero and the calculator treats the polynomial as a line. If either quadratic has a negative discriminant, meaning it cannot be factored over the real numbers, the calculator tells you plainly that the expression is already in lowest terms.

How to Use the Calculator

Enter the three coefficients of the numerator (a, b, c) and the three of the denominator (d, e, f) in the labeled fields. The fields come pre-filled with the first worked example below, so you can press Calculate immediately to see how the output looks. For your own problem, replace the coefficients and press Calculate again.

The result panel shows the factored numerator, the factored denominator, which factors were cancelled, the simplified form in a highlighted line, and the restricted values. The Reset button restores the default example coefficients. If you enter all zeros for the denominator, you get a clear error message, since division by zero is undefined.

The Factoring Method, Step by Step

Simplifying a rational expression follows the same idea as reducing an ordinary fraction like 6/10 to 3/5: find common factors and divide them out. For a quadratic ax² + bx + c, the calculator uses the discriminant, b² − 4ac. If the discriminant is zero or positive, the quadratic has real roots r₁ and r₂ given by (−b ± √(b² − 4ac)) / 2a, and it factors as a(x − r₁)(x − r₂). A common linear factor between the numerator’s factors and the denominator’s factors can then be cancelled, exactly like cancelling the common factor 2 from 6/10.

The restricted values come from the original denominator, not the simplified one. If the denominator factors as (x − 3)(x − 1), then x = 3 and x = 1 would make the original expression undefined, so they stay restricted even if one of those factors cancels out during simplification.

Worked Example 1: (x² − 9) ÷ (x² − 4x + 3)

Enter numerator coefficients a = 1, b = 0, c = −9 and denominator coefficients d = 1, e = −4, f = 3. The calculator factors the numerator first: the discriminant is 0² − 4(1)(−9) = 36, and the roots are (0 ± 6) / 2 = 3 and −3. So the numerator is (x + 3)(x − 3). For the denominator, the discriminant is (−4)² − 4(1)(3) = 16 − 12 = 4, and the roots are (4 ± 2) / 2 = 3 and 1. So the denominator is (x − 1)(x − 3).

Both share the factor (x − 3), which cancels. The simplified form is (x + 3) / (x − 1). The restricted values are x ≠ 3 and x ≠ 1, because both roots of the original denominator would make it zero. Notice that x = 3 stays restricted even though its factor cancelled — the original expression is undefined there, and the simplified form must not pretend otherwise.

Worked Example 2: (2x² + 5x + 2) ÷ (x² + 3x + 2)

Enter a = 2, b = 5, c = 2 and d = 1, e = 3, f = 2. Numerator discriminant: 5² − 4(2)(2) = 25 − 16 = 9. Roots: (−5 ± 3) / 4 = −0.5 and −2. Numerator factors: (x + 0.5)(x + 2). Denominator discriminant: 3² − 4(1)(2) = 9 − 8 = 1. Roots: (−3 ± 1) / 2 = −1 and −2. Denominator factors: (x + 1)(x + 2).

The common factor (x + 2) cancels. The leading coefficients do not cancel — the numerator’s is 2 and the denominator’s is 1 — so the simplified form keeps their ratio: 2(x + 0.5) / (x + 1), with restricted values x ≠ −1 and x ≠ −2. The calculator shows this exactly, leading coefficient included.

Double-Checking With a Test Value

It is always wise to verify a simplification by substituting a value that is not restricted. Take Example 2 and use x = 0. The original numerator is 2(0)² + 5(0) + 2 = 2, and the original denominator is 0² + 3(0) + 2 = 2, so the original value is 2/2 = 1. The simplified form at x = 0 gives 2(0 + 0.5)/(0 + 1) = 2 × 0.5/1 = 1. The two agree, which confirms the simplification including the leading coefficient.

Try the same check on Example 1 with x = 0: the original gives (−9)/(3) = −3, and the simplified form gives (0 + 3)/(0 − 1) = 3/(−1) = −3. Again they match. This test-value habit catches the two most common hand-simplification errors — dropped leading coefficients and wrong restricted values — in seconds.

Understanding Restricted Values

Restricted values are the x-values that make the original denominator equal zero, and they are part of the answer, not an optional footnote. A simplified rational expression is only equal to the original expression at values where both are defined. In Example 1, the simplified form (x + 3)/(x − 1) is defined at x = 3 (it equals 6/2 = 3), but the original expression has a zero denominator there, so x ≠ 3 must be stated.

When no cancellation happens, the restricted values are simply the denominator’s roots. When everything cancels — for example, (x² − 1)/(x² − 1) — the expression simplifies to 1 with the restriction that x ≠ 1 and x ≠ −1. The calculator reports these in every case.

Common Mistakes Students Make

The most dangerous mistake is cancelling terms instead of factors — for example, “cancelling” the x² from (x² + 3)/(x² + 5) to get 3/5. You can only cancel factors that multiply the entire numerator and denominator, never terms joined by addition. The second classic mistake is forgetting the restricted values, or computing them from the simplified denominator instead of the original one.

A third mistake is sign errors when writing factors: a root of −3 gives the factor (x + 3), not (x − 3), because the factor is zero when x equals the root. A fourth is mishandling leading coefficients, as the test-value check above showed: 2x² + 5x + 2 is 2(x + 0.5)(x + 2), and dropping the 2 changes the expression’s value. Finally, students sometimes declare a quadratic with a negative discriminant “unfactorable” and stop — the correct conclusion is that it is already in lowest terms over the reals.

Frequently Asked Questions

1. What is a rational expression?

A rational expression is a fraction in which the numerator and denominator are polynomials, such as (x² − 9)/(x² − 4x + 3). It is the algebraic analogue of an ordinary fraction like 6/10.

2. How do you simplify a rational expression?

Factor the numerator and the denominator completely, cancel any factors they have in common, and state the restricted values — the x-values that make the original denominator zero.

3. What are restricted values?

Values of x that would make the original denominator equal zero. The expression is undefined there, so they must be excluded from the domain even if their factors cancel during simplification.

4. Why do cancelled factors still create restrictions?

Because equivalence between the original and simplified forms only holds where the original is defined. Cancelling (x − 3) removes it from view, but the original expression was still undefined at x = 3.

5. Can I cancel terms instead of factors?

No. Only factors — expressions that multiply the whole numerator or denominator — can be cancelled. Cancelling terms joined by plus or minus signs, like turning (x + 3)/(x + 5) into 3/5, is one of the most common algebra errors.

6. What if the discriminant is negative?

Then the quadratic has no real roots and cannot be factored over the real numbers. The calculator reports that the expression is already in lowest terms, which is the correct conclusion.

7. What if the discriminant is zero?

Then the quadratic has a repeated root and factors as a perfect square, like x² − 6x + 9 = (x − 3)². The calculator handles this naturally since both computed roots are equal.

8. Does the calculator handle linear polynomials?

Yes. Set the x² coefficient to zero and enter the linear coefficients — for example, a = 0, b = 2, c = 6 represents 2x + 6, which factors as 2(x + 3) with root −3.

9. What happens if the denominator is zero?

If all denominator coefficients are zero, the calculator shows an error, because division by zero is undefined. Enter at least one non-zero coefficient in the denominator.

10. Do leading coefficients matter when cancelling?

Yes for the exact value of the expression. Common factors cancel, but a leftover leading-coefficient ratio still scales the simplified form — the calculator keeps it automatically, showing for example 2(x + 0.5)/(x + 1) rather than dropping the 2. Dropping it is a common hand-simplification error.

11. Can the simplified form be just a number?

Yes. If the numerator and denominator are identical, everything cancels and the expression simplifies to 1, with the denominator’s roots as restricted values. If the numerator is a non-zero constant and the denominator cancels fully, you get a constant over 1.

12. How can I check my simplification is correct?

Substitute a test value that is not restricted into both the original and the simplified form. Both should give the same result. The double-check section above shows this with x = 0 for both worked examples.

13. What does “lowest terms” mean for a rational expression?

It means the numerator and denominator share no common factors other than constants — there is nothing left to cancel. The calculator tells you explicitly when an expression is already in lowest terms.

14. Why does the calculator show factored form instead of expanding?

Because factored form is what makes simplification visible: you can see each linear factor, spot the common ones, and read the roots (and hence the restrictions) directly. Expanded form hides all of that structure.

15. Can this calculator simplify expressions with x³ or higher?

No — it handles quadratics and linears only. Cubic and higher-degree polynomials need different factoring techniques (such as the rational root theorem), which are beyond this calculator’s scope.

Final Thoughts

Simplifying a rational expression is factoring plus bookkeeping: factor both polynomials, cancel what they share, and never lose track of the restricted values. The Simplify Rationals Calculator above shows each of those steps for any quadratic-over-quadratic expression, so you can follow the logic instead of just copying an answer. Work through the examples, test your simplifications with a substituted value, and the process will quickly become second nature.