WhatsApp us
Maths Planning11 Nov 2026

Class 8 Algebraic Identities and Factorisation: (a + b)², (a − b)², (a + b)(a − b) Explained

The four algebraic identities every Class 8 student needs, why each one is true (with an area picture), how to use them to expand, factorise and do quick mental maths, with worked examples and the mistakes to avoid.

Class 8 Algebraic Identities and Factorisation: (a + b)², (a − b)², (a + b)(a − b) Explained

An algebraic identity is an equation that is true for every value of its letters. In Class 8 you need four of them: (a + b)² = a² + 2ab + b², (a − b)² = a² − 2ab + b², (a + b)(a − b) = a² − b², and (x + a)(x + b) = x² + (a + b)x + ab. Learn why each one is true, and you can expand brackets in one line, factorise quickly and square numbers like 104 in your head.

This guide shows each identity as an area picture, then uses them three ways: expanding, factorising and mental maths. There are four worked examples and a list of the mistakes we see most often. If your child finds algebra slippery and needs regular support, our Class 8 maths home tuition is one to one, at home in Gurgaon or online.

Identity or equation?

Compare these two:

  • 2x + 3 = 11 is true only when x = 4. It is an equation.
  • 2(x + 3) = 2x + 6 is true for every value of x. It is an identity.

You can test an identity by putting in any number. With x = 10: 2(13) = 26 and 20 + 6 = 26. Same answer, and it will be the same for any x you choose.

All four identities in this post come from one rule, the distributive law: a(b + c) = ab + ac. In NCERT's Ganita Prakash Class 8, Part I Chapter 6, "We Distribute, Yet Things Multiply", is the chapter on algebra and the distributive law. Our Class 8 maths syllabus guide shows where it sits in the year.

Identity 1: (a + b)² = a² + 2ab + b²

Area picture. Draw a square with side a + b. Split each side into a part of length a and a part of length b, and draw lines across. The big square breaks into four pieces:

  • a square of side a, area a²
  • a square of side b, area b²
  • two rectangles, each a by b, so 2ab together

Total area: a² + 2ab + b². The two rectangles are the part students forget, and the picture shows why they must be there.

By multiplying: (a + b)(a + b) = a² + ab + ba + b² = a² + 2ab + b².

Identity 2: (a − b)² = a² − 2ab + b²

Area picture. Start with a square of side a. Cut a strip of width b off one side and a strip of width b off the top. What is left is a square of side a − b. Each strip has area ab, but the two strips overlap in a small b by b square. So you have taken away 2ab, which removes the small square twice; add b² back once:

(a − b)² = a² − 2ab + b².

A short cut: replace b with −b in Identity 1. Then 2a(−b) = −2ab and (−b)² = +b².

Identity 3: (a + b)(a − b) = a² − b²

Area picture. Take a square of side a and cut a small square of side b from one corner. The area left is a² − b². Cut the L-shape into two rectangles and slide one round: they fit together into one rectangle that is a + b long and a − b wide.

By multiplying: (a + b)(a − b) = a² − ab + ab − b² = a² − b². The middle terms cancel, which is why this is called the difference of two squares.

Identity 4: (x + a)(x + b) = x² + (a + b)x + ab

Area picture. A rectangle with sides x + a and x + b splits into an x by x square, an x by a strip, an x by b strip and a small a by b rectangle. Area: x² + ax + bx + ab = x² + (a + b)x + ab.

In words: the middle number is the sum of a and b, and the last number is their product. This one is the key to factorising expressions like x² + 7x + 12.

Worked example 1: expanding with Identities 1 and 2

(a) Expand (3p + 5q)².

Here a = 3p and b = 5q.

a² = (3p)² = 9p²

2ab = 2 × 3p × 5q = 30pq

b² = (5q)² = 25q²

So (3p + 5q)² = 9p² + 30pq + 25q².

(b) Expand (2m − 7)².

a = 2m, b = 7.

(2m)² − 2 × 2m × 7 + 7² = 4m² − 28m + 49.

Check by substitution. Put m = 1 in (b): (2 − 7)² = (−5)² = 25, and 4 − 28 + 49 = 25. They match.

Worked example 2: Identity 4 and a signs trap

Expand (y + 7)(y − 4).

Here a = 7 and b = −4.

Sum: 7 + (−4) = 3. Product: 7 × (−4) = −28.

So (y + 7)(y − 4) = y² + 3y − 28.

Check with y = 2: (9)(−2) = −18, and 4 + 6 − 28 = −18. They match.

Worked example 3: mental maths with identities

Identities turn awkward multiplications into easy ones.

(a) 104² = (100 + 4)² = 10,000 + 800 + 16 = 10,816

(b) 97² = (100 − 3)² = 10,000 − 600 + 9 = 9,409

(c) 53 × 47 = (50 + 3)(50 − 3) = 2,500 − 9 = 2,491

(d) 102 × 105 = (100 + 2)(100 + 5) = 10,000 + 700 + 10 = 10,710

(e) 68² − 32² = (68 + 32)(68 − 32) = 100 × 36 = 3,600

Part (e) is a favourite in tests: squaring 68 and 32 separately is slow, but the identity makes it a one-line answer. Squaring numbers quickly also helps with square roots; see our guide to Class 8 squares, cubes and their roots.

Worked example 4: factorising using identities

Factorising is expanding in reverse. Look at the shape of the expression and match it to an identity.

(a) Factorise 49m² − 36n².

Two square terms with a minus sign between them: difference of two squares.

49m² = (7m)² and 36n² = (6n)².

So 49m² − 36n² = (7m + 6n)(7m − 6n).

(b) Factorise 4x² + 12x + 9.

First and last terms are squares: 4x² = (2x)² and 9 = 3².

Check the middle: 2 × 2x × 3 = 12x. Yes.

So 4x² + 12x + 9 = (2x + 3)².

(c) Factorise x² − 5x − 24.

Use Identity 4: find two numbers with product −24 and sum −5.

Try pairs that multiply to −24: (−8, 3) has sum −5.

So x² − 5x − 24 = (x − 8)(x + 3).

Check: (x − 8)(x + 3) = x² + 3x − 8x − 24 = x² − 5x − 24.

(d) Factorise 3a² − 75.

Take out the common factor first: 3(a² − 25).

Then a² − 25 = (a + 5)(a − 5).

So 3a² − 75 = 3(a + 5)(a − 5).

Always look for a common factor first. Students who skip it often get stuck, because 3a² − 75 does not look like a difference of squares until the 3 is taken out.

Common mistakes

  1. (a + b)² = a² + b². The most common algebra error of all. Test it: (3 + 4)² = 49, but 9 + 16 = 25. The missing 24 is the 2ab, the two rectangles in the area picture.
  2. (a − b)² = a² − b². Same mistake with a minus sign. The answer is a² − 2ab + b², and the last term is plus.
  3. Squaring only the letter. (3p)² is 9p², not 3p². Square the number and the letter.
  4. Wrong sign on the middle term. In (2m − 7)² the middle term is −28m, not +28m.
  5. Trying to factorise a sum of squares. x² + 9 is not (x + 3)(x − 3); that gives x² − 9. In Class 8, x² + 9 does not factorise.
  6. Forgetting the common factor before using an identity, as in example 4(d).

A quick habit that catches most of these: after expanding or factorising, put in a small number such as 1 or 2 and check both sides give the same value.

How to practise this at home

Ten to fifteen minutes a day is enough:

  • Day 1–2: draw the area picture for (a + b)² with real numbers, such as a = 5 and b = 3, and check that 64 = 25 + 30 + 9.
  • Day 3–4: expand five brackets a day using the identities, then check each by substituting a number.
  • Day 5–6: do five mental-maths squares (like 101², 49², 205²) and two products like 61 × 59.
  • Day 7: factorise five expressions, mixing all four types, and expand each answer to check it.

Say the identities aloud in words: "first squared, plus twice the product, plus last squared". Saying them helps them stick.

Where this leads

Identities are not just a Class 8 chapter. The same area picture gives the simplest proof of the Pythagoras theorem, which we show in our Class 8 Pythagoras theorem guide. In Class 9, the CBSE curriculum has a chapter called "Exploring Algebraic Identities", and factorising quadratics becomes routine. Our Class 9 maths tutor page explains how we bridge the two years, and our algebra basics guide for Classes 7 to 9 is a good refresher on terms and expressions.

How Maths Bodhi helps

Our tutors teach identities with the area picture first, so students understand why each one works before they learn it by heart. We then practise expanding, factorising and mental maths until all three are quick and accurate. For focused help with algebra at any level, see our algebra tutor page.

Home tuition is available in Gurgaon (Gurugram). Students elsewhere in India and abroad learn with us online. You can book a free demo class.

Frequently asked questions

What are the standard algebraic identities in Class 8?
(a + b)² = a² + 2ab + b², (a − b)² = a² − 2ab + b², (a + b)(a − b) = a² − b², and (x + a)(x + b) = x² + (a + b)x + ab.
What is the difference between an identity and an equation?
An equation is true only for some values of the letter, such as 2x + 3 = 11, which is true only when x = 4. An identity is true for every value, such as 2(x + 3) = 2x + 6.
Why is (a + b)² not equal to a² + b²?
Because (a + b)² means (a + b)(a + b), which gives four products: a², ab, ba and b². The two middle products add up to 2ab, which is easy to forget. For example, (3 + 4)² = 49, not 9 + 16 = 25.
How do I know which identity to use for factorising?
Take out any common factor first. Two squares with a minus sign between them means difference of squares. Three terms with square first and last terms may be a perfect square. Otherwise, for x² + px + q, look for two numbers with sum p and product q.
How can identities help with mental maths?
Write the number near a round number. For example, 97² = (100 − 3)² = 10,000 − 600 + 9 = 9,409, and 53 × 47 = (50 + 3)(50 − 3) = 2,500 − 9 = 2,491.
Can x² + 9 be factorised?
Not in Class 8. x² + 9 is a sum of two squares, and (x + 3)(x − 3) gives x² − 9 instead. Only a difference of two squares factorises this way.
Class 8 algebraic identitiesfactorisation Class 8Class 8 algebraalgebra mental mathsMaths home tutor Gurgaon

Related guides

Keep exploring this maths topic

Maths Planning5 Jun 2026

Algebra Basics for Class 7 to 9: Build Strong Maths Concepts

Learn Algebra basics for Classes 7 to 9 with simple explanations of variables, constants, expressions, and equations. Build strong Maths confidence with concept-based learning.

Algebra BasicsClass 7 MathsClass 8 MathsClass 9 Maths

By Maths Bodhi Team

Read guide

Maths Planning11 Nov 2026

Class 8 Pythagoras Theorem (Baudhayana-Pythagoras): Statement, Proof, Triples and Converse

The Baudhayana-Pythagoras theorem for Class 8 in plain words: what it says, a simple proof, Pythagorean triples, finding a missing side, using the converse to test for a right angle, and why √2 is a real length.

Class 8 Pythagoras theoremBaudhayana theoremPythagorean triplesClass 8 geometry

By Maths Bodhi Team

Read guide

Maths Planning11 Nov 2026

Class 8 Squares and Square Roots, Cubes and Cube Roots: Patterns, Methods and Estimation

Squares, square roots, cubes and cube roots for Class 8: the number patterns that make them easy, finding roots by prime factorisation, testing for perfect squares and cubes, and estimating roots that are not whole numbers, with worked examples.

Class 8 squares and square rootscubes and cube rootsprime factorisationClass 8 number patterns

By Maths Bodhi Team

Read guide

Maths Planning

Variables and Constants in Maths: Definition, Examples and How to Spot Them (Class 7 to 9)

A variable is a letter that stands for a number that can change or is not yet known; a constant is a value that stays fixed. Clear definitions, a labelled expression showing terms, coefficients and constants, three worked examples and the mistakes to avoid.

Variables and constantsClass 7 algebraTerms and coefficientsAlgebra basics

By Maths Bodhi Team

Read guide

Maths Planning13 Nov 2026

The Jump from Class 8 to Class 9 Maths: Which Chapters Feed Which, and What to Revise

Why the step from Class 8 to Class 9 maths feels so big on the new NCERT books, a table showing which Ganita Prakash Class 8 chapters feed which Ganita Manjari Class 9 chapters, a summer revision plan, worked bridge examples and the early warning signs in the first term.

Class 8 to Class 9 mathsClass 9 maths preparationGanita ManjariGanita Prakash Class 8

By Maths Bodhi Team

Read guide

Gurgaon Maths Tuition13 Nov 2026

Class 8 Maths Tuition in Gurgaon: When It Helps, Home or Online, and the First Month

A guide for Gurgaon parents weighing Class 8 maths tuition: why Class 8 is the bridge year on the new Ganita Prakash books, the signals that tuition will help, home versus online, how home visits work in Gurgaon and what the first month with a tutor should look like.

Class 8 maths tuitionClass 8 maths tutorGanita Prakash Class 8home vs online tuition

By Maths Bodhi Team

Read guide