Math 2.0

Number theory Proof

Proof of Bézout's identity

Builds on Greatest common divisorWell-ordering principleDivision algorithmDivisibility

Proof

We show that the least positive integer of the form ax+byax + by is the greatest common divisor.

  1. Let aa and bb be integers and let d=gcd⁡(a,b)d = \gcd(a, b).
  2. If a=b=0a = b = 0, then d=0d = 0 by convention, and x=y=0x = y = 0 give ax+by=0=da x + b y = 0 = d. From now on, aa and bb are not both 00.
  3. Then 11 is a common divisor, so d≥1d \ge 1.
  4. Let SS be the set of positive integers of the form ax+bya x + b y with x,y∈ℤx, y \in \Z. It contains a⋅a+b⋅b=a2+b2>0a \cdot a + b \cdot b = a^2 + b^2 > 0, so SS is nonempty.
  5. By the well-ordering principle, SS has a least element ee. Write e=ax0+by0e = a x_0 + b y_0 with x0,y0∈ℤx_0, y_0 \in \Z.
  6. By the division algorithm, a=eq+ra = e q + r with integers qq, rr and 0≤r<e0 \le r < e.
  7. Then r=a−q(ax0+by0)=a(1−qx0)+b(−qy0)r = a - q(a x_0 + b y_0) = a(1 - q x_0) + b(-q y_0), so rr has the form ax+byax + by.
  8. If r>0r > 0, then r∈Sr \in S and r<er < e, which contradicts the choice of ee. So r=0r = 0, and ee divides aa.
  9. The same argument with bb in place of aa shows that e∣be \mid b. So ee is a common divisor, and e≤de \le d because dd is the largest one.
  10. Since d∣ad \mid a and d∣bd \mid b, write a=da′a = d a' and b=db′b = d b' with integers a′a', b′b'. Then e=d(a′x0+b′y0)e = d(a' x_0 + b' y_0).
  11. Here e>0e > 0 and d>0d > 0, so the integer a′x0+b′y0a' x_0 + b' y_0 is positive. Hence it is at least 11, and e≥de \ge d.
  12. By steps 9 and 11, e=de = d. So ax0+by0=da x_0 + b y_0 = d, and x=x0x = x_0, y=y0y = y_0 are the required integers.

Idea

The integers ax+byax + by form a set that is closed under subtracting multiples of each other. Its least positive element divides aa and bb, because the remainder of a division stays in the set and is smaller. Every common divisor of aa and bb divides this element, so it is the greatest common divisor.

Reading path

To understand this page from the ground up, read these 20 pages in order. The foundations come first. The path takes the proofs Proof of the commutativity of addition by induction, Proof of strong induction from ordinary induction, Proof of the well-ordering principle from strong induction, Proof of the division algorithm.

Show the path as a graph
Definition by recursion, concept, no evidence levelDefinition by recursi…conceptDivisibility, definition, no evidence levelDivisibilitydefinitionMathematical induction, concept, no evidence levelMathematical inductionconceptNatural numbers, object, no evidence levelNatural numbersobjectPeano axioms, concept, no evidence levelPeano axiomsconceptGreatest common divisor, definition, no evidence levelGreatest common divis…definitionSuccessor function, definition, no evidence levelSuccessor functiondefinitionAddition of natural numbers, definition, no evidence levelAddition of natural n…definitionThe successor function is injective, statement, no evidence levelThe successor functio…statementZero is not a successor, statement, no evidence levelZero is not a success…statementProof of the commutativity of addition by induction, proof, no evidence levelProof of the commutat…proofOrder on the natural numbers, definition, no evidence levelOrder on the natural …definitionCommutativity of addition, statement, no evidence levelCommutativity of addi…statementProof of strong induction from ordinary induction, proof, no evidence levelProof of strong induc…proofStrong induction, statement, no evidence levelStrong inductionstatementProof of the well-ordering principle from strong induction, proof, no evidence levelProof of the well-ord…proofWell-ordering principle, statement, no evidence levelWell-ordering princip…statementProof of the division algorithm, proof, no evidence levelProof of the division…proofDivision algorithm, statement, no evidence levelDivision algorithmstatementProof of Bézout's identity, proof, no evidence levelProof of Bézout's ide…proof
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Definition by recursion concept
  2. Divisibility definition
  3. Mathematical induction concept
  4. Natural numbers object
  5. Peano axioms concept
  6. Greatest common divisor definition
  7. Successor function definition
  8. Addition of natural numbers definition
  9. The successor function is injective statement
  10. Zero is not a successor statement
  11. Proof of the commutativity of addition by induction proof
  12. Order on the natural numbers definition
  13. Commutativity of addition statement
  14. Proof of strong induction from ordinary induction proof
  15. Strong induction statement
  16. Proof of the well-ordering principle from strong induction proof
  17. Well-ordering principle statement
  18. Proof of the division algorithm proof
  19. Division algorithm statement
  20. Proof of Bézout's identity proof

Where this leads

267 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/B%C3%A9zout%27s_identity
About this page
Tag1EN54SFEAZ
URIm2://1EN54SFEAZ
Kindproof
WritingW0 stub
MSC11A05
ProvesBézout's identity
UsesGreatest common divisor, Well-ordering principle, Division algorithm, Divisibility
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

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

What links here

No page links to this page yet.