We all know that math is as much about finding the answer as it is about knowing how a method leads you to the answer.
In fact, not knowing the how has caused me to loose marks on several occasions at school.
So my question arises, how does the method for calculating the squares of $2$ digit numbers work? It seems very counter intuitive and doesn't make much sense from the surface.
The method: Take any $2$ digit number and round it to the nearest 10, take the difference and do the inverse operation, then multiply the answer of the round and the result of the inverse calculation. Then add the square of the difference.
- E.g. $54^{2} = 50*58 + 16$
Observe that
$$(10a+b)^2=100a^2+20ab+b^2=(10a)(10a+2b)+b^2\tag{1}$$
and
$$(10a-b)^2=100a^2-20ab+b^2=(10a)(10a-2b)+b^2\;.$$
If the second digit of the number is $b<5$, and the first digit is $a$, the number is $10a+b$, and rounding to the nearest $10$ leaves you with $10a$. In the process of rounding you subtract $b$; adding $2b$ gives you $10+2b$, and equation $(1)$ then shows that multiplying this by the rounded number and adding $b^2$ gives the correct result.
If the second digit is $d\ge 5$ and the first digit is $d$, let $b=10-d$ and $a=c+1$; then the number is $10c+d=10(a-1)+(10-b)=10a-b$. Rounding to the nearest $10$ gives you $10a$. In the process of rounding you add $b$, so subtracting $2b$ gives you $10a-2b$, and $(2)$ shows that multiplying these numbers together and adding $b^2$ gives the correct result.