Docsity

The Extended Euclidean Algorithm: A Historical Perspective, Study notes of Greek and Roman Art

Toggle sidebar
bg1
The Extended Euclidean Algorithm
Theorem 3: a) The Euclidean algorithm computes
g:= gcd(m, n).
b) If dis a common divisor of mand n, then d|g.
c) The method of back-substitution yields integers
x, y ∈Zsuch that
mx +ny =g.(1)
Historical Remark: The extended Euclidean algo-
rithm was called the method of the pulverizer (kut-
taka) by the Hindus, particularly by Aryabhata (ca.
500 A.D.) and Brahmagupta (ca. 630 A.D.).
The idea behind the name is the following: by us-
ing the right substitution (as prescribed by the Eu-
clidean algorithm), the coefficients of equation (1)
are made successively smaller and smaller until they
are “pulverized”.
More precisely: if m=qn +r, then the substitution
x=y0, y =x0−q·y0in (1) leads to the equation
nx0+ry0=g.
1

Partial preview of the text

Download The Extended Euclidean Algorithm: A Historical Perspective and more Study notes Greek and Roman Art in PDF only on Docsity!

The Extended Euclidean Algorithm

Theorem 3: a) The Euclidean algorithm computes g := gcd(m, n). b) If d is a common divisor of m and n, then d|g. c) The method of back-substitution yields integers x, y ∈ Z such that (1) mx + ny = g.

Historical Remark: The extended Euclidean algo- rithm was called the method of the pulverizer (kut- taka) by the Hindus, particularly by Aryabhata (ca. 500 A.D.) and Brahmagupta (ca. 630 A.D.). The idea behind the name is the following: by us- ing the right substitution (as prescribed by the Eu- clidean algorithm), the coefficients of equation (1) are made successively smaller and smaller until they are “pulverized”. More precisely: if m = qn + r, then the substitution x = y′, y = x′^ − q · y′^ in (1) leads to the equation nx′^ + ry′^ = g.