MathLabs
TheoremProved

Bézout's identity

Statement

For integers a,ba,b not both 00, there exist integers u,vu,v such that au+bv=gcd⁡(a,b)au+bv=\gcd(a,b).

Why is it true?

It shows the greatest common divisor is not just the "biggest shared factor" but is actually reachable as an integer combination of aa and bb — the key fact that makes the solvability criterion for ax+by=cax+by=c work.

Proof sketch

Consider the set S={au+bv:u,v∈Z}∩Z>0S=\{au+bv : u,v\in\mathbb{Z}\}\cap\mathbb{Z}_{>0} of all strictly positive integer combinations of aa and bb. Since a,ba,b are not both 00, SS is nonempty (it contains ∣a∣|a| or ∣b∣|b|), so by the well-ordering principle SS has a least element d=au0+bv0>0d=au_0+bv_0>0.

We show d∣ad\mid a: divide a=qd+ra=qd+r with 0≤r<d0\le r<d. Then r=a−qd=a−q(au0+bv0)=a(1−qu0)+b(−qv0)r=a-qd=a-q(au_0+bv_0)=a(1-qu_0)+b(-qv_0) is itself an integer combination of a,ba,b. If r>0r>0 then rr would belong to SS and be smaller than dd, contradicting minimality; so r=0r=0, i.e. d∣ad\mid a. The identical argument with bb in place of aa shows d∣bd\mid b.

Since dd is a common divisor of aa and bb, d≤gcd⁡(a,b)d\le \gcd(a,b). Conversely, any common divisor ee of aa and bb divides au0+bv0=dau_0+bv_0=d, so e≤de\le d; taking e=gcd⁡(a,b)e=\gcd(a,b) gives gcd⁡(a,b)≤d\gcd(a,b)\le d.

Combining both inequalities, d=gcd⁡(a,b)d=\gcd(a,b), and by construction d=au0+bv0d=au_0+bv_0, which is exactly Bézout's identity with u=u0,v=v0u=u_0,v=v_0.

Topics that use this theorem

Step-by-step proofs

No step-by-step proof yet for this theorem.

References

  1. Wikipedia contributors (2024). Bézout's identity
  2. G. H. Hardy, E. M. Wright (2008). An Introduction to the Theory of Numbers