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 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 . A perfect square is a number that is the square of a natural number.



The perfect squares in order are



and they are worth knowing up to by heart, since they appear constantly.

Identifying them from a list: among , the perfect squares are , and . 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 — which is where the name comes from.

The pattern worth noticing early is how the gaps grow. Between and is 3, between and is 5, between and 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 to and look at the last digit of each result:



The last digits are — 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: ends in 8, ends in 3, ends in 7 — none can be a perfect square.

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

- has two zeros and . A perfect square.
- has two zeros and . A perfect square.
- has three zeros, an odd number, so it is not a perfect square.
- has one zero, so it is not either.

The reason is that squaring gives two zeros, squaring 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 — 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 .

Worked example. Find .

Factorise: , so



Pair the factors: . Each group gives



Check: . Correct.

Worked example. Find .



Check: . Correct.

Worked example. Find .



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 has a spare 2 and is not a perfect square.

How is a square the sum of consecutive odd numbers?

Every perfect square is the sum of the **first odd numbers**, starting from 1.







So is the sum of the first seven odd numbers:



And running it backwards tests a number. Keep subtracting successive odd numbers from 36: , , , , , . It reached exactly zero after six subtractions, so . 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: , ,
- So the next square after is . From , the next is
- Squares of numbers ending in 5 end in 25: ,
- 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 square of dots needs 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 — because that line carries the method mark, then halve each index for the root.

And always verify by squaring your answer back: 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 dots arranged as a square. To make it 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 dots.

The amount added is always , which is odd for every . So the squares grow by 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: — learn them to .
- 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 is not one.
- These tests can only reject; to prove a number is a square you must factorise it.
- Find by prime factorisation, pairing the primes: gives . Every prime appearing an even number of times proves a perfect square.
- is the sum of the first odd numbers, and the next square after is .

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