Algebraic Fractions: Worked Examples

Simplify, add, multiply and divide algebraic fractions with worked examples. Learn to cancel factors, find common denominators and check restrictions.

Try this method with your own numbers.Use the algebraic fraction value checker

Cancel factors, not terms

Factor the numerator and denominator before cancelling common factors. A denominator may never be zero.

(x² − 4)/(x + 2) = x − 2, with x ≠ −2.

Find a common denominator

When adding fractions, rewrite each one using the same denominator, then add the numerators.

1/x + 1/(x + 1) = (2x + 1)/(x(x + 1)), with x ≠ 0 and x ≠ −1.

Multiply and divide

Multiply numerators together and denominators together. To divide, multiply by the reciprocal of the second fraction; that fraction must be nonzero.

(2x/3) × (9/(4x)) = 3/2, with x ≠ 0.

Keep the original domain after cancellation

The expression (x² − 9)/(x + 3) factors into (x − 3)(x + 3)/(x + 3). Cancelling the common factor gives x − 3 only when x is not −3. At that excluded value, the original expression is still undefined.

(x² − 9)/(x + 3) = x − 3, for x ≠ −3

A second check: substitute an allowed value

At x = 5, the original expression is (25 − 9)/8 = 2 and the simplified expression is 5 − 3 = 2. This checks the arithmetic at one value. The factorization, rather than a single numerical match, is what proves equality throughout the permitted domain.

At x = 5: 16/8 = 2. At x = −3: the original denominator is 0.

Compare before and after cancellation

Explore (x² − k²)/(x + k) at an integer value of x. Try x = −k to see why the original restriction matters.

Change the example values

Original and simplified values

3 = 3

For (x² − k²)/(x + k), keep x ≠ -2. This example compares values; the factorization establishes the identity.

Step by step

  1. Factor the numerator as a difference of squaresx² − (2)² = (x − 2)(x + 2)
  2. Cancel the common factor only on the original domain(x − 2)(x + 2) / (x + 2) = x − 2, x ≠ -2
  3. Compare both expressions at x = 521/7 = 5 − (2) = 3

Common mistakes to avoid

Cancelling across addition
(x + 3)/x is not 3. The x in the numerator is a term, not a factor of the entire numerator.
Forgetting restrictions when dividing
A divisor fraction must itself be nonzero. Keep restrictions from the original denominators as well as any new restriction created by taking a reciprocal.

Check your understanding

Try these questions, then compare your reasoning with the worked answers.

01Simplify (x² − 4)/(x + 2), keeping the original restriction.

Show answer & reasoning

x − 2, with x ≠ −2 — Factor x² − 4 as (x − 2)(x + 2), and keep x ≠ −2 from the original denominator.

02Does checking one allowed value prove two expressions are identical?

Show answer & reasoning

No; a general algebraic argument is also needed. — Two different expressions can coincide at one value. Factorization or another general identity is needed for proof.

Sources & further reading

These textbook sections explain the rules used in this guide. The worked examples and practice questions here are published by CalcSolver.

Written and maintained by CalcSolver. See our math checking and correction policy for how examples, rounding and input limits are handled.

Found a mistake? Report a correction on GitHub ↗. The draft includes this page’s address. A GitHub account is required, and submitted reports are public.