Square numbers and the digits they can end with
If n is a number, its square is n × n, written n². So 12² = 144 and 25² = 625. The squares of the counting numbers 1, 2, 3, 4, 5, 6, 7, 8, 9 and 10 are 1, 4, 9, 16, 25, 36, 49, 64, 81 and 100. These are the square numbers, or perfect squares. The units digit of a square is restricted. A square can end in 0, 1, 4, 5, 6 or 9. It can never end in 2, 3, 7 or 8. That is why 1232, which ends in 2, is not a perfect square, and neither is any number ending in 3, 7 or 8. Ending in an allowed digit is not enough. 156 ends in 6, which a square may do, but 12² = 144 and 13² = 169, so 156 sits between two squares and is not itself a square. Zeros at the end follow a stricter rule. If a number ends in n zeros, its square ends in 2n zeros. A perfect square therefore ends in an even number of zeros: none, two, four, and so on. 2500 = 50² ends in two zeros and is a square. 640 ends in one zero, so it cannot be a square. The square of an even number is even, and the square of an odd number is odd, because even × even is even and odd × odd is odd. These tests reject many numbers at sight. A number that survives them still has to be checked by finding an exact square root.
- n² means n × n. The squares 1, 4, 9, 16, 25, … are the perfect squares.
- A square never ends in 2, 3, 7 or 8, and never ends in an odd number of zeros.
- An allowed units digit does not by itself prove that a number is a square.
Patterns, odd numbers and Pythagorean triplets
The first n odd counting numbers add up to n². The first one odd number is 1 = 1². The first two are 1 + 3 = 4 = 2². The first three are 1 + 3 + 5 = 9 = 3². In general, 1 + 3 + 5 + … up to n terms equals n². The last term in that sum is the nth odd number, 2n − 1. This is why a perfect square can be reduced to 0 by subtracting odd numbers in order, 1 then 3 then 5 and so on. The number of subtractions is the square root. Between two consecutive squares there is a fixed gap. (n + 1)² − n² = 2n + 1, and one of those values is the next square itself, so the count of natural numbers strictly between n² and (n + 1)² is 2n. Between 15² and 16² there are 2 × 15 = 30 natural numbers, and none of them is a perfect square. A Pythagorean triplet is three positive integers a, b, c with a² + b² = c². The familiar one is 3, 4, 5, because 9 + 16 = 25. This chapter gives a way to build more. For any natural number m greater than 1, the three numbers 2m, m² − 1 and m² + 1 form a Pythagorean triplet. If one member is 14, take 2m = 14, so m = 7. Then m² − 1 = 48 and m² + 1 = 50. The triplet is 14, 48, 50, and 196 + 2304 = 2500. If the given member is odd, it may be m² − 1 or m² + 1 rather than 2m. For 5, m² + 1 does not help, but m = 2 gives 4, 3, 5, which contains 5. Multiples of a triplet are again triplets: 6, 8, 10 is twice 3, 4, 5.
- The sum of the first n odd counting numbers is n².
- There are exactly 2n natural numbers between n² and (n + 1)².
- For m > 1, the numbers 2m, m² − 1 and m² + 1 form a Pythagorean triplet.
Finding a square without a long multiplication
Identities turn a square into an easier product. If a number sits near a round value, split it. (a + b)² = a² + 2ab + b² and (a − b)² = a² − 2ab + b². So 23² = (20 + 3)² = 400 + 120 + 9 = 529, and 98² = (100 − 2)² = 10000 − 400 + 4 = 9604. The same idea writes a² as (a + b)(a − b) + b². Taking b = 2 gives 23² = (25)(21) + 4 = 525 + 4 = 529. Numbers that end in 5 have a shorter rule. To square a number whose units digit is 5, multiply the number formed by the other digits by the next whole number, and then write 25 on the end. 35² uses 3 × 4 = 12, so the square is 1225. 65² uses 6 × 7 = 42, so the square is 4225. 125² uses 12 × 13 = 156, so the square is 15625. The reason is (10a + 5)² = 100a(a + 1) + 25. The identity does the hundreds, and 25 is already the square of the units digit. These shortcuts are checks as well as calculations. If a long multiplication of 35 × 35 does not end in 25, a digit has slipped. They do not replace the units-digit test. A square found this way still has to end in 0, 1, 4, 5, 6 or 9.
- (a + b)² = a² + 2ab + b² and (a − b)² = a² − 2ab + b².
- A number ending in 5 squares to a(a + 1) followed by 25.
- 98² = (100 − 2)² = 9604, and 65² = 4225.
Square roots by odd numbers and by prime factors
A square root of a number x is a number which multiplies by itself to give x. Both 6 and −6 square to 36, so 36 has two square roots. The symbol √ means the non-negative one, called the principal square root. So √36 = 6, not −6, and √0 = 0. This chapter finds that non-negative root when x is a perfect square. One method is the odd-number pattern run backwards. Start from the number and subtract 1, then 3, then 5, then 7, and so on, until you reach 0. The number of steps is the square root. From 36 the steps are 36 − 1 = 35, 35 − 3 = 32, 32 − 5 = 27, 27 − 7 = 20, 20 − 9 = 11, 11 − 11 = 0. Six steps, so √36 = 6. If the subtraction misses 0 and jumps below it, the number is not a perfect square. Prime factorisation is faster for larger squares. Write the number as a product of primes and group the factors in identical pairs. One factor from each pair is kept. 2025 = 5 × 5 × 3 × 3 × 3 × 3 = 5² × 3⁴, so √2025 = 5 × 3² = 45. A whole number is a perfect square only when every prime in its factorisation has an even power. 180 = 2² × 3² × 5. The factor 5 is unpaired. The smallest whole number you can multiply by to make a square is that missing 5, and 180 × 5 = 900 = 30². The smallest whole number you can divide by to make a square is also 5, and 180 ÷ 5 = 36 = 6². Pairing tells you both the root and the smallest multiplier or divisor.
- √x means the non-negative square root. √36 = 6.
- Subtracting odd numbers 1, 3, 5, … down to 0 counts the square root.
- A whole number is a perfect square only when every prime power is even.
The division method
The division method finds a square root without a full prime factorisation, and it also shows the least number to add or subtract to reach the next square. Mark bars over pairs of digits, starting from the units place. 529 is barred as 5 29. 2304 is barred as 23 04. Find the largest digit whose square does not exceed the leftmost group. For 529 that digit is 2, because 2² = 4 and 3² = 9 is too big. Subtract and write 2 as the first digit of the root. Bring down the next pair, not a single digit, to form the new dividend. Here 1 becomes 129. Double the root found so far: 2 × 2 = 4. Find a digit d so that (40 + d) × d does not exceed 129. The digit 3 works, because 43 × 3 = 129 exactly. Subtract 129. The remainder is 0 and no pairs remain, so 529 is a perfect square and √529 = 23. The same steps give √2304 = 48: bars 23 04, 4² = 16, remainder 7 brought down with 04 makes 704, twice 4 is 8, and 88 × 8 = 704. If a remainder is left when the pairs run out, the number is not a square, and that remainder is the least whole number you can subtract to reach a square. For 3250 the method stops at 57² = 3249, so subtract 1. The least number to add is the gap up to the next square. 36² = 1296 and 37² = 1369, so 1300 needs 1369 − 1300 = 69 added, and the root of the square you reach is 37. Two errors spoil the method: bringing down one digit, and forgetting to double the whole root found so far before testing the next digit.
- Bar digits in pairs from the right. Bring down the next pair as a pair.
- The trial divisor is twice the root so far, with a new digit attached.
- A final remainder is the least number to subtract to reach a perfect square.
Decimal squares and estimating a root
The division method extends to decimals. Put the decimal point in the answer when you pass the decimal point in the question, and bar the digits in pairs on both sides of that point. For 17.64 the bars are 17 and 64. The largest square not above 17 is 4² = 16. Remainder 1, bring down 64 to get 164. Twice 4 is 8, and 82 × 2 = 164. So √17.64 = 4.2. Check: 4.2 × 4.2 = 17.64. For 7.29 the bars are 7 and 29. 2² = 4, remainder 3, bring down 29 to get 329. Twice 2 is 4, and 47 × 7 = 329, so √7.29 = 2.7. The square of a terminating decimal has an even number of decimal places, before any trailing zero is dropped from the written square. 0.3² = 0.09 and 1.2² = 1.44. A number such as 1.232 has three decimal places, an odd count, so it is not the square of a terminating decimal. If a number is not a perfect square, the same neighbouring squares still locate the root. 7² = 49 and 8² = 64, so √50 lies between 7 and 8. It is closer to 7, because 50 is only 1 above 49 and 14 below 64. This estimate does not replace an exact root when the number is a perfect square. Area uses the exact root directly. A square garden of area 2304 m² has side √2304 = 48 m. Soldiers arranged in a square, 7744 of them, stand in √7744 = 88 rows of 88. In both problems the division method is the practical tool, and a zero remainder confirms that the arrangement is exact.
- For a decimal, bar pairs on both sides of the decimal point.
- √17.64 = 4.2 and √7.29 = 2.7.
- √50 lies between 7 and 8, and closer to 7.
Worked examples
Which of 1232, 156, 441 and 2500 are perfect squares?
- 1232 ends in 2, so it cannot be a square. 156 ends in 6, which is allowed, but 12² = 144 and 13² = 169, so 156 is not a square.
- 21² = 441 and 50² = 2500. Also 2500 ends in two zeros, an even number, which a square is allowed to do.
Write a Pythagorean triplet that contains 14, and check it.
- Set 2m = 14, so m = 7. Then m² − 1 = 48 and m² + 1 = 50.
- 14² + 48² = 196 + 2304 = 2500 = 50².
Find 65² and 98² by a short method.
- 65 ends in 5, so square it as 6 × 7 followed by 25. That is 4225.
- 98 = 100 − 2, so 98² = 10000 − 2 × 100 × 2 + 4 = 9604.
By prime factors, find √2025. What is the smallest whole number by which 180 must be multiplied to make a perfect square?
- 2025 = 5² × 3⁴, so √2025 = 5 × 9 = 45.
- 180 = 2² × 3² × 5. The factor 5 is unpaired, so multiply by 5. Then 900 = 30².
Find √529 by the division method, and the least number to subtract from 3250 to reach a perfect square.
- Bar 529 as 5 29. 2² = 4, remainder 1, bring down 29. Then 43 × 3 = 129, so √529 = 23.
- 57² = 3249 and 58² = 3364. Subtract 3250 − 3249 = 1. The square reached is 3249 and its root is 57.
Find √17.64, and say between which two whole numbers √50 lies.
- Bar 17.64 as 17 and 64. 4² = 16, remainder 1, bring down 64. Then 82 × 2 = 164, so the root is 4.2.
- 7² = 49 and 8² = 64, so √50 is between 7 and 8, closer to 7.
Common mistakes to avoid
Treating an allowed units digit as proof that a number is a square. Ending in 6 only means the number has not yet been ruled out.
Accepting a number that ends in 2, 3, 7 or 8, or in a single zero, as a perfect square.
Writing both 6 and −6 for √36. The symbol √ means the non-negative square root.
Calling a number a perfect square while a prime factor still has an odd power.
In the division method, bringing down one digit instead of a pair, or forgetting to double the root already found.
Squaring a number ending in 5 by multiplying the front part by itself. 35² uses 3 × 4, then 25, not 3 × 3.
Practise with questions and worked answers.
The worksheet moves from basic recall to careful application.
Questions students often ask
Why is the square of an odd number always odd?
An odd number is one more than a multiple of 2. Odd times odd is odd, so the square stays odd. Even times even is even, so the square of an even number is even. A square cannot switch from one kind to the other.
Does √36 equal 6 or −6?
Both 6 and −6 square to 36, so both are square roots of 36. The symbol √ means the non-negative square root, so √36 = 6. If a question asks for both square roots, write 6 and −6.
Why are there 2n whole numbers between n² and (n + 1)²?
(n + 1)² − n² = 2n + 1. That gap contains 2n + 1 steps, and one of those values is (n + 1)² itself. The numbers strictly between the two squares therefore number 2n, and none of them is a perfect square.
When should the division method be used instead of prime factorisation?
Prime factorisation is quick when the factors are easy to see, as with 2025. The division method is the one to use for a larger number, for a decimal such as 17.64, and when you need the least number to add or subtract to reach a square.
How do you square a number that ends in 5?
Multiply the front part by the next whole number and write 25 after it. 35² = 1225 because 3 × 4 = 12, and 65² = 4225 because 6 × 7 = 42. The identity behind the rule is (10a + 5)² = 100a(a + 1) + 25.