This site is a work in progress. New lessons are added regularly.
Contact us
Algebraic Fractions
Learning goals
Exclude every value that makes the denominator zero
Cancel a shared factor, never a term
Multiply straight across, cancelling first where you can
Divide by multiplying by the reciprocal of the divisor
Add over a common denominator, distributing a leading minus
What an algebraic fraction is
An algebraic fraction, also called a rational expression, is a ratio of two expressions, one
written over the other:
denominatornumerator,for examplex−2x+1.
The bar means exactly what it has always meant, “divide the top by the bottom.” So the fraction stands
for the number you get once you choose a value of x, substitute it, and carry out the division. At
x=5 the example above is 5−25+1=36=2.
There is one value you are never allowed to choose. Division by zero has no meaning, so the
denominator can never equal zero. Any value of the variable that would make the bottom zero is
excluded, and the fraction simply is not defined there. In x−2x+1 the denominator
x−2 is zero when x=2, so x=2 is excluded and we write x=2. Every algebraic fraction
carries a restriction like this, and keeping track of it is part of handling the fraction honestly.
Finding the excluded values is quick: set the denominator equal to zero and read off the values to
avoid. For x5 the excluded value is x=0; for 2x−6x it is x=3, since
2x−6=0 there.
Simplifying by cancelling a common factor
To simplify an algebraic fraction is to rewrite it with a smaller numerator and denominator that
name the same value, exactly as 96 becomes 32. In arithmetic you did this by
dividing top and bottom by a common factor. The rule for expressions is identical, and it rests on a
single fact you have used since you first met equivalent fractions. A factor that appears in both the
top and the bottom forms a copy of 1, and multiplying by 1 changes nothing.
Why a factor shared by top and bottom can be cancelled#
Suppose the numerator and denominator share a common factor c, so the fraction has the form
b⋅ca⋅c with c=0 and b=0. Because multiplying fractions means
multiplying the tops and multiplying the bottoms, that single fraction can be pulled apart into a
product of two:
b⋅ca⋅c=ba⋅cc.
Now look at the second factor. Any nonzero quantity divided by itself is 1, so cc=1,
and multiplying by 1 leaves the first factor untouched:
ba⋅cc=ba⋅1=ba.
So b⋅ca⋅c=ba. Cancelling the common factor c is nothing more than
recognizing the hidden cc=1 and dropping it. This is why the two fractions name the same
value: they differ only by a factor of 1. The one condition is that c must not be zero, which is
guaranteed as long as the variable stays away from the excluded values.
∎
The whole method, then, is to factor the numerator and denominator, find the factor they share, and
cancel it. The tool for the factoring is the one from the previous lesson: pull out the greatest
common factor. Take 9x6x2. Writing 6x2=3x⋅2x and 9x=3x⋅3 exposes the
shared factor 3x, which cancels:
9x6x2=3x⋅33x⋅2x=32x,x=0. Factoring the top and bottom of 6x squared over 9x exposes the shared factor 3x. Because 3x over 3x is 1, that factor cancels and leaves 2x over 3.
The same idea handles a numerator that is a sum, once you factor it. In xx2+3x the top
factors as x(x+3), so the shared x cancels:
xx2+3x=xx(x+3)=x+3,x=0.
And a shared binomial factor cancels the same way a monomial does. Since 3x+6=3(x+2), the
factor x+2 is common to top and bottom of x+23x+6:
x+23x+6=x+23(x+2)=3,x=−2.
Here is the trap that snares more students than any other, so it is worth stating sharply: you may
cancel common factors, never individual terms. A factor is something multiplied by the rest; a term
is something added to the rest. Cancelling is dividing, and dividing only distributes over a product,
not over a sum. In 3x+3 the 3 on the bottom is a factor, but the 3 on top is a
term, added to x, not multiplying it. There is no shared factor, so nothing cancels, and
3x+3 is notx+1. You can check with a value: at x=3 the real fraction is
36=2, while x+1=4. If you want to split it, the honest split keeps both terms over
the 3:
3x+3=3x+33=3x+1.
The same warning applies to xx+2: the x on the bottom is a factor, but on top it is a
term, so the fraction does not become x+2. Splitting it correctly gives xx+x2=1+x2, which is nothing like x+2.
Worked example 1Simplify three algebraic fractions
In each, factor the top and bottom, then cancel only a shared factor.
For 9x6x2, the greatest common factor of the two terms is 3x, since
6x2=3x⋅2x and 9x=3x⋅3:
9x6x2=3x⋅33x⋅2x=32x,x=0.
For xx2+5x, factor the numerator as x(x+5) and cancel the shared x:
xx2+5x=xx(x+5)=x+5,x=0.
For x+24x+8, factor the numerator as 4(x+2), which shares the factor x+2 with
the denominator:
x+24x+8=x+24(x+2)=4,x=−2.
Each answer is the original fraction in lowest terms, valid everywhere except the excluded value.
Check your understanding
Which is the correct simplification of 6x+6?
The 6 on the bottom is a factor, but the 6 on top is a term, added to x. You may cancel common factors, never terms, so nothing cancels here.
6x+6=6x+66=6x+1
That is not x+1: the x is divided by 6 as well. The fraction is already in simplest form.
Multiplying algebraic fractions
Multiplying algebraic fractions follows the numerical rule with no change: multiply the numerators,
multiply the denominators.
ba⋅dc=bdac.
After multiplying, simplify the result by cancelling any common factor. In practice it is easier to
cancel first, before multiplying, because the numbers stay small and the common factors are already
sitting in front of you. Take 32x⋅x29. The 9 on top and 3 on the
bottom share the factor 3, and one x on top cancels one of the two on the bottom. So cancelling
before multiplying gives
32x⋅x29=3⋅x22x⋅9=3x218x=x6,x=0.
When a numerator or denominator is a sum, factor it first so any shared binomial can cancel.
Worked example 2Multiply and simplify two products
Multiply tops and bottoms, then cancel every shared factor.
For 5x+2⋅x+210, the binomial x+2 appears on both a top and a
bottom, and 510=2:
5x+2⋅x+210=5(x+2)10(x+2)=510=2,x=−2.
For x+23x⋅6x+2, cancel the shared x+2 and reduce 63:
x+23x⋅6x+2=6(x+2)3x(x+2)=63x=2x,x=−2.
Cancelling the binomial before multiplying kept both products short.
Dividing algebraic fractions
Dividing looks harder than multiplying, but a single rule turns it back into multiplying: to divide
by a fraction, multiply by its reciprocal. The reciprocal of dc is cd, its
top and bottom swapped. So
ba÷dc=ba⋅cd.
This is the same rule you used for numbers, and it holds for the same reason.
Why dividing by a fraction means multiplying by its reciprocal#
Dividing by a quantity means multiplying by whatever undoes it, that is, by its multiplicative
inverse: the number you multiply it by to get 1. So to divide by dc, we need the
fraction that multiplies with dc to give 1.
That partner is cd. Multiplying the two, tops together and bottoms together, gives
dc⋅cd=dccd=1,
since the numerator and denominator are the same product. So cd is exactly the inverse of
dc, and dividing by dc is multiplying by cd:
ba÷dc=ba⋅cd.
Nothing here depended on the letters being numbers rather than expressions, so the flip-and-multiply
rule carries over to algebraic fractions unchanged.
∎
Once you have flipped the divisor and switched to multiplication, the problem is a multiplication
problem. So you finish it the same way: cancel shared factors, then multiply what remains.
Worked example 3Divide two algebraic fractions
Flip the second fraction, change division to multiplication, then cancel.
For 4x÷8x2, the reciprocal of 8x2 is x28:
4x÷8x2=4x⋅x28=4x28x=x2,x=0.
For x3x+6÷4xx+2, first factor 3x+6=3(x+2), then flip and
multiply:
The binomial x+2 and the single x both cancel, leaving the plain number 12.
Check your understanding
Simplify x2÷x24.
To divide by x24, multiply by its reciprocal 4x2, then cancel.
x2÷x24=x2⋅4x2=4x2x2=2x
The factor 42=21 and one power of x cancels, leaving 2x. The original is undefined at x=0, so this holds for x=0.
Adding and subtracting algebraic fractions
Addition and subtraction are the operations that demand a common denominator, just as they did for
numbers. You cannot combine 21 and 31 until both are written in sixths, and you
cannot combine two algebraic fractions until they share a denominator either.
When the denominators are already the same, the work is short: keep the common denominator and
combine the numerators. Treat them as the expressions they are and collect like terms.
da+db=da+b,da−db=da−b.
So 72x+73x=75x, adding the like terms 2x and 3x over the shared
7. Subtraction carries the one hazard this lesson keeps returning to. When the numerator being
subtracted is a sum, the minus sign applies to every term of it. So wrap that numerator in
parentheses and distribute, exactly as you did when subtracting whole expressions:
x4x+1−xx−2=x(4x+1)−(x−2)=x4x+1−x+2=x3x+3.
The −2 became +2; missing that flip is the classic slip.
When the denominators differ, first rewrite each fraction as an equivalent one over a common
denominator, then combine. The smallest denominator that every fraction divides into is the least
common denominator (LCD). Building each equivalent fraction uses the same equivalent-fraction
rule as always: multiply top and bottom by whatever the denominator is missing.
Worked example 4Combine fractions that already share a denominator
Keep the common denominator and combine the numerators, watching the sign on any subtraction.
Adding over the shared x+1, the numerators are like terms:
x+15x+x+12x=x+15x+2x=x+17x,x=−1.
Subtracting, the minus sign reaches both terms of the second numerator, so distribute it:
Longer questions in parts, to be worked out on paper. Progressive hints, the answer on its
own so you can check yourself and try again, then the full worked solution, plus a rubric
to mark your own work against.
The word fraction comes from frangere, a Latin verb meaning to break. Breaking one in the wrong
place is what this lesson keeps warning you about. Europe’s best mathematicians did it for fifty years.
Their new methods, the ones that grew into calculus, ran on a questionable move. Divide by a tiny
quantity and simplify what is left. Then say that the tiny quantity was zero all along. The answers came
out right. The reasoning did not, and in 1734 a critic said so in print.
George Berkeley was a bishop in Ireland, not a mathematician. His pamphlet The Analyst was partly a
quarrel about faith, but his objection to the mathematics was exact. You cannot divide by a thing
and then call that thing zero. It is either zero or it is not. He called those disappearing amounts the
ghosts of departed quantities. Nobody answered him properly for a century.
His objection is the condition you kept writing in the margin. Cancelling a shared factor c is legal
because cc=1, and that step needs a c which is not zero. So when x+23x+6
collapsed to the plain number 3, the restriction x=−2 went with it. An excluded value is not
fussy bookkeeping. It is the receipt for the cancellation.