4. Last Digits
To find the last n digits in the product of certain numbers, we can simply multiply the last n digits of each of these numbers.
In other words, to find the units digit of a product of numbers, we should multiply only their units digits. This is shown in the example below.
In this section we will use the following functions
1) U(x), which provides the units digit or the last digit of x.
2) T(x), which provides the tens and units digit or the last 2 digits of x.
Example 13
What is the units digit of 303×8456×212?
Solution
U(303×8456×212)
=U(3×6×2)=U(36) = 6
Answer: 6
Similarly, to find the last
2 digits in a product, we find the product of the last 2 digits.
Example 14
What are the last two digits of 303×8456×212?
Solution
T(303×8456×212)=T(3×56×12)
=T(168×12)=T(68×12)=T(816)=16
Answer: 16
4.1 Units Digit Cyclicity in Powers
To find the last digit for a number expressed as an exponent, say
xn, we need to apply the power only to the last digit of x.
Example 15
What is the units digit of 164683?
Solution
To find the units digit of this exponent, we look at powers of the units digit alone. Units digit of 164 is 4.
41=4 ; 42=16 ;
43=64 ; 44=256
The units digits are alternating between 4 and 6. In fact, the units digits are 4 for odd powers and 6 for even powers of 4.
In 164683, the power of 683 is an odd number. ∴ The units digit is 4.
Answer: 4
In the above example, the units digit is repeating for every second power of
4. This repetition or cyclicity varies across the 10 different digits of our decimal number system.
For instance, 3 raised to the powers of 1, 2, 3, 4 and 5 are 3, 9, 27, 81 and 243 respectively. The last digits of these powers, i.e. 3,9,7,1and3, are filled where x=3 in the table below.
The last digits of consecutive powers of 3 are 3, 9, 7, 1, 3, 9, 7, 1, 3, 9, ... Note that the last digit for every fourth power is repeated. Therefore, when the last digit is 3, the cyclicity is 4.
|
Last digit of xn where x= |
| 0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
| x1 |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
| x2 |
0 |
1 |
4 |
9 |
6 |
5 |
6 |
9 |
4 |
1 |
| x3 |
0 |
1 |
8 |
7 |
4 |
5 |
6 |
3 |
2 |
9 |
| x4 |
0 |
1 |
6 |
1 |
6 |
5 |
6 |
1 |
6 |
1 |
x5 |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
| Cyclicity |
Digits |
| 1 |
0,1,5,6 |
| 2 |
4,9 |
| 4 |
2,3,7,8 |
The above tables
need not be memorised. All you need to note here is that the cyclicity is a maximum of 4 and that the last digits can be quickly found. The same is shown in the example below.
Example 16
What is the units digit of 3683×77459+88364×6484?
Solution
We need to find the units digit of 683×7459+8364×484
61=6 ; 62=36.
Cyclicity of 6 is 1. ∴ U(683) is 6.
U(71)=7
U(72)=U(7×7)=9
U(73)=U(49×7)=3
U(74)=U(3×7)=1
U(75)=U(1×7)=7 (Starts repeating here)
Cyclicity for 7 is 4. When the powers of 7 are of the form 4k+1, 4k+2, 4k+3 and 4k, where k is a natural number, the units digits are 7, 9, 3 and 1 respectively.
When 459 is divided by 4, the remainder is 3. So, 459 is of the form 4k + 3.
∴ U(7459) is that of 73, which is 3.
Units digits of 81, 82, 83 and 84 are 8, 4, 2 and 6 respectively. Cyclicity for 8 is also 4.
When 364 is divided by 4, the remainder is 0. So, 364 is of the form 4k.
∴ U(8364) is that of 84, which is 6.
(Note: When the remainder is 0, we have to take units digit of 84 and not 80.)
Units digits of 41, 42, 43 and 44 are 4, 6, 4 and 6 respectively. Cyclicity for 4 is 2.
Units digit is 4 for odd powers and 6 for even powers.
∴ U(484) is 6.
∴ U(683×7459+8364×484)=U(6×3+6×6)=U(54)=4
Answer: 4
Example 17
What is the last digit of 323131?
Solution
The cyclicity for 2 is also 4. The units digits of 21, 22, 23, 24 are 2, 4, 8 and 6 respectively.
We need to find the remainder when 3131 is divided by 4. The following is covered under Factors & Remainders lessson.
Rem(43131)=Rem(4(32−1)31)=Rem(4(−1)31)=Rem(4−1)
=−1+4=3
∴ 3131 is of the form 4k+3.
Units digit of U(323131)=U(24k+3)=U(23)=8
Answer: 8