Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

This Guy Just Found a Faster Way to Multiply
www.popularmechanics.com ^ | By David Grossman Oct 18, 2019

Posted on 10/21/2019 2:51:31 PM PDT by Red Badger

Because the method you learned in middle school is ridiculously slow.

Multiplying large numbers is hard. In 1971, two German professors predicted an algorithm that would make it easier, but no one ever proved it. Until now. Mathematicians from Australia and France say their algorithm can make multiplication and other kinds of arithmetic much more efficient.

================================================================

From grade school onward, complex multiplication has been a headache. But an assistant professor from the University of New South Wales Sydney in Australia has developed a new method for multiplying giant numbers together that's more efficient than the "long multiplication" so many are taught at an early age.

“More technically, we have proved a 1971 conjecture of Schönhage and Strassen about the complexity of integer multiplication,” associate professor David Harvey says in the video below.

VIDEO AT LINK

The Schönhage–Strassen algorithm, developed by two German mathematicians, was actually the fastest method of multiplication from 1971 through 2007. Although a faster method was developed in 2007, it's rarely used today.

Schönhage and Strassen predicted that an algorithm multiplying n-digit numbers using n * log(n) basic operations should exist, Harvey says. His paper is the first known proof that it does.

Harvey picks the example of 314 multiplied by 159—a large equation, sure, but much larger ones are used every day in real-life scenarios. To solve the problem, most people are taught to multiply each individual number together, and then add up the sums:

9 is multiplied by 4, 1, and 3; then 5 is multiplied by 4, 1, and 3, and so on. The result ends up with 9 digit-by-digit products.

This method is called n2 or n squared, because one must multiple n by n a number of times. It will get the correct answer, but Schönhage and Strassen designed a faster method. It was able to move beyond n2 and into something smaller, but a challenge still presented itself in the form of n * log(n).

For some, seeing a word in the middle of a math problem might be enough to make their eyes glaze over like they did in algebra class. As a refresher: log is short for logarithm, which helps people decipher exponents that make numbers squared or cubed or even something higher. So 2⁵ is 32, but expressed logarithmically, it would look like log₂(32)=5. While it may seem like a mouthful, logarithms are crucial when numbers get much larger.

The Schönhage-Strassen method is very fast, Harvey says. If a computer were to use the squared method taught in school on a problem where two numbers had a billion digits each, it would take months. A computer using the Schönhage-Strassen method could do so in 30 seconds.

But if the numbers keep rising into the trillions and beyond, the algorithm developed by Harvey and collaborator Joris van der Hoeven at École Polytechnique in France could find solutions faster than the 1971 Schönhage-Strassen algorithm.

“It means you can do all sorts of arithmetic more efficiently, for example division and square roots," he says. "You could also calculate digits of pi more efficiently than before. It even has applications to problems involving huge prime numbers.

“People have been hunting for such an algorithm for almost 50 years," he continues. It was not a forgone conclusion that someone would eventually be successful. It might have turned out that Schönhage and Strassen were wrong, and that no such algorithm is possible.

“But now we know better,” he says.


TOPICS: Business/Economy; Computers/Internet; Education; History
KEYWORDS: math; multiplication
Navigation: use the links below to view more comments.
first 1-2021-36 next last

1 posted on 10/21/2019 2:51:31 PM PDT by Red Badger
[ Post Reply | Private Reply | View Replies]

To: Red Badger

Is it faster than my calculator?


2 posted on 10/21/2019 2:57:36 PM PDT by MPJackal ("From my cold dead hands.")
[ Post Reply | Private Reply | To 1 | View Replies]

To: Red Badger

his algorithm doesn’t work, so it is not faster...

wth...


3 posted on 10/21/2019 2:58:15 PM PDT by teeman8r (Armageddon won't be pretty, but it's not like it's the end of the world.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Red Badger

great, we’ve needed something like this to read our utility bills


4 posted on 10/21/2019 2:58:25 PM PDT by faithhopecharity ( “Politicians are not , born; they are excreted.” Marcus Tullius Cicero (106 to 43 BCE))
[ Post Reply | Private Reply | To 1 | View Replies]

To: Red Badger
This Guy Just Found a Faster Way to Multiply

Maybe if you're a computer but it doesn't factor down to yours and mine math abilities............Title is misleading.

5 posted on 10/21/2019 2:59:40 PM PDT by Hot Tabasco (I'm in the cleaning business.......I launder money)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Red Badger

so what was the formula...the article alluded to an algorithm but I didn’t get it or see it


6 posted on 10/21/2019 3:01:59 PM PDT by devane617 (Kyrie Eleison, where I'm going, will you follow?)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Red Badger

But can you build a interstellar space drive with it like you can with Italian Bistro math?


7 posted on 10/21/2019 3:03:35 PM PDT by DannyTN
[ Post Reply | Private Reply | To 1 | View Replies]

To: Red Badger

Damn, I didn’t know this was gonna be about math.


8 posted on 10/21/2019 3:04:25 PM PDT by Lurkina.n.Learnin (If you want a definition of "bullying" just watch the Democrats in the Senate)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Red Badger

Vedic math figured out how to multiply and divide large numbers 1000+ years ago. In the early 1900’s a fella who taught himself math was able to count to infinity...his answer -(1/12).

That answer shows up in quantum mechanics and string theory.


9 posted on 10/21/2019 3:05:14 PM PDT by Republic_Venom (It's time for some Republic Venom!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Red Badger

Hasn’t this been done before. Thinking about the method by “ the Russian Jewish engineer Jakow Trachtenberg in order to keep his mind occupied while being in a Nazi concentration camp” over 70 years ago.


10 posted on 10/21/2019 3:07:02 PM PDT by BaylorDad (I can't always buy American, but when I can, it's not UAW!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Red Badger

Multiplication is just convolution of strings of digits.


11 posted on 10/21/2019 3:07:03 PM PDT by Steely Tom ([Seth Rich] == [the Democrats' John Dean])
[ Post Reply | Private Reply | To 1 | View Replies]

To: BaylorDad
Hasn’t this been done before. Thinking about the method by “ the Russian Jewish engineer Jakow Trachtenberg in order to keep his mind occupied while being in a Nazi concentration camp” over 70 years ago.

That's exactly what I thought of too. The Trachtenberg Method of Multiplication.

12 posted on 10/21/2019 3:08:00 PM PDT by Steely Tom ([Seth Rich] == [the Democrats' John Dean])
[ Post Reply | Private Reply | To 10 | View Replies]

To: MPJackal

Your calculator might use Karatsuba or Toom–Cook algorithms or some hybrid.


13 posted on 10/21/2019 3:08:35 PM PDT by steve86 (Prophecies of Maelmhaedhoc O'Morgair (Latin form: Malachy))
[ Post Reply | Private Reply | To 2 | View Replies]

To: MPJackal

“Is it faster than my calculator?”

You didn’t read the article!


14 posted on 10/21/2019 3:14:13 PM PDT by TexasGator (Z1z)
[ Post Reply | Private Reply | To 2 | View Replies]

To: Red Badger

Cool. I’d like to see how this is done.


15 posted on 10/21/2019 3:16:33 PM PDT by Karliner (Jeremiah 29:11, Romans 8:28 Isa 17 "This is the end of the beginning" W Churchill)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Lurkina.n.Learnin

"Damn, I didn’t know this was gonna be about math."


Take lots of vitamin E and ginseng, washed down with "Reckless Love" wine, and see if that helps.




16 posted on 10/21/2019 3:16:58 PM PDT by Songcraft
[ Post Reply | Private Reply | To 8 | View Replies]

To: BaylorDad

“Hasn’t this been done before. Thinking about the method by “ the Russian Jewish engineer Jakow Trachtenberg in order to keep his mind occupied while being in a Nazi concentration camp” over 70 years ago.”

Read the article!


17 posted on 10/21/2019 3:17:20 PM PDT by TexasGator (Z1z)
[ Post Reply | Private Reply | To 10 | View Replies]

To: Red Badger

I thought this was going to be a story about polygamy.


18 posted on 10/21/2019 3:22:34 PM PDT by noiseman (The only thing necessary for the triumph of evil is for good men to do nothing.`)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Red Badger

They never showed an example.


19 posted on 10/21/2019 3:26:06 PM PDT by FatherofFive (Islam is EVIL and needs to be eradicated)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Red Badger

Math?! I thought this was going to be another sperm donor thread.


20 posted on 10/21/2019 3:26:52 PM PDT by philman_36 (Pride breakfasted with plenty, dined with poverty and supped with infamy. Benjamin Franklin)
[ Post Reply | Private Reply | To 1 | View Replies]


Navigation: use the links below to view more comments.
first 1-2021-36 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson