Algebra

Algebraic Fractions Calculator

Simplify algebraic fractions by factorising the top and bottom and cancelling common brackets, or add and subtract fractions with algebraic denominators. Every step is shown, including the factorising.

Numerator ax² + bx + c over denominator dx² + ex + f — use 0 for a missing term.

Simplest form

(x + 3) / (x − 2)

How it works

  1. Write the fraction

    x2+5x+6x2−4\frac{x^2 + 5x + 6}{x^2 - 4}

    To simplify an algebraic fraction, factorise the top and the bottom, then cancel any brackets that appear in both.

  2. Factorise the numerator

    x2+5x+6=(x+2)(x+3)x^2 + 5x + 6 = (x + 2)(x + 3)

    x² + 5x + 6 = (x + 2)(x + 3).

  3. Factorise the denominator

    x2−4=(x+2)(x−2)x^2 - 4 = (x + 2)(x - 2)

    x² − 4 = (x + 2)(x − 2).

  4. Cancel the common factors

    x+3x−2\frac{x + 3}{x - 2}

    (x + 2) appears on the top and bottom, so it cancels. The simplified fraction is (x + 3) / (x − 2).

    Result:(x + 3) / (x − 2)

Simplifying and adding algebraic fractions

ab+cd=ad+bcbd(x+3)(x+2)(x−2)(x+2)=x+3x−2\frac{a}{b} + \frac{c}{d} = \frac{ad + bc}{bd} \qquad \frac{(x+3)(x+2)}{(x-2)(x+2)} = \frac{x+3}{x-2}
ad+bcad + bcCross-multiply to get the new numerator
bdbdMultiply the denominators for a common denominator
cancelOnly whole bracketed factors can be cancelled

Example substitution

x2+5x+6x2−4=(x+3)(x+2)(x+2)(x−2)=x+3x−2\frac{x^2 + 5x + 6}{x^2 - 4} = \frac{(x+3)(x+2)}{(x+2)(x-2)} = \frac{x+3}{x-2}

Factorise both, then cancel the common factor (x + 2).

Worked examples

Simplify (x² − 9)/(x² + x − 6)

  1. 1
    Factorise top: (x + 3)(x − 3)
  2. 2
    Factorise bottom: (x + 3)(x − 2)
  3. 3
    Cancel (x + 3):
Answer: (x − 3)/(x − 2)

Write 2/(x + 3) + 3/(x − 1) as a single fraction

  1. 1
    Common denominator: (x + 3)(x − 1)
  2. 2
    Numerator: 2(x − 1) + 3(x + 3) = 5x + 7
Answer: (5x + 7)/((x + 3)(x − 1))

Frequently asked questions

How do you simplify an algebraic fraction?+

Factorise the numerator and the denominator fully, then cancel any bracket that appears in both. You can only cancel whole factors, never single terms.

Why can’t I cancel the x in (x + 3)/x?+

Because x + 3 is a sum, not a product. You can only cancel factors that multiply the whole top and the whole bottom.

How do you add algebraic fractions?+

Find a common denominator — usually the two denominators multiplied together — rewrite each fraction over it, then add the numerators. For example 2/(x + 3) + 3/(x − 1) = (5x + 7)/((x + 3)(x − 1)).

What is the most common mistake when subtracting?+

Forgetting that the minus sign applies to every term in the second numerator. Put the second numerator in brackets before expanding.

Related calculators