Build your rational expressions
Choose degrees and coefficients for each numerator/denominator. You can also evaluate the result at a specific x. Tip: keep coefficients small (like −10 to 10) for clean factors.
Build two rational expressions, simplify them (when possible), find domain restrictions, evaluate at a chosen x, and combine them using +, −, ×, or ÷. This page is designed for homework checks, quick practice, and screenshot‑friendly sharing.
Choose degrees and coefficients for each numerator/denominator. You can also evaluate the result at a specific x. Tip: keep coefficients small (like −10 to 10) for clean factors.
A rational expression is a fraction where the numerator and denominator are polynomials. The general form is:
where P(x) and Q(x) are polynomials and Q(x) ≠ 0. That last part is the first big idea: you can’t divide by zero. So a rational expression is only defined at values of x where the denominator is not zero.
The domain of a rational expression is “all real numbers except the ones that make the denominator zero.” To find restrictions, solve:
Any solution is excluded from the domain. If Q(x) is linear, it’s one restriction. If Q(x) is quadratic, there may be 0, 1, or 2 restrictions (depending on the roots). This calculator computes those roots (when they exist) and lists them as: Undefined at x = …
Simplifying a rational expression means rewriting it in an equivalent simpler form. The rule that saves you from errors is: you may cancel a common factor, but you may not cancel a common term. For example:
Notice that even after cancellation, we keep the restriction x ≠ 2. The simplified expression is x + 2 but the original had a “hole” at 2 (because the denominator was zero there). In algebra classes, teachers love asking about this distinction because it’s where many people lose points.
In this calculator, coefficients are usually small integers (because sliders), so factoring is often clean. When factoring is clean (especially for degree 1 and degree 2), the tool attempts to detect shared linear factors and show a simplified form. If factoring isn’t clean (irrational roots, messy decimals), the tool still gives a correct combined expression — it just won’t pretend to factor what isn’t nice.
You can only add/subtract fractions with a common denominator. If:
then:
The denominator becomes the product B·D (a common denominator). Then you combine the numerators. This is exactly what the calculator does using polynomial arithmetic. It also merges the domain restrictions: if either B=0 or D=0, the whole expression is undefined there.
These are more straightforward:
The key “viral” memory trick: division means flip the second fraction. Also note that when dividing, you must also exclude values that make the divisor zero (because dividing by zero is illegal). In rational-expression language, that means: if R2 = C/D, then you must exclude values where C=0 as well (since that makes R2=0 and you can’t divide by it). The calculator flags this.
To evaluate R(x)=P(x)/Q(x) at a number (like x=2): compute P(2) and Q(2), then divide. But: if Q(2)=0 the expression is undefined. That’s why this calculator prints a simple “Defined/Undefined at x=…” check before giving a numeric value.
Rational expressions are one of those topics where people want instant certainty: “Did I do the common denominator right?” “Can I cancel this?” “Why did my teacher say x=2 is excluded?” This tool is built to make those moments screenshot‑able: you can randomize clean examples, use it in class, or share “holes vs simplifications” with friends.
Below are example patterns that match what teachers usually assign. You can recreate these quickly by adjusting sliders.
Factor the numerator: x^2 - 9 = (x-3)(x+3). Cancel (x-3) to get x+3. Restriction: x ≠ 3.
Common denominator: (x-1)(x+1). New numerator: 1(x+1) + 2(x-1) = x+1 + 2x-2 = 3x-1. Result: (3x-1)/((x-1)(x+1)). Restrictions: x ≠ 1, x ≠ -1.
Factor x^2 - 4 = (x-2)(x+2). After multiplying, you can cancel (x-2). Simplified result: (x+2)/(x+5). Restrictions still include x ≠ 2 (from the original).
Flip the second fraction: (x+2)/(x-3) × (x+4)/(x-1). Result: ((x+2)(x+4))/((x-3)(x-1)). Restrictions: x ≠ 3, x ≠ 1, and also x ≠ -4 if it makes the original divisor undefined (from its denominator). Plus, exclude any x where the divisor equals zero (here: x ≠ 1 because numerator of divisor is zero).
Tip: if your homework asks for “simplified form,” your teacher might expect factoring and cancellation. But it’s totally okay to leave results as a single fraction with expanded polynomials if factoring gets messy.
No — you can’t cancel a single term unless it’s a factor of the entire numerator and denominator. (x+1) is not a multiple of x, so cancelling would be illegal.
Yes. The original denominator was zero there, so the original function was undefined there. Cancellation creates a hole (removable discontinuity) rather than “fixing” the original restriction.
Because addition needs a common denominator first. Multiplication just multiplies across. The “common denominator step” is where most algebra mistakes happen.
Then there are no real domain restrictions from that denominator (it’s never zero for real x). For quadratics, this happens when the discriminant is negative.
This page is optimized for the most common class cases: linear and quadratic numerators/denominators with small integer coefficients. It still produces correct combined expressions beyond that (degrees can grow during multiplication), but simplification is “best effort” when factoring isn’t clean.
Screenshot these rules and you basically have a rational-expression cheat sheet.
MaximCalculator provides simple, user-friendly tools. Always treat results as educational help and double-check important work.