Math Lab
Home/Class IX/Ch 2/Algebraic Identities

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+aca(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(a + b)^2 = a^2 + 2ab + b^2.

Proof. Expand: (a+b)(a+b)=a2+ab+ba+b2=a2+2ab+b2(a+b)(a+b) = a^2 + ab + ba + b^2 = a^2 + 2ab + b^2.

Example. (x+3)2=x2+6x+9(x + 3)^2 = x^2 + 6x + 9.

Identity 2. (ab)2=a22ab+b2(a - b)^2 = a^2 - 2ab + b^2.

Proof. Replace bb by b-b in Identity 1.

Example. (x5)2=x210x+25(x - 5)^2 = x^2 - 10x + 25.

Identity 3. a2b2=(a+b)(ab)a^2 - b^2 = (a + b)(a - b).

Proof. Expand the right side: a2ab+abb2=a2b2a^2 - ab + ab - b^2 = a^2 - b^2.

Example. 25x2=(5x)(5+x)25 - x^2 = (5 - x)(5 + x). Also 49212=(49+1)(491)=5048=240049^2 - 1^2 = (49+1)(49-1) = 50 \cdot 48 = 2400.

Identity 4 (linear product). (x+a)(x+b)=x2+(a+b)x+ab(x + a)(x + b) = x^2 + (a + b)x + ab.

Example. (x+4)(x7)=x2+(4+(7))x+(4)(7)=x23x28(x + 4)(x - 7) = x^2 + (4 + (-7))x + (4)(-7) = x^2 - 3x - 28.

Identity 5 (trinomial square). (a+b+c)2=a2+b2+c2+2(ab+bc+ca)(a + b + c)^2 = a^2 + b^2 + c^2 + 2(ab + bc + ca).

Example. (x+2+y)2=x2+4+y2+2(2x+2y+xy)=x2+y2+4+4x+4y+2xy(x + 2 + y)^2 = x^2 + 4 + y^2 + 2(2x + 2y + xy) = x^2 + y^2 + 4 + 4x + 4y + 2xy.

Identity 6 (cube of a sum/difference). (a+b)3=a3+3a2b+3ab2+b3=a3+b3+3ab(a+b)(a + b)^3 = a^3 + 3a^2 b + 3 a b^2 + b^3 = a^3 + b^3 + 3ab(a + b) and (ab)3=a33a2b+3ab2b3=a3b33ab(ab)(a - b)^3 = a^3 - 3a^2 b + 3 a b^2 - b^3 = a^3 - b^3 - 3ab(a-b).

Example. (x+2)3=x3+6x2+12x+8(x + 2)^3 = x^3 + 6x^2 + 12x + 8.

Identity 7 (sum and difference of cubes). a3+b3=(a+b)(a2ab+b2)a^3 + b^3 = (a + b)(a^2 - ab + b^2) and a3b3=(ab)(a2+ab+b2)a^3 - b^3 = (a - b)(a^2 + ab + b^2).

Example. x327=(x3)(x2+3x+9)x^3 - 27 = (x - 3)(x^2 + 3x + 9).

Identity 8 (three-cube identity). a3+b3+c33abc=(a+b+c)(a2+b2+c2abbcca)a^3 + b^3 + c^3 - 3abc = (a + b + c)(a^2 + b^2 + c^2 - ab - bc - ca).

This stunning factorisation has a useful corollary: if a+b+c=0a + b + c = 0, then a3+b3+c3=3abca^3 + b^3 + c^3 = 3abc.

Example. If a+b+c=0a + b + c = 0, then a3+b3+c3=3abca^3 + b^3 + c^3 = 3abc. Take a=1,b=2,c=3a = 1, b = 2, c = -3: 1+827=18=312(3)1 + 8 - 27 = -18 = 3 \cdot 1 \cdot 2 \cdot (-3). Checks out.

Three useful auxiliary observations

  • a2+b2=(a+b)22ab=(ab)2+2aba^2 + b^2 = (a + b)^2 - 2ab = (a - b)^2 + 2ab. Very handy when you know a+ba + b and abab.
  • a3+b3=(a+b)33ab(a+b)a^3 + b^3 = (a + b)^3 - 3ab(a + b), an alternative form.
  • a2+b2+c2abbcca=12 ⁣[(ab)2+(bc)2+(ca)2]0a^2 + b^2 + c^2 - ab - bc - ca = \tfrac{1}{2}\!\left[(a-b)^2 + (b-c)^2 + (c-a)^2\right] \ge 0 for all real a,b,ca, b, c.

Worked examples

Example 1. Expand (2x+3y)2(2x + 3y)^2.

By Identity 1: (2x)2+2(2x)(3y)+(3y)2=4x2+12xy+9y2(2x)^2 + 2(2x)(3y) + (3y)^2 = 4x^2 + 12xy + 9y^2.

Example 2. Evaluate 98×10298 \times 102 without a calculator.

Use Identity 3 backwards: 98×102=(1002)(100+2)=100222=100004=999698 \times 102 = (100 - 2)(100 + 2) = 100^2 - 2^2 = 10000 - 4 = 9996.

Example 3. Factorise x3+8x^3 + 8.

By Identity 7: x3+23=(x+2)(x22x+4)x^3 + 2^3 = (x + 2)(x^2 - 2x + 4).

Example 4. Expand (x+2y+3z)2(x + 2y + 3z)^2.

By Identity 5: x2+4y2+9z2+2(x2y+2y3z+3zx)=x2+4y2+9z2+4xy+12yz+6xzx^2 + 4y^2 + 9z^2 + 2(x \cdot 2y + 2y \cdot 3z + 3z \cdot x) = x^2 + 4y^2 + 9z^2 + 4xy + 12yz + 6xz.

Example 5. Without expanding, find the value of a3+b3+c33abca^3 + b^3 + c^3 - 3abc when a=5,b=4,c=1a = 5, b = -4, c = -1.

a+b+c=0a + b + c = 0, so by Identity 8 the expression equals 00. (Equivalently, a3+b3+c3=3abc=35(4)(1)=60a^3 + b^3 + c^3 = 3abc = 3 \cdot 5 \cdot (-4) \cdot (-1) = 60, and 53+(4)3+(1)3=125641=605^3 + (-4)^3 + (-1)^3 = 125 - 64 - 1 = 60. Checks out.)

Try it yourself

  1. Expand (3x4)2(3x - 4)^2.
  2. Factorise x2144x^2 - 144.
  3. Expand (x+1)3(x + 1)^3.
  4. Factorise 27x3127x^3 - 1.
  5. Compute 103×97103 \times 97 using a difference of squares.
  6. Expand (a+bc)2(a + b - c)^2.
  7. Factorise x3+27y3x^3 + 27y^3.
  8. If a+b=7a + b = 7 and ab=12ab = 12, find a2+b2a^2 + b^2 and a3+b3a^3 + b^3.
  9. Prove that if a+b+c=0a + b + c = 0, then a3+b3+c3=3abca^3 + b^3 + c^3 = 3abc.
  10. Compute 253753+50325^3 - 75^3 + 50^3 using Identity 8.

Pitfalls / Insight

  • Sign errors are the most common mistake. Especially with (ab)2(a - b)^2 and (ab)3(a - b)^3 , write out the middle terms carefully.
  • Don't confuse a2b2a^2 - b^2 (factorisable) with a2+b2a^2 + b^2 (not factorisable over the reals). Only the difference factors as (a+b)(ab)(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)(a + b) next to (ab)(a - b), write down their product as a2b2a^2 - b^2; the moment you see two cubes added, factor as (a+b)(a2ab+b2)(a + b)(a^2 - ab + b^2). Pattern recognition is what makes algebra fast.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Algebraic identities
6 questions · pick the best answer
Q1

(x5)2(x - 5)^2 equals:

Q2

a2b2a^2 - b^2 factors as:

Q3

(x+2)3(x + 2)^3 equals:

Q4

a3+b3a^3 + b^3 factors as:

Q5

98×10298 \times 102 equals:

Q6

(a+b+c)2(a + b + c)^2 equals: