Math 2.0

concept

Euclidean algorithm in a Euclidean domain

Summary

Let RR be a Euclidean domain with Euclidean function δ\delta and let a,b∈Ra, b \in R. The Euclidean algorithm sets r0=ar_0 = a and r1=br_1 = b. While rk≠0r_k \neq 0, it divides rk−1r_{k-1} by rkr_k and lets rk+1r_{k+1} be the remainder. The values δ(rk)\delta(r_k) decrease strictly, so the algorithm stops with some rn+1=0r_{n+1} = 0. The last nonzero remainder rnr_n is a greatest common divisor of aa and bb, if b≠0b \neq 0.

Remarks

The algorithm works because the common divisors of rk−1r_{k-1} and rkr_k are the common divisors of rkr_k and rk+1r_{k+1}. In Z\mathbb{Z}: 252=1⋅198+54252 = 1 \cdot 198 + 54, 198=3⋅54+36198 = 3 \cdot 54 + 36, 54=1⋅36+1854 = 1 \cdot 36 + 18, 36=2⋅1836 = 2 \cdot 18. So gcd⁡(252,198)=18\gcd(252, 198) = 18. The extended algorithm also gives the coefficients of Bézout's identity.

Explanations

L1 human

To find the gcd of two numbers, replace the larger one by its remainder modulo the smaller one, and repeat. When the remainder is zero, the last divisor is the gcd. The same steps work in every Euclidean domain, for example for polynomials over a field.

What this node needs for W1
  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

What this needs

To read this node, read these 11 nodes in this order. The foundations come first, and the list ends with this node.

Each node uses the nodes above it. The colour of the bar on a box shows the evidence level, and the box also gives it as text. The list below has the same nodes.
  • no evidence level
  1. Group concept
  2. Ring definition
  3. Commutative ring definition
  4. Unit of a ring definition
  5. Zero divisor definition
  6. Divisibility in a commutative ring definition
  7. Integral domain definition
  8. Associate elements definition
  9. Euclidean domain definition
  10. Greatest common divisor in an integral domain definition
  11. Euclidean algorithm in a Euclidean domain concept

What depends on this

1 node uses this node, directly or through other nodes.

Sources

  1. Web https://en.wikipedia.org/wiki/Euclidean_algorithm, Euclidean domains