The Perfect Way to Multiply -Math Technique

Stryder50

Platinum Member
Feb 8, 2021
6,574
3,938
938
Lynden, WA, USA

Mathematicians Discover the Perfect Way to Multiply​

By chopping up large numbers into smaller ones, researchers have rewritten a fundamental mathematical speed limit.

EXCERPTS:
...
For millennia it was widely assumed that there was no faster way to multiply. Then in 1960, the 23-year-old Russian mathematician Anatoly Karatsuba took a seminar led by Andrey Kolmogorov, one of the great mathematicians of the 20th century. Kolmogorov asserted that there was no general procedure for doing multiplication that required fewer than n2 steps. Karatsuba thought there was ā€” and after a week of searching, he found it.

Karatsubaā€™s method involves breaking up the digits of a number and recombining them in a novel way that allows you to substitute a small number of additions and subtractions for a large number of multiplications. The method saves time because addition takes only 2n steps, as opposed to n2 steps.



KaratsubaMethod_560-1065x1720.jpg

Credit: Lucy Reading-Ikkanda / Quanta Magazine.
ā€œWith addition, you do it a year earlier in school because itā€™s much easier, you can do it in linear time, almost as fast as reading the numbers from right to left,ā€ said Martin FĆ¼rer, a mathematician at Pennsylvania State University who in 2007 created what was at the time the fastest multiplication algorithm.

When dealing with large numbers, you can repeat the Karatsuba procedure, splitting the original number into almost as many parts as it has digits. And with each splitting, you replace multiplications that require many steps to compute with additions and subtractions that require far fewer.
...
 
Being the current thread focused on math, seems I forgot this yesterday;

How Much Pi Do You Really Need?​

To celebrate Pi Day, we look at applicationsā€”from NASA to carsā€”that prove you can have too much of a good thing.
...
Today is Pi Day, so named because the first three digits of pi are 3.14 and the date is March 14ā€”or 3/14 in the format used in the United States. Yes, on most other parts of Earth today is also March 14, but they write that as 14/3ā€”for them, the best Pi Day is July 22, (or 22/7) which is a fairly nice fractional representation of pi.

You can't actually write down all of pi since it's an irrational number and it has digits that go on forever. You can either use a fraction or write it as a decimalā€”like 3.14. But that's only three digits. How about 3.14159 or 3.14159265359 or even a trillion digitsā€”wouldn't that be better? How many do you really need?

What Is Pi?
Letā€™s start with defining pi, also written as Ļ€. The most basic definition is that itā€™s the ratio of the circumference and the diameter of a circle. That means that if you take a circle and measure the distance across it (the diameter, d) and the distance around it (the circumference, C), then C/d = Ļ€. It doesn't matter what circle you useā€”this ratio is the same for all circles. A period at the end of a sentence has the same C/d ratio as the Earth's equator. (You can verify this yourself.)
...
 

Forum List

Back
Top