Linear Combinations
Let and be integers. An integer of the form
where
is called an integer linear combination of and .
For example, if and , then
is a linear combination of and .
Linear combinations are important because divisibility behaves well under addition and subtraction. If an integer divides both and , then divides every linear combination
Indeed, if
then
Thus every common divisor of and divides every integer linear combination of and .
Statement of Bezout’s Identity
Bezout’s identity states that if and are integers, not both zero, then there exist integers and such that
The integers and are called Bezout coefficients.
For example,
One representation is
Thus and are Bezout coefficients for and .
Why the Identity Matters
Bezout’s identity gives a constructive meaning to the greatest common divisor.
The gcd is not merely the largest positive integer dividing both and . It is also the smallest positive integer that can be written as a linear combination of and .
This second description is often more useful. It connects common divisors, linear equations, congruences, and modular inverses.
For example, if
then Bezout’s identity gives
Reducing modulo , this becomes
Hence is an inverse of modulo .
Proof Using the Euclidean Algorithm
The extended Euclidean algorithm proves Bezout’s identity directly.
Consider
The Euclidean algorithm gives
The gcd is the last nonzero remainder:
Now rewrite the remainders backward.
From
we get
From
we get
Substituting,
Therefore
This is a Bezout identity.
The Smallest Positive Linear Combination
There is another useful proof of Bezout’s identity using the well-ordering principle.
Let
This set is nonempty because at least one of or is nonzero. By the well-ordering principle, has a least element. Call it . Then
for some integers .
One can show that
and
Indeed, divide by :
Since
we have
Thus is also a linear combination of and . If , this contradicts the minimality of . Hence
Therefore
The same argument shows that
Thus is a common divisor of and .
Since every common divisor of and divides every linear combination, every common divisor divides . Therefore is the greatest common divisor:
Hence
Non-Uniqueness of Bezout Coefficients
Bezout coefficients are generally not unique.
For example,
But also
Both identities are valid.
In general, if
and
then all solutions to
are given by
where
Thus Bezout representations form an infinite family.
Coprimality Criterion
Bezout’s identity gives a powerful criterion for coprimality.
Two integers and are coprime if and only if there exist integers and such that
Indeed, if
Bezout’s identity gives such and .
Conversely, if
then any common divisor of and must divide . Hence the greatest common divisor is .
Role in Number Theory
Bezout identities are among the most useful tools in elementary number theory. They convert a divisibility statement into an explicit equation.
They are used to prove Euclid’s lemma, solve linear Diophantine equations, find modular inverses, prove the Chinese remainder theorem, and analyze coprime factorizations.
The central idea is that the greatest common divisor is the arithmetic content common to and , and Bezout’s identity shows that this content can be recovered from and by integer linear combination.