PrepShorts · Study sheet · Class 8 Mathematics · Chapter 1, A Square and A Cube
Chapter 1 · A Square and A Cube
What a perfect square's last digits can and cannot be
This video could not be loaded. Reload the page to try again.
Sign in with Google10 min.
Keep your place in this chapter — sign in, it’s free.Sign in
Square every whole number and look only at the right-hand edge. Just six digits ever appear there, and four never do.
The idea
When you multiply, the last digit of the answer depends on nothing but the last digits of what you multiplied. So the last digit of n² is decided entirely by the last digit of n — and running all ten possible last digits produces only six answers. That asymmetry, ten inputs collapsing onto six outputs, is the reason the units-digit test works in one direction only: an ending of 2, 3, 7 or 8 rules squareness out with certainty, while any of the six permitted endings proves nothing at all, because non-squares land on those endings too. Apply the same closure argument to a block of trailing zeros and you get the chapter's other rule for free.
What you should be able to do
- Compute the squares of the first thirty natural numbers and tabulate them
- State which digits can stand in the units place of a perfect square and which cannot
- Explain why the units digit of n² is fixed by the units digit of n
- Use the units digit to reject a candidate square, and explain why the same digit can never confirm one
- Name the digits whose squares end in 1, and those whose squares end in 6
- Predict how many zeros end the square of a number that ends in a given number of zeros, and justify the doubling
- State how a number's parity governs the parity of its square
- Given four candidate numbers, sort out which the digit test settles and which it leaves open
Words to know
| Term | Definition in one line | First introduced |
|---|---|---|
| units place | the rightmost place in a written whole number | printed in this chapter (Part I p.4) |
| units digit | the digit standing in the units place | printed in this chapter (Part I p.4) |
| perfect square | a square of a natural number | printed in this chapter (Part I p.4) |
| parity | whether a number is even or odd | printed in this chapter (Part I p.5) |
| conjecture | a pattern claimed but not yet argued | printed in this chapter (Part I p.4) |
| Math Talk | the chapter's margin badge for a prompt meant to be discussed aloud | printed in this chapter (Part I p.4, twice) |
| necessary but not sufficient | a condition every square meets that some non-squares meet too | an added phrasing; the chapter argues the idea across two paragraphs without naming it |
| closure of the last digit | that the last digit of a product is fixed by the last digits of its factors | an added label; not a printed term |
Where people slip up
- "It ends in 6, so it is a square." 26 is the chapter's own refutation, and it prints it immediately after the pattern so the student cannot draw the wrong conclusion first.
- "It ends in 2, but it might still be a square if the number is big enough." Never. The units digit of the square is determined, not merely likely.
- "Filling in thirty squares is busywork." The table is the data the whole section reasons from. Show it being filled and then reasoned over.
- "Only 6 squares to something ending in 6." Both 4 and 6 do. Two inputs sharing one output is precisely why the test cannot be reversed — build the section on that, not on the list.
- "A square can end in a single zero." If 10 divides n then 100 divides n², so the zeros arrive two at a time.
- "A square's zeros double, so 3 zeros give 5." They give 6. The count of trailing zeros doubles, it does not increase by a fixed amount.
- "Squares are always odd" or "always even." Squares inherit the parity of the number squared; both happen, in strict alternation down the table.
- "The digit rule is a fact about squares." It is a fact about how multiplication treats last digits. Squares are just the case where both factors are equal.
Ask your teacher a person
Your teacher reads this and writes back, usually within a day. For an instant answer, use Ask the video in the sidebar.
Your class sees the question and the answer. Only your teacher sees that it was you.
No questions on this topic yet.
Worked answers to this chapter’s exercises · this video explains Figure it Out · 1.1 Q1, Figure it Out · 1.1 Q2
Transcript1,411 words
Square the whole numbers, one after another, and write down what you get. One, four, nine, sixteen, twenty-five, thirty-six. Keep going: forty-nine, sixty-four, eighty-one, a hundred. Past a hundred it slows down - a hundred and twenty-one, a hundred and forty-four. Thirty rows of this looks like busywork. It is not. It is data, and something is hiding in its right-hand edge. Cover everything except the last digit of each answer.
One, four, nine, six, five, six, nine, four, one, nought. Some digits are showing up. And some are not showing up at all. Before reading anything off a table, ask where a last digit comes from at all. Multiply thirty-seven by eighty-four. The answer is three thousand one hundred and eight, and it ends in eight. Now multiply just the last digits: seven times four is twenty-eight. That ends in eight too.
That is not a coincidence, and it is not about these two numbers. Split thirty-seven into thirty and seven, eighty-four into eighty and four, and multiply out. Four pieces. Three of them carry a thirty or an eighty, so all three are multiples of ten. A multiple of ten ends in nought, so it cannot put anything into the units place, however large it is. Only the fourth piece, seven times four, ever reaches that far.
So here is the rule, and it is about multiplying, not about squares. The last digit of a product is decided by the last digits of the two things you multiplied. Nothing else in either number can touch it. Squaring is just the case where the two things happen to be the same. So the last digit of n squared is decided by the last digit of n, and by nothing else about n.
So we need not square thirty numbers, or a thousand. There are only ten digits a number can end in. Ten cases, and we are finished for ever. Nought squared is nought, ending in nought. One squared is one. Two squared is four. Three squared is nine. Four squared is sixteen, which ends in six. Five squared is twenty-five, ending in five. Six squared is thirty-six - six again. Seven squared is forty-nine, so nine again.
Eight squared is sixty-four, four again. And nine squared is eighty-one, which ends in one. Ten cases done. Now count the answers. Nought, one, four, five, six, nine. Ten digits went in and only six came out. That collapse is worth understanding, not just noticing. Look at one and nine. One squared ends in one; nine squared is eighty-one, which also ends in one. Two and eight: four, and sixty-four.
Three and seven: nine, and forty-nine. Four and six: sixteen, and thirty-six. Every time, a digit and ten minus that digit land on the same ending. So the digits pair off, and each pair costs one ending instead of two. Four pairs. But two digits have nobody else to pair with: five would pair with five, and nought with nought. Those two stand alone. Four pairs and two on their own is six groups, and six groups is six endings.
That is where the six comes from. Turn it round. Six endings occur, so four do not. Two, three, seven and eight. No perfect square, of any size at all, ends in any of those. Not a big one, not a clever one, not one nobody has checked. The ten cases were the whole of it, and none of them produced a two. So you can look at a number and reject it on sight.
Anything ending in two: not a square. Ending in three, seven or eight: not a square. You have done no arithmetic and you are certain. Now the part that gets misremembered. Sixteen ends in six and is a square. Thirty-six ends in six and is a square. Twenty-six ends in six and is not. No whole number squares to twenty-six. So an ending of six tells you nothing at all - and it is not just six.
Ten is not a square, and it ends in nought. Eleven ends in one and is not a square. Fourteen ends in four. Five ends in five. Nineteen ends in nine. Every one of the six permitted endings has non-squares wearing it, and not one apiece - hundreds. The test throws numbers out. It never lets one in. So use it for what it does. Two thousand and thirty-two, two thousand and forty-eight, one thousand and twenty-seven, one thousand and eighty-nine.
Which are not perfect squares? The first ends in two, so it is out. The second ends in eight - out. The third ends in seven - out. Three of them settled with a glance and no calculation. The fourth ends in nine, which is allowed. And that is where the test stops and hands the problem back. Allowed does not mean square. Go and check, and thirty-three squared is one thousand and eighty-nine.
It was a square - but the digit never told you so. The pairs are useful in their own right. Which numbers have squares ending in one? From the ten cases, exactly two digits do it: one and nine. So the family is one, nine, eleven, nineteen, twenty-one, twenty-nine, and on it goes. That list is not every other number and not a fixed step. It runs in pairs hugging each multiple of ten - one either side of twenty, one either side of thirty.
That is the pairing showing through: one and nine are what is left when you count in from both ends. Now squares ending in six, and this is the same shape again. Two digits do it: four and six. Sixteen is four squared, thirty-six is six squared, a hundred and ninety-six is fourteen squared, two hundred and fifty-six is sixteen squared. Look at the numbers being squared: four, six, fourteen, sixteen.
Four, six, four, six. Now a question. Of thirty-eight, thirty-four, forty-six, fifty-six, seventy-four and eighty-two, which have squares ending in six? Read the last digits: eight, four, six, six, four, two. Four and six are in the family, eight and two are not. So four of the six qualify, and you never squared anything. And notice the two that failed both landed on four instead - eight and two, two different digits, one ending.
Zeros deserve their own rule. Ten squared is a hundred: one zero became two. Twenty squared is four hundred, forty squared is one thousand six hundred - one zero in, two out, every time. A hundred squared is ten thousand; two hundred squared is forty thousand; seven hundred squared is four hundred and ninety thousand. Two zeros became four. The reason is short: if ten divides the number then a hundred divides its square, because there is a ten from each factor.
So the count doubles. Three zeros give six, not five. And say it exactly: exactly three zeros give exactly six. Glance at a thousand and you might call it two zeros. It has three, and its square has six. One thing falls straight out of doubling: a square can never end in an odd number of zeros. One more, and it is the shortest. An odd number times an odd number is odd.
An even number times anything is even. A square is a number times itself, so it inherits. Odd numbers have odd squares, even numbers have even squares, every time. Run down the table and it alternates without a single break: one odd, four even, nine odd, sixteen even. Squares are not usually odd or usually even. They are exactly as odd or even as the thing you squared. None of this was really a fact about squares.
It was a fact about multiplying: only the units places of what went in can reach the units place of the answer, because everything else is a multiple of ten. Squares are the case where the two are equal, which is why ten digits was the whole search. Ten possibilities collapsed onto six because they paired off, with two left standing alone. That is what makes the test one-way: two different digits arriving at the same ending means the ending cannot tell you which digit you came from.
A test that throws things out is not a weaker version of one that lets things in. It is a different kind of thing, and knowing which you hold is most of using it properly.
Where this fits
Taken from the notes each video was made from, not from the reading order — these are the ideas this one rests on and the ones that later rest on it.
Builds on
- What makes a number a perfect squareClass 8 · Ch 1, A Square and A Cube
Comes up again in
- Square roots, and the prime-factor test for a perfect squareClass 8 · Ch 1, A Square and A Cube
Either side of this one
- Why the first n odd numbers add up to n²Class 8 · Ch 1, A Square and A Cube