Home

Mathematicians still don’t know the fastest way to multiply numbers

Leave a comment

Click the link below the picture

.

Elementary school students might memorize their times tables for single-digit numbers, but memorization won’t cut it when the teacher asks for three-digit multiplication. This requires an algorithm: students are taught to stack one number atop another and multiply each digit of the bottom number by each digit of the top one. For millennia, mathematicians believed this to be the fastest multiplication method, until a 23-year-old made a shocking discovery in 1960, which led to a mystery that remains unsolved to this day.

This mystery is critical to anyone who partakes in the digital world because multiplication is a foundational operation for computers. Encryption, robotics, artificial intelligence, audio processing, and pretty much everything else we task silicon chips with involves multiplication, sometimes of huge numbers many times over. At this scale, even a simple operation becomes a bottleneck, and any extra efficiency has global economic consequences.

To understand the nature of that bottleneck, observe how the grade-school algorithm handles growth. When you multiply two two-digit numbers, you perform four single-digit multiplications. If you bump that up to a three-digit pair of numbers, you do nine single-digit multiplications. The workload scales with the square of the number of digits (n2, where n is the number of digits in the numbers being multiplied). When analyzing an algorithm like this, computer scientists don’t measure speed in seconds, because that depends on the hardware.

Instead, they count the computational steps. They also ignore minor bookkeeping details, such as the time it takes to carry a one when multiplying. When numbers get large enough, those lower-level operations cease to matter, entirely eclipsed by the more intensive operations involved. Computer scientists denote the number of steps using what’s called Big O notation: the grade-school algorithm, for example, takes O(n2) steps, which is read as “order n squared.” Broadly speaking, if the numbers are twice as long, the algorithm takes four times as much computational work to execute. If the numbers are a thousand times as long, it takes a million (1,000 squared) times as much work.

Since antiquity, mathematicians have suspected that O(n2) was an inherent speed limit for multiplication. The celebrated Soviet math professor Andrey Kolmogorov posed the O(n2) speed limit as a formal conjecture and mentioned it during a 1960 seminar at Moscow State University. Whenever mathematicians propose a conjecture, they are planting a flag of sorts and waiting for others to either prove or disprove them. It took just a week for Anatoly Karatsuba, then a 23-year-old student in the audience, to return and prove Kolmogorov wrong. Kolmogorov was stunned. The result was published in the prestigious Proceedings of the USSR Academy of Sciences, but amusingly, Karatsuba didn’t write it. Kolmogorov wrote the formal proof himself and submitted it for publication with Karatsuba listed as the lead author. Karatsuba only found out about the paper when he received the reprints in the mail.

Karatsuba’s genius was realizing that you can trade expensive, time-consuming multiplications for cheap, fast additions. Adding two n-digit numbers takes only O(n) time because it entails a single sweep through the digits rather than a complete sweep through the top number for every digit of the bottom number, as in multiplication. To see how Karatsuba traded multiplication for addition, let’s look at a small example. The method would be overly complicated for such a simple problem, but it saves a meaningful amount of time when numbers get larger.

First, we split both numbers into their tens and ones digits. Assign a = 1 and b = 2 (for 12), and c = 3 and d = 4 (for 34). Algebraically, we can rewrite 12 × 34 as (10a + b) × (10c + d).

Expanding this gives 100(ac) + 10(ad + bc) + (bd).

To solve the equation in the traditional way, one must perform four distinct multiplications: ac = 3, ad = 4, bc = 6 and bd = 8, which is exactly what the grade-school stacking method entails. (Note that we don’t count the multiplications by 100 or by 10 because those only involve plopping zeroes at the ends of numbers.) Karatsuba noticed a brilliant algebraic trick. Once you compute the first and last terms, ac and bd, you can figure out that pesky middle term (ad + bc) with one more multiplication step rather than two. You don’t need to calculate ad and bc individually:

(ad + bc) = ((a + b) × (c + d)) – ac – bd,

Or with our concrete numbers:

((1 × 4) + (2 × 3)) = ((1 + 2) × (3 + 4)) – 3 – 8 = 10.

Pause to notice the weirdness in the equation above. It suggests that to multiply 12 × 34 quickly, you should add the 1 and the 2 in 12 and the 3 and the 4 in 34. This is hardly a natural thing to do. No wonder it took so long for someone to figure it out. It ends up reducing the workload, however: because we’ve already computed ac and bd, the right-hand side only contains one more multiplication, plus some additions and subtractions.

.

https://static.scientificamerican.com/dam/asset/1caac706-e03e-4760-8ef0-cc5a554737df/GettyImages-168351286-math-chalkboard.jpeg?m=1783946841.043&w=900Justin Lewis/Getty Images

.

.

Click the link below for the complete article:

https://www.scientificamerican.com/article/mathematicians-still-dont-know-the-fastest-way-to-multiply-numbers/

.

__________________________________________

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

ioanzamfirc

Dragoste si lumina

Fx Broker Rating

Find the Best Forex Broker for Your Trading Success

MYSELF

AS HUMILDES OPINIÕES DE UMA MULHER DE CORAGEM QUE DIZ SIM À VIDA!

Moara de Vânt

Să facem glume, nu război

🇲🇲Dear all peace-loving people around the world🇲🇲

In the world, human beings are facing various problems. People who are full of greed, anger, and ignorance are seen to be fighting with each other in words and deeds. As the fighting continues, various problems such as civil wars, wars of aggression, and wars of aggression are occurring. As world peace is being destroyed, humans are facing unbearable problems. Innocent children and women are not getting the rights they deserve and deserve. I can't think of one thing every time. What is it? The United Nations. If we look at the responsibilities and duties of the United Nations, I think it is not suitable for solving the problems that are happening in the world today. In fact, the United Nations and the World Security Council, such an organization must rule the world, must be able to give orders, and must have various ways to obey orders. There must be no organization that can influence more than that organization. There should be experts from each country. They can even dominate the superpowers like the US, China, and Britain. Only then will global peace be achieved quickly. Now, if a country with power develops more militarily, economically, or socially than its own country, then powerful countries will jealously seek out enemies and wage war. Or they will attack with fighter jets. In this, innocent people are losing their lives. No one understands the value of a life. You should think about how to achieve global peace by controlling these. If the US continues to be the permanent president of the UN, world peace will never be achieved. If you think carefully, no one sees that they are working for the common good, but for their own benefit, for the benefit of their own country. The permanent president of the UN and the Security Council has rejected this, As a young Rohingya, I have come to realize that only by electing the president and secretary from among the countries in the world through a secret ballot system and governing the world fairly can we achieve global peace. The United Nations and the Security Council are organizations in which any country must govern, give orders, and make them obey their orders. For example, only when a defendant is tried in court can we hold the leaders of the countries in check and control them, can we achieve global peace smoothly. Otherwise, it will not be easy for powerful countries to use various excuses to end this war every year, every year, for the benefit of themselves and their countries. No country's leaders pay any attention to the words of the United Nations and the Security Council. If we look at it in practice, look at the Rohingya issue. Myanmar is a small country. Even that country has been under siege for 8 years. What action can be taken? Why is the UN and the Security Council Powerless? Without such Power, how can the organization bring about global peace? Everyone should think about it. Whether there is a veto or a strong one, all countries in the world can only achieve global peace if they are subject to the UN and the Security Council. Seek peace in the quiet embrace of nature. Peace is an indispensable need of the human race. It is not as if one person can kill another person, and it is as if one country can attack another country, but instead of trying to build peace, we must try to destroy the peace now, and the world is getting hotter and is on the verge of collapse. I especially appeal to all the world experts to urgently try to bring about peace in all parts of the world. Mr, Noor Muhamed Arkhan Rohingya Youth Myanmar

Gazeta cuiburilor de cuc

Publicație umoristică dedicată glumeților de pretutindeni

JaZzArt en València

Faith saved us from the savages that we were, losing faith makes us savages again

PeopleTalky

Where Trends Meet Truth

MRS. T’S CORNER

https://www.tangietwoods

Srikanth’s poetry

Freelance poetry writing

MediaNegy

Zalai Betti

INOVATION BLOG AND NEWS

INOVATION BLOG PEOPLE AND NEWS

szigetingy | budapest

Németh György

PT. LPPL Lombok

Konsultan Lingkungan Hidup di Lombok - NTB

Idézetek – LeaArt21

Lea Krasznai (LeaArt21) – Idezetek (Idézetek) WordPress (Budapest, Hungary)

danielecolleoni

Appunti, spunti e passioni in liberta'

تعلم وعلم، ادخر،سافر واستجمم .

تعنى بتقديم نصائح للمعلمين المبتدئين، والطلبة الممتحنين، ومشاركة الاخرين تجربة الادخار في المال، بترشيد الاستهلاك المنزلي، وترتيب البيت، والحفاظ على البيئة، وتشجيع السيارات صديقةالبيئة، والسياحة والاسفار، ونماء رؤوس الاموال، والطب البديل وتشجيع التعليم الرقمي والذكاء الاصطناعي، والعناية بالنحل وتربية الاسماك، والاسثمار في رؤوس الاموال، الزراعة العضوية، والعناية باسنان الرضع، و صحة الحوامل، وتفسير القران

scientifique

apprendre pour évoluer

In Between the Lines

Thoughts on books, language, meaning, and the culture around it.

Great Lakes Mindset

Outdoor Recreation & Adventure in the Great Lakes Region

Nelsapy

News, Info, Bio, Articles, Reviews, Lyrics, Technology, Science, Inspiration, Motivation, Philosphy and many more...

Becoming HIS Tapestry

Christian Lifestyle Blogger

Joe Mullins Commissioner

CEO and president of The Mullins Companies

The Luttie Board

Two Cultures. One Life. Endless Stories

Charles Maxwell DeCook

Real Estate Development Specialist

Amor Entre Estrellas

¡Bienvenido de vuelta viajero!

Heart of Loia `'.,°~

so looking to the sky ¡ sing and from my heart to YOU ¡ bring...

Michael Ciullo

CEO and Founder of Nsight Health

Nelson MCBS

Catholic News, Prayers, HD Images, Rosary, Music, Videos, Holy Mass, Homily, Saints, Lyrics, Novenas, Retreats, Talks, Devotionals and Many More

global geopolitics

Decoding Power. Defying Narratives.

Talk Photo

A creative collaboration introducing the art of nature and nature's art.

Movie Burner Entertainment

The Home Of Entertainment News, Reviews and Reactions

C r i s t i a n a' s Fine Arts ⛄️

•Whenever you are confronted with an opponent, conquer him with love.(Gandhi)

TradingClubsMan

Algotrader at TRADING-CLUBS.COM

Comedy FESTIVAL

Film and Writing Festival for Comedy. Showcasing best of comedy short films at the FEEDBACK Film Festival. Plus, showcasing best of comedy novels, short stories, poems, screenplays (TV, short, feature) at the festival performed by professional actors.

Bonnywood Manor

Peace. Tranquility. Insanity.

Warum ich Rad fahre

Take a ride on the wild side

Madame-Radio

Découvre des musiques prometteuses (principalement) dans la sphère musicale française.

Ir de Compras Online

No tiene que Ser una Pesadilla.

Kana's Chronicles

Life in Kana-text (er... CONtext)

Jam Writes

Where feelings meet metaphors and make questionable choices.