Simplifying a rational expression is a fixed routine: find the restrictions, factor, cancel only common factors, then carry the restrictions into your answer. Skip the first step and you can simplify correctly yet still write a wrong domain.

A rational expression is a fraction whose numerator and denominator are polynomials, such as x+1x3\frac{x+1}{x-3}. In general it has the form

P(x)Q(x)\frac{P(x)}{Q(x)}

where P(x)P(x) and Q(x)Q(x) are polynomials and Q(x)0Q(x) \ne 0. Because the denominator cannot be zero, every rational expression comes with values that are not allowed.

When this method applies

Use this simplification routine whenever you have a quotient of polynomials. Expressions such as

x+2x5,x21x2+x,3x2+4\frac{x+2}{x-5}, \quad \frac{x^2-1}{x^2+x}, \quad \frac{3}{x^2+4}

all qualify, because each is a polynomial over a polynomial. By contrast, 1x\frac{1}{\sqrt{x}} is not usually treated as a rational expression in basic algebra, since x\sqrt{x} is not a polynomial, so the cancel-factors routine does not apply the same way.

The procedure, step by step

  1. Find restrictions first. Determine which values make the original denominator zero. Those values are excluded no matter how simple the expression later looks.
  2. Factor before canceling. Rewrite numerator and denominator as products so a common factor becomes visible.
  3. Cancel factors, not terms. Divide out only matching factors. You cannot cancel part of a sum or difference.
  4. Keep the restrictions. Carry every original restriction into the final answer.

Step 3 is the heart of the rule. For example,

x+1x+3\frac{x+1}{x+3}

does not simplify by "canceling the xx." The numerator and denominator are sums, not matching factors. That is why factoring comes first: factoring shows whether a common factor actually exists.

A full worked example

Simplify

x21x2+x.\frac{x^2-1}{x^2+x}.

Step 1, restrictions. Set the original denominator to zero:

x2+x=x(x+1),x^2 + x = x(x+1),

so x0x \ne 0 and x1x \ne -1.

Step 2, factor both parts.

x21=(x1)(x+1),x2+x=x(x+1).x^2-1 = (x-1)(x+1), \qquad x^2+x = x(x+1).

So the expression becomes

(x1)(x+1)x(x+1).\frac{(x-1)(x+1)}{x(x+1)}.

Step 3, cancel the common factor (x+1)(x+1).

x1x.\frac{x-1}{x}.

Step 4, keep the restrictions. The simplified expression is x1x\frac{x-1}{x}, with the original restrictions x0x \ne 0 and x1x \ne -1.

Where the procedure breaks down

The factor (x+1)(x+1) disappeared from the final fraction, but the restriction x1x \ne -1 did not. This is the step students miss most. The original expression was undefined at x=1x=-1, so the simplified answer must still exclude it.

Why this matters: the restriction changes the expression's domain, meaning the set of inputs that make sense. The form

x1x\frac{x-1}{x}

looks defined at x=1x=-1, but when it comes from x21x2+x\frac{x^2-1}{x^2+x}, that value stays excluded. Simplification changes appearance, not the points where the original was undefined.

Other common slips, by step:

  1. Step 3: canceling terms instead of factors — the most common algebra error here.
  2. Step 2: skipping the factoring, which hides whether cancellation is even legal.
  3. Step 4: dropping the denominator restrictions after simplifying.
  4. Assuming every rational expression simplifies. Some are already in simplest form.

Where this shows up

Rational expressions appear in algebra, precalculus, and calculus: simplifying formulas, solving rational equations, locating vertical asymptotes, and setting up partial fraction decomposition. Many formulas are ratios, so once factoring, simplifying, and restriction-tracking are automatic, later topics get much easier.

Run the steps yourself

Simplify

x2+3xx29.\frac{x^2+3x}{x^2-9}.

Find the restrictions from the original denominator, factor, cancel only common factors if they exist, and confirm your final answer still rules out every value the original denominator did. Check the last point carefully: that is exactly where a correct cancellation can still produce a wrong domain.

Frequently Asked Questions

What is a rational expression in simple terms?
It is a fraction made from polynomials, such as $\frac{x+1}{x-3}$, with the condition that the denominator cannot be zero.
Can you cancel terms in any rational expression?
No. You can cancel only common factors. You cannot cancel parts of a sum or difference unless the whole numerator and denominator have been factored first.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →