Jump to content

Bézout's identity: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Line 29: Line 29:


==Proof.==
==Proof.==
Suppose that <math>a=dp</math> and <math>b=dq</math> where <math>d=\gcd(a,b)</math> and <math>\gcd(p,q)=1</math>. Now take the numbers <math>p,2p,\cdots , (q-1)p</math>. Its easy to show that
Suppose that <math>a=dp</math> and <math>b=dq</math> where <math>d=\gcd(a,b)</math> and <math>\gcd(p,q)=1</math>. Now take the numbers <math>p,2p,\cdots , (q-1)p</math>. It's easy to show that


# There doesn't exist any <math>1\leq i\leq q-1</math>, so that <math>ip=q \pmod{q}</math>.
# There doesn't exist any <math>1\leq i\leq q-1</math>, so that <math>ip=q \pmod{q}\,\!</math>.
# There aren't any two numbers like <math>1\leq i<j\leq q-1</math> so that <math>ip=jp \pmod{q}</math>.
# There aren't any two numbers like <math>1\leq i<j\leq q-1</math> so that <math>ip=jp \pmod{q}\,\!</math>.


From these two we conclude that <math>\{p,2p,\cdots , (q-1)p\}=\{1,2,\cdots , q-1\} \pmod{q}</math>.
From these two we conclude that <math>\{p,2p,\cdots , (q-1)p\}=\{1,2,\cdots , q-1\} \pmod{q}</math>.


Therefore, there exists an integer like <math>1\leq x\leq q-1</math> so that <math>px=1 \pmod{q}</math>. So there exists an integer <math>y</math> so that <math>px+qy=1</math>, and by multiplying this equation by <math>d</math> we have <math>ax+by=d</math>.
Therefore, there exists an integer like <math>1\leq x\leq q-1</math> so that <math>px=1 \pmod{q}\,\!</math>. So there exists an integer <math>y</math> so that <math>px+qy=1</math>, and by multiplying this equation by <math>d</math> we have <math>ax+by=d</math>.


==External links==
==External links==

Revision as of 08:13, 25 October 2006

In number theory, Bézout's identity, named after Étienne Bézout, is a linear diophantine equation. It states that if a and b are integers with greatest common divisor d, then there exist integers x and y (called Bézout numbers or Bézout coefficients) such that

ax + by = d.

Numbers x and y as above can be determined with the extended Euclidean algorithm, but they are not uniquely determined: for every a, b, x, y, and k. So, letting k range over the integers and setting , , we have .

For example, the greatest common divisor of 12 and 42 is 6, and we can write

12x + 42y = 6.

with some of the solutions being

(-3)·12 + 1·42 = 6

and also

4·12 + (-1)·42 = 6.

Bézout's identity can also be extended to linear combinations of more than two numbers. For any numbers with greatest common divisor g there exist integers such that

The greatest common divisor of is in fact the smallest positive integer that can be written as a linear combination of .

Bézout's identity works not only in the ring of integers, but also in any other principal ideal domain (PID). That is, if R is a PID, and a and b are elements of R, and d is a greatest common divisor of a and b, then there are elements x and y in R such that ax + by = d. The reason: the ideal Ra+Rb is principal and indeed is equal to Rd. An integral domain in which Bézout's identity holds is called a Bézout domain.

To confirm: In some credible books, this identity has been attributed to French mathematician Claude Gaspard Bachet de Méziriac.

Proof.

Suppose that and where and . Now take the numbers . It's easy to show that

  1. There doesn't exist any , so that .
  2. There aren't any two numbers like so that .

From these two we conclude that .

Therefore, there exists an integer like so that . So there exists an integer so that , and by multiplying this equation by we have .