fbpx
Wikipedia

Thue's lemma

In modular arithmetic, Thue's lemma roughly states that every modular integer may be represented by a "modular fraction" such that the numerator and the denominator have absolute values not greater than the square root of the modulus.

More precisely, for every pair of integers (a, m) with m > 1, given two positive integers X and Y such that Xm < XY, there are two integers x and y such that

and

Usually, one takes X and Y equal to the smallest integer greater than the square root of m, but the general form is sometimes useful, and makes the uniqueness theorem (below) easier to state.[1]

The first known proof is attributed to Axel Thue (1902)[2] who used a pigeonhole argument.[3][4] It can be used to prove Fermat's theorem on sums of two squares by taking m to be a prime p that is congruent to 1 modulo 4 and taking a to satisfy a2 + 1 = 0 mod p. (Such an "a" is guaranteed for "p" by Wilson's theorem.[5])

Uniqueness edit

In general, the solution whose existence is asserted by Thue's lemma is not unique. For example, when a = 1 there are usually several solutions (x, y) = (1, 1), (2, 2), (3, 3), ..., provided that X and Y are not too small. Therefore, one may only hope for uniqueness for the rational number x/y, to which a is congruent modulo m if y and m are coprime. Nevertheless, this rational number need not be unique; for example, if m = 5, a = 2 and X = Y = 3, one has the two solutions

 .

However, for X and Y small enough, if a solution exists, it is unique. More precisely, with above notation, if

 

and

 ,

with

 

and

 

then

 

This result is the basis for rational reconstruction, which allows using modular arithmetic for computing rational numbers for which one knows bounds for numerators and denominators.[6]

The proof is rather easy: by multiplying each congruence by the other yi and subtracting, one gets

 

The hypotheses imply that each term has an absolute value lower than XY < m/2, and thus that the absolute value of their difference is lower than m. This implies that  , hence the result.

Computing solutions edit

The original proof of Thue's lemma is not efficient, in the sense that it does not provide any fast method for computing the solution. The extended Euclidean algorithm, allows us to provide a proof that leads to an efficient algorithm that has the same computational complexity of the Euclidean algorithm.[7]

More precisely, given the two integers m and a appearing in Thue's lemma, the extended Euclidean algorithm computes three sequences of integers (ti), (xi) and (yi) such that

 

where the xi are non-negative and strictly decreasing. The desired solution is, up to the sign, the first pair (xi, yi) such that xi < X.

See also edit

References edit

  • Shoup, Victor (2005). A Computational Introduction to Number Theory and Algebra (PDF). Cambridge University Press. Retrieved 26 February 2016.
  1. ^ Shoup, theorem 2.33
  2. ^ Thue, A. (1902), "Et par antydninger til en taltheoretisk metode", Kra. Vidensk. Selsk. Forh., 7: 57–75
  3. ^ Clark, Pete L. "Thue's Lemma and Binary Forms". CiteSeerX 10.1.1.151.636. {{cite journal}}: Cite journal requires |journal= (help)
  4. ^ Löndahl, Carl (2011-03-22). "Lecture on sums of squares" (PDF). Retrieved 26 February 2016. {{cite journal}}: Cite journal requires |journal= (help)
  5. ^ Ore, Oystein (1948), Number Theory and its History, pp. 262–263
  6. ^ Shoup, section 4.6
  7. ^ Shoup, section 4.5

thue, lemma, this, article, about, modular, arithmetic, thue, theorem, diophantine, approximations, roth, theorem, discussion, modular, arithmetic, roughly, states, that, every, modular, integer, represented, modular, fraction, such, that, numerator, denominat. This article is about modular arithmetic For Thue s theorem on Diophantine approximations see Roth s theorem Discussion In modular arithmetic Thue s lemma roughly states that every modular integer may be represented by a modular fraction such that the numerator and the denominator have absolute values not greater than the square root of the modulus More precisely for every pair of integers a m with m gt 1 given two positive integers X and Y such that X m lt XY there are two integers x and y such that ay x modm displaystyle ay equiv x pmod m and x lt X 0 lt y lt Y displaystyle x lt X quad 0 lt y lt Y Usually one takes X and Y equal to the smallest integer greater than the square root of m but the general form is sometimes useful and makes the uniqueness theorem below easier to state 1 The first known proof is attributed to Axel Thue 1902 2 who used a pigeonhole argument 3 4 It can be used to prove Fermat s theorem on sums of two squares by taking m to be a prime p that is congruent to 1 modulo 4 and taking a to satisfy a2 1 0 mod p Such an a is guaranteed for p by Wilson s theorem 5 Contents 1 Uniqueness 2 Computing solutions 3 See also 4 ReferencesUniqueness editIn general the solution whose existence is asserted by Thue s lemma is not unique For example when a 1 there are usually several solutions x y 1 1 2 2 3 3 provided that X and Y are not too small Therefore one may only hope for uniqueness for the rational number x y to which a is congruent modulo m if y and m are coprime Nevertheless this rational number need not be unique for example if m 5 a 2 and X Y 3 one has the two solutions 2a 1 a 2 0 mod5 displaystyle 2a 1 equiv a 2 equiv 0 pmod 5 nbsp However for X and Y small enough if a solution exists it is unique More precisely with above notation if 2XY lt m displaystyle 2XY lt m nbsp and ay1 x1 ay2 x2 0 modm displaystyle ay 1 x 1 equiv ay 2 x 2 equiv 0 pmod m nbsp with x1 lt X y1 lt Y displaystyle left x 1 right lt X quad left y 1 right lt Y nbsp and x2 lt X y2 lt Y displaystyle left x 2 right lt X quad left y 2 right lt Y nbsp then x1y1 x2y2 displaystyle frac x 1 y 1 frac x 2 y 2 nbsp This result is the basis for rational reconstruction which allows using modular arithmetic for computing rational numbers for which one knows bounds for numerators and denominators 6 The proof is rather easy by multiplying each congruence by the other yi and subtracting one gets y2x1 y1x2 0 modm displaystyle y 2 x 1 y 1 x 2 equiv 0 pmod m nbsp The hypotheses imply that each term has an absolute value lower than XY lt m 2 and thus that the absolute value of their difference is lower than m This implies that y2x1 y1x2 0 displaystyle y 2 x 1 y 1 x 2 0 nbsp hence the result Computing solutions editThe original proof of Thue s lemma is not efficient in the sense that it does not provide any fast method for computing the solution The extended Euclidean algorithm allows us to provide a proof that leads to an efficient algorithm that has the same computational complexity of the Euclidean algorithm 7 More precisely given the two integers m and a appearing in Thue s lemma the extended Euclidean algorithm computes three sequences of integers ti xi and yi such that tim yia xifor i 0 1 displaystyle t i m y i a x i quad text for i 0 1 nbsp where the xi are non negative and strictly decreasing The desired solution is up to the sign the first pair xi yi such that xi lt X See also editPade approximant a similar theory for approximating Taylor series by rational functionsReferences editShoup Victor 2005 A Computational Introduction to Number Theory and Algebra PDF Cambridge University Press Retrieved 26 February 2016 Shoup theorem 2 33 Thue A 1902 Et par antydninger til en taltheoretisk metode Kra Vidensk Selsk Forh 7 57 75 Clark Pete L Thue s Lemma and Binary Forms CiteSeerX 10 1 1 151 636 a href Template Cite journal html title Template Cite journal cite journal a Cite journal requires journal help Londahl Carl 2011 03 22 Lecture on sums of squares PDF Retrieved 26 February 2016 a href Template Cite journal html title Template Cite journal cite journal a Cite journal requires journal help Ore Oystein 1948 Number Theory and its History pp 262 263 Shoup section 4 6 Shoup section 4 5 Retrieved from https en wikipedia org w index php title Thue 27s lemma amp oldid 1114438410, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.