Please read Digit Math: Introduction before you continue.
The problem
Someday, somewhere I came to know that any number which ends with the digit 5 can be easily squared. The trick can be easily demonstrate using an example. Suppose we want to find the square of 25.
Trick is to take the number before 5 (which will be 2 here), add one to it (2 + 1 = 3) and then multiply them together (2 x 3 = 6). Now the final answer would be the product followed by the number 25, i.e. 625 in this case.
Now let’s try it out yo find 2152.
2152=(21×(21+1))ω25=(21×22)ω25=462ω25=46225
This always seemed to work out very well. The problem was, can I trust this trick? Will this always hold true? I didn’t have answers to those questions, until I proved it myself using Digit Math. Good news is that this trick will always hold true.
The proof
Let the number be x=aω5. a can have any number of digits.
Case 1:
a has exactly one digit. So, ]a[=]5[=1.
∴(aω5)2=aaω(5a+5a)ω5.5=a2ω10aω2_5=a2ω(aω0)ω2_5=a2ω(aω2)ω5=(a2+a)ω2ω5=(a(a+1))ω25
Case 2:
a has more than one digits. So, ]a[>(]5[=1).
But to apply Bimultiplication formula a must have the same number of digits in 5, which is obviously not the case here. So, we will use one trick. We will pad 5 with some number of zeroes on the right, so that, ]a[=]5ωc[, where, c is all zeroes and ]c[=]a[–1. So, if a=123⇒c=00.
∴(aω5)2=(aω]5ωc[]a[)2=a2ω(a(5ωc)+a(5ωc))ω(5ωc)2=a2ω2a(5ωc)ω(5ωc)2=a2ω(10aω2ac)ω(5ωc)2=a2ω(10aωc)ω(5ωc)2=a2ω(aω0ωc)ω(5ωc)2=a2ω(aω0ωc)ω(25ω10cωc2)=a2ω(aω0ωc)ω(25ωcωc)
Since each digit group must have ]a[ digits, so let us move one zero from the middle c in 25ωcωc to the rightmost c. So, now that group becomes 25ωdωe, where ]d[=]c[–1 and ]e[=]c[+1.
∴(1)=a2ω((aω0ωc)+(25ωd))ωe=a2ω(aω(0+25)ω(c+d))ωe=a2ω(aω25ωd)ωe
Now,
]25ωd[=]25[+]d[=2+(]c[–1)=2+((]a[–1)–1)=]a[
So, in the group aω25ωd, a is excess.
∴(2)=(a2+a)ω(25ωd)ωe=a(a+1)ω25ωdωe=a(a+1)ω25ωcωc
So finally,
(aω5ωc)2=a(a+1)ω25ωcωc⇒((aω5)×10c)2=(a(a+1)ω25ωc)×10c⇒(aω5)2×102c=(a(a+1)ω25)×102c⇒(aω5)2=a(a+1)ω25
So, we see that this trick is applicable for all kinds of whole numbers that end with 5.
Check out other applications of Digit Math
Link to list of other applications of Digit Math.