Fermat's theorem on sums of two squares

Fermat's theorem on sums of two squares

In number theory, Pierre de Fermat's theorem on sums of two squares states that an odd prime "p" is expressible as

:p = x^2 + y^2,,

with "x" and "y" integers, if and only if

:p equiv 1 pmod{4}.

The theorem is also known as Thue's Lemma, after Axel Thue.

For example, the primes 5, 13, 17, 29, 37 and 41 are all congruent to 1 modulo 4, and they can be expressed as sums of two squares in the following ways:

:5 = 1^2 + 2^2, quad 13 = 2^2 + 3^2, quad 17 = 1^2 + 4^2, quad 29 = 2^2 + 5^2, quad 37 = 1^2 + 6^2, quad 41 = 4^2 + 5^2.

On the other hand, the primes 3, 7, 11, 19, 23 and 31 are all congruent to 3 modulo 4, and none of them can be expressed as the sum of two squares.

According to Ivan M. Niven, Albert Girard was the first to make the observation and Fermat was first to claim a proof of it.Fermat announced this theorem in a letter to Marin Mersenne dated December 25, 1640; for this reason this theorem is sometimes called "Fermat's Christmas Theorem."

Since the Brahmagupta–Fibonacci identity implies that the product of two integers that can be written as the sum of two squares is itself expressible as the sum of two squares, this shows that any positive integer, all of whose odd prime factors congruent to 3 modulo 4 occur to an even exponent, is expressible as a sum of two squares. The converse also holds.

Proofs of Fermat's theorem on sums of two squares

Fermat usually did not prove his claims and he did not provide a proof of this statement. The first proof was found by Euler after much effort and is based on infinite descent. He announced it in a letter to Goldbach on April 12, 1749. Lagrange gave a proof in 1775 that was based on his study of quadratic forms. This proof was simplified by Gauss in his "Disquisitiones Arithmeticae" (art. 182). Dedekind gave at least two proofs based on the arithmetic of the Gaussian integers. There is an elegant proof using Minkowski's theorem about convex sets. Simplifying an earlier short proof due to Heath-Brown (who was inspired by Liouville's idea), Zagier presented a one-sentence proof of Fermat's assertion.

Related results

Fermat announced two related results fourteen years later. In a letter to Blaise Pascal dated September 25, 1654 he announced the following two results for odd primes p:

*p = x^2 + 2y^2 Leftrightarrow pequiv 1mbox{ or }pequiv 3pmod{8}.
*p= x^2 + 3y^2 Leftrightarrow pequiv 1 pmod{3}.

He also wrote:: "If two primes which end in 3 or 7 and surpass by 3 a multiple of 4 are multiplied, then their product will be composed of a square and the quintuple of another square."

In other words, if "p, q" are of the form 20"k" + 3 or 20"k" + 7, then "pq" = "x"2 + 5"y"2. Euler later extended this to the conjecture that
* p = x^2 + 5y^2 Leftrightarrow pequiv 1mbox{ or }pequiv 9pmod{20},
* 2p = x^2 + 5y^2 Leftrightarrow pequiv 3mbox{ or }pequiv 7pmod{20}.

Both Fermat's assertion and Euler's conjecture were established by Lagrange.

References

*Stillwell, John. Introduction to "Theory of Algebraic Integers" by Richard Dedekind. Cambridge University Library, Cambridge University Press 1996. ISBN 0-521-56518-9
*cite book | author = D. A. Cox | title = Primes of the Form "x"2+"ny"2| publisher = Wiley-Interscience | year = 1989 | id=ISBN 0-471-50654-0


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Proofs of Fermat's theorem on sums of two squares — Fermat s theorem on sums of two squares asserts that an odd prime number p can be expressed as: p = x^2 + y^2with integer x and y if and only if p is congruent to 1 (mod 4). The statement was announced by Fermat in 1640, but he supplied no proof …   Wikipedia

  • Fermat's theorem — The works of 17th century mathematician Pierre de Fermat engendered many theorems. Fermat s theorem most commonly refers to one of the following theorems: * Fermat s Last Theorem * Fermat s little theorem * Fermat s theorem on sums of two squares …   Wikipedia

  • Sum of two squares — In mathematics, sums of two squares occur in a number of contexts:* The Pythagorean theorem says that the square on the hypotenuse of a right triangle is equal in area to the sum of the squares on the legs * Brahmagupta–Fibonacci identity says… …   Wikipedia

  • Lagrange's four-square theorem — Lagrange s four square theorem, also known as Bachet s conjecture, was proven in 1770 by Joseph Louis Lagrange. An earlier proof by Fermat was never published.The theorem appears in the Arithmetica of Diophantus, translated into Latin by Bachet… …   Wikipedia

  • Prime number — Prime redirects here. For other uses, see Prime (disambiguation). A prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself. A natural number greater than 1 that is not a prime number is… …   Wikipedia

  • List of number theory topics — This is a list of number theory topics, by Wikipedia page. See also List of recreational number theory topics Topics in cryptography Contents 1 Factors 2 Fractions 3 Modular arithmetic …   Wikipedia

  • Pythagorean theorem — See also: Pythagorean trigonometric identity The Pythagorean theorem: The sum of the areas of the two squares on the legs (a and b) equals the area of the square on the hypotenuse (c) …   Wikipedia

  • Leonhard Euler — Infobox Scientist name = Leonhard Euler|box width = 300px |200px image width = 200px caption = Portrait by Johann Georg Brucker birth date = birth date|df=yes|1707|4|15 birth place = Basel, Switzerland death date = 18 September (O.S 7 September)… …   Wikipedia

  • List of mathematics articles (F) — NOTOC F F₄ F algebra F coalgebra F distribution F divergence Fσ set F space F test F theory F. and M. Riesz theorem F1 Score Faà di Bruno s formula Face (geometry) Face configuration Face diagonal Facet (mathematics) Facetting… …   Wikipedia

  • Contributions of Leonhard Euler to mathematics — The 18th century Swiss mathematician Leonhard Euler (1707–1783) is among the most prolific and successful mathematicians in the history of the field. His seminal work had a profound impact in numerous areas of mathematics and he is widely… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”