Squares and Square Roots
Take the JEE Foundation test on this chapter · free, no sign-in needed
Foundation Class 8 Maths. Our own notes: the whole chapter, every rule explained from its reason, with solved examples and concept checks.
Class 8 is in the Class 8 school book. Foundation goes beyond the school book and is asked in Olympiads, NTSE and the JEE Foundation tests. Try each concept check before you open its answer. Questions to try at the end come from school books, Olympiad books and our own sets; their answers are folded under them.
On this page
Squares and perfect squares Class 8
The square of a number is the number multiplied by itself: . It is called a square because it is the area of a square whose side is . A square of side 4 cm has area , so 16 is the square of 4.
A natural number that is the square of a natural number is a perfect square (or square number). The first few are A number like 20 is not one: and jump over it. Zero is also , but we usually list natural numbers.
The square of a number is read “n squared”. The squares of to are worth knowing by heart, because every shortcut below checks against them.
| 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | |
|---|---|---|---|---|---|---|---|---|---|---|
| 121 | 144 | 169 | 196 | 225 | 256 | 289 | 324 | 361 | 400 |
Example 1. Find the squares of , , and .
Solution. . . (7 times 7 is 49, and two decimal places in all). .
Is 1 a perfect square? Is 50 a perfect square?
Answer
1 is, since . 50 is not: and , and nothing between them is a square.
Properties of square numbers Class 8
The units digit
The last digit of depends only on the last digit of , because the tens and higher parts of only change the tens and higher places of the product. So we need only square to .
| ends in | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|---|---|
| ends in | 0 | 1 | 4 | 9 | 6 | 5 | 6 | 9 | 4 | 1 |
A perfect square can end only in or . It never ends in or .
This is a test for what is not a square. 1357 ends in 7, 2048 in 8: neither is a square. It is not a test for what is a square: 26 ends in 6, yet it is not a square. Numbers ending in must be examined further.
Zeros at the end
, , . A number ending in zeros has a square ending in exactly zeros, because each factor 10 is used twice. So a perfect square ends in an even number of zeros. 4900 is a square (two zeros); 490 and 49000 are not (one and three zeros).
Odd and even
The square of an even number is even, and the square of an odd number is odd: an even number has a factor 2 which survives in the product, and a product of odd numbers is odd. So a square has the same parity as its root.
Between two consecutive squares
How many numbers lie strictly between and ? The gap is
Between and lie numbers, namely 82 to 99. As grows, squares thin out: there are 10 squares from 1 to 100 but only 22 from 1 to 500.
Example 2. Without squaring, how many natural numbers lie between and ? Between and ?
Solution. Between and there are numbers. For that is ; for it is . Check with and : the numbers to number .
Example 3. Which of , , , and can be perfect squares?
Solution. 1357 ends in 7: not a square. 4806 ends in 6, so look further: and lie either side of it, so it is not a square. 50000 has four zeros, an even number, so take out ; what is left is , not a square, so 50000 is not. 2500 and 7569 are squares.
How many zeros does the square of end in? Can a perfect square end in three zeros?
Answer
, six zeros. No: the number of final zeros of a square is always even.
Saying a number is a square because it ends in 1, 4, 5, 6, 9 or 0. The units digit can only rule a number out, never in.
Patterns in squares Class 8
Squares are sums of odd numbers
Start with one unit square. To grow it into a square we must add an L-shaped layer of unit squares. A square needs a layer of more, and so on: layer holds unit squares, because it is a row of and a column of sharing a corner.
The sum of the first odd numbers is . This gives a second way to see that the next square after is , since is the next odd number.
Example 4. Find and then without adding term by term.
Solution. The last term is , so and the sum is . The second sum is the first sum with removed. Those are the first seven odd numbers, with sum . So the answer is . Check: six terms with average give .
Example 5. Express as a sum of successive odd numbers, and find given .
Solution. is the sum of the first six odd numbers: . For the second part, .
Two consecutive numbers
. So the difference of the squares of two consecutive numbers is the sum of those numbers. Conversely, every odd number is a difference of two consecutive squares: . For the odd number , , giving .
Example 6. Find . Write as a difference of two consecutive squares.
Solution. The numbers are consecutive, so the difference is their sum: . For we need , so .
Triangular numbers
The numbers are triangular numbers: dots in a triangle. Two neighbouring triangular numbers always add to a square: . For example and . (Put two triangles together and they form a square of side .)
Numbers of the form 1, 11, 111
, , , . The digits rise to the number of ones, then fall. This holds up to nine ones. Likewise , , and .
Squaring with and numbers ending in 5
Split a number into a round part and a small part: . So , and .
For a number ending in 5 write it as :
So the square ends in , and in front of it comes . For , and , so . For , , , so .
Example 7. Find , and quickly.
Solution. : , , so . : , , so . .
Is the sum of two consecutive positive numbers ever a perfect square? Is the reverse true: is every perfect square the sum of two consecutive numbers?
Answer
Sometimes: , , . But not always: . The reverse is false: is even and the sum of two consecutive numbers is always odd.
Pythagorean triplets Class 8
Three natural numbers , , with form a Pythagorean triplet. The best-known is since . Another is since . Why “Pythagorean” is explained in the section on right triangles.
For any natural number , the numbers , and form a triplet. Proof: and . These are equal.
gives ; gives ; gives ; gives . Multiplying a triplet by any number gives another, so is just doubled. Triplets with no common factor are primitive.
A general rule for triplets Foundation
The general rule uses two numbers (for a primitive triplet, take with no common factor and one even, one odd): . The check is the same algebra: . With : ; with : ; with : .
Example 8. Write a Pythagorean triplet whose smallest member is . Then one with the member as .
Solution. Put , so : the others are and . Check . For , : and , and .
Is a triplet? Is ?
Answer
: yes. but : no. The two smaller squares must add to the square of the largest.
Testing a triplet with the wrong side as the largest. Always square the biggest number on its own side of the equation.
Square root: the idea Class 8
Finding the square root undoes squaring. If , then is a square root of . Because and , every positive number has two square roots, and . The symbol always stands for the positive one:
So is , and we write “the square roots of 25 are ” when we want both. A negative number has no square root among the numbers we know, since no number squared is negative. The area of a square gives the side: if the area is , the side is cm.
Repeated subtraction
Since , take away from a perfect square in turn. You reach zero after exactly steps, and .
For : , , , , , , . That is steps, so . If you cannot reach zero, the number is not a perfect square. It is practical only for small numbers.
Use repeated subtraction to find and show that 20 is not a perfect square.
Answer
after six steps, so . For 20: , , , , and the next odd number is too big; we never hit 0.
Square root by prime factorisation Class 8
Write the number as a product of primes. A perfect square has every prime appearing an even number of times, because doubles every prime power of . So we pair the equal primes and take one from each pair.
For : . Pairs: , , . So .
Example 9. Using prime factors decide whether , and are perfect squares, and find the root where it exists.
Solution. , all exponents even, so . : the prime has no partner, so not a square. : the primes and are unpaired, so not a square.
Making a number a perfect square
The unpaired primes tell us what to do. Multiply by the unpaired primes to complete the pairs (smallest multiplier), or divide by them (smallest divisor).
Example 10. Find the smallest number by which (a) must be multiplied, (b) must be divided, to get a perfect square. Give the root each time.
Solution. . Only is unpaired. (a) Multiply by : , root . (b) Divide by : , root .
Example 11. Find the smallest number by which must be multiplied so that the product is a perfect square, and the root of the product.
Solution. . The unpaired prime is . Multiply by : , root . Check: .
Smallest square divisible by given numbers
Take the LCM, then multiply to pair its primes. For : . The unpaired prime is , so multiply by : the smallest such square is . It is divisible by 4, 9 and 10.
Find the smallest square divisible by each of , and .
Answer
. The unpaired primes are (the has an odd power), so multiply by : .
Multiplying by every prime factor instead of only the unpaired ones. In only the needs a partner.
Digits and estimating Class 8
Group the digits of a number in pairs from the right. The root has as many digits as there are groups. For example, groups as , three groups, so the root has three digits. Reason: a 3-digit number lies between and , and its square between and (that is, 5 or 6 digits).
To place a root, find the two perfect squares around the number. : and , so . Narrow it: and , so is between and .
Example 12. Between which two consecutive whole numbers does lie? Find the least and the greatest four-digit perfect squares.
Solution. and , so . The least four-digit square is (as has only three digits). The greatest is , since has five digits.
How many digits does the square root of have? Of ?
Answer
has 6 digits, so digits (it is ). has 4 digits, so digits (it is ).
The long division method Class 8
For a large number the factor tree is slow. Long division gets the root one digit at a time. It rests on : having found the tens digit , the next digit must make fit the remainder.
The steps. (1) Pair the digits from the right (and for decimals, pair outwards from the point). (2) Find the largest digit whose square is at most the first pair: write it as the first digit of the root; subtract its square. (3) Bring down the next pair beside the remainder. (4) Double the root so far and write it with a blank next to it. (5) Choose the largest digit that fills the blank and also multiplies the whole to at most the remainder. (6) Subtract; repeat.
Example 13. Find by long division.
Solution. Pairs: . First pair : root digit , remainder . Bring down : remainder . Double gives : , digit , remainder . Bring down : . Double gives : , digit , remainder . The root is . Check: .
Example 14. Find correct to three decimal places.
Solution. Write . Digit (since ), remainder . Bring down : ; double gives ; , digit , remainder . Bring down : ; double gives ; , digit , remainder . Bring down : ; double gives ; , digit . So Check: .
Pairing decimals from the left of the decimal part. Pair the integer part leftwards from the point and the decimal part rightwards from the point, adding a zero to fill the last pair.
Decimals and fractions Class 8
A decimal with places squares to a decimal with places, so the root of a perfect-square decimal has half as many places. : has root and has two places, so the root has one: . Move the point two places in the number and one place in the root.
So given , we get and , but is not a nice number: the decimal point must move an even number of places.
For a fraction, take the root of the top and bottom separately: . For . If the fraction does not give perfect squares, change it to a decimal and use long division: .
Example 15. Find , and .
Solution. : pairs . Digit (), remainder ; bring down : ; double : ; . So . : digit , remainder ; bring down : ; . So . For the digits are (as ), and decimal places gives : .
Example 16. Find . Also evaluate .
Solution. Work from the inside. , so . Next, , , .
Given , write down and .
Answer
(point moved two places in the number, one in the root) and .
Moving the decimal point one place in the number and one in the root. In the number it moves an even number of places, half as many in the root.
Nearest perfect square: adding and subtracting Class 8
To find the least number to subtract from to leave a perfect square, find the square root of by long division. The remainder is the answer, because the largest square not exceeding is the square of the whole-number part of the root.
To find the least number to add: if the root is with a remainder, the next square is , so add .
Example 17. Find the least number to be subtracted from to make it a perfect square, and the least number to be added to to do the same.
Solution. and , so must be taken away. Then , so add . The root of the new number is .
Example 18. A man plants trees in as many rows as there are trees in a row. How many rows? A general has men and, forming a square, has men over. How many men in the front row?
Solution. Rows equal columns, so rows (as ). The general’s square holds men, so the front row has .
Find the least number to be added to to make it a perfect square.
Answer
. Add .
Right triangles and word problems Class 8
In a right-angled triangle, the side opposite the right angle is the hypotenuse, the longest side. The Pythagoras theorem says that the square on the hypotenuse equals the sum of the squares on the other two sides: with legs , and hypotenuse ,
The picture shows it for : areas . The converse is also true: if three sides satisfy , the triangle has a right angle opposite . This is why Pythagorean triplets make right triangles. Squares are needed to find lengths, and square roots to get them back out.
Example 19. A ladder m long rests against a vertical wall, with its foot m from the wall. How high does it reach? Then find the diagonal of a m by m rectangle.
Solution. Height, so the height is m. The diagonal splits the rectangle into a right triangle with legs and , so diagonal and the diagonal is m.
Example 20. The area of a rectangular field whose length is twice its breadth is . Find the cost of fencing at a metre.
Solution. Breadth , length : , , m. Length m. The perimeter is m, so the fence costs .
A square field has area . How long is one side?
Answer
m (the number ends in 25 so the root ends in 5, and ).
Adding the squares to find a leg. When the hypotenuse is given and a leg is wanted, subtract.
Identities and Olympiad tricks Foundation
A square leaves remainder 0 or 1
Every square leaves remainder or when divided by . An even number is and : remainder . An odd number is and : remainder . Similarly every square leaves remainder or on division by . So and are never squares: , , and are not squares.
An odd square leaves remainder on division by , because has even.
Digits and counting squares
A square that ends in 6 has an odd tens digit; a square that ends in 5 ends in 25; a square that ends in 4 has an even tens digit. The number of perfect squares up to is (the whole part): there are up to .
A number has an odd number of divisors if and only if it is a perfect square, since divisors pair up as and except when . For : , which is nine.
Two identities
The first follows from . The second gives at once. The sum of the first squares is a known result: . Test : and .
A square from four consecutive numbers
The product of four consecutive numbers plus is always a perfect square. With , , and . So .
Example 21. If , find . Evaluate given .
Solution. . (Indeed the only such is .) Next, and , so the sum is .
Example 22. Show that is a perfect square. Find . How many perfect squares lie between and ?
Solution. and ; the rule gives : . The sum of squares is . Since , there are squares from to .
Example 23. A four-digit square has its first two digits and its last two digits each forming a perfect square. Find one. Why is no number of the form a perfect square?
Solution. Try : the first two digits give and the last two give . Also with and works if zero is allowed. For the second part, squares leave remainder or on division by , as shown above, never .
Can a number that leaves remainder 2 on division by 4 be a perfect square?
Answer
No. Squares leave remainder only 0 or 1 on division by 4. So 4k+2 (like 18, 22 or 106) is never a square.
The chapter on one page
- ; a perfect square is the square of a natural number.
- A square ends only in and in an even number of zeros; its parity is its root’s parity.
- Between and lie numbers.
- ; ; .
- Pythagorean triplet: , or ; .
- for ; every positive number has two roots ; means the positive one.
- Prime factorisation: pair equal primes, take one of each pair; unpaired primes are what you multiply or divide by.
- An -digit perfect square has (even ) or (odd ) digits in its root.
- Long division: pair digits, double the root, find the next digit. Decimals: pair outwards from the point.
- Nearest square: subtract the remainder, or add .
- Squares leave remainder or on division by ; a number has an odd number of divisors only if it is a square.
Ten mistakes to avoid
- Calling a number a square because it ends in 1, 4, 5, 6, 9 or 0.
- Forgetting that a square ends in an even number of zeros.
- Counting the numbers between and as instead of .
- Multiplying by every prime factor instead of only the unpaired ones.
- Pairing the digits from the left, or the decimals from the wrong side.
- Moving the decimal point an odd number of places when taking a root.
- Writing (the symbol means only).
- Writing : but .
- Using and losing the .
- Making the hypotenuse a leg in Pythagoras (add the legs’ squares; subtract to find a leg).
Questions to try
Class 8
Find the least number that must be added to 1300 so as to get a perfect square. Also find the square root of the perfect square.
Answer
Answer: The least number to add is 69; the square root of the perfect square is 37.
Long division gives quotient 36, remainder 4, so . The next perfect square is . Number to add: , and the square root of the perfect square is 37.
Find the least number that must be subtracted from 5607 so as to get a perfect square. Also find the square root of the perfect square.
Answer
Answer: 131, 74
Long division of 5607 gives quotient 74 and remainder 131, so . Subtract 131; .
Write a pythagorean triplet whose smallest number is 6.
Answer
Answer: 6, 8, 10
Use the triplet . Setting gives . Then and . Check: . The triplet is 6, 8, 10.
A ladder 10m long rests against a vertical wall. If the foot of the ladder is 6m away from the wall and the ladder just reaches the top of the wall, how high is the wall?
Answer
Answer: 8m
The wall, the ground and the ladder form a right triangle ABC with the right angle at B, where AC m and BC m. By Pythagoras, . So m.
Given that , the value of is:
- 82.5
- 0.75
- 8.25
- 75.05
Answer
Answer: (c)
Moving the decimal point two places left in 5625 moves it one place left in the root. Moving it four places left in 5625 moves it two places left in the root. So and . The sum is . Option (c).
If one member of a pythagorean triplet is , then the other two members are
Answer
Answer: (b)
The identity holds. So the other two members are and . The answer is option (b).
What is the smallest number by which 1008 must be multiplied so that the product is a perfect square?
- 3
- 7
- 14
- 21
Answer
Answer: (b) 7
, and only the prime 7 appears without a partner. Multiplying by 7 gives , a perfect square. Answer: B.
(a) Using prime factorisation, show that 1764 is a perfect square and find its square root. (b) Find the smallest number by which 1176 must be multiplied so that the product is a perfect square, and find the square root of the product.
(a) Using prime factorisation, show that 1764 is a perfect square and find its square root.
(b) Find the smallest number by which 1176 must be multiplied so that the product is a perfect square, and find the square root of the product.
Answer
Answer: (a) 42; (b) 6; the product is 7056 and its square root is 84
(a) ; every prime pairs up, so it is a perfect square (1 mark); (1 mark). (b) ; 2 and 3 are unpaired (1 mark); multiply by to get 7056, (1 mark).
Foundation
The value of is:
- 1
- 101
- 1001
- None of these
Answer
Answer: (c) 1001
The value of is:
- 196
- 625
- 225
- 169
Answer
Answer: (d) 169
Between which two consecutive whole numbers does lie?
- 29 and 30
- 30 and 31
- 31 and 32
- 32 and 33
Answer
Answer: (c) 31 and 32
A physical instructor wants to arrange boys in rows to form a perfect square. He finds that in doing so, 25 boys are left out. If the total number of boys is 1250, the number of boys in each row is:
- 25
- 125
- 45
- 35
Answer
Answer: (d) 35
Challenge (Olympiad)
A four digit square number whose first two digits and last two digits taken respectively are also perfect square numbers is:
- 1681
- 1636
- 3664
- 6481
Answer
Answer: (a) 1681
A general, wishing to arrange his 120419 men in the form of a square, found that he had 10 extra men. Find the number of men in the front row.
Answer
Answer: 347
The number of values of for which is a perfect square, where is any natural number, is:
- 0
- 1
- 4
- infinite values
Answer
Answer: (a) 0
- Growing a square of tiles: change the side n
- Testing a triangle: change the legs a, b and the long side c
