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

Skip to comments.

Mathematicians Have Discovered an Entirely New Way to Multiply Large Numbers
Science Alert ^ | 10/17/19 | Peter Dockrill

Posted on 10/22/2019 2:00:33 AM PDT by LibWhacker

A pair of mathematicians from Australia and France have devised an alternative way to multiply numbers together, while solving an algorithmic puzzle that has perplexed some of the greatest math minds for almost half a century.

For most of us, the way we multiply relatively small numbers is by remembering our times tables – an incredibly handy aid first pioneered by the Babylonians some 4,000 years ago.

But what if the numbers get bigger? Well, if the figures get unwieldy – and assuming we don't have a calculator or computer, of course – most of us would then turn to long multiplication: another useful trick we learn in school, and a trusty technique for multiplying basically any two numbers together.

There's just one problem with long multiplication. It's slow.

The reason it's slow is because for every single digit in each number in the problem, you need to perform a separate multiplication operation, before adding all the products up.

This might not be a problem for you and me, who probably rarely resort to long multiplication ourselves. But it's a drawback school kids are familiar with, laboriously trudging through their calculations as they learn the magic of multiplication.

More significantly, it's a problem for computers, since their own bottlenecks in performing calculations are imposed by the limits of the abstract mathematics we ourselves can comprehend.

Basically, long multiplication is an algorithm, but it's just not a particularly efficient one, since the process is inevitably painstaking.

As it happens, mathematicians actually have a way of calculating just how painstaking long multiplication is.

As mathematician David Harvey from UNSW in Australia explains in the video below, in a multiplication where both the numbers have 3 digits (n = 3), the number of separate multiplication operations involved is actually 9, which is n2:

The problem with this is that as the numbers get bigger, the amount of work involved scales up too, always being represented by n to the power of 2.

While it's inefficient, the long multiplication algorithm was actually the most advanced multiplication algorithm we had until the 1960s, when Russian mathematician Anatoly Karatsuba discovered that n1.58 was possible.

A decade later, a pair of German mathematicians made another breakthrough: the Schönhage–Strassen algorithm, which conjectured – but never proved – that further refinements were possible, too.

"They predicted that there should exist an algorithm that multiplies n-digit numbers using essentially n * log(n) basic operations," Harvey explains.

"Our paper gives the first known example of an algorithm that achieves this."

According to the researchers, multiplying two numbers together with a billion digits each by the process of long multiplication would take a computer months to calculate.

Using the Schönhage-Strassen algorithm, it would take under 30 seconds, and with their theoretical proof, it would be even quicker – theoretically – and may even represent the fastest multiplication algorithm that's mathematically possible.

"In this sense, our work is expected to be the end of the road for this problem, although we don't know yet how to prove this rigorously," Harvey says.

"People have been hunting for such an algorithm for almost 50 years. It was not a forgone conclusion that someone would eventually be successful."

It's worth noting the new algorithm would only ever be useful for multiplying very big numbers together. How big exactly?

"We have no idea," the researchers explain in an FAQ, although one example they give in the paper equates to 10214857091104455251940635045059417341952, which is a very, very, very big number.

The world's maths community is still absorbing the new findings, which have yet to be peer-reviewed, but are already making waves.

"I was very much astonished that it had been done," theoretical computer scientist Martin Fürer from Penn State University told Science News.

Fürer himself tried to revamp the Schönhage-Strassen algorithm over a decade ago, but eventually discontinued the work, telling Science News, "It seemed quite hopeless to me".

But hope has been restored, provided mathematicians can verify the work.

"If the result is correct, it's a major achievement in computational complexity theory," mathematician and computer scientist Fredrik Johansson from INRIA Bordeaux and Institut de Mathématiques de Bordeaux told New Scientist.

"The new ideas in this work are likely to inspire further research and could lead to practical improvements down the road."

Meanwhile, Harvey and his co-researcher, Joris van der Hoeven from École Polytechnique in France, say their algorithm needs to be optimised, and they're just hoping they haven't stuffed something up in their proof.

"A lot of the work was convincing ourselves that it's actually correct," Harvey told AAP. "I'm still terrified that it might turn out to be wrong."


TOPICS: Computers/Internet; Science
KEYWORDS: discover; math; mathematicians; method; multiplication; new
Navigation: use the links below to view more comments.
first previous 1-2021-4041-6061-68 next last
To: sinsofsolarempirefan

I assume this means that computer algorithms will compute faster, meaning software can be written that is faster and more efficient, speeding computers up without boosting IP the hardware.

...

I’m not sure. Don’t computers do something like bit shifting for multiplication? Too bad the article didn’t make it clear.


21 posted on 10/22/2019 4:39:33 AM PDT by Moonman62 (Charity comes from wealth.)
[ Post Reply | Private Reply | To 7 | View Replies]

To: LibWhacker

Think what the calculus has done for us. It took well over a thousand years to come up with it.

...

The bits and pieces of calculus were known during that time, such as the method of exhaustion.

Would Newton and Leibniz have developed calculus if there weren’t physics problems they wanted to solve?

Math languished for centuries until Christian Western civilization found a need to develop it more.


22 posted on 10/22/2019 4:54:11 AM PDT by Moonman62 (Charity comes from wealth.)
[ Post Reply | Private Reply | To 5 | View Replies]

To: sinsofsolarempirefan
From Wiki:

Applications of the Schönhage–Strassen algorithm include mathematical empiricism, such as the Great Internet Mersenne Prime Search and computing approximations of π, as well as practical applications such as Kronecker substitution, in which multiplication of polynomials with integer coefficients can be efficiently reduced to large integer multiplication; this is used in practice by GMP-ECM for Lenstra elliptic curve factorization

23 posted on 10/22/2019 4:58:15 AM PDT by Moonman62 (Charity comes from wealth.)
[ Post Reply | Private Reply | To 7 | View Replies]

To: sinsofsolarempirefan

I doubt it will have any practical effect on routine calculations. Computers use hardware multipliers that are effectively just like the multiplication tables you learned in school, just with bigger tables. The resolution of most practical calculations is far less than few score decades. For instance expressing the national debt to the nearest penny only requires sixteen digits, currently about $22,920,314,419,523.31. The total number of seconds since the birth of Christ can be express with 11 decimal places, currently 63,739,036,477.

The expense of applying “faster” algorithms probably will never be cost effect on these scales. This kind of math is only useful for things like number theory and its cousin cryptology.


24 posted on 10/22/2019 4:58:48 AM PDT by Lonesome in Massachussets (Be vewy, vewy quiet. Adam Fudd is hunting Wussians!)
[ Post Reply | Private Reply | To 7 | View Replies]

To: Lonesome in Massachussets
"I have never done anything "useful". No discovery of mine has made, or is likely to make, directly or indirectly, for good or ill, the least difference to the amenity of the world."
-- G.H. Hardy, noted British mathematician
25 posted on 10/22/2019 5:04:43 AM PDT by ClearCase_guy (If White Privilege is real, why did Elizabeth Warren lie about being an Indian?)
[ Post Reply | Private Reply | To 24 | View Replies]

To: Moonman62

btt


26 posted on 10/22/2019 5:06:32 AM PDT by KSCITYBOY (The media is corrupt)
[ Post Reply | Private Reply | To 21 | View Replies]

To: Lonesome in Massachussets

Actually, there are an infinite number smaller as well.


27 posted on 10/22/2019 5:26:25 AM PDT by IronJack
[ Post Reply | Private Reply | To 6 | View Replies]

To: LibWhacker
"Mathematicians Have Discovered an Entirely New Way to Multiply Large Numbers"


28 posted on 10/22/2019 5:34:47 AM PDT by Bonemaker (invictus maneoWhat will it take to get her investigated for immigration fraud involving a marriage t)
[ Post Reply | Private Reply | To 1 | View Replies]

To: LibWhacker

“For most of us, the way we multiply relatively small numbers is by remembering our times tables – an incredibly handy aid first pioneered by the Babylonians some 4,000 years ago.”

Let me update the above:

“For most of us, the way we multiply relatively small numbers is by remembering our times tables – an incredibly handy aid first pioneered by the Babylonians some 4,000 years ago, but NO LONGER considered necessary by today’s ‘enlightened’ public schools (the same schools that most conservatives send their kids to) in the United States which instead rely on ‘technology’ to do the calculations.”


29 posted on 10/22/2019 5:43:15 AM PDT by BobL (I eat at McDonald's and shop at Walmart - I just don't te Don'tll anyone.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: LibWhacker

re: “Think what the calculus has done for us. It took well over a thousand years to come up with it.”

LOST in time: The Antikythera Mechanism.


30 posted on 10/22/2019 5:47:15 AM PDT by _Jim (Save babies)
[ Post Reply | Private Reply | To 5 | View Replies]

To: LibWhacker

re: “Mathematicians Have Discovered an Entirely New Way to Multiply Large Numbers”

Adding. Logarithms. ?


31 posted on 10/22/2019 5:52:26 AM PDT by _Jim (Save babies)
[ Post Reply | Private Reply | To 1 | View Replies]

To: aquila48

Another game in search of grant $$$$$$.


32 posted on 10/22/2019 5:57:14 AM PDT by bgill
[ Post Reply | Private Reply | To 14 | View Replies]

To: LibWhacker

Mathematicians Have Discovered an Entirely New Way to Multiply Large Numbers

It is called Common Core.
Any answer is correct..... : )


33 posted on 10/22/2019 5:57:43 AM PDT by minnesota_bound (homeless guy. He just has more money....)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Lonesome in Massachussets

Infinity plus one! Ha!


34 posted on 10/22/2019 6:03:22 AM PDT by Quality_Not_Quantity (A law means nothing if it isnÂ’t followed.)
[ Post Reply | Private Reply | To 6 | View Replies]

To: Rennes Templar

“How will they know it’s correct?”

Like many of us who took high school math, we had to show our proof, unlike me who usually answered choice C and had a 25% chance the answer was correct.


35 posted on 10/22/2019 6:16:10 AM PDT by EQAndyBuzz (When you think about what the left is doing to America, think no further than Cloward-Piven)
[ Post Reply | Private Reply | To 13 | View Replies]

To: sinsofsolarempirefan

Computers will just continue using the shift and add method required of binary numbers. It takes a maximum number of operations as there are bits in the number.


36 posted on 10/22/2019 6:49:55 AM PDT by GingisK
[ Post Reply | Private Reply | To 7 | View Replies]

To: NTHockey

No, I need more than three significant digits.


37 posted on 10/22/2019 6:51:22 AM PDT by GingisK
[ Post Reply | Private Reply | To 18 | View Replies]

To: LibWhacker
But what if the numbers get bigger?

Well duh...


38 posted on 10/22/2019 6:54:20 AM PDT by TruthWillWin
[ Post Reply | Private Reply | To 1 | View Replies]

To: Moonman62
Yes, computers use shift and add for multiplication. It is done by hardware, not software in large scale processors. This takes a maximum number of operations equal to the number of bits in the word. Given a 64 bit word and a 2.7 GHz clock, that is not much time.

Some hardware uses more exotic logic where multiplication is done using the same technique, but no clocking is needed. For that hardware the time is known as propagation delay.

39 posted on 10/22/2019 6:55:35 AM PDT by GingisK
[ Post Reply | Private Reply | To 21 | View Replies]

To: IronJack

I was a little too glib. I confined myself to positive integers. There are no general algorithms that allow one to multiply irrational numbers*. There is no way to multiply pi by two because there is no exact way to express pi in a finite number of digits. In computers irrational numbers are always approximated by some binary fractional expression.

*Infinite repeating fractions can be expressed as rational numbers, of course, and algebraic numbers (like phi, for instance) can be expressed as other algebraic numbers.


40 posted on 10/22/2019 7:07:40 AM PDT by Lonesome in Massachussets (Be vewy, vewy quiet. Adam Fudd is hunting Wussians!)
[ Post Reply | Private Reply | To 27 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-2021-4041-6061-68 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