← Back to all lessons
Class 8Algebra10:55Published 9 May 2025

Standard Algebraic Identities: Worked Examples

A run through the standard algebraic identities, applying each one to expand expressions and to evaluate numbers like 102 squared or 105 times 95 quickly.

This lesson works through the four standard identities for squares, differences of squares, and products of binomials. Each identity is applied to several expressions, expanding them step by step, and then used as a shortcut to compute products and squares of numbers by writing them around a round figure. Every example is solved in full so you can see how the identity turns into the answer.

What you'll learn

  • How to expand the square of a sum or a difference
  • How to use the difference of two squares to expand a product
  • How to multiply two binomials that share a common term
  • How to evaluate products and squares of numbers using identities

Lesson chapters

0:00Squares of sums and differences
2:15Difference of two squares
3:26Products of binomials with a common term
5:14The product of two sums identity
6:11Evaluating numbers using identities
9:55Differences of squares of numbers

Lesson notes

This lesson applies the standard algebraic identities to expand expressions and to evaluate numbers quickly. Each example uses one of the four identities below and is worked out in full.

Square of a sum and a difference

The two square identities are:

(a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2

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

Expand (2x+3y)2(2x+3y)^2

Here a=2xa = 2x and b=3yb = 3y:

(2x+3y)2=(2x)2+2(2x)(3y)+(3y)2=4x2+12xy+9y2(2x+3y)^2 = (2x)^2 + 2(2x)(3y) + (3y)^2 = 4x^2 + 12xy + 9y^2

Expand (4p3q)2(4p-3q)^2

Here a=4pa = 4p and b=3qb = 3q:

(4p3q)2=(4p)22(4p)(3q)+(3q)2=16p224pq+9q2(4p-3q)^2 = (4p)^2 - 2(4p)(3q) + (3q)^2 = 16p^2 - 24pq + 9q^2

Expand (2x7)2(2x-7)^2

Here a=2xa = 2x and b=7b = 7:

(2x7)2=(2x)22(2x)(7)+72=4x228x+49(2x-7)^2 = (2x)^2 - 2(2x)(7) + 7^2 = 4x^2 - 28x + 49

Difference of two squares

The identity is:

(a+b)(ab)=a2b2(a+b)(a-b) = a^2 - b^2

Expand (x2+3y4)(x23y4)\left(\tfrac{x}{2}+\tfrac{3y}{4}\right)\left(\tfrac{x}{2}-\tfrac{3y}{4}\right)

With a=x2a = \tfrac{x}{2} and b=3y4b = \tfrac{3y}{4}:

(x2)2(3y4)2=x249y216\left(\tfrac{x}{2}\right)^2 - \left(\tfrac{3y}{4}\right)^2 = \tfrac{x^2}{4} - \tfrac{9y^2}{16}

Evaluate (1.1m0.4)(1.1m+0.4)(1.1m-0.4)(1.1m+0.4)

(1.1m)2(0.4)2=1.21m20.16(1.1m)^2 - (0.4)^2 = 1.21m^2 - 0.16

Expand (32p+23q)(32p23q)\left(\tfrac{3}{2}p+\tfrac{2}{3}q\right)\left(\tfrac{3}{2}p-\tfrac{2}{3}q\right)

(32p)2(23q)2=94p249q2\left(\tfrac{3}{2}p\right)^2 - \left(\tfrac{2}{3}q\right)^2 = \tfrac{9}{4}p^2 - \tfrac{4}{9}q^2

Product of binomials with a common term

The identity is:

(x+a)(x+b)=x2+(a+b)x+ab(x+a)(x+b) = x^2 + (a+b)x + ab

Expand (x+8)(x+9)(x+8)(x+9)

With a=8a = 8 and b=9b = 9:

x2+(8+9)x+(8)(9)=x2+17x+72x^2 + (8+9)x + (8)(9) = x^2 + 17x + 72

Expand (x+10)(x8)(x+10)(x-8)

With a=10a = 10 and b=8b = -8:

x2+(108)x+(10)(8)=x2+2x80x^2 + (10-8)x + (10)(-8) = x^2 + 2x - 80

Expand (12p+5)(12p+6)\left(\tfrac{1}{2}p+5\right)\left(\tfrac{1}{2}p+6\right)

Here the common term is 12p\tfrac{1}{2}p, with a=5a = 5 and b=6b = 6:

(12p)2+(5+6)(12p)+(5)(6)=14p2+112p+30\left(\tfrac{1}{2}p\right)^2 + (5+6)\left(\tfrac{1}{2}p\right) + (5)(6) = \tfrac{1}{4}p^2 + \tfrac{11}{2}p + 30

Expand (2x4)(2x+10)(2x-4)(2x+10)

Here the common term is 2x2x, with a=4a = -4 and b=10b = 10:

(2x)2+(4+10)(2x)+(4)(10)=4x2+12x40(2x)^2 + (-4+10)(2x) + (-4)(10) = 4x^2 + 12x - 40

The product of two sums

The identity is:

(a+b)(c+d)=ac+ad+bc+bd(a+b)(c+d) = ac + ad + bc + bd

Expand (x+3)(y+2)(x+3)(y+2)

xy+2x+3y+6xy + 2x + 3y + 6

Expand (m+5)(n3)(m+5)(n-3)

mn3m+5n15mn - 3m + 5n - 15

Expand (p+2q)(rs)(p+2q)(r-s)

prps+2qr2qspr - ps + 2qr - 2qs

Evaluating numbers using identities

Writing each number around a round figure lets the same identities do the arithmetic.

1022102^2

(100+2)2=1002+2(100)(2)+22=10000+400+4=10404(100+2)^2 = 100^2 + 2(100)(2) + 2^2 = 10000 + 400 + 4 = 10404

99299^2

(1001)2=10022(100)(1)+12=10000200+1=9801(100-1)^2 = 100^2 - 2(100)(1) + 1^2 = 10000 - 200 + 1 = 9801

105×95105 \times 95

(100+5)(1005)=100252=1000025=9975(100+5)(100-5) = 100^2 - 5^2 = 10000 - 25 = 9975

205×202205 \times 202

(200+5)(200+2)=2002+(5+2)(200)+(5)(2)=40000+1400+10=41410(200+5)(200+2) = 200^2 + (5+2)(200) + (5)(2) = 40000 + 1400 + 10 = 41410

75×6875 \times 68

(70+5)(702)=702+(52)(70)+(5)(2)=4900+21010=5100(70+5)(70-2) = 70^2 + (5-2)(70) + (5)(-2) = 4900 + 210 - 10 = 5100

98×9798 \times 97

(1002)(1003)=1002+(23)(100)+(2)(3)=10000500+6=9506(100-2)(100-3) = 100^2 + (-2-3)(100) + (-2)(-3) = 10000 - 500 + 6 = 9506

Differences of squares of numbers

45215245^2 - 15^2

(45+15)(4515)=60×30=1800(45+15)(45-15) = 60 \times 30 = 1800

7.521.527.5^2 - 1.5^2

(7.5+1.5)(7.51.5)=9×6=54(7.5+1.5)(7.5-1.5) = 9 \times 6 = 54

Key takeaways

  • The square identities give (a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2 and (ab)2=a22ab+b2(a-b)^2 = a^2 - 2ab + b^2.
  • The product (a+b)(ab)(a+b)(a-b) collapses to the difference of squares a2b2a^2 - b^2, and (x+a)(x+b)=x2+(a+b)x+ab(x+a)(x+b) = x^2 + (a+b)x + ab.
  • Writing a number as a sum or difference around a round figure turns these identities into fast mental arithmetic.