2.5.9 · D1Number Theory (Intermediate)

Foundations — Bézout's identity

1,941 words9 min readBack to topic

This page is the ground floor. Before we touch the proof in Bézout's Identity, we build every single symbol and idea the parent note quietly assumes — from the meaning of "divides" to what a "linear combination" looks like on a number line. Nothing is used before it is drawn.


0. The number line — our one true picture

Every idea below lives on a number line: a straight ruler stretching left (negative) and right (positive), with in the middle and evenly-spaced tick marks at the integers.

Figure — Bézout's identity

Keep this picture in your head. Almost everything in number theory is a statement about where the ticks land when you jump around this line.


1. The integers: the symbol

The picture: every tick mark on the number line above.

Why the topic needs it: Bézout's Identity is about combining and using whole-number multipliers. No fractions, no decimals. The symbol means "is a member of", so "" reads aloud as " is an integer". When the parent writes it is promising: the coefficients are whole numbers. That restriction is the entire game — without it, could equal anything.

Recall What does

mean? is a whole number (positive, negative, or zero).

See Coprime Integers and Greatest Common Divisor for where these live.


2. "Divides": the symbol

This is the single most important idea in the whole topic, and it is nothing but a picture of even jumps.

The picture: start at , and take jumps of length . If you land exactly on , then . If you overshoot or undershoot, it does not divide.

Figure — Bézout's identity

In the figure, jumps of land exactly on , so (read: "three divides twelve"). But jumps of skip over (landing on , then ), so (the slash means "does not divide").

Recall Is

true or false, and why? False — jumps of from land on then , skipping . There is a remainder of .


3. Multiples and the Division Algorithm

Section 2 asked "does it land exactly?". The Division Algorithm answers the follow-up: "if not, by how much did we miss?"

The picture: take the biggest number of whole -jumps that still fits inside ; that count is . The little leftover gap before you reach is .

Figure — Bézout's identity

Why the topic needs it — and why THIS tool: The parent's proof (Step 4) writes and then argues must be . That whole argument only works because the Division Algorithm guarantees exists, is unique, and is trapped in the range . That trapped range is the trigger for the Well-Ordering contradiction later. No other tool pins the remainder down so tightly, which is exactly why it is chosen here.

Notice: (Section 2) is just the special case where .

Recall In

, what are and ? , , because and (and ).

This is the engine of the Euclidean Algorithm.


4. Greatest Common Divisor:

The picture: draw the jump-sizes that land exactly on , and the jump-sizes that land exactly on . The biggest size that works for both is the GCD.

Figure — Bézout's identity

For , : divisors of are , divisors of are . The shared ones are , and the greatest is . So .

Why the topic needs it: is the number that appears on the right-hand side of Bézout: . The entire identity is a claim about this specific number.

Full detail lives in Greatest Common Divisor.


5. Coprime: when

The picture: the shared-jump-size diagram from Section 4, but the biggest overlapping jump is the tiny step of size — the two numbers share no larger structure.

Why the topic needs it: many textbooks state Bézout as , which is the coprime case. The parent warns (Mistake 1) not to think this is the only case. Coprimality is also the doorway to modular inverses. See Coprime Integers.

Recall Are

and coprime? Yes — divisors of are , of are ; only is shared, so .


6. Linear combination: the star of the show

Now we assemble the phrase "linear combination of and " — the object Bézout is entirely about.

The picture: means "take jumps of length " ( can be negative — that means jump left). Then adds " jumps of length ". The final landing spot is the value .

Figure — Bézout's identity

The figure shows , . Choosing gives : one jump right of , one jump left of . We land on , which is ! That landing spot is Bézout's Identity in action.

Recall Write

as a linear combination of and . (many other answers exist too, e.g. ).


7. The set-builder and Well-Ordering

The parent's proof opens with . Two pieces of notation to unpack.

The picture: of the infinitely many landing spots from Section 6, keep only the ones strictly to the right of zero. is that set of positive landing spots.

The picture: among positive landing spots, there are no positive numbers below , so you cannot "descend forever". Some spot must be the leftmost. That leftmost spot is what the parent calls — and the proof shows .

Why the topic needs it: Well-Ordering is what lets the proof say "let be the smallest element of ". Without it, "smallest" might not exist. This is the logical hinge of the whole derivation.

Recall Why must

have a smallest element? Because is a non-empty set of positive integers, and the Well-Ordering Principle guarantees any such set has a least member.


8. How it all connects

Integers Z

Divides d divides n

Division Algorithm remainder r

Greatest Common Divisor

Euclidean Algorithm

Coprime gcd equals 1

Linear combination ax plus by

Set S of positive combinations

Well Ordering smallest element

Bezout Identity ax plus by equals gcd

Read top to bottom: the integers give us "divides"; "divides" gives the Division Algorithm and the GCD; linear combinations form the set ; Well-Ordering picks its smallest element; and all these streams meet at Bézout's Identity. From there the road continues to the Extended Euclidean Algorithm, Linear Diophantine Equations, and Modular Arithmetic.


Equipment checklist

Cover the right-hand side and see if you can answer each before revealing.

The symbol means
the set of all integers .
means
"is a member of" — so says is an integer.
means
divides exactly: for some integer , no remainder.
means
does not divide (there is a nonzero remainder).
The Division Algorithm guarantees
unique with and .
is
the largest integer that divides both and .
"Coprime" means
; the only common divisor is .
An integer linear combination of is
any number with .
Coefficients may be negative because
a negative coefficient just means jumping in the opposite direction on the number line.
The set is
all positive numbers reachable as a linear combination of and .
The Well-Ordering Principle says
every non-empty set of positive integers has a smallest element.
The one core idea of Bézout's Identity is
the smallest positive linear combination of and equals , giving .

Once every reveal feels obvious, you are ready for the full proof in Bézout's Identity.