Rational Expressions

Simplifying Rational Expressions: Step-by-Step Guide

The rule is acbc=ab\frac{ac}{bc}=\frac{a}{b} for c≠0c\neq 0. Factor the numerator and denominator completely, cancel the factors they share, and record which values were forbidden before you cancelled.

acbc=ab(c≠0)\frac{ac}{bc}=\frac{a}{b}\quad (c\neq 0)

Reducing 69\frac{6}{9} to 23\frac{2}{3} is the same move. Polynomials simply hide their common factors until you factor them, so the real skill is finding those factors, cancelling only the legal ones, and recognising the cases where nothing can go.

How do you simplify rational expressions step by step?

Cancelling works because cc=1\frac{c}{c}=1. Writing acbc=ab⋅cc\frac{ac}{bc}=\frac{a}{b}\cdot\frac{c}{c} shows that you are multiplying by 1, which changes the value of nothing. That one idea explains every rule below, including why only whole factors can go.

  1. Set the original denominator equal to zero and note the excluded values.
  2. Factor the numerator and denominator completely: greatest common factor first, then special patterns, then trinomials.
  3. Cancel each factor that appears on both the top and the bottom.
  4. Rewrite what remains and confirm that no common factor is left.

Take x2−9x2+x−12\frac{x^2-9}{x^2+x-12}. The denominator factors as (x+4)(x−3)(x+4)(x-3), so it is zero at x=−4x=-4 and x=3x=3. Then:

x2−9x2+x−12=(x−3)(x+3)(x+4)(x−3)=x+3x+4,x≠3, x≠−4\frac{x^2-9}{x^2+x-12}=\frac{(x-3)(x+3)}{(x+4)(x-3)}=\frac{x+3}{x+4},\qquad x\neq 3,\ x\neq -4

Notice that the factor you cancel is not always the one you expect. Here the numerator and denominator were both quadratics, yet only one linear factor was shared. The same factor-first habit carries into multiplying and dividing rational expressions, where factors can cancel across two fractions, and into adding and subtracting rational expressions, where it keeps the common denominator small.

Quick check

Simplify 5x2+10xx2−4\frac{5x^2+10x}{x^2-4}.

Why can you cancel factors but never terms?

A factor multiplies everything on its level of the fraction. A term is one piece of a sum. In x+3x+5\frac{x+3}{x+5} the xx and the 33 are added, so nothing multiplies the whole numerator, and nothing can be removed. Test it at x=1x=1: the expression equals 46=23\frac{4}{6}=\frac{2}{3}, while the tempting answer 35\frac{3}{5} is a different number.

A quick screen is to ask whether the symbol you want to cancel could be pulled out front as a multiplier of the entire numerator and of the entire denominator. If you have to write “plus” or “minus” next to it, it is a term. The expression x2+4x+2\frac{x^2+4}{x+2} is the classic trap: it does not become x+2x+2, because x2+4x^2+4 has no real factors at all.

Division by a monomial is the exception

When the denominator is a single term, you may divide each term of the numerator: 6x2+3x3x=2x+1\frac{6x^2+3x}{3x}=2x+1. This is the same as factoring 3x(2x+1)3x(2x+1) and cancelling 3x3x.

This is why x2+xx\frac{x^2+x}{x} legitimately becomes x+1x+1. It is not cancelling a term. It is factoring x(x+1)x(x+1) first, and cancelling the factor xx.

What are excluded values and why do they stay?

Graph of 2/(x+1) showing a hole at x=1/2 and a vertical asymptote at x=-1
Both excluded values stay excluded, but the cancelled factor gives a single missing point and the kept factor gives an asymptote.

Excluded values are the inputs that make the original denominator zero. They are read from the denominator before any cancelling, because the original expression is undefined there. The simplified expression may look perfectly fine at those inputs, but that does not make the two equal.

Simplify 4x−22x2+x−1\frac{4x-2}{2x^2+x-1}. The denominator factors as (2x−1)(x+1)(2x-1)(x+1), so x=12x=\frac{1}{2} and x=−1x=-1 are excluded.

4x−22x2+x−1=2(2x−1)(2x−1)(x+1)=2x+1,x≠12, x≠−1\frac{4x-2}{2x^2+x-1}=\frac{2(2x-1)}{(2x-1)(x+1)}=\frac{2}{x+1},\qquad x\neq \tfrac{1}{2},\ x\neq -1

Graphically, the two excluded values behave differently. The factor x+1x+1 survived, so x=−1x=-1 is a vertical asymptote. The factor 2x−12x-1 cancelled, so x=12x=\frac{1}{2} is a hole, a single missing point at height 21/2+1=43\frac{2}{1/2+1}=\frac{4}{3}. The page on vertical and horizontal asymptotes shows how to tell the two apart, and the guide to the domain of a rational function covers writing the restrictions in interval form.

Skipping this step is the quiet way to lose points, and it causes real errors later. When you solve an equation and a solution matches an excluded value, it is extraneous and must be thrown out.

Quick check

State every excluded value of x−2x2−4\frac{x-2}{x^2-4}, then simplify it.

How do you handle opposite factors in a fraction?

Two factors are opposites when every sign is flipped, like x−3x-3 and 3−x3-x. They look different, so students miss that they match. The fix is to pull out a −1-1: 3−x=−(x−3)3-x=-(x-3). A fraction whose top and bottom are exact opposites equals −1-1.

Simplify 9−x2x2−x−6\frac{9-x^2}{x^2-x-6}. The numerator is (3−x)(3+x)(3-x)(3+x) and the denominator is (x−3)(x+2)(x-3)(x+2).

9−x2x2−x−6=(3−x)(3+x)(x−3)(x+2)=−(x−3)(x+3)(x−3)(x+2)=−x+3x+2\frac{9-x^2}{x^2-x-6}=\frac{(3-x)(3+x)}{(x-3)(x+2)}=\frac{-(x-3)(x+3)}{(x-3)(x+2)}=-\frac{x+3}{x+2}

The excluded values are x=3x=3 and x=−2x=-2. A fast confirmation: at x=1x=1 the original is 8−6=−43\frac{8}{-6}=-\frac{4}{3}, and the answer is −43-\frac{4}{3}.

Where to put the minus sign is a style choice. −x+3x+2-\frac{x+3}{x+2} and −x−3x+2\frac{-x-3}{x+2} are equal, so either is correct unless your course asks for a specific form.

Try this: Simplify 2−xx2−4\frac{2-x}{x^2-4} by rewriting 2−x2-x as −(x−2)-(x-2). Then test x=0x=0 in the original and in your answer. Both should give −12-\frac{1}{2}.

Simplifying rational expressions with cubes and two variables

Most hidden factors come from a short list of patterns. Learn them and the factoring step becomes recognition rather than guesswork.

Pattern Factored form
a2−b2a^2-b^2 (a−b)(a+b)(a-b)(a+b)
a2±2ab+b2a^2\pm 2ab+b^2 (a±b)2(a\pm b)^2
a3−b3a^3-b^3 (a−b)(a2+ab+b2)(a-b)(a^2+ab+b^2)
a3+b3a^3+b^3 (a+b)(a2−ab+b2)(a+b)(a^2-ab+b^2)

For x3−8x2−4\frac{x^3-8}{x^2-4}, the numerator is a difference of cubes:

x3−8x2−4=(x−2)(x2+2x+4)(x−2)(x+2)=x2+2x+4x+2,x≠±2\frac{x^3-8}{x^2-4}=\frac{(x-2)(x^2+2x+4)}{(x-2)(x+2)}=\frac{x^2+2x+4}{x+2},\qquad x\neq \pm 2

Stop there. The quadratic x2+2x+4x^2+2x+4 has discriminant 4−16=−124-16=-12, so it has no real factors and cannot hide another cancellation. Two variables follow the same logic: a2−b2a2−2ab+b2=(a−b)(a+b)(a−b)2=a+ba−b\frac{a^2-b^2}{a^2-2ab+b^2}=\frac{(a-b)(a+b)}{(a-b)^2}=\frac{a+b}{a-b}, with a≠ba\neq b.

The discriminant shortcut

For ax2+bx+cax^2+bx+c, compute b2−4acb^2-4ac. If it is a perfect square, the trinomial factors over the integers; if not, stop hunting for factors.

Try it on 2x2+x−6x2+2x\frac{2x^2+x-6}{x^2+2x}. The discriminant is 1+48=491+48=49, a perfect square, so the numerator factors. The roots are −1±74\frac{-1\pm 7}{4}, which are 32\frac{3}{2} and −2-2, giving (2x−3)(x+2)(2x-3)(x+2). The denominator is x(x+2)x(x+2), so the result is 2x−3x\frac{2x-3}{x} with x≠0,−2x\neq 0,-2. The roots come from the same formula drilled in quadratic formula practice problems.

When does a rational expression refuse to simplify?

Some do not simplify, and knowing how to prove it saves you from forcing a cancellation. The factor test is the quickest: x−rx-r is a factor of a polynomial exactly when the polynomial equals zero at x=rx=r. To see whether x2+9x+3\frac{x^2+9}{x+3} can simplify, plug the root of the denominator, x=−3x=-3, into the numerator. You get 1818, not 00, so x+3x+3 is not a factor and nothing cancels.

Three situations account for nearly every “stuck” problem:

  • The numerator has an irreducible factor, such as x2+9x^2+9, and none of the denominator’s roots make it zero.
  • The shared pieces are terms, not factors, so a cancellation is not allowed.
  • The top has a higher degree than the bottom, so the fraction is improper.

The last case still has a useful rewrite. For x2+1x+1\frac{x^2+1}{x+1}, the factor test fails (the numerator is 22 at x=−1x=-1), but long division gives x2+1=(x+1)(x−1)+2x^2+1=(x+1)(x-1)+2, so:

x2+1x+1=x−1+2x+1\frac{x^2+1}{x+1}=x-1+\frac{2}{x+1}

That is not lowest terms in the usual sense, but it is often the more useful form. The line y=x−1y=x-1 is the slant asymptote of the graph, and the leftover proper fraction is exactly what partial fraction decomposition needs as its starting point.

Quick check

Does x2+9x+3\frac{x^2+9}{x+3} simplify? Give a reason.

How do you check a simplified rational expression?

Pick a value that is not excluded, evaluate the original and your answer, and compare. For Example 1 at x=1x=1: the original gives 1−91+1−12=−8−10=45\frac{1-9}{1+1-12}=\frac{-8}{-10}=\frac{4}{5}, and x+3x+4\frac{x+3}{x+4} gives 45\frac{4}{5}. Avoid x=0x=0 and x=1x=1 when they happen to be special, since they hide sign and power errors; x=2x=2 or x=3x=3 usually catches more mistakes.

For a proof rather than a spot check, use cross-multiplication. Two fractions ab\frac{a}{b} and cd\frac{c}{d} are equal exactly when ad−bc=0ad-bc=0, which is the determinant of a 2×2 matrix built from them. For Example 1:

(x2−9)(x+4)−(x+3)(x2+x−12)=(x+3)(x−3)(x+4)−(x+3)(x+4)(x−3)=0(x^2-9)(x+4)-(x+3)(x^2+x-12)=(x+3)(x-3)(x+4)-(x+3)(x+4)(x-3)=0

The graph gives a third check. The expression x2−1x−1\frac{x^2-1}{x-1} simplifies to x+1x+1, so its graph is the line y=x+1y=x+1 in slope-intercept form, with a hole at (1,2)(1,2). Using that hole as the known point, the same line in point-slope form is y−2=1⋅(x−1)y-2=1\cdot(x-1).

Where is simplifying rational expressions actually used?

Averages are rational expressions. The sum of the first nn positive integers is n(n+1)2\frac{n(n+1)}{2}, so their average is n(n+1)/2n=n+12\frac{n(n+1)/2}{n}=\frac{n+1}{2} after cancelling nn. For n=10n=10 the sum is 5555 and the average is 5.5=1125.5=\frac{11}{2}. The same cancellation turns the arithmetic series formula into a statement about the average of the first and last terms.

Calculus leans on this skill constantly. The limit lim⁡x→2x2−4x−2\lim_{x\to 2}\frac{x^2-4}{x-2} looks like 00\frac{0}{0}, but cancelling x−2x-2 leaves x+2x+2, which approaches 44. The hole at x=2x=2 is exactly why the limit exists even though the function is undefined there.

Logarithms benefit too. Although logarithm rules turn a quotient into a difference, simplifying the fraction inside first often shortens the work. The restrictions travel with it: ln⁡x2−1x−1\ln\frac{x^2-1}{x-1} equals ln⁡(x+1)\ln(x+1) only where the original is defined, so x=1x=1 stays out.

Practice problems

0 of 5 solved

  1. Simplify 6x39x\frac{6x^3}{9x}.

  2. Simplify x2−16x2+x−12\frac{x^2-16}{x^2+x-12} and state the excluded values.

  3. Simplify 2x2+5x−3x2+3x\frac{2x^2+5x-3}{x^2+3x}.

  4. Simplify x2−x−1216−x2\frac{x^2-x-12}{16-x^2}.

  5. Simplify x3−3x2−4x+12x2−5x+6\frac{x^3-3x^2-4x+12}{x^2-5x+6}.

Common questions

What does it mean to simplify a rational expression?

It means rewriting the fraction so the numerator and denominator share no common factor other than 1, which is called lowest terms. The new expression has the same value as the original everywhere the original is defined.

Can you cancel the x in (x + 3)/(x + 5)?

No. The xx in each is a term inside a sum, not a factor of the whole numerator or denominator. Test x=1x=1: the fraction equals 46\frac{4}{6}, not 35\frac{3}{5}.

Do you still state excluded values after cancelling a factor?

Yes. Any value that made the original denominator zero stays excluded, because the original expression is undefined there. On a graph, a cancelled factor leaves a hole at that value.

What happens when the numerator and denominator are opposites?

The quotient is −1-1. For example, 5−xx−5=−(x−5)x−5=−1\frac{5-x}{x-5}=\frac{-(x-5)}{x-5}=-1 for x≠5x\neq 5. Spotting a factor like 3−x3-x next to x−3x-3 lets you cancel and keep a single minus sign.

How do you simplify when the numerator has a higher degree than the denominator?

Factor and cancel first. If nothing cancels, polynomial long division rewrites the expression as a polynomial plus a proper fraction, such as x2+1x+1=x−1+2x+1\frac{x^2+1}{x+1}=x-1+\frac{2}{x+1}.

Is the simplified expression equal to the original for every x?

For every xx except the excluded values. At those points the original is undefined while the simplified form may have a perfectly good value, so the two differ there.

Up next