Free Mathematics Class 9 CBSE notes · practise this chapter with an AI quiz

← All study notes

Square 97 in Your Head Without Writing Anything Down

Learn the three basic identities for squares and the difference of squares, see why the square of a sum works as an area picture, factorise by recognising the matching identity, and square numbers near 100 mentally.

How do you square 97 without long multiplication?

Multiplying 97×9797 \times 97 the usual way takes three partial products and a carry. There is a faster route.

9797 is 100−3100 - 3, and the square of a difference has a fixed shape:

(100−3)2=1002−2×100×3+32=10000−600+9=9409(100 - 3)^2 = 100^2 - 2 \times 100 \times 3 + 3^2 = 10000 - 600 + 9 = 9409

Three easy numbers, no carrying, and it can be done while walking.

The same shape works for 1032=(100+3)2=10000+600+9=10609103^2 = (100+3)^2 = 10000 + 600 + 9 = 10609, and a different one makes 98×10298 \times 102 almost instant:

(100−2)(100+2)=10000−4=9996(100-2)(100+2) = 10000 - 4 = 9996

An identity is an equation true for every value of its letters, and that is what makes these tricks legal rather than lucky. (a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2 holds whether aa and bb are 100100 and 33, or 2x2x and 3y3y, or anything else — so one algebraic fact serves both mental arithmetic and factorisation.

This page covers the first part of the CBSE Class 9 Mathematics chapter on algebraic identities — the three basic ones, the area picture that proves the first, using them backwards to factorise, and using them on numbers.
Formula

What are the three identities you have to know by heart?

Two for squaring a two-term expression, and one for a product that collapses:

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

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

(a+b)(a−b)=a2−b2(a + b)(a - b) = a^2 - b^2

The second is the first with bb replaced by −b-b, so there is really one squaring identity with a sign that follows the bracket. The third is the one that produces two terms instead of three, because the middle terms cancel: a2−ab+ab−b2a^2 - ab + ab - b^2.

Worked example 1. Expand (2x+3y)2(2x + 3y)^2. Here a=2xa = 2x and b=3yb = 3y:

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

Check at x=1x = 1, y=1y = 1: the bracket is (2+3)2=25(2+3)^2 = 25, and the expansion gives 4+12+9=254 + 12 + 9 = 25. Correct.

Worked example 2. Expand (3p−5q)2(3p - 5q)^2:

(3p)2−2(3p)(5q)+(5q)2=9p2−30pq+25q2(3p)^2 - 2(3p)(5q) + (5q)^2 = 9p^2 - 30pq + 25q^2

Check at p=q=1p = q = 1: (3−5)2=4(3-5)^2 = 4, and 9−30+25=49 - 30 + 25 = 4. Correct.

Worked example 3. Expand (4m+7)(4m−7)(4m + 7)(4m - 7). Same first terms, opposite signs — the third identity:

(4m)2−72=16m2−49(4m)^2 - 7^2 = 16m^2 - 49

Worked example 4 — squaring a three-term bracket is not this identity. (x+2)2=x2+4x+4(x + 2)^2 = x^2 + 4x + 4, but (x+y+2)2(x + y + 2)^2 needs the extended version from the next part of this chapter. Recognising which identity applies is half the work.

The error that outnumbers every other in this chapter. (a+b)2(a+b)^2 is not a2+b2a^2 + b^2. Put in numbers: with a=3a = 3 and b=4b = 4,

(3+4)2=49but32+42=25(3+4)^2 = 49 \qquad \text{but} \qquad 3^2 + 4^2 = 25

The missing 2424 is exactly 2ab=2×3×42ab = 2 \times 3 \times 4. The middle term is the whole content of the identity, and dropping it is not a small slip — it changes the answer by roughly half. The next section shows what that middle term is, as a piece of area you can point at.

Why does the square of a sum have a middle term?

Because a square of side a+ba + b splits into four pieces, and two of them are the rectangles a×ba \times b.

Draw a square whose side is a+ba + b. Cut it once across and once down, at distance aa from the same corner. Four regions appear:

- a square of side aa, area a2a^2
- a square of side bb, area b2b^2
- a rectangle aa by bb, area abab
- another rectangle bb by aa, area abab

The whole square's area is (a+b)2(a+b)^2, and the four pieces must add to it:

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

So the middle term is two rectangles, and the reason a2+b2a^2 + b^2 falls short is that it accounts for the two corner squares and forgets the rectangles between them.

Worked example — with numbers on the picture. Take a=7a = 7 cm and b=3b = 3 cm, a square of side 1010 cm.

- Total area: 102=100 cm210^2 = 100 \text{ cm}^2
- Big corner square: 72=49 cm27^2 = 49 \text{ cm}^2
- Small corner square: 32=9 cm23^2 = 9 \text{ cm}^2
- Two rectangles: 2×7×3=42 cm22 \times 7 \times 3 = 42 \text{ cm}^2

49+9+42=100 cm249 + 9 + 42 = 100 \text{ cm}^2

The pieces account for the square exactly. And 49+9=5849 + 9 = 58, short of 100100 by the 4242 of rectangle area — the arithmetic version of the same gap.

The picture for (a−b)2(a - b)^2. Start from a square of side aa and cut a strip of width bb off two adjacent sides. Each strip has area abab, so removing both takes away 2ab2ab — but the little corner square of area b2b^2 has been removed twice, once by each strip, so it must be added back:

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

This is where the plus sign on b2b^2 comes from, and it is worth holding on to, because writing (a−b)2=a2−2ab−b2(a-b)^2 = a^2 - 2ab - b^2 is the second most common error in the chapter. The corner was double-subtracted; the +b2+b^2 repairs it.

A geometric argument like this needs positive lengths to make sense, since a rectangle cannot have a negative side. The algebra, though, holds for every value including negatives — which is why the identity is proved by expanding the brackets and merely illustrated by the areas.

How do you factorise by spotting which identity fits?

Read the identities right to left. An expression that matches the right-hand side can be replaced by the left, and that is factorisation.

Worked example 1 — a difference of squares. Factorise x2−25x^2 - 25. Both terms are squares and there is a minus between them, so the third identity applies with a=xa = x, b=5b = 5:

x2−25=x2−52=(x+5)(x−5)x^2 - 25 = x^2 - 5^2 = (x + 5)(x - 5)

Check by expanding: x2−5x+5x−25=x2−25x^2 - 5x + 5x - 25 = x^2 - 25. Correct.

Worked example 2 — a perfect square. Factorise x2+10x+25x^2 + 10x + 25. The outer terms are x2x^2 and 525^2; the test is whether the middle term is 2×x×5=10x2 \times x \times 5 = 10x. It is:

x2+10x+25=(x+5)2x^2 + 10x + 25 = (x + 5)^2

Worked example 3 — with coefficients. Factorise 49y2−6449y^2 - 64:

49y2−64=(7y)2−82=(7y+8)(7y−8)49y^2 - 64 = (7y)^2 - 8^2 = (7y + 8)(7y - 8)

Worked example 4 — a negative middle term. Factorise 4x2−12x+94x^2 - 12x + 9. Outer terms (2x)2(2x)^2 and 323^2; middle term should be 2(2x)(3)=12x2(2x)(3) = 12x, and it is, with a minus:

4x2−12x+9=(2x−3)24x^2 - 12x + 9 = (2x - 3)^2

Check at x=1x = 1: 4−12+9=14 - 12 + 9 = 1, and (2−3)2=1(2-3)^2 = 1. Correct.

Worked example 5 — take out a common factor first. Factorise 2x2−502x^2 - 50. Neither term is a perfect square as written, but

2x2−50=2(x2−25)=2(x+5)(x−5)2x^2 - 50 = 2(x^2 - 25) = 2(x + 5)(x - 5)

Always check for a common factor before hunting for an identity — it often converts a non-match into a match.

Worked example 6 — a difference of squares hiding in brackets. Factorise (x+3)2−16(x+3)^2 - 16. Treat the bracket as a single object with a=x+3a = x+3 and b=4b = 4:

(x+3+4)(x+3−4)=(x+7)(x−1)(x + 3 + 4)(x + 3 - 4) = (x + 7)(x - 1)

Check at x=0x = 0: 9−16=−79 - 16 = -7, and 7×(−1)=−77 \times (-1) = -7. Correct.

A sum of squares does not factorise this way. x2+25x^2 + 25 has no factorisation into real brackets — there is no identity for a2+b2a^2 + b^2. Students who have just met the difference of squares reach for (x+5)(x+5)(x+5)(x+5), which expands to x2+10x+25x^2 + 10x + 25 and is a different expression. The minus sign is not decoration; it is the identity's engine, and it is the first thing to check before starting.

How do you use identities to multiply numbers mentally?

Write each number as a round number plus or minus a small amount, then apply the matching identity. The round number does the heavy lifting and the small one stays easy.

Worked example 1 — 1032103^2. Take a=100a = 100, b=3b = 3:

(100+3)2=10000+2(100)(3)+9=10000+600+9=10609(100 + 3)^2 = 10000 + 2(100)(3) + 9 = 10000 + 600 + 9 = 10609

Worked example 2 — 97297^2. Now with a minus:

(100−3)2=10000−600+9=9409(100 - 3)^2 = 10000 - 600 + 9 = 9409

Worked example 3 — 98×10298 \times 102. The two numbers sit the same distance either side of 100100, so the difference of squares applies:

(100−2)(100+2)=10000−4=9996(100 - 2)(100 + 2) = 10000 - 4 = 9996

Check the structure: the product of two numbers equally spaced around 100100 is always 1000010000 minus the square of the spacing.

Worked example 4 — 1052105^2.

(100+5)2=10000+1000+25=11025(100 + 5)^2 = 10000 + 1000 + 25 = 11025

Worked example 5 — a larger round number. Compute 9992999^2:

(1000−1)2=1000000−2000+1=998001(1000 - 1)^2 = 1000000 - 2000 + 1 = 998001

Worked example 6 — squaring near 50. Compute 47247^2 with a=50a = 50, b=3b = 3:

(50−3)2=2500−300+9=2209(50 - 3)^2 = 2500 - 300 + 9 = 2209

Worked example 7 — a product that is not a difference of squares. 96×10496 \times 104 has spacings of 44 and 44 from 100100, so it works: 10000−16=998410000 - 16 = 9984. But 96×10396 \times 103 has spacings of 44 and 33, unequal, so the identity does not apply — that one needs the (x+a)(x+b)(x+a)(x+b) identity from the next part of this chapter.

The identity chosen must match the structure, not the convenience. The two numbers being near 100100 is not enough for the difference of squares; they must be equally far from it on opposite sides. Checking that takes a second and saves a wrong answer that looks plausible.

One sanity check worth building in. The last digit of the answer must match the last digit of the ordinary multiplication: 97297^2 must end in 99, since 7×7=497 \times 7 = 49, and 94099409 does. It costs nothing and catches a dropped middle term immediately.
Exam tip

Exam tip: name the identity and state a and b before expanding

Write down which identity you are using and what aa and bb are. One line — *using (a+b)2(a+b)^2 with a=2xa = 2x, b=3yb = 3y* — and the substitution becomes mechanical.

Never write (a+b)2=a2+b2(a+b)^2 = a^2 + b^2. The middle term 2ab2ab is the identity. With a=3a=3, b=4b=4: 4949, not 2525.

And (a−b)2=a2−2ab+b2(a-b)^2 = a^2 - 2ab + b^2 — the last term is plus. The corner square was subtracted twice, so it is added back.

Check every expansion by substituting a=b=1a = b = 1.
It takes five seconds: (3p−5q)2(3p-5q)^2 at p=q=1p=q=1 gives 44, and 9−30+25=49 - 30 + 25 = 4.

For factorising, test the middle term. x2+10x+25x^2 + 10x + 25 is (x+5)2(x+5)^2 because 2×x×5=10x2 \times x \times 5 = 10x. If the middle term does not match, it is not a perfect square.

Take out a common factor first: 2x2−50=2(x+5)(x−5)2x^2 - 50 = 2(x+5)(x-5).

A sum of squares does not factorise. x2+25x^2 + 25 stays as it is — the minus sign is what makes the difference of squares work.

Treat a bracket as a single letter when it fits: (x+3)2−16=(x+7)(x−1)(x+3)^2 - 16 = (x+7)(x-1).

For mental arithmetic, check the spacing is equal before using a2−b2a^2 - b^2: 98×10298 \times 102 works, 96×10396 \times 103 does not.

And verify the last digit against the ordinary product — 97297^2 must end in 99.

For the geometric justification, draw and label the four regions; the marks are for the diagram with a2a^2, b2b^2 and two abab rectangles named, not for the algebra alone.
Did you know

Why two numbers around 100 always give a product just under 10000

Pick any two numbers that add to 200200 and multiply them.

- 100×100=10000100 \times 100 = 10000
- 99×101=999999 \times 101 = 9999
- 98×102=999698 \times 102 = 9996
- 95×105=997595 \times 105 = 9975
- 90×110=990090 \times 110 = 9900
- 50×150=750050 \times 150 = 7500

The products only fall, never rise, and the identity says exactly why. Any such pair is (100−d)(100 - d) and (100+d)(100 + d), so

(100−d)(100+d)=10000−d2(100 - d)(100 + d) = 10000 - d^2

The product is 1000010000 minus a square, and a square is never negative. So 100×100100 \times 100 is the largest product available, and every step away from the middle costs d2d^2.

The general statement is that among all rectangles with a fixed perimeter, the square has the greatest area. A fence of 400400 m encloses 10000 m210000 \text{ m}^2 as a 100100 m square, 9900 m29900 \text{ m}^2 as a 9090 by 110110 rectangle, and 7500 m27500 \text{ m}^2 as a 5050 by 150150 one. Same fence, different field.

This is a useful thing to know if you ever have a fixed amount of boundary and want the most land, and it explains why a plot described only by its perimeter tells you nothing definite about its area.

What makes it pleasant is that the whole result is contained in a2−b2a^2 - b^2, read the other way round. The identity is usually met as a shortcut for multiplication, and it turns out to answer a question about fences — because 10000−d210000 - d^2 is not just a fast way to compute 98×10298 \times 102, it is a statement about how the product behaves as dd grows.
Exam relevance

How are algebraic identities tested in JEE Main?

Because they are the manipulation tools every later algebra chapter assumes, and a student who has to expand (a+b)2(a+b)^2 slowly loses time on problems that are not about that at all.

This is the foundation for Class 10 Polynomials and Quadratic Equations, and then for Class 11 Mathematics Complex Numbers and Quadratic Equations and Binomial Theorem, all examined in JEE Main. The square of a sum is the n=2n = 2 case of the binomial theorem, and the coefficients 1,2,11, 2, 1 seen here are the row of Pascal's triangle that the general theorem extends to 1,3,3,11, 3, 3, 1 and beyond — the next part of this chapter takes the cube, and Class 11 takes every power.

Completing the square is where the squaring identity earns the most later. Solving x2+10x+7=0x^2 + 10x + 7 = 0 means recognising that x2+10xx^2 + 10x is (x+5)2−25(x+5)^2 - 25, which is nothing but the identity used to manufacture a perfect square. The quadratic formula itself is derived that way, and Class 11 Conic Sections uses the same move to put the equation of a circle or parabola into standard form. A student who can see the missing 2525 has the whole method.

The difference of squares
becomes the standard factorisation move and the conjugate trick. Rationalising 15−3\dfrac{1}{\sqrt{5}-\sqrt{3}} works by multiplying by 5+3\sqrt{5}+\sqrt{3} so that the denominator collapses to 5−3=25 - 3 = 2 — the same identity, applied to surds. In Class 11 Complex Numbers it reappears as (a+ib)(a−ib)=a2+b2(a+ib)(a-ib) = a^2 + b^2, which is how a complex denominator is cleared.

Where the geometric picture leads. The area proof on this page is the accessible form of an argument used throughout coordinate geometry, and the fence result in the previous section is a first encounter with maxima and minima, treated properly in Class 12 Application of Derivatives.

What the questions look like. For board work, expect expand using an identity, factorise by recognising one, evaluate a numerical square or product mentally, and justify (a+b)2(a+b)^2 geometrically with a labelled figure — the last one is asked in words and needs the diagram. For JEE Main, identities never appear as the question; they appear inside simplification steps, and the marks are lost to slowness rather than to ignorance.

How board and competitive emphasis differ. A board paper rewards the written steps
— naming the identity, stating aa and bb, drawing the regions. A competitive paper rewards recognising a perfect square or a difference of squares on sight, because the recognition is usually step one of five.

The single trap that costs the most marks. Assuming a sum of squares factorises. x2−25x^2 - 25 splits into (x+5)(x−5)(x+5)(x-5) and x2+25x^2 + 25 does not split at all over the real numbers. Questions deliberately place the two side by side, and the student who has learnt the identity as a pattern rather than as an equation will factorise both.
Key takeaways

Squares, differences of squares and mental multiplication: quick revision

- An identity is an equation true for every value of its letters — which is what makes it safe to substitute anything.
- The three to know: (a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2; (a−b)2=a2−2ab+b2(a-b)^2 = a^2 - 2ab + b^2; (a+b)(a−b)=a2−b2(a+b)(a-b) = a^2 - b^2.
- (2x+3y)2=4x2+12xy+9y2(2x+3y)^2 = 4x^2 + 12xy + 9y^2; (3p−5q)2=9p2−30pq+25q2(3p-5q)^2 = 9p^2 - 30pq + 25q^2; (4m+7)(4m−7)=16m2−49(4m+7)(4m-7) = 16m^2 - 49.
- (a+b)2(a+b)^2 is never a2+b2a^2 + b^2. With a=3a=3, b=4b=4: 4949 against 2525, and the missing 2424 is 2ab2ab.
- In (a−b)2(a-b)^2 the last term is plus — the corner square was subtracted twice and must be added back.
-
The area picture
: a square of side a+ba+b splits into a2a^2, b2b^2 and two abab rectangles. With a=7a=7, b=3b=3: 49+9+42=100 cm249 + 9 + 42 = 100 \text{ cm}^2.
- The geometric argument needs positive lengths; the algebra holds for all values, which is why the proof is the expansion.
- Factorising is reading the identities backwards. x2−25=(x+5)(x−5)x^2 - 25 = (x+5)(x-5); 49y2−64=(7y+8)(7y−8)49y^2 - 64 = (7y+8)(7y-8).
- x2+10x+25=(x+5)2x^2 + 10x + 25 = (x+5)^2 because 2×x×5=10x2 \times x \times 5 = 10x — always test the middle term.
- 4x2−12x+9=(2x−3)24x^2 - 12x + 9 = (2x-3)^2, checked at x=1x=1: 4−12+9=1=(2−3)24 - 12 + 9 = 1 = (2-3)^2.
- Common factor first: 2x2−50=2(x+5)(x−5)2x^2 - 50 = 2(x+5)(x-5).
- Treat a bracket as one letter: (x+3)2−16=(x+7)(x−1)(x+3)^2 - 16 = (x+7)(x-1).
- A sum of squares does not factorise: x2+25x^2 + 25 stays as it is.
- Mental squares: 1032=10000+600+9=10609103^2 = 10000 + 600 + 9 = 10609; 972=10000−600+9=940997^2 = 10000 - 600 + 9 = 9409; 1052=11025105^2 = 11025; 9992=998001999^2 = 998001; 472=2500−300+9=220947^2 = 2500 - 300 + 9 = 2209.
- Mental products: 98×102=10000−4=999698 \times 102 = 10000 - 4 = 9996; 96×104=998496 \times 104 = 9984.
- The spacings must be equal for a2−b2a^2 - b^2 — 96×10396 \times 103 does not qualify.
- Check the last digit against the ordinary product: 97297^2 must end in 99.
- Two numbers adding to 200200 give 10000−d210000 - d^2, so 100×100100 \times 100 is the largest — the same reason a fixed perimeter encloses the most area as a square.

Pick any two-digit number, square it using a round number and a small adjustment, then check it against ordinary multiplication — the second time you do it, you will stop needing the check.

Ready to put this into practice?

Create a personalized quiz on this exact topic — free to start.

Create your own quiz on Exploring Algebraic Identities — Part 1Create a free account
← Back to all articles