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

← All study notes

You Can Rule Out a Non-Square From Its Last Digit Alone

Learn which unit digits a perfect square can and cannot have, square any two-digit or three-digit number using algebraic identities and the column method, and use the odd-number and Pythagorean patterns.

How can you tell a number is not a perfect square without any working?

Look at its last digit. A perfect square can only end in 00, 11, 44, 55, 66 or 99.

So any number ending in
22, 33, 77 or 88 is not
a perfect square, and you can say so instantly. 10571057 ends in 77, so it is not a perfect square — no factorising and no square roots needed.

That single observation rules out four of the ten possible last digits, which makes it the fastest check in the chapter. This page covers the first part of the ICSE Class 8 Mathematics chapter on squares: the properties of square numbers, two methods for squaring quickly, and the patterns that squares form.

What are the properties of square numbers?

A perfect square is a number obtained by multiplying an integer by itself. The first few 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

Property 1 — possible unit digits. A perfect square ends only in 00, 11, 44, 55, 66 or 99. It never ends in 22, 33, 77 or 88.

The reason is that the last digit of a square depends only on the last digit of the number being squared, and squaring the digits 00 to 99 produces only those six endings:

- ending in 11 or 99 gives a square ending in 11
- ending in 22 or 88 gives a square ending in 44
- ending in 33 or 77 gives a square ending in 99
- ending in 44 or 66 gives a square ending in 66
- ending in 55 gives a square ending in 55
- ending in 00 gives a square ending in 00

Property 2 — zeros come in pairs. A perfect square ends in an even number of zeros. So 400400 can be a square (and is, being 20220^2), while 40004000 — with three zeros — cannot be.

Property 3 — even stays even, odd stays odd. The square of an even number is even; the square of an odd number is odd. So  72=49\,7^2 = 49 and 82=648^2 = 64.

Property 4 — squares are never negative, since a positive times a positive and a negative times a negative both give a positive result.

Worked example 1. Is 10571057 a perfect square? It ends in 77, so no.

Worked example 2.
Is 40004000 a perfect square? It ends in three zeros, an odd number, so no.

Worked example 3. Is 86498649 a perfect square? It ends in 99, which is allowed, so the test does not rule it out — and in fact 932=864993^2 = 8649.

The limit of the test, which matters. The unit-digit rule can only disprove, never prove. A number ending in 66 has passed the test but may still not be a square — 2626 ends in 66 and is not one. So the rule is a quick elimination, and a number that survives it still needs checking properly by prime factorisation.

Getting that direction right is the difference between using the property correctly and misusing it.
Formula

How do you square a two-digit number quickly?

Two methods, and both avoid long multiplication.

Method 1 — algebraic identities. Split the number into a convenient round part and a small part, then use

(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

Worked example 1. Find 47247^2, taking 47=50−347 = 50 - 3:

472=502−2×50×3+32=2500−300+9=220947^2 = 50^2 - 2 \times 50 \times 3 + 3^2 = 2500 - 300 + 9 = 2209

Worked example 2. Find 63263^2, taking 63=60+363 = 60 + 3:

632=602+2×60×3+32=3600+360+9=396963^2 = 60^2 + 2 \times 60 \times 3 + 3^2 = 3600 + 360 + 9 = 3969

Worked example 3 — a three-digit number. Find 1052105^2, taking 105=100+5105 = 100 + 5:

1052=1002+2×100×5+52=10 000+1000+25=11 025105^2 = 100^2 + 2 \times 100 \times 5 + 5^2 = 10\,000 + 1000 + 25 = 11\,025

Choosing which identity. Use (a−b)2(a - b)^2 when the number is just below a round figure, as 4747 is below 5050, and (a+b)2(a + b)^2 when it is just above. Either works, but the one with the smaller bb gives the easier arithmetic.

Method 2 — the column method. For a two-digit number with tens digit aa and units digit bb, set out three columns:

-
Column I
holds a2a^2
- Column II holds 2ab2ab
- Column III holds b2b^2

Then work from the right, keeping one digit in each column and carrying the rest leftwards.

Worked example 4 — 47247^2 by columns. Here a=4a = 4 and b=7b = 7, so the columns start as 16∣56∣4916 \mid 56 \mid 49.

- Column III: 4949 — write 99, carry 44
-
Column II
: 56+4=6056 + 4 = 60 — write 00, carry 66
-
Column I
: 16+6=2216 + 6 = 22 — write 2222

Reading off: 22∣0∣922 \mid 0 \mid 9, giving 472=220947^2 = 2209 — the same as by the identity.

Worked example 5 — 63263^2 by columns. With a=6a = 6 and b=3b = 3, the columns are 36∣36∣936 \mid 36 \mid 9.

- Column III: 99 — write 99, carry 00
-
Column II
: 36+0=3636 + 0 = 36 — write 66, carry 33
-
Column I
: 36+3=3936 + 3 = 39 — write 3939

Giving 632=396963^2 = 3969.

Worked example 6 — a larger carry. Find 89289^2. With a=8a = 8 and b=9b = 9, the columns are 64∣144∣8164 \mid 144 \mid 81.

- Column III: 8181 — write 11, carry 88
-
Column II
: 144+8=152144 + 8 = 152 — write 22, carry 1515
-
Column I
: 64+15=7964 + 15 = 79

Giving 892=792189^2 = 7921.

A shortcut for numbers ending in 55. Take the tens digit, multiply it by the next integer, and write 2525 after it.

352:  3×4=12  ⇒  122535^2: \; 3 \times 4 = 12 \;\Rightarrow\; 1225

852:  8×9=72  ⇒  722585^2: \; 8 \times 9 = 72 \;\Rightarrow\; 7225

Why the column method is really the identity in disguise. The three columns are a2a^2, 2ab2ab and b2b^2 — exactly the three terms of (a+b)2(a + b)^2 — and the carrying is what places each in its correct position value. So the two methods cannot disagree, and each is a check on the other.

What patterns do square numbers follow?

Several, and each turns into a shortcut.

Pattern 1 — the sum of consecutive odd numbers. The sum of the first nn odd numbers is exactly n2n^2:

1=121 = 1^2

1+3=4=221 + 3 = 4 = 2^2

1+3+5=9=321 + 3 + 5 = 9 = 3^2

1+3+5+7+9=25=521 + 3 + 5 + 7 + 9 = 25 = 5^2

So the sum of the first 1010 odd numbers is 102=10010^2 = 100, with no addition required.

This also gives a test for a perfect square: keep subtracting successive odd numbers 1,3,5,7,…1, 3, 5, 7, \ldots from a number, and if you reach exactly zero, it is a perfect square, and the count of subtractions is its square root.

Pattern 2 — the difference between consecutive squares. The gap between n2n^2 and the square before it is always an odd number:

n2−(n−1)2=2n−1n^2 - (n-1)^2 = 2n - 1

Checking with n=8n = 8:

82−72=64−49=15,and 2(8)−1=158^2 - 7^2 = 64 - 49 = 15, \qquad \text{and } 2(8) - 1 = 15

This is the same pattern as the first one seen from a different angle: each new odd number added is exactly the gap to the next square.

Pattern 3 — how many numbers sit between two squares. Between n2n^2 and (n+1)2(n+1)^2 there are exactly 2n2n numbers that are not perfect squares.

Checking with n=4n = 4: between 42=164^2 = 16 and 52=255^2 = 25 lie 17,18,19,20,21,22,23,2417, 18, 19, 20, 21, 22, 23, 24 — that is 88 numbers, and 2(4)=82(4) = 8. Correct.

So the squares get further apart as the numbers grow, which is why perfect squares become rarer the higher you count.

Pattern 4 — Pythagorean triplets. A Pythagorean triplet is a set of three whole numbers a,b,ca, b, c with a2+b2=c2a^2 + b^2 = c^2. For any whole number m>1m > 1, the three numbers

2m,m2−1,m2+12m, \quad m^2 - 1, \quad m^2 + 1

always form a triplet.

Worked example — m=4m = 4:

2m=8,m2−1=15,m2+1=172m = 8, \qquad m^2 - 1 = 15, \qquad m^2 + 1 = 17

Checking: 82+152=64+225=2898^2 + 15^2 = 64 + 225 = 289, and 172=28917^2 = 289. Correct.

Worked example — m=5m = 5:

10,24,2610, \quad 24, \quad 26

Checking: 100+576=676=262100 + 576 = 676 = 26^2. Correct.

Other triplets worth recognising on sight: (3,4,5)(3, 4, 5), (5,12,13)(5, 12, 13), (7,24,25)(7, 24, 25) and (8,15,17)(8, 15, 17). Verifying the second: 25+144=169=13225 + 144 = 169 = 13^2.

A limitation of the formula. It generates many triplets but not all of them. Putting m=2m = 2 gives (4,3,5)(4, 3, 5), which is the familiar (3,4,5)(3, 4, 5) — but (20,21,29)(20, 21, 29) is a genuine triplet that this formula never produces. So the formula is a generator, not a complete description, and a question asking whether three given numbers form a triplet should be answered by testing a2+b2=c2a^2 + b^2 = c^2 directly rather than by hunting for an mm.
Exam tip

Exam tip: the last-digit rule only disproves

Use the unit-digit rule to rule out a perfect square, never to confirm one. A number ending in 22, 33, 77 or 88 is definitely not a square; one ending in 00, 11, 44, 55, 66 or 99 might be. Saying a number is a square because it ends in 66 is wrong.

Remember zeros come in pairs: 40004000 has three and cannot be a square.

For the identity method, state which identity you are using and show all three terms: 472=2500−300+947^2 = 2500 - 300 + 9. Method marks are in that line.

Choose the nearer round number, so that bb is small — 4747 as 50−350 - 3, not as 40+740 + 7.

For the column method, set out the three columns as a2∣2ab∣b2a^2 \mid 2ab \mid b^2, work from the right, and show every carry. The commonest error is forgetting to add a carry into Column II.

For numbers ending in 55, use the shortcut — tens digit times the next integer, then 2525.

Quote the patterns as formulas: the sum of the first nn odd numbers is n2n^2; the difference of consecutive squares is 2n−12n - 1; and there are 2n2n non-squares between n2n^2 and (n+1)2(n+1)^2.

For a Pythagorean triplet, either generate one with 2m2m, m2−1m^2 - 1, m2+1m^2 + 1, or test three given numbers with a2+b2=c2a^2 + b^2 = c^2 — and always show the check.
Did you know

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

The rule looks like a curiosity until you draw it.

Arrange 99 dots in a 3×33 \times 3 square. To turn it into a 4×44 \times 4 square, you have to add a new column of 33 down one side, a new row of 33 along the bottom, and one dot in the corner where they meet. That is 3+3+1=73 + 3 + 1 = 7 dots — and 77 is the next odd number.

Do it again. Going from 4×44 \times 4 to 5×55 \times 5 needs a column of 44, a row of 44 and one corner dot: 99 dots, the next odd number again.

The pattern is forced by the shape. Growing a square by one unit always needs two sides plus one corner, which is n+n+1=2n+1n + n + 1 = 2n + 1 — always odd, and always one more than the last addition.

So 1+3+5+7+9=251 + 3 + 5 + 7 + 9 = 25 is not a coincidence about numbers. It is the record of building a 5×55 \times 5 square one L-shaped layer at a time, and each layer is the odd number the formula predicts.
Key takeaways

Squares and their patterns: quick revision

- A perfect square is an integer multiplied by itself: 1,4,9,16,25,36,49,64,81,100,…1, 4, 9, 16, 25, 36, 49, 64, 81, 100, \ldots
- Unit digits: a square ends only in 0,1,4,5,6,90, 1, 4, 5, 6, 9 and never in 2,3,7,82, 3, 7, 8. The rule can only disprove, not confirm.
- Squares end in an
even number of zeros
, so 40004000 is not a square. An even number's square is even; an odd number's square is odd. Squares are never negative.
- Endings pair up: 11 or 99 gives 11; 22 or 88 gives 44; 33 or 77 gives 99; 44 or 66 gives 66; 55 gives 55; 00 gives 00.
- Identities: (a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2 and (a−b)2=a2−2ab+b2(a-b)^2 = a^2 - 2ab + b^2. So 472=2500−300+9=220947^2 = 2500 - 300 + 9 = 2209; 632=3600+360+9=396963^2 = 3600 + 360 + 9 = 3969; 1052=10 000+1000+25=11 025105^2 = 10\,000 + 1000 + 25 = 11\,025.
- Column method: columns a2∣2ab∣b2a^2 \mid 2ab \mid b^2, worked from the right with carries. 4747: 16∣56∣4916 \mid 56 \mid 49 gives 22092209. 6363: 36∣36∣936 \mid 36 \mid 9 gives 39693969. 8989: 64∣144∣8164 \mid 144 \mid 81 gives 79217921.
- The columns are the three terms of (a+b)2(a+b)^2, so the two methods must agree.
- Ending in 5: tens digit times the next integer, then 2525 — 352=122535^2 = 1225, 852=722585^2 = 7225.
- Sum of the first nn odd numbers =n2= n^2: 1+3+5+7+9=25=521+3+5+7+9 = 25 = 5^2. Repeated subtraction of odd numbers reaching zero is a test for a square, and the count is the root.
- Difference of consecutive squares: n2−(n−1)2=2n−1n^2 - (n-1)^2 = 2n-1, so 82−72=158^2 - 7^2 = 15.
- Between n2n^2 and (n+1)2(n+1)^2 there are 2n2n non-squares — eight numbers between 1616 and 2525.
- Pythagorean triplets: 2m2m, m2−1m^2-1, m2+1m^2+1 for any m>1m > 1. With m=4m = 4: (8,15,17)(8, 15, 17) and 64+225=28964 + 225 = 289. With m=5m = 5: (10,24,26)(10, 24, 26). Also know (3,4,5)(3,4,5), (5,12,13)(5,12,13), (7,24,25)(7,24,25).
- The formula generates many triplets but not all — (20,21,29)(20, 21, 29) is one it misses — so test with a2+b2=c2a^2 + b^2 = c^2.

Try squaring ten two-digit numbers by the column method and checking each with an identity — agreeing answers from two independent routes is the best confirmation you can get.

Ready to put this into practice?

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

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