Math Solver Free

Rational Expression Calculator

Simplify algebraic fractions with domain checks — instantly and free.

How to Simplify Rational Expressions

This calculator simplifies algebraic fractions — fractions whose numerator and denominator are polynomials, such as (x² − 1)/(x + 1) — by factoring both parts and cancelling the factors they share. Simplifying one works exactly like reducing 6/8 to 3/4, except the “numbers” are expressions in x, and one extra duty appears: tracking the x-values that would make the original denominator zero. Type your numerator and denominator above and the tool returns the simplified expression, the factor-by-factor steps, and every domain restriction, so you can check homework properly instead of just copying a final answer.

The Anatomy of a Rational Expression, Symbol by Symbol

A rational expression is written P(x)/Q(x). P(x) is the numerator polynomial — the expression above the fraction bar. Q(x) is the denominator polynomial below the bar, and it carries the defining condition Q(x) ≠ 0, because division by zero is undefined. The letter x is the variable the polynomials are built from, and the degree of each polynomial is its highest power of x: x² − x − 6 has degree 2. A factor is a smaller expression that multiplies to give the polynomial, and an excluded value is any x that makes Q(x) equal zero in the original, unsimplified expression.

How to Use This Calculator

  1. Type the top polynomial into the Numerator box and the bottom one into the Denominator box, using ^ for powers — or tap one of the preset example chips to load a ready-made problem.
  2. Press Simplify Rational Expression. The tool factors both polynomials and looks for shared factors to cancel.
  3. Read the Simplified result panel, the amber Domain restriction line listing excluded x-values, and the numbered steps underneath, which show each factorisation and cancellation in order.

Factor, Then Cancel

You cannot cancel terms — only factors. In (x²−1)/(x+1), the top factors to (x+1)(x−1), so the (x+1) factor cancels and you are left with x−1. Cancelling the x’s in (x+5)/x would be wrong because x is a term, not a factor.

Never Forget the Domain

Cancelling (x+1) does not erase the fact that x = −1 made the original denominator zero. Always state excluded values from the original denominator — this tool lists them automatically.

Worked Example: Simplifying (x² − 9)/(x² − x − 6)

  1. Factor the numerator: x² − 9 is a difference of squares → (x + 3)(x − 3).
  2. Factor the denominator: x² − x − 6 needs two numbers with product −6 and sum −1 → (x − 3)(x + 2).
  3. Cancel the shared factor: (x − 3) appears top and bottom, leaving (x + 3)/(x + 2).
  4. State the domain: the original denominator is zero at x = 3 and x = −2, so the simplified form is (x + 3)/(x + 2) with x ≠ 3, −2.

Multiplying and Dividing Rational Expressions

Multiplication follows the same factor-first rule: factor every numerator and denominator, then cancel diagonally. Division means multiplying by the reciprocal of the divisor — flip the second expression, then factor and cancel. In both cases the excluded values grow: collect zeros from every original denominator, not just the final one.

Worked Example 2: Simplifying (x² − 4)/(x² − x − 2), With a Numeric Check

Factor the numerator first: x² − 4 is a difference of squares, giving (x − 2)(x + 2). For the denominator x² − x − 2, find two numbers with product −2 and sum −1: those are −2 and +1, so it factors as (x − 2)(x + 1). The factor (x − 2) appears on both levels, so cancel it, leaving (x + 2)/(x + 1). The original denominator is zero when x = 2 or x = −1, so the full answer is (x + 2)/(x + 1), x ≠ 2, −1. Verify with a test value, x = 3: the original gives (9 − 4)/(9 − 3 − 2) = 5/4, and the simplified form gives (3 + 2)/(3 + 1) = 5/4. The two agree, exactly as they must at every allowed x.

When Simplifying Rational Expressions Matters

Students meet this skill first when checking algebra homework, but it keeps returning. Before solving a rational equation you simplify each side and note the restrictions, otherwise “solutions” that were never in the domain slip through. In calculus, a limit where direct substitution produces 0/0 is often resolved by cancelling a shared factor, which reveals the limit and explains the hole in the graph. Real formulas behave the same way: average-speed problems over equal distances and combined work-rate problems both produce rational expressions that only become usable once reduced.

Three Mistakes That Cost Marks

  • Cancelling terms instead of factors. Striking the x’s in (x + 5)/x to leave 5 is illegal — x is a term of the numerator, not a factor of it. Only a complete bracketed factor shared by top and bottom may cancel.
  • Reading restrictions from the simplified form. In the first worked example, x = 3 vanishes during cancellation, yet it was excluded from the start. Restrictions always come from the original denominator.
  • Sign slips when factoring quadratics. x² − x − 6 is (x − 3)(x + 2); the tempting (x + 3)(x − 2) expands to x² + x − 6 — the middle sign is wrong. Multiply your factors back out to check.

Need the factoring step explained? See our factoring calculator or practice with plain numeric fractions on the fraction calculator. For expressions without fractions, you can simplify expressions with steps using the same combine-and-reduce approach.

Frequently Asked Questions

What is a rational expression?

A fraction whose numerator and denominator are polynomials, like (x²−1)/(x+1). It behaves like a numeric fraction, but the “numbers” are expressions in a variable. The denominator polynomial can never equal zero, which is why every rational expression carries excluded values alongside its simplified form.

How do you simplify one?

Factor the top and bottom completely, cancel factors common to both, and record which x-values the original denominator excluded. The order matters: factor first, because only complete factors can cancel — individual terms inside a sum never can. This calculator shows the factored forms, the cancellation, and the restrictions in its step list.

What are domain restrictions?

Values that make the original denominator zero are excluded from the domain — even if they cancel out during simplification, the original expression was undefined there. They show up on graphs as holes or vertical asymptotes. Always read them from the expression you started with, never from the simplified answer.

Is this calculator free?

Yes — simplifying rational expressions here is free: no account, no download, and no limit on how many expressions you check. Results, factors, and excluded values are worked out in your browser, so you can verify homework privately, as often as you need, before handing it in.

Why is a value still excluded if the simplified expression works there?

Because simplification does not rewrite history: at that x-value the original denominator was zero, and division by zero is undefined, so the original expression simply has no value there. The simplified form agrees with the original everywhere else, but that single point becomes a hole in the graph rather than a real point.

What can I type into the numerator and denominator?

Enter polynomials in x up to degree 3, using ^ for powers — for example, numerator x^2 - 1 and denominator x + 1. Addition, subtraction, multiplication, and brackets are all supported. If an entry cannot be parsed, the tool tells you and suggests the expected format rather than guessing at your meaning.

Related Tools & Guides

About the MathSolverFree Team

The MathSolverFree Team builds and maintains the calculators and step-by-step solvers on this site. Every tool is checked against worked textbook examples before it is published, and the method behind each solver is written out in full — in the worked examples on the page and in our guides — so you can see exactly how an answer is reached, not just the answer itself.

How we build and test our tools·More about the team