Calculation 89x98=? Let's from another way to approach the calculation. From algebraic, we know

(a-b)x(a-c)=ax(a-b-c)+bxc (1)

where, a, b, c=1, 2, 3, .... 10, ..

Example1, 9x8=? Using the formula (1) we can rewrite

9x8=(10-1)x(10-2 )=10x(10-1-2)+1x2=10x7+2=72

Example2, 98x89=(100-2)x(100-11)=100x(100-2-11)+22=100x87+22=8722

Example3, 998x997=1000x(1000-2-3)+2x3=1000x995+6=995006

Calculation 102x104=? Let's find out a general calculation formula,

(a+b)x(a+c)=ax(a+b+c)+bxc (2)

where, a, b, c=1, 2, 3, ..., 10, ...

Example1, 15x17=(10+5)x(10+7)=10x(10+5+7)+5x7=10x22+35=220+35=255

Example2, 102x104=(100+2)x(100+4)=100x(100+2+4)+2x4=10600+8=10608

Example3, 1011x1012=1000x(1000+11+12)+11x12=1023000+132=1023132

From formula (1) if c=b, then we have the following formula

(a-b)2=ax(a-2xb)+b2 (1.1)

where, a, b=1, 2, 3, ..., 10, ...

Example1, 982=(100-2)2=100x(100-2x2)+22=9604

Example2, 72=(10-3)2=10x(10-2x3)+32=49

Example3, 9952=(1000-5)2=1000x(1000-2x5)+52= 990000+25=990025

From formula (2) if c=b, then we have the following formula

(a+b)2=ax(a+2xb)+b2 (2.1)

where, a, b=1, 2, 3, ....10,...

Example1, 132=(10+3)2=10x(10+2x3)+32=160+9=169

Example2, 1232=100x(100+2x23)+232=14600+529=15129

Example3, (80025)2=(80000+25)2=80000x(80000+2x25)+252=80000x80050+625=6404000625