Algebraic Identities
A polynomial identity is an equation that is true for every value of the variables. Identities are not solved , they are used. Each identity is a shortcut: instead of multiplying step by step, you write down the result by reading off the pattern. The identities below are the eight you must know cold.
Definitions
An algebraic identity is an equality between two algebraic expressions that holds for all real values of the variables involved. The basic distributive law a(b+c)=ab+ac is the simplest example; the identities of this lesson are richer consequences.
The eight standard identities
We list each, give a one-line proof or motivation, and a quick example.
Identity 1. (a+b)2=a2+2ab+b2.
Proof. Expand: (a+b)(a+b)=a2+ab+ba+b2=a2+2ab+b2.
Example. (x+3)2=x2+6x+9.
Identity 2. (a−b)2=a2−2ab+b2.
Proof. Replace b by −b in Identity 1.
Example. (x−5)2=x2−10x+25.
Identity 3. a2−b2=(a+b)(a−b).
Proof. Expand the right side: a2−ab+ab−b2=a2−b2.
Example. 25−x2=(5−x)(5+x). Also 492−12=(49+1)(49−1)=50⋅48=2400.
Identity 4 (linear product). (x+a)(x+b)=x2+(a+b)x+ab.
Example. (x+4)(x−7)=x2+(4+(−7))x+(4)(−7)=x2−3x−28.
Identity 5 (trinomial square). (a+b+c)2=a2+b2+c2+2(ab+bc+ca).
Example. (x+2+y)2=x2+4+y2+2(2x+2y+xy)=x2+y2+4+4x+4y+2xy.
Identity 6 (cube of a sum/difference). (a+b)3=a3+3a2b+3ab2+b3=a3+b3+3ab(a+b) and (a−b)3=a3−3a2b+3ab2−b3=a3−b3−3ab(a−b).
Example. (x+2)3=x3+6x2+12x+8.
Identity 7 (sum and difference of cubes). a3+b3=(a+b)(a2−ab+b2) and a3−b3=(a−b)(a2+ab+b2).
Example. x3−27=(x−3)(x2+3x+9).
Identity 8 (three-cube identity). a3+b3+c3−3abc=(a+b+c)(a2+b2+c2−ab−bc−ca).
This stunning factorisation has a useful corollary: if a+b+c=0, then a3+b3+c3=3abc.
Example. If a+b+c=0, then a3+b3+c3=3abc. Take a=1,b=2,c=−3: 1+8−27=−18=3⋅1⋅2⋅(−3). Checks out.
Three useful auxiliary observations
- a2+b2=(a+b)2−2ab=(a−b)2+2ab. Very handy when you know a+b and ab.
- a3+b3=(a+b)3−3ab(a+b), an alternative form.
- a2+b2+c2−ab−bc−ca=21[(a−b)2+(b−c)2+(c−a)2]≥0 for all real a,b,c.
Worked examples
Example 1. Expand (2x+3y)2.
By Identity 1: (2x)2+2(2x)(3y)+(3y)2=4x2+12xy+9y2.
Example 2. Evaluate 98×102 without a calculator.
Use Identity 3 backwards: 98×102=(100−2)(100+2)=1002−22=10000−4=9996.
Example 3. Factorise x3+8.
By Identity 7: x3+23=(x+2)(x2−2x+4).
Example 4. Expand (x+2y+3z)2.
By Identity 5: x2+4y2+9z2+2(x⋅2y+2y⋅3z+3z⋅x)=x2+4y2+9z2+4xy+12yz+6xz.
Example 5. Without expanding, find the value of a3+b3+c3−3abc when a=5,b=−4,c=−1.
a+b+c=0, so by Identity 8 the expression equals 0. (Equivalently, a3+b3+c3=3abc=3⋅5⋅(−4)⋅(−1)=60, and 53+(−4)3+(−1)3=125−64−1=60. Checks out.)
Try it yourself
- Expand (3x−4)2.
- Factorise x2−144.
- Expand (x+1)3.
- Factorise 27x3−1.
- Compute 103×97 using a difference of squares.
- Expand (a+b−c)2.
- Factorise x3+27y3.
- If a+b=7 and ab=12, find a2+b2 and a3+b3.
- Prove that if a+b+c=0, then a3+b3+c3=3abc.
- Compute 253−753+503 using Identity 8.
Pitfalls / Insight
- Sign errors are the most common mistake. Especially with (a−b)2 and (a−b)3 , write out the middle terms carefully.
- Don't confuse a2−b2 (factorisable) with a2+b2 (not factorisable over the reals). Only the difference factors as (a+b)(a−b); the sum cannot be split this way.
- Trinomial identities reward symmetry. Whenever the problem has three variables in a symmetric pattern, look at Identity 5 or 8.
Insight. Every identity here can be derived from the distributive law in a few lines. Memorising them is just a shortcut. The deeper value is in spotting when to use them: the moment you see (a+b) next to (a−b), write down their product as a2−b2; the moment you see two cubes added, factor as (a+b)(a2−ab+b2). Pattern recognition is what makes algebra fast.