Some products come up so often in algebra that it pays to know their answers by heart, the way you know 7×8=56 without working it out. These ready-made results are called algebraic identities. Every one of them comes from a single tool: the distributive law. This lesson sets out the distributive laws in all their forms, then proves and uses the first identity, (a+b)(a−b)=a2−b2.
The distributive laws#
The distributive law says that a quantity outside a bracket multiplies every term inside it. Here are its eight forms.
a(b+c)a(b−c)(a+b)c(a−b)c=ab+ac=ab−ac=ac+bc=ac−bc
When both factors are brackets, each term of the first multiplies each term of the second, so there are four products:
(a+b)(c+d)(a+b)(c−d)(a−b)(c+d)(a−b)(c−d)=ac+ad+bc+bd=ac−ad+bc−bd=ac+ad−bc−bd=ac−ad−bc+bd
Look at the signs in the last line. (−b)×(−d)=+bd, because a negative times a negative is positive. Every sign in these four lines follows from the sign rules for integers, so you do not need to learn them separately. Just multiply term by term and keep each sign with its term.
Example 1#
Find (2x+3)(x−5).
(2x+3)(x−5)=2x×x−2x×5+3×x−3×5=2x2−10x+3x−15=2x2−7x−15
What an identity is#
An equation such as 2x+1=7 is true for only one value of x, namely x=3. An identity is an equality that is true for every value of the letters in it. For example, 2(x+3)=2x+6 is true whatever number x is. Identities are proved by algebra, and once proved they can be used as shortcuts.
Identity 1: the product of a sum and a difference#
(a+b)(a−b)=a2−b2
Proof. Use the distributive law:
(a+b)(a−b)=a2−ab+ab−b2=a2−b2
The two middle terms, −ab and +ab, cancel each other. That is why only two terms are left.
In words: (first + second)(first − second) = first squared − second squared. The first and second terms can be anything: numbers, letters, or whole terms such as 2x or 3y.
Check with numbers: take a=5 and b=3. Then (5+3)(5−3)=8×2=16, and 52−32=25−9=16. They agree.
When a whole term is squared, every factor in it is squared, because (ab)n=anbn. So (2x)2=4x2 and (3y)2=9y2.
Example 2#
Find (2x+3y)(2x−3y).
Here the first term is 2x and the second is 3y.
(2x+3y)(2x−3y)=(2x)2−(3y)2=4x2−9y2
Example 3#
Find (2a3+b3)(2a3−b3).
(2a3+b3)(2a3−b3)=(2a3)2−(b3)2=4a6−b6
Squaring a3 doubles its power: (a3)2=a3×a3=a6.
Example 4#
Find (2x+31)(2x−31).
(2x)2−(31)2=4x2−91
Using the identity for numbers#
The identity also makes some multiplications of numbers quick. Write the numbers as a sum and a difference of the same two numbers.
Example 5#
Find 103×97 without long multiplication.
103=100+3 and 97=100−3.
103×97=(100+3)(100−3)=1002−32=10000−9=9991
Example 6#
Find 522−482.
Read the identity the other way round: a2−b2=(a+b)(a−b).
522−482=(52+48)(52−48)=100×4=400
This is much quicker than working out 2704−2304.
Common mistakes#
- Squaring only the letter: (3y)2 is 9y2, not 3y2.
- Writing (a+b)(a−b)=a2+b2. The answer is a difference, a2−b2.
- Using the identity when the two brackets do not have the same two terms. (2x+3)(3x−2) is not of this form; multiply it out term by term.
Practice#
- Find (3x+2)(x−4).
- Find (a−2b)(c−3d).
- Find (x+7)(x−7).
- Find (5m+4n)(5m−4n).
- Find (3p2+2q)(3p2−2q).
- Find (32a+4b)(32a−4b).
- Find 105×95 using an identity.
- Find 632−372 using an identity.
- Find (x2+y2)(x+y)(x−y).
Answers#
Show answers
- 3x2−12x+2x−8=3x2−10x−8
- ac−3ad−2bc+6bd
- x2−49
- 25m2−16n2
- 9p4−4q2
- 94a2−16b2
- (100+5)(100−5)=10000−25=9975
- (63+37)(63−37)=100×26=2600
- (x+y)(x−y)=x2−y2, and then (x2+y2)(x2−y2)=x4−y4.