Computing cube roots of two digit numbers
In summer 2018, I was teaching a math class for high school students on problem solving and algebra at Harvard. A student of mine mentioned a trick he knew for calculating a cube root of a number quickly in his head. The entire class was interested, and he gave us the following instructions:
- Choose any two digit number you like and cube it on a calculator.
- Tell me the number you cubed.
I pulled out my phone, cubed a number, and told the student “my number cubed is 148,877”. In a split second, he responded back “the number you cubed was 53”. I was shocked that he solved it so quickly! For a few more minutes, other students called out cubes, and the student would respond back with what number was cubed. After amazing all of us, the student was kind enough to teach us his trick. In this blog post, I’ll show the same steps so that you too can pull off this trick to impress your friends/family.
To begin with, the only bits of information you need to be able to pull off this trick are knowing the 1-digit cubes in your head. If you don’t know them, they are:
One important thing to notice in this list is that the units digit of every cube is unique.
Units digit of | ||
1 | 1 | 1 |
2 | 8 | 8 |
3 | 27 | 7 |
4 | 64 | 4 |
5 | 125 | 5 |
6 | 216 | 6 |
7 | 343 | 3 |
8 | 512 | 2 |
9 | 729 | 9 |
Since the units digit are unique, if we know what the units digit of , we can look at our table above to determine the units digit of
. For example, if
, then since
has a units digit of
, we know the units digit of
is
by looking at the table above.
Now that we know the units digit of , all that’s left to determine is the tens digit (since we started with a
digit number). For this, we need to determine what two cubes the digits in the thousands place of
lie between. For example, with
, the digits in the thousands place are
. We see that
therefore,
Hence, we know the tens digit of is
, so our original cube must be
.
Let’s try another quick example, and then I’ll leave some exercises for the reader.
Suppose we want to find the two digit number, which, when cubed gives us . We begin by looking at the units digit of our cube, which is
. We therefore know the units digit of the two digit number must be
. Furthermore, we see that
, therefore, the tens digit of the cube must be
. Hence, our two digit number is
.
Practice Problems
Here are some exercises for the reader to try out themselves:
- Find the two digit number, such that its cube is equal to
.
- Find the two digit number, such that its cube is equal to
.
- Find the two digit number, such that its cube is equal to
.
- Find the two digit number, such that its cube is equal to
.
- Find the two digit number, such that its cube is equal to
.
- Find the two digit number, such that its cube is equal to
.
- Find the two digit number, such that its cube is equal to
.
Computing 5th roots of numbers ending in 1, 3, 7, or 9 quickly
On Dr. Ali Gurel’s YouTube channel, COOL MATH, he shows a neat trick for finding fifth roots of odd numbers up to 200, not ending in a 5. I recommend watching his video first to see some examples of the trick, and below I’ll explain the math behind why the trick works and also extend it to any three digit number.
There are four cases for the units digit of the number: either a 1, 3, 7, or 9. Notice that
.
Therefore, the units digit of and
are the same.
To use this trick on 5th roots of numbers between and
, you only need to memorize that
. For larger 5th roots, you’ll need to use a table to establish bounds.
Units digit 1 case
In the case that the units digit is 1, then we can represent our number in the form . For now, we’ll tackle the same case as in Dr. Ali’s video and assume that
.
Using the binomial theorem,
Since , we see every term is a multiple of
, except for the last two. Therefore, when we consider the last three digits of
, we get
. Since
, we see that this remainder mod
is unique.
To find the original number, we take the last three digits and perform the calculation:
For example, which has the last three digits
. We therefore see that the fifth root of this number was
Units digit 3 case
Now, if the number we started with ends in a , then we can write the number in the form
, where we assume for now that
. Using the binomial theorem,
Again, we only consider the last three digits of this number, and therefore
Notice that , therefore we can further reduce to get
.
Now if , then
, and we can use the same trick again:
However, if , then the last three digits of our number will be
, so we have to add
to get our original number:
As an example of this, if we want to find the fifth root of , since
we know it’s the first case and we get the fifth root as
.
Alternatively, if we want to find the fifth root of , we see that
, therefore, we have the second case and get the fifth root as
.
Units digit 7 case
If our number ends in a , then it can be represented as
where
. By similar logic to the calculations before, we only consider the last three digits:
As before, since , this further reduces as
Now if , the last three digits of
will be
, so we perform the calculation
As an example, if we wish to find the fifth root of , we take the last three digits,
, and using the formula above get
, which is indeed the fifth root.
However, if , then
, and therefore the last three digits will be
. In this case, we subtract
from our initial calculation to get:
As an example, if we want to find the fifth root of , since
, we use the calculation from the second case to get a fifth root of
Units digit 9 case
Finally, if a number ends in a , then it can be represented in the form
, where
. By the same logic as before, we see that
Therefore, to recover the original number, we can perform the following calculation:
.
As an example, if we want to find the fifth root of , we take the last three digits,
, and perform the calculation above to get a fifth root of
.
Practice Problems
Here are some practice problems to test out your understanding of this method. I highly recommend reviewing the sections above as you work through these tricky examples! As a hint, pay attention tot he last three digits!
- Find the fifth root of
.
- Find the fifth root of
.
- Find the fifth root of
.
- Find the fifth root of
.
- Find the fifth root of
.
- Find the fifth root of
.
Generalizing to larger numbers
This trick will work for all odd fifth powers ending in a or
up until
. If we start with a number between
and
, then the range for the fifth power is between
and
. In this case, we can use the same trick as above, to get a number between
and
, and then add
to the final result.
For example, if someone tells us to find the fifth root of , we see this number is approximately
, therefore the fifth root must be between
and
. Using the same trick as before, we see that the number mod
must be
, and adding
to bring us into the correct range gives us
(you can verify this is the fifth root of the original number using WolframAlpha).
In general, the fifth powers fall into the ranges given in the table below.
Range of | Range of |
| |
|
As a quick example, suppose you’re told to find the fifth root of . Using the table above, you know this number is approximately
, which is in the bottom-most row, therefore the number which was cubed was between
to
. We look at the last three digits,
, and since the number ends in
, perform the calculation
to determine the mod
residue of our number. We then add
to get our number into the desired range, and find the fifth root is
.
Practice Problems with Larger Numbers
- Find the fifth root of
.
- Find the fifth root of
.
- Find the fifth root of
.
- Find the fifth root of
.
- Find the fifth root of
.
While these problems all look daunting at first, with some practice using the technique above, you should be able to compute the fifth roots in a matter of a few seconds! Give the method some practice and patience, and hopefully you too should be an expert on computing cube and fifth roots in your head quickly!