Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Euclidean algorithm
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== BΓ©zout's identity === {{main|BΓ©zout's identity}} BΓ©zout's identity states that the greatest common divisor {{math|''g''}} of two integers {{math|''a''}} and {{math|''b''}} can be represented as a linear sum of the original two numbers {{math|''a''}} and {{math|''b''}}.<ref>{{cite book | last1 = Jones |first1=G. A. | last2 = Jones | first2 = J. M. | year = 1998 | chapter = Bezout's Identity | title = Elementary Number Theory | publisher = Springer-Verlag | location = New York | pages = 7β11}}</ref> In other words, it is always possible to find integers {{math|''s''}} and {{math|''t''}} such that {{math|1=''g'' = ''sa'' + ''tb''}}.<ref>{{Harvnb|Rosen|2000|p=81}}</ref><ref>{{Harvnb|Cohn|1980|p=104}}</ref> The integers {{math|''s''}} and {{math|''t''}} can be calculated from the quotients {{math|''q''<sub>0</sub>}}, {{math|''q''<sub>1</sub>}}, etc. by reversing the order of equations in Euclid's algorithm.<ref>{{Harvnb|Rosen|2000|p=91}}</ref> Beginning with the next-to-last equation, {{math|''g''}} can be expressed in terms of the quotient {{math|''q''<sub>''N''β1</sub>}} and the two preceding remainders, {{math|''r''<sub>''N''β2</sub>}} and {{math|''r''<sub>''N''β3</sub>}}: : {{math|1=''g'' = ''r''<sub>''N''β1</sub> = ''r''<sub>''N''β3</sub> β ''q''<sub>''N''β1</sub> ''r''<sub>''N''β2</sub>}}. Those two remainders can be likewise expressed in terms of their quotients and preceding remainders, : {{math|1=''r''<sub>''N''β2</sub> = ''r''<sub>''N''β4</sub> β ''q''<sub>''N''β2</sub> ''r''<sub>''N''β3</sub>}} and : {{math|1=''r''<sub>''N''β3</sub> = ''r''<sub>''N''β5</sub> β ''q''<sub>''N''β3</sub> ''r''<sub>''N''β4</sub>}}. Substituting these formulae for {{math|''r''<sub>''N''β2</sub>}} and {{math|''r''<sub>''N''β3</sub>}} into the first equation yields {{math|''g''}} as a linear sum of the remainders {{math|''r''<sub>''N''β4</sub>}} and {{math|''r''<sub>''N''β5</sub>}}. The process of substituting remainders by formulae involving their predecessors can be continued until the original numbers {{math|''a''}} and {{math|''b''}} are reached: : {{math|1=''r''<sub>2</sub> = ''r''<sub>0</sub> β ''q''<sub>2</sub> ''r''<sub>1</sub>}} : {{math|1=''r''<sub>1</sub> = ''b'' β ''q''<sub>1</sub> ''r''<sub>0</sub>}} : {{math|1=''r''<sub>0</sub> = ''a'' β ''q''<sub>0</sub> ''b''}}. After all the remainders {{math|''r''<sub>0</sub>}}, {{math|''r''<sub>1</sub>}}, etc. have been substituted, the final equation expresses {{math|''g''}} as a linear sum of {{math|''a''}} and {{math|''b''}}, so that {{math|1=''g'' = ''sa'' + ''tb''}}. The Euclidean algorithm, and thus BΓ©zout's identity, can be generalized to the context of [[Euclidean domain]]s.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Euclidean algorithm
(section)
Add topic