We need to multiply expressions with x in them, and the rules come straight from how we multiply ordinary numbers.
1
Multiplying with a Rectangle
Suppose we want to multiply two two-digit numbers in our head:
13×12
Instead of stacking the digits and carrying in our head, we can picture a 13 by 12 rectangle whose area is 13×12, and split the sides into easier pieces.
Multiplying with a Rectangle
Text solution
Split each side into tens and onesBreaking 13 into 10+3 and 12 into 10+2 divides the rectangle into four smaller rectangles.
13×12=(10+3)(10+2)
Find the area of each smaller rectangleEach of the four pieces on the inside is a simple multiplication of a height by a width.
10×103×10=100,=30,10×23×2=20,=6
Add the four areas togetherThe total area of the 13 by 12 rectangle is the sum of its four parts.
100+20+30+6=156
No matter how you split the 13 and 12 sides into two pairs of numbers, the four smaller areas inside always add up to 156, and splitting them at 10+3 and 10+2 makes all four rectangles easy to multiply in your head.
However you split the sides of the 13 by 12 rectangle, the four smaller areas always add up to 156.
2
Multiplying by a Single Term
Before multiplying two split sides together, let's find the product when a single term outside parentheses multiplies several terms inside:
3(x+4)and2x(3x2−5x+4)
Multiplying by a Single Term
3(x+4)2x(3x2−5x+4)=?=?
Just as the 3 outside 3(x+4) multiplies both pieces inside to give 3x+12, the outside term in 2x(3x2−5x+4) multiplies each of the three terms inside.
Text solution
Multiply 2x by the first termMultiply the numbers in front first, then use exponent rules to combine the x outside with the two x's in x2.
2x⋅3x2=6x3
Multiply 2x by the middle term with the minus sign glued to 5xTreating −5x as a negative term lets us multiply 2 by −5 directly and x by x.
2x⋅(−5x)=−10x2
Multiply 2x by the last term and put the pieces togetherMultiply 2 by 4 while keeping the x; since x3,x2, and x are different powers, none of these are like terms and the answer is finished.
2x⋅4=8x⟹6x3−10x2+8x
3
Multiplying Two Binomials
Now let's return to the four-part rectangle by swapping 10 for x, and see how to multiply two two-term expressions on a single line without drawing the box:
(x+3)(x+2)and(2x−3)(4x+5)
Multiplying Two Binomials
For (x+3)(x+2), the four parts add up to x2+2x+3x+6=x2+5x+6 (which gives 100+50+6=156 when x=10, matching 13×12). Let's multiply (2x−3)(4x+5) the same way, by multiplying each term in the first parentheses by both terms in the second.
Text solution
Multiply the first term 2x by both terms in the second parenthesesMultiply 2x by 4x and then by 5 to get the first two terms.
2x⋅4x=8x2,2x⋅5=+10x
Multiply the second term −3 by both terms in the second parenthesesKeep the negative sign glued to 3 as it multiplies 4x and 5.
−3⋅4x=−12x,−3⋅5=−15
Combine the two middle like termsWrite all four terms in a line and combine +10x and −12x into a single x term.
8x2+10x−12x−15=8x2−2x−15
4
Multiplying Larger Polynomials
Now suppose the second parentheses has three terms instead of two:
(x+2)(x2−3x+4)
"FOIL" only has four letters, so it runs out here, but multiplying every term in the first parentheses by every term in the second still works and produces 2×3=6 terms in all.
Multiplying Larger Polynomials
(x+2)(x2−3x+4)=?
Text solution
Multiply x by all three terms in the second parenthesesMultiplying each term inside the second parentheses by x gives the first three terms in a row.
x(x2−3x+4)=x3−3x2+4x
Multiply +2 by all three terms and stack matching powersMultiplying each term by +2 gives +2x2−6x+8, which we place directly underneath the matching x2 and x terms from the first row.
x3−3x2+2x2+4x−6x+8
Combine like terms straight down the columnsAdding each column combines −3x2+2x2 into −1x2=−x2 and +4x−6x into −2x.
x3−x2−2x+8
5
Squaring a Binomial
Now let's see what happens when we square a two-term expression (a binomial), multiplying it by itself:
(x+3)2and(x−5)2
Squaring a Binomial
Writing (x+3)2 as just x2+9 misses the two matching 3x side rectangles in the (x+3) by (x+3) square:
Let's use that same square pattern to expand (x−5)2 in three steps.
Text solution
Square the first termMultiplying the first term x by itself gives x2.
x⋅x=x2
Multiply the two terms together and double itThe product x⋅(−5) is −5x and appears twice when we multiply (x−5)(x−5), so double −5x to get the middle term.
2⋅(−5x)=−10x
Square the last term and combineMultiplying −5 by −5 gives +25.
(−5)⋅(−5)=+25⟹x2−10x+25
Extending both sides of a square by the same length always creates two matching side rectangles along with a new corner square, and those two rectangles combine into the middle term.
6
Multiplying a Sum and a Difference
What if the two parentheses have the exact same terms, except one is a sum and the other is a difference?
(x+3)(x−3)and(2x+7)(2x−7)
Multiplying a Sum and a Difference
(x+3)(x−3)(2x+7)(2x−7)=?=?
When we multiply out (x+3)(x−3) term by term, the two middle terms have the exact same size with opposite signs, so they cancel out completely to leave a Difference of Squares:
(x+3)(x−3)=x20−3x+3x−9=x2−9
Recognizing that pattern lets us multiply (2x+7)(2x−7) without computing the middle terms at all.
Text solution
Check that both parentheses have the same terms with opposite signsBecause both use 2x and 7 with one plus and one minus, the two middle terms will be opposites and cancel to 0.
(2x+7)(2x−7)
Multiply the first termsMultiply 2x by 2x to get the first square.
2x⋅2x=4x2
Multiply the last terms and combineMultiply +7 by −7 to get the subtracted square at the end.
7⋅(−7)=−49⟹4x2−49
7
Mental Math with Special Products
Those same special product shortcuts let us calculate awkward number products in our head when the numbers sit right next to a round number like 20:
212,192,and18×22
Mental Math with Special Products
21219218×22=?=?=?
Text solution
Rewrite 212 as the square of a sum from 20Splitting 21 into 20+1 lets us square 20, double 20×1, and square 1 in our head.
212=(20+1)2=400+40+1=441
Rewrite 192 as the square of a difference from 20Using 20−1 instead of 10+9 keeps the second number at 1, where 20×(−1) doubled is −40 and (−1)2 is +1.
192=(20−1)2=400−40+1=361
Rewrite 18×22 as a difference times a sum around 20Since 18 and 22 are both a distance of 2 from 20, writing (20−2)(20+2) cancels the middle terms and leaves 202−22.
18×22=(20−2)(20+2)=400−4=396
Key concepts
Every polynomial multiplication comes from the same picture: splitting the sides of a rectangle so every term in the first parentheses multiplies every term in the second parentheses, with each minus sign kept glued to the term right after it.
When the terms in the two parentheses are different
multiply every term in the first parentheses by every term in the second, and then combine like terms. For two terms by two terms, FOIL checks off all four pairs; for larger polynomials, stack matching powers in columns:
(2x−3)(4x+5)=8x2+10x−12x−15=8x2−2x−15
When a two-term expression is squared
square the first term, double the product of the two terms, and square the last term:
(x+3)2(x−5)2=x2+6x+9,=x2−10x+25
When the two parentheses have the exact same terms with opposite signs
the two middle terms are opposites that cancel to zero, leaving a Difference of Squares (first squared minus last squared):
(x+3)(x−3)(2x+7)(2x−7)=x2−9,=4x2−49
8
Practice
1
Multiply: 3x(2x2−4x+5)
Multiply all three terms inside by 3x. What sign stays glued to 4x, and how many x's are multiplied together in the first term?
Multiply 3x by each term inside one at a time:
3x⋅2x2=6x3
(x⋅x2 is x3, not x2. Forgetting the x in the outside term 3x and multiplying by 3 alone would give 6x2−12x+15.) Keep the minus sign glued to 4x when multiplying the middle term (dropping the negative sign is the slip that gives 6x3+12x2+15x):
3x⋅(−4x)=−12x2
Multiply the last term:
3x⋅5=+15x
Answer: 6x3−12x2+15x
2
Multiply: (x+4)(x+5)
Multiply x by both terms in the second parentheses, then multiply 4 by both terms. Which two terms combine in the middle?
Multiply each term in (x+4) by each term in (x+5):
x⋅x4⋅x=x2,=+4x,x⋅54⋅5=+5x,=+20
(Don't just multiply the first terms and the last terms to get x2+20. That leaves out the two middle rectangles 5x and 4x.) Combine the middle like terms +5x+4x=+9x: Answer: x2+9x+20
3
Multiply: (3x−2)(2x+5)
The terms in the two parentheses don't match, so multiply all four pairs and keep the minus sign glued to 2.
First multiply 3x by both terms in the second parentheses:
3x⋅2x=6x2,3x⋅5=+15x
Next multiply −2 by both terms in the second parentheses (forgetting the negative sign on −2 in the first product gives +4x instead of −4x, which leads to the wrong answer 6x2+19x−10):
−2⋅2x=−4x,−2⋅5=−10
Combine the middle like terms +15x−4x=+11x: Answer: 6x2+11x−10
4
Multiply: (x+6)2
Picture an (x+6) by (x+6) square. Besides the x2 and 62 corners, what is the area of the two matching side rectangles?
Use the three-step square shortcut:
Square the first term: x2.
Multiply the two terms together (6x) and double it for the two matching rectangles: +12x. (Squaring only the two terms and skipping the two side rectangles is the trap that gives x2+36.)
Square the last term: 62=+36.
Answer: x2+12x+36
5
Multiply: (2x−5)2
Use the three-step square shortcut with the minus sign glued to 5. Remember to square the entire first term 2x, and watch the sign when you multiply −5 by −5.
Square the first term: 2x⋅2x=4x2. (Squaring only the x and not the 2 gives 2x2−20x+25.)
Multiply the two terms together (2x⋅(−5)=−10x) and double it: −20x.
Square the last term: (−5)⋅(−5)=+25. (Writing −25 instead of +25 when squaring −5 gives 4x2−20x−25.)
Answer: 4x2−20x+25
6
Multiply: (3x+4)(3x−4)
Compare the terms and signs in the two parentheses. What happens to the two middle terms?
Both parentheses have the exact same terms (3x and 4) with opposite signs, so the middle terms −12x and +12x cancel to 0 (doubling −12x instead of adding −12x+12x gives the wrong answer 9x2−24x−16). Multiply the first terms:
3x⋅3x=9x2
(Remember to multiply 3⋅3=9; leaving the 3 unsquared gives 3x2−16.) Multiply the last terms:
4⋅(−4)=−16
Answer: 9x2−16
7
Multiply: (x+3)(x2−2x+5)
Multiply x by all three terms in the second parentheses, then multiply +3 by all three terms and stack matching powers of x in columns.
Multiply x by all three terms in the second parentheses to get the first row:
x(x2−2x+5)=x3−2x2+5x
Multiply +3 by all three terms in the second parentheses to get +3x2−6x+15, and align matching powers beneath the first row:
x3−2x2+3x2+5x−6x+15
Add straight down the columns, watching the signs on −2x2+3x2=+x2 and +5x−6x=−x (subtracting +5x−6x in the wrong direction gives x3+x2+x+15): Answer: x3+x2−x+15
8
Evaluate 292 by rewriting 29 as 30−1.
Subtracting 1 at the end instead of adding (−1)2=+1 gives 900−60−1=839.
Apply the three-step square shortcut to (30−1)2. What is 30×(−1) doubled, and what is (−1)2?
Write 292=(30−1)2 and run the three steps:
Square the first number: 302=900.
Multiply the two numbers (30×(−1)=−30) and double it: −60.
Square the last number: (−1)2=+1. (Subtracting 1 at the end instead of adding (−1)2=+1 gives 900−60−1=839.)
Combine the three parts: 900−60+1: Answer: 841
9
Evaluate 17×23 by rewriting the factors around 20.
Be sure to square the 3 to subtract 9; subtracting 3 without squaring it gives 400−3=397.
How far are 17 and 23 from 20? Write them as a difference and a sum from 20.
Both 17 and 23 are a distance of 3 from 20, so rewrite the product as:
17×23=(20−3)(20+3)
Because this has the same two numbers with opposite signs, the middle terms cancel out, leaving the first number squared minus the last number squared:
202−32=400−9
(Be sure to square the 3 to subtract 9; subtracting 3 without squaring it gives 400−3=397.) Answer: 391