How to Simplify Rational Expressions and Find Excluded Values
Factor, cancel, add, subtract, multiply and divide rational expressions correctly, and state the excluded values, holes and asymptotes.

Rational expressions are fractions made of polynomials, and working with them is a large part of every algebra and precalculus course. The rules look like the rules for ordinary fractions, but two extra ideas make the topic harder: you have to factor polynomials before anything cancels, and you have to remember which values of the variable are not allowed. This guide covers both, with worked examples you can check in the free Rational Expression Simplifier.
Factor first, always
Nothing can be cancelled until the numerator and denominator are written as products. Cancelling terms rather than factors is the classic mistake: in (x + 3)/(x + 5) nothing cancels, because the 3 and the 5 are terms of a sum. Begin by taking out any common numerical factor, then look for familiar patterns such as differences of squares, perfect squares and sums or differences of cubes, and factor quadratics by finding two numbers with the right product and sum. For harder polynomials, the rational root theorem lists the only possible rational zeros: a factor p divides the constant term and q divides the leading coefficient.
The simplifier does this exactly, with fractions rather than decimals. It also searches for integer quadratic factors, which is how it splits x⁴ + 4 into (x² − 2x + 2)(x² + 2x + 2), a factorisation few students would spot without a hint.
Simplifying one expression
Consider (x² − 9)/(x² + x − 6). The numerator is (x + 3)(x − 3) and the denominator is (x + 3)(x − 2). The factor (x + 3) appears in both and cancels, leaving (x − 3)/(x − 2).
Before you write that down as the answer, record the excluded values. The original expression is undefined wherever its denominator is zero, which is at x = −3 and x = 2. The simplified version has a value at x = −3, but the original does not, so the two are only equal for x ≠ −3 and x ≠ 2. Many textbooks and exam boards expect this condition with the answer.
Holes and asymptotes
Excluded values come in two kinds, and the difference shows up on a graph. A value whose factor cancelled leaves a single missing point, a hole. In the example above the hole is at x = −3, and substituting into the simplified form gives its height, 6/5. A value whose factor stays in the denominator gives a vertical asymptote, where the graph shoots off to infinity, here at x = 2. The tool draws the graph with holes as open circles and asymptotes as dashed lines, and also gives the horizontal asymptote, y = 1 here because the degrees match and the leading coefficients are both 1.
Multiplying and dividing
To multiply, factor everything, multiply numerators together and denominators together, and cancel. Doing the cancelling before expanding keeps the numbers small. To divide, multiply by the reciprocal of the second fraction. There is a trap here: the numerator of the divisor moves into the denominator, so its zeros become excluded values as well. In (x² − x − 6)/(x² − 9) ÷ (x + 2)/(x + 3), everything cancels to 1, but the excluded values are −3, 3 and −2. The last one comes from the divisor's numerator.
Adding and subtracting
Addition needs a common denominator, and the least common denominator keeps the work tidy. Factor each denominator and take every distinct factor at the highest power it appears with. For 3/(x − 2) + 5/(x + 3), the LCD is (x − 2)(x + 3). Multiply the first numerator by (x + 3) and the second by (x − 2), giving 3x + 9 and 5x − 10. Their sum, 8x − 1, sits over the LCD, so the answer is (8x − 1)/((x − 2)(x + 3)). Always try to factor the new numerator in case something now cancels; here nothing does.
Subtraction works the same way, with one extra danger: the minus sign applies to every term of the second numerator, so put that numerator in brackets before subtracting.
Complex fractions
A fraction inside a fraction, such as (1/x − 1/2)/(x − 2), can be simplified by combining the small fractions first or by multiplying top and bottom by the LCD of the inner denominators. Either way, the inner denominators still count when listing excluded values, so x = 0 is excluded here along with x = 2. The simplifier tracks nested denominators automatically and reduces this example to −1/(2x).
Checking your answer
Pick a value of x that is not excluded and evaluate both the original and the simplified expressions. They must agree. The tool has a checker that does this for any value and flags excluded values as undefined. If your hand answer and the tool's step list disagree, compare the factored forms first; nearly every error is a factoring or sign slip.


