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

← All study notes

The Last Digit Alone Can Rule Out a Perfect Square

Learn to square numbers and spot perfect squares, use the units-digit and trailing-zero tests to rule numbers out, find square roots by prime factorisation, and build squares from consecutive odd numbers.

Can one glance at the last digit tell you a number is not a perfect square?

It can. A perfect square can only end in 0, 1, 4, 5, 6 or 9. So 10781078 ends in 8 and is not a perfect square — no calculation needed.

The test rules numbers out instantly, though it can never prove one is a square. This page covers everything in the CBSE Class 8 Mathematics chapter's first part: squares and perfect squares, the digit tests, square roots by prime factorisation, and square-number patterns.

What is a perfect square, and how do you find one?

The square of a number is that number multiplied by itself, written n2n^2. A perfect square is a number that is the square of a natural number.

52=5×5=25,122=144,172=2895^2 = 5 \times 5 = 25, \qquad 12^2 = 144, \qquad 17^2 = 289

The perfect squares in order are

1,4,9,16,25,36,49,64,81,100,121,144,169,196,2251, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 225

and they are worth knowing up to 202=40020^2 = 400 by heart, since they appear constantly.

Identifying them from a list: among 16,20,36,40,4916, 20, 36, 40, 49, the perfect squares are 16=4216 = 4^2, 36=6236 = 6^2 and 49=7249 = 7^2. The others are not, because no natural number squares to 20 or 40.

Squares appear in area problems, since a square of side 7 cm has area 72=49 cm27^2 = 49\ \text{cm}^2 — which is where the name comes from.

The pattern worth noticing early is how the gaps grow. Between 11 and 44 is 3, between 44 and 99 is 5, between 99 and 1616 is 7 — the odd numbers, in order. That observation returns as a full method later in this page.

How do the units-digit and trailing-zero tests work?

Both let you reject a number quickly without any long calculation.

The units-digit test. Square the digits 00 to 99 and look at the last digit of each result:

0,1,4,9,16,25,36,49,64,810, 1, 4, 9, 16, 25, 36, 49, 64, 81

The last digits are 0,1,4,9,6,5,6,9,4,10, 1, 4, 9, 6, 5, 6, 9, 4, 1 — so only 0, 1, 4, 5, 6 and 9 ever appear.

Therefore a perfect square never ends in 2, 3, 7 or 8.

Applying it: 10781078 ends in 8, 20232023 ends in 3, 567567 ends in 7 — none can be a perfect square.

The trailing-zero test. A perfect square always has an even number of trailing zeros.

- 100100 has two zeros and 100=102100 = 10^2. A perfect square.
- 16001600 has two zeros and 1600=4021600 = 40^2. A perfect square.
- 10001000 has three zeros, an odd number, so it is not a perfect square.
- 4040 has one zero, so it is not either.

The reason is that squaring 1010 gives two zeros, squaring 100100 gives four, and so on — zeros always arrive in pairs.

The limitation must be stated, because it is what the question tests. These tests can only rule out. A number ending in 6 with two trailing zeros has passed both tests and may still not be a square — 136136 ends in 6 and is not a perfect square. To prove a number is one you must factorise it, which is the next section.

How do you find a square root by prime factorisation?

Break the number into prime factors, split them into two identical groups, and one group is the square root. The symbol is  \sqrt{\ }.

Worked example. Find 324\sqrt{324}.

Factorise: 324=2×2×3×3×3×3324 = 2 \times 2 \times 3 \times 3 \times 3 \times 3, so

324=22×34324 = 2^2 \times 3^4

Pair the factors: (2×3×3)×(2×3×3)(2 \times 3 \times 3) \times (2 \times 3 \times 3). Each group gives

324=2×32=2×9=18\sqrt{324} = 2 \times 3^2 = 2 \times 9 = 18

Check: 182=32418^2 = 324. Correct.

Worked example. Find 1764\sqrt{1764}.

1764=22×32×72⇒1764=2×3×7=421764 = 2^2 \times 3^2 \times 7^2 \quad \Rightarrow \quad \sqrt{1764} = 2 \times 3 \times 7 = 42

Check: 422=176442^2 = 1764. Correct.

Worked example. Find 2304\sqrt{2304}.

2304=28×32⇒2304=24×3=16×3=482304 = 2^8 \times 3^2 \quad \Rightarrow \quad \sqrt{2304} = 2^4 \times 3 = 16 \times 3 = 48

The method also proves whether a number is a perfect square, which the digit tests could not do. If every prime appears an even number of times, the factors pair off exactly and the number is a perfect square. If any prime is left unpaired, it is not — so 200=23×52200 = 2^3 \times 5^2 has a spare 2 and is not a perfect square.

How is a square the sum of consecutive odd numbers?

Every perfect square n2n^2 is the sum of the first nn odd numbers, starting from 1.

1=1=121 = 1 = 1^2
1+3=4=221 + 3 = 4 = 2^2
1+3+5=9=321 + 3 + 5 = 9 = 3^2
1+3+5+7=16=421 + 3 + 5 + 7 = 16 = 4^2
1+3+5+7+9=25=521 + 3 + 5 + 7 + 9 = 25 = 5^2

So 49=7249 = 7^2 is the sum of the first seven odd numbers:

1+3+5+7+9+11+13=491 + 3 + 5 + 7 + 9 + 11 + 13 = 49

And running it backwards tests a number. Keep subtracting successive odd numbers from 36: 36−1=3536 - 1 = 35, −3=32-3 = 32, −5=27-5 = 27, −7=20-7 = 20, −9=11-9 = 11, −11=0-11 = 0. It reached exactly zero after six subtractions, so 36=6236 = 6^2. If the subtraction never lands on zero, the number is not a perfect square.

Other patterns for predicting the next term:

- The difference between consecutive squares is an odd number: 25−16=925 - 16 = 9, 36−25=1136 - 25 = 11, 49−36=1349 - 36 = 13
- So the next square after n2n^2 is n2+(2n+1)n^2 + (2n + 1). From 4949, the next is 49+15=6449 + 15 = 64
- Squares of numbers ending in 5 end in 25: 152=22515^2 = 225, 252=62525^2 = 625
- The square of an even number is even; of an odd number, odd

The reason the odd numbers appear is visual. Adding a row and a column to an n×nn \times n square of dots needs n+n+1=2n+1n + n + 1 = 2n + 1 extra dots — always an odd number — which turns it into the next square.
Exam tip

Exam tip: running the digit tests before factorising

Square questions reward the quick check before the long method.

Look at the units digit first. If it is 2, 3, 7 or 8, write not a perfect square with that reason and stop — you have the full answer in one line.

Then count trailing zeros: an odd number of them also rules it out.

If it survives both, factorise and pair the primes. State the rule as your reason: every prime occurs an even number of times, so it is a perfect square.

Show the factorisation in index form — 324=22×34324 = 2^2 \times 3^4 — because that line carries the method mark, then halve each index for the root.

And always verify by squaring your answer back: 182=32418^2 = 324 takes one line and catches any slip.
Did you know

Why does adding the next odd number always give the next square?

Because of what it takes to grow a square by one unit on each side.

Picture 1616 dots arranged as a 4×44 \times 4 square. To make it 5×55 \times 5 you must add a row of 4 along one side, a column of 4 along the other, and one dot to fill the corner — that is 4+4+1=94 + 4 + 1 = 9 dots.

The amount added is always n+n+1=2n+1n + n + 1 = 2n + 1, which is odd for every nn. So the squares grow by 3,5,7,9,113, 5, 7, 9, 11 and so on — and summing those odd numbers from the start must rebuild the square exactly.
Key takeaways

Squares and square roots: quick revision

- A perfect square is the square of a natural number: 1,4,9,16,25,…1, 4, 9, 16, 25, \ldots — learn them to 202=40020^2 = 400.
- A perfect square can only end in 0, 1, 4, 5, 6 or 9, so any number ending in 2, 3, 7 or 8 is ruled out at once.
- A perfect square has an even number of trailing zeros, so 10001000 is not one.
- These tests can only reject; to prove a number is a square you must factorise it.
- Find n\sqrt{n} by prime factorisation, pairing the primes: 324=22×34324 = 2^2 \times 3^4 gives 324=2×32=18\sqrt{324} = 2 \times 3^2 = 18. Every prime appearing an even number of times proves a perfect square.
- n2n^2 is the sum of the first nn odd numbers, and the next square after n2n^2 is n2+(2n+1)n^2 + (2n+1).

You will remember all of this far better after answering five questions on it than after reading it twice.

Ready to put this into practice?

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

Create your own quiz on A Square and A Cube — Part 1Create a free account
← Back to all articles