To multiply or divide fractions with variables in them, we break the expressions into factors so matching pieces can cancel out before we multiply anything together.
1
Factoring before multiplying
Suppose we want to multiply these two rational expressions (fractions whose numerators and denominators are polynomials):
x2−9x2+5x+6⋅x+2x−3
Since x is just a number we haven't picked yet, fractions with variables follow the exact same rules as regular fractions like 1415⋅1021.
Multiplying fractions by factoring first
1415⋅1021=?
Text solution
Break each number into factorsInstead of multiplying straight across into big numbers, break each number on top and bottom into its prime factors:
1415⋅1021=2⋅7⋅2⋅53⋅5⋅3⋅7
Cancel matching factors of 5 and 7Pair each factor on top with the same factor on the bottom so 55=1 and 77=1, then multiply what's left:
=2⋅7⋅2⋅53⋅5⋅3⋅7=2⋅23⋅3=49
So the product is 49, found without ever multiplying 15⋅21 or 14⋅10.
2
Multiplying monomial expressions
Before bringing in addition or subtraction, let's multiply two fractions where everything is already multiplied together:
7y26x3y5⋅9x614xy
Multiplying monomial rational expressions
7y26x3y5⋅9x614xy=?
Text solution
Reduce the numbersDivide 14 and 7 by 7, and divide 6 and 9 by 3, then multiply the remaining numbers on top and bottom:
76⋅914=12⋅32=34
Combine the variable powers on top and bottomMultiply the x and y powers across the top and across the bottom:
7y26x3y5⋅9x614xy=3x6y24x4y6
Cancel matching copies of x and yFour copies of x cancel between top and bottom (leaving x2 on the bottom), and two copies of y cancel (leaving y4 on top):
=3⋅x4⋅x2⋅y24⋅x4⋅y2⋅y4=3x24y4,x=0,y=0
So the expression simplifies to 3x24y4, where neither x nor y can be 0 because both were in the original denominator.
In 3x6y24x4y6, each x on top pairs up with an x on the bottom to make 1. The leftover x's stay on whichever side started with more (or leave 1 if both sides had the same number).
Matching copies of nonzero x on top and bottom cancel to 1 one-for-one, leaving the remaining power on whichever side started with more.
3
Why you cannot cancel across addition
When a fraction has a sum like xx+5, it is tempting to cross out the x's. So we need to see when a variable is allowed to cancel and when addition or subtraction keeps it from canceling.
Why you cannot cancel across addition
xx+5=?5
When terms are added or subtracted, parentheses keep the whole sum or difference together as a single factor:
Multiplying polynomials and finding excluded values
Now we can return to our opening problem and multiply the two rational expressions by factoring first:
x2−9x2+5x+6⋅x+2x−3
Multiplying polynomials and finding excluded values
x2−9x2+5x+6⋅x+2x−3=?
x=?
Text solution
Factor each numerator and denominatorFactor x2+5x+6 on top and x2−9 on the bottom, and put parentheses around x−3 and x+2 so each sum or difference stays together as a single factor:
Find the excluded values from the factored denominatorBefore crossing anything out, write down the x-values that make any factor on the bottom equal 0:
So the whole expression equals 1 for every number x except 3,−3, and −2, where the original expression divides by zero.
On the graph of y=(x−3)(x+3)(x+2)(x+2)(x+3)(x−3),y equals 1 everywhere except at x=−3,x=−2, and x=3, where a matching factor pair becomes 00 and leaves an open hole.
Canceling matching factors leaves 1 everywhere except where a factor pair turns into zero over zero.
5
Factoring out a GCF and canceling opposite factors
Now let's multiply two rational expressions where one numerator has a greatest common factor (GCF) and another factor has its subtraction reversed:
x2−162x2+6x⋅x+34−x
Factoring out a GCF and canceling opposite factors
x2−162x2+6x⋅x+34−x=?
Text solution
Factor out the GCF and factor the difference of squaresPull out the greatest common factor 2x from 2x2+6x, and factor x2−16 into (x−4)(x+4):
So the product simplifies to x+4−2x for all x=4,−4,−3. We cannot reduce the −2 and 4 because 4 is added to x.
On the number line, 4−x and x−4 are the same distance in opposite directions, so x−44−x equals −1 for every x=4.
Wherever you move the point (except right on 4), the two arrows cover the exact same distance in opposite directions, so their ratio stays at −1.
6
Dividing rational expressions
Now suppose we are dividing one rational expression by another:
x2+3x−10x2−25÷x2−4x+5
Just like with regular fractions, dividing by a fraction is the same as multiplying by its reciprocal (the flipped fraction):
BA÷DC=BA⋅reciprocalCD
A
B
÷
C
D
in denominatorfrom the start(B=0)
in denominatorbefore the flip(D=0)
=
A
B
⋅
D
C
in denominatorafter the flip(C=0)
Dividing rational expressions
x2+3x−10x2−25÷x2−4x+5=?
Text solution
Flip the second fraction and multiplyKeep the first fraction, change division to multiplication, and flip the second fraction:
x2+3x−10x2−25÷x2−4x+5=x2+3x−10x2−25⋅x+5x2−4
Factor every numerator and denominatorFactor x2−25,x2+3x−10, and x2−4:
=(x+5)(x−2)(x−5)(x+5)⋅x+5(x−2)(x+2)
Find the excluded values before and after the flipCheck the first denominator (x+5)(x−2), the second denominator before the flip (x−2)(x+2), and the second denominator after the flip (x+5):
x=−5,2,−2
Cancel matching factors one-for-oneCancel the single (x+5) on top with one of the two (x+5) factors on the bottom, and cancel (x−2) with (x−2):
So the quotient simplifies to x+5(x−5)(x+2) for x=−5,2,−2. Leave the numerator factored unless you need standard form, because factored form makes it easy to see that nothing else cancels.
7
Dividing by a polynomial
What if we are dividing by a polynomial that isn't written as a fraction, like (x+3)? Let's divide:
x−1x2+x−6÷(x+3)
Dividing by a polynomial and lesson review
x−1x2+x−6÷(x+3)=?
Text solution
Write the polynomial over 1 and flip to multiplyWrite (x+3) as 1x+3, then flip it to x+31 and multiply:
x−1x2+x−6÷1x+3=x−1x2+x−6⋅x+31
Factor the numerator and find the excluded valuesFactor x2+x−6 into (x+3)(x−2), and exclude the values that make either denominator zero:
=x−1(x+3)(x−2)⋅x+31,x=1,−3
Cancel the matching (x+3) factorsDivide the matching (x+3) factors on top and bottom to get 1:
=x−1(x+3)(x−2)⋅(x+3)1=x−1x−2,x=1,−3
So dividing by (x+3) puts (x+3) into the denominator, where it cancels with (x+3) on top and leaves x−1x−2 with x=1,−3.
Key concepts
Every multiplication and division problem with rational expressions works the same way: factor everything first, write down what x cannot be, and then cancel matching factors one-for-one.
If it is division, flip the second fraction first
Rewrite BA÷DC as BA⋅CD. If you are dividing by a polynomial like (x+3) with no denominator shown, write it as 1x+3 so it flips to x+31.
Factor before you multiply or cancel
Pull out any GCF first (2x2+6x=2x(x+3)) and factor quadratics and differences of squares (x2−9=(x−3)(x+3)). If terms are added or subtracted, like xx+5 or x+4−2x, do not cancel across the + sign.
Write down excluded values before crossing anything out
Any factor that is ever in a denominator, both before and after flipping in a division problem, cannot be zero.
Cancel matching factors one-for-one
Variable powers: cancel matching variable copies and leave the remaining power on the side that started with the larger exponent (x6x4=x21).
Identical polynomial factors: cancel to 1(x+3x+3=1). If every factor on top and bottom cancels, the result is 1, not 0.
Opposite subtraction factors: cancel to −1(x−44−x=−1).
8
Practice
1
Multiply and simplify:
5y28x2y5⋅14x615xy
After combining the variable powers on top and bottom, compare the exponents on x and y. Which side of the fraction bar started with more copies of x?
Reduce the numbers (148=74 and 515=13) and combine the variable powers on top and bottom:
7x6y212x3y6
Cancel x3 from top and bottom and y2 from top and bottom. Be careful not to put the leftover x3 on top to get 712x3y4. Since the denominator started with x6 and the numerator only had x3, the three leftover copies of x stay on the bottom:
7x312y4,x=0,y=0
2
Multiply and simplify:
x2−16x2+7x+12⋅x+3x−4
Be careful not to write 0 when everything crosses out (or drop the excluded values because no x's are left), since each pair divides to 1.
Factor x2+7x+12 and x2−16 first, and remember what a factor divided by itself equals when everything cancels.
Factor the numerator and denominator and check the denominator factors for excluded values before canceling:
(x−4)(x+4)(x+3)(x+4)⋅x+3x−4,x=4,−4,−3
Every factor on top cancels with the same factor on the bottom. Be careful not to write 0 when everything crosses out (or drop the excluded values because no x's are left), since each pair divides to 1:
1,x=4,−4,−3
3
Multiply and simplify:
x2−93x2+15x⋅x+53−x
Pull out the GCF from 3x2+15x first, then compare the subtraction order in 3−x and x−3.
Factor out the GCF 3x on top and factor the difference of squares x2−9 on the bottom:
(x−3)(x+3)3x(x+5)⋅x+53−x,x=3,−3,−5
Cancel (x+5) with (x+5), and cancel the opposite subtraction factors x−33−x to −1. Watch out for canceling 3−x and x−3 to +1 (which gives the wrong sign x+33x), and don't cancel the 3's across the addition in x+3:
−x+33x,x=3,−3,−5
4
Divide and simplify:
x+1x2−2x−8÷(x−4)
Write x−4 as a fraction over 1 before flipping it to multiply.
Write (x−4) as 1x−4, flip it to x−41, and factor x2−2x−8:
x+1(x−4)(x+2)⋅x−41
Don't forget to include x=4 along with x=−1. Even though x−4 didn't start in a denominator, flipping puts it into the denominator:
x+1x+2,x=−1,4
5
Divide and simplify:
x2+4x−12x2−36÷x2−4x+6
Check every denominator both before and after flipping the second fraction, and count how many (x+6) factors are on top and on the bottom.
Flip the second fraction to multiply and factor all four parts:
(x+6)(x−2)(x−6)(x+6)⋅x+6(x−2)(x+2)
Check the denominators before and after the flip: don't miss x=−2 just because x2−4=(x−2)(x+2) moved to the top after flipping. Then cancel (x−2) with (x−2), and cancel the single (x+6) on top with only one (x+6) on the bottom (crossing out both (x+6) factors on the bottom wrongly gives (x−6)(x+2)):