Progress can't be saved in this browser, so this lesson's status can't be set.
Learning goals
Exclude every value that makes the denominator zero
Cancel a shared factor, never a term
Multiply straight across, canceling 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, where each expression is built only by adding, subtracting, and multiplying
numbers and variables (no variable appears in an exponent, and none sits under a root):
denominatornumerator,for examplex−2x+1.
The bar means divide the numerator by the denominator. At x=5, for example,
x−2x+1 becomes 36=2.
Dividing asks which number, multiplied by the denominator, gives the numerator.
A value that makes the denominator zero is an excluded value: division by zero is undefined.
No number multiplied by zero gives a nonzero numerator. And if the numerator is zero too, every number
times zero gives that zero numerator, so there is no single answer.
For x−2x+1, the denominator is zero at x=2, so we write x=2.
To find excluded values, set the original denominator equal to zero. For x5, exclude 0;
for 2x−6x, exclude 3. Depending on its denominator, a fraction may exclude several values,
one value, or none.
Check your understanding
For what value of x is x−4x+3 undefined?
A fraction is undefined exactly where its denominator is zero. Set the denominator equal to zero.
x−4=0⇒x=4
So x=4 is excluded; every other value of x is fine.
Simplifying by canceling a common factor
To simplify an algebraic fraction, factor its numerator and denominator using the GCF method
from the previous lesson, then cancel their common nonzero factors. This preserves the value because
a shared factor divided by itself is 1.
For example, 6x2=3x⋅2x and 9x=3x⋅3, so
9x6x2=3x⋅33x⋅2x=32x,x=0.
The restriction stays even though the simplified denominator is just 3. At x=0, the original
fraction has a zero denominator, so it has no value there. The simplified 32x equals it only for
x=0.
For nonzero x, factoring exposes the shared factor 3x. Dividing it by itself gives 1, leaving 2x over 3. The restriction x not equal to zero remains.
The same reasoning works for any common factor, including an entire expression.
Why a factor shared by top and bottom can be canceled#
For a numerical example, separate the common factor 4 in 2820:
7⋅45⋅4=75⋅44=75⋅1=75.
Now replace 4 by any nonzero factor c. If the remaining denominator b is also nonzero, the
fraction multiplication rule gives
bcac=ba⋅cc=ba⋅1=ba.
Canceling removes a factor of cc=1, so the value stays the same wherever the original
denominator bc is nonzero.
∎
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.
A shared binomial factor (a factor with two terms) cancels in the same way. 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.
Cancel common factors, never individual terms. A factor is multiplied by the remaining factors
to make the whole numerator or denominator; a term is added to other terms. In 3x+3, the 3 in the numerator is added to x,
so it is not a factor of the whole numerator. Canceling just those 3‘s would give the wrong x+1.
At x=3, the original equals 2, but x+1 equals 4.
A valid split divides both terms by 3:
3x+3=3x+33=3x+1.
Likewise, for x=0, xx+2=1+x2, not x+2. The denominator divides every term of the
numerator.
Worked example 1Simplify three algebraic fractions
In each, factor the top and bottom, then cancel only a shared factor.
For 6x9x2, the greatest common factor of the numerator and denominator is 3x, since
9x2=3x⋅3x and 6x=3x⋅2:
6x9x2=3x⋅23x⋅3x=23x,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
To multiply fractions, multiply the numerators and multiply the denominators:
ba⋅dc=bdac,b=0,d=0.
Canceling common factors before multiplying can keep the work smaller. For 32x⋅x29,
write 9=3⋅3 and x2=x⋅x. One factor of 3 and one of x cancel:
32x⋅x29=3⋅x⋅x2⋅x⋅3⋅3=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
Cancel any shared factor first, then multiply what remains.
For 5x+2⋅x+210, the binomial x+2 is a factor of one top and the
other bottom, so it cancels before anything is multiplied:
5x+2⋅x+210=51⋅110=510=2,x=−2.
For x+23x⋅6x+2, the shared x+2 cancels the same way, leaving only
63x to multiply out:
x+23x⋅6x+2=13x⋅61=63x=2x,x=−2.
Check your understanding
Multiply x3⋅6x2.
Cancel first: write x2=x⋅x, and the x in the first denominator cancels one of them. Then 3 and 6 share the factor 3.
x3⋅6x2=x3⋅6x⋅x=63x=2x
The original is undefined at x=0, so this holds for x=0.
Dividing algebraic fractions
To divide by a fraction, multiply by its reciprocal, with its numerator and denominator swapped.
The divisor (the fraction you divide by) must be defined and nonzero. Thus both its denominator and its numerator must be nonzero:
ba÷dc=ba⋅cd,b=0,c=0,d=0.
These are two separate checks: a zero denominator makes the divisor undefined; a zero numerator
makes a defined divisor equal to zero, which you still cannot divide by.
Why dividing by a fraction means multiplying by its reciprocal#
A quotient is the number that, multiplied by the divisor, gives the dividend.
The reciprocal of 54 is 45, because 54⋅45=1.
So dividing 32 by 54 means multiplying 32 by 45, giving 65.
We can check by multiplying back: 65⋅54=32.
For nonzero c,d, the same calculation gives
dc⋅cd=dccd=1.
Thus cd is the multiplicative inverse of dc, the number that multiplies it to give 1.
For b=0, multiplying ba⋅cd by the divisor dc returns ba.
That is why
ba÷dc=ba⋅cd.
The reasoning still holds when the letters are expressions, provided these nonzero conditions hold.
∎
After replacing division with multiplication by the reciprocal, factor and cancel as before.
Keep every exclusion from the original fractions and from the divisor being nonzero.
Worked example 3Divide two algebraic fractions
Flip the second fraction to turn division into multiplication, then cancel before multiplying what
remains.
For 4x÷8x2, the reciprocal of 8x2 is x28. Write
8=4⋅2 and x2=x⋅x to expose the shared factors 4 and x:
4x÷8x2=4x⋅x28=4x⋅x⋅x4⋅2=x2,x=0.
For x3x+6÷4xx+2, first factor 3x+6=3(x+2), then flip and
multiply. Writing 4x as 4⋅x exposes the shared x+2 and the shared x:
The binomial x+2 and the single x both cancel, leaving the plain number 12. The restriction
x=−2 comes from the divisor 4xx+2 itself: its numerator x+2 must be nonzero for
its reciprocal to exist.
Check your understanding
Simplify x2÷x24.
To divide by x24, multiply by its reciprocal 4x2, then cancel.
x2÷x24=x2⋅4x2=4x2x2=2x
The numbers reduce by 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 need a common denominator: the same denominator after rewriting each
fraction without changing its value. For example, adding 21 and 31 means rewriting both in
sixths. Algebraic fractions follow the same rule.
With a shared nonzero denominator d, combine the numerators and keep that denominator:
da+dbda−db=da+b,=da−b.
For example, 72x+73x=75x. When subtracting a whole numerator, put it in parentheses so the
minus reaches every term. For x=0,
x4x+1−xx−2=x(4x+1)−(x−2)=x4x+1−x+2=x3x+3.
The −2 becomes +2, just as when subtracting expressions without fraction bars.
When denominators differ, multiply each fraction’s numerator and denominator by the same nonzero
factor to make them match. First factor the denominators: split positive whole-number coefficients
into prime factors and use the algebraic factoring you know. For example, 4=2⋅2 and
6=2⋅3, so their least common denominator is 2⋅2⋅3=12.
The least common denominator (LCD) uses each needed prime or algebraic factor as many times as it
appears in the denominator that uses it most. Every denominator then divides it without a remainder,
and no extra copies of a factor are needed. This can keep the arithmetic smaller than multiplying
all denominators together.
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:
Practice problems at the level of the course, to be worked out on paper. Hints one at a
time, then the answer or the full worked solution, with your progress kept in this browser.
The word fraction comes from Latin for a breaking. Dividing by a quantity that later becomes zero was at the
center of a long argument in early calculus.
Some calculations divided by a small changing quantity, then treated that quantity as zero after
simplifying. The methods produced useful answers, but explaining why they worked was harder.
In 1734, George Berkeley, an Irish philosopher and bishop who had also written on mathematics,
challenged these arguments in The Analyst. His pointed question was whether a quantity could be
nonzero when you divided by it, yet zero when it became inconvenient. He famously asked whether these
vanishing quantities were “ghosts of departed quantities.”
Berkeley’s pamphlet was also part of a dispute about religion and certainty. Mathematicians wrote
replies, and over the next century they kept working on the foundations of calculus. During the
1800s, precise definitions of limits gave a way to describe a quantity approaching zero without
dividing by zero.