Prove That the Product of Two Integers of the Form 4n 1 Is Again of the Form 4n 1
In condiment number theory, Fermat's theorem on sums of 2 squares states that an odd prime number p tin be expressed as:
with 10 and y integers, if and only if
The prime number numbers for which this is true are called Pythagorean primes. For instance, the primes five, 13, 17, 29, 37 and 41 are all congruent to ane modulo iv, and they tin can be expressed as sums of two squares in the following ways:
On the other manus, the primes iii, 7, 11, 19, 23 and 31 are all congruent to 3 modulo 4, and none of them tin can be expressed as the sum of two squares. This is the easier role of the theorem, and follows immediately from the ascertainment that all squares are congruent to 0 or 1 modulo 4.
Since the Diophantus identity implies that the product of two integers each of which tin can be written every bit the sum of two squares is itself expressible as the sum of two squares, past applying Fermat'due south theorem to the prime factorization of any positive integer n, we see that if all the prime factors of n coinciding to 3 modulo iv occur to an even exponent, then northward is expressible every bit a sum of ii squares. The antipodal also holds.[1] This generalization of Fermat's theorem is known as the sum of two squares theorem.
History [edit]
Albert Girard was the commencement to make the observation, describing all positive integer numbers (not necessarily primes) expressible as the sum of two squares of positive integers; this was published in 1625.[2] [3] The argument that every prime number p of the grade 4n+one is the sum of 2 squares is sometimes called Girard's theorem.[iv] For his part, Fermat wrote an elaborate version of the statement (in which he besides gave the number of possible expressions of the powers of p as a sum of two squares) in a letter of the alphabet to Marin Mersenne dated December 25, 1640: for this reason this version of the theorem is sometimes called Fermat'southward Christmas theorem.
Gaussian primes [edit]
Fermat's theorem on sums of 2 squares is strongly related with the theory of Gaussian primes.
A Gaussian integer is a circuitous number such that a and b are integers. The norm of a Gaussian integer is an integer equal to the foursquare of the absolute value of the Gaussian integer. The norm of a production of Gaussian integers is the product of their norm. This is Diophantus identity, which results immediately from the like property of the absolute value.
Gaussian integers form a main platonic domain. This implies that Gaussian primes tin be defined similarly as primes numbers, that is as those Gaussian integers that are not the product of two non-units (here the units are i, −ane, i and −i ).
The multiplicative belongings of the norm implies that a prime number p is either a Gaussian prime or the norm of a Gaussian prime. Fermat's theorem asserts that the first case occurs when and that the 2nd case occurs when and The final case is not considered in Fermat'south statement, but is lilliputian, as
[edit]
Above betoken of view on Fermat'south theorem is a special example of the theory of factorization of ideals in rings of quadratic integers. In summary, if is the ring of algebraic integers in the quadratic field, then an odd prime number p, not dividing d, is either a prime number element in or the ideal norm of an ideal of which is necessarily prime number. Moreover, the constabulary of quadratic reciprocity allows distinguishing the two cases in terms of congruences. If is a chief ideal domain, then p is an platonic norm if and merely
with a and b both integers.
In a letter to Blaise Pascal dated September 25, 1654 Fermat appear the post-obit two results that are essentially the special cases and If p is an odd prime, so
Fermat wrote also:
- If two primes which terminate in 3 or seven and surpass by 3 a multiple of iv are multiplied, then their product volition exist composed of a square and the quintuple of another square.
In other words, if p, q are of the form xxk + three or xxk + 7, then pq = x 2 + 5y 2 . Euler later extended this to the conjecture that
Both Fermat's assertion and Euler's conjecture were established by Joseph-Louis Lagrange. This more complicate formulation relies on the fact that is not a main ideal domain, contrarily to and
Algorithm [edit]
There is a niggling algorithm for decomposing a prime of the grade into a sum of two squares: For all north such , exam whether the square root of is an integer. If this the example, one has got the decomposition.
However the input size of the algorithm is the number of digits of p (upwardly to a constant factor that depends on the numeral base). The number of needed tests is of the order of and thus exponential in the input size. So the computational complexity of this algorithm is exponential.
An algorithm with a polynomial complication has been described by Stan Wagon in 1990, based on work by Serret and Hermite (1848), and Cornacchia (1908).[5]
Description [edit]
Given an odd prime number in the form , offset notice such that . This tin can be done by finding a Quadratic non-residue modulo , say , and letting .
Such an will satisfy the condition since quadratic not-residues satisfy .
Once is adamant, i can utilise the Euclidean algorithm with and . Announce the first two remainders that are less than the square root of as and . Then it will exist the case that .
Instance [edit]
Have . A possible quadratic non-rest for 97 is thirteen, since . so we let . The Euclidean algorithm applied to 97 and 22 yields:
The outset two remainders smaller than the foursquare root of 97 are 9 and 4; and indeed we take , as expected.
Proofs [edit]
Fermat usually did non write down proofs of his claims, and he did not provide a proof of this statement. The get-go proof was found by Euler later on much try and is based on infinite descent. He announced it in two letters to Goldbach, on May 6, 1747 and on April 12, 1749; he published the detailed proof in two articles (between 1752 and 1755).[half dozen] [7] 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 (fine art. 182). Dedekind gave at to the lowest degree two proofs based on the arithmetic of the Gaussian integers. In that location is an elegant proof using Minkowski's theorem most convex sets. Simplifying an before short proof due to Heath-Brown (who was inspired by Liouville's idea), Zagier presented a non-constructive one-sentence proof in 1990.[viii] And more than recently Christopher gave a sectionalisation-theoretic proof.[9]
Euler'due south proof past infinite descent [edit]
Euler succeeded in proving Fermat's theorem on sums of ii squares in 1749, when he was twoscore-two years old. He communicated this in a alphabetic character to Goldbach dated 12 April 1749.[ten] The proof relies on space descent, and is only briefly sketched in the alphabetic character. The full proof consists in five steps and is published in two papers. The first four steps are Propositions 1 to 4 of the offset paper[11] and practice non correspond exactly to the four steps below. The 5th stride beneath is from the second paper.[12] [13]
For the avoidance of ambiguity, zero volition always be a valid possible constituent of "sums of 2 squares", so for instance every square of an integer is trivially expressible equally the sum of ii squares by setting one of them to be null.
i. The product of two numbers, each of which is a sum of two squares, is itself a sum of two squares.
-
- This is a well-known property, based on the identity
- This is a well-known property, based on the identity
-
- due to Diophantus.
2. If a number which is a sum of two squares is divisible by a prime number which is a sum of two squares, and so the quotient is a sum of ii squares. (This is Euler's offset Proffer).
-
- Indeed, suppose for case that is divisible by and that this latter is a prime. And so divides
- Indeed, suppose for case that is divisible by and that this latter is a prime. And so divides
-
- Since is a prime, information technology divides one of the two factors. Suppose that it divides . Since
- Since is a prime, information technology divides one of the two factors. Suppose that it divides . Since
-
- (Diophantus's identity) it follows that must separate . And so the equation tin can exist divided by the square of . Dividing the expression by yields:
- (Diophantus's identity) it follows that must separate . And so the equation tin can exist divided by the square of . Dividing the expression by yields:
-
- and thus expresses the quotient as a sum of two squares, as claimed.
-
- On the other manus if divides , a like argument holds by using the following variant of Diophantus's identity:
- On the other manus if divides , a like argument holds by using the following variant of Diophantus's identity:
iii. If a number which can be written as a sum of two squares is divisible by a number which is non a sum of ii squares, and so the caliber has a factor which is not a sum of ii squares. (This is Euler's second Proffer).
-
- Suppose is a number not expressible as a sum of two squares, which divides . Write the quotient, factored into its (peradventure repeated) prime number factors, as so that . If all factors can be written as sums of two squares, and so we can divide successively by , , etc., and applying footstep (2.) in a higher place we deduce that each successive, smaller, caliber is a sum of two squares. If we get all the way down to so itself would accept to be equal to the sum of two squares, which is a contradiction. So at to the lowest degree 1 of the primes is non the sum of two squares.
4. If and are relatively prime positive integers so every gene of is a sum of two squares. (This is the stride that uses step (iii.) to produce an 'infinite descent' and was Euler's Proposition 4. The proof sketched beneath also includes the proof of his Proffer 3).
-
- Permit be relatively prime positive integers: without loss of generality is not itself prime, otherwise there is zippo to evidence. Let therefore exist a proper gene of , not necessarily prime: we wish to evidence that is a sum of two squares. Again, we lose nothing by bold since the case is obvious.
-
- Let be non-negative integers such that are the closest multiples of (in absolute value) to respectively. Notice that the differences and are integers of absolute value strictly less than : indeed, when is even, gcd ; otherwise since gcd , nosotros would also have gcd .
-
- Multiplying out nosotros obtain
- uniquely defining a non-negative integer . Since divides both ends of this equation sequence it follows that must also be divisible past : say . Let be the gcd of and which by the co-primeness of is relatively prime to . Thus divides , so writing , and , we obtain the expression for relatively prime number and , and with
, since
-
- Multiplying out nosotros obtain
-
- Now finally, the descent step: if is non the sum of two squares, then by step (three.) in that location must be a factor say of which is non the sum of two squares. But and so repeating these steps (initially with in place of , and so on advert infinitum) we shall be able to detect a strictly decreasing infinite sequence of positive integers which are non themselves the sums of two squares but which divide into a sum of two relatively prime squares. Since such an infinite descent is impossible, nosotros conclude that must exist expressible as a sum of two squares, as claimed.
5. Every prime number of the course is a sum of two squares. (This is the main result of Euler'south second paper).
-
- If , so by Fermat'south Little Theorem each of the numbers is congruent to one modulo . The differences are therefore all divisible by . Each of these differences can be factored every bit
- Since is prime, it must divide i of the 2 factors. If in any of the cases it divides the first cistron, then by the previous step we conclude that is itself a sum of 2 squares (since and differ by , they are relatively prime). So information technology is enough to show that cannot always divide the second cistron. If it divides all differences , then it would divide all differences of successive terms, all differences of the differences, and and so forth. Since the th differences of the sequence are all equal to (Finite departure), the thursday differences would all exist abiding and equal to , which is certainly not divisible by . Therefore, cannot dissever all the second factors which proves that is indeed the sum of two squares.
- If , so by Fermat'south Little Theorem each of the numbers is congruent to one modulo . The differences are therefore all divisible by . Each of these differences can be factored every bit
Lagrange'south proof through quadratic forms [edit]
Lagrange completed a proof in 1775[xiv] based on his general theory of integral quadratic forms. The following presentation incorporates a slight simplification of his argument, due to Gauss, which appears in article 182 of the Disquisitiones Arithmeticae.
An (integral binary) quadratic form is an expression of the form with integers. A number is said to be represented by the form if there exist integers such that . Fermat's theorem on sums of two squares is and so equivalent to the statement that a prime number is represented by the form (i.e., , ) exactly when is coinciding to modulo .
The discriminant of the quadratic course is defined to be . The discriminant of is so equal to .
Two forms and are equivalent if and only if there exist substitutions with integer coefficients
with such that, when substituted into the first course, yield the second. Equivalent forms are readily seen to accept the same discriminant, and hence also the same parity for the middle coefficient , which coincides with the parity of the discriminant. Moreover, information technology is clear that equivalent forms will represent exactly the aforementioned integers, because these kind of substitutions tin be reversed past substitutions of the aforementioned kind.
Lagrange proved that all positive definite forms of discriminant −4 are equivalent. Thus, to prove Fermat'south theorem information technology is plenty to find any positive definite form of discriminant −4 that represents . For example, 1 can utilise a form
where the kickoff coefficient a = was called so that the form represents by setting x = 1, and y = 0, the coefficient b = iim is an arbitrary even number (as information technology must be, to get an even discriminant), and finally is called so that the discriminant is equal to −4, which guarantees that the form is indeed equivalent to . Of course, the coefficient must be an integer, then the problem is reduced to finding some integer one thousand such that divides : or in other words, a 'square root of -one modulo ' .
We claim such a square root of is given by . Firstly it follows from Euclid'southward Fundamental Theorem of Arithmetic that . Consequently, : that is, are their ain inverses modulo and this property is unique to them. It then follows from the validity of Euclidean segmentation in the integers, and the fact that is prime, that for every the gcd of and may be expressed via the Euclidean algorithm yielding a unique and distinct inverse of modulo . In particular therefore the product of all non-zilch residues modulo is . Let : from what has merely been observed, . Simply by definition, since each term in may be paired with its negative in , , which since is odd shows that , every bit required.
Dedekind'southward 2 proofs using Gaussian integers [edit]
Richard Dedekind gave at least two proofs of Fermat's theorem on sums of two squares, both using the arithmetical properties of the Gaussian integers, which are numbers of the form a +bi, where a and b are integers, and i is the square root of −1. One appears in section 27 of his exposition of ideals published in 1877; the second appeared in Supplement 11 to Peter Gustav Lejeune Dirichlet's Vorlesungen über Zahlentheorie, and was published in 1894.
ane. Outset proof. If is an odd prime, so we have in the Gaussian integers. Consequently, writing a Gaussian integer ω =x +iy with 10,y ∈Z and applying the Frobenius automorphism in Z[i]/(p), one finds
since the automorphism fixes the elements of Z/(p). In the current case, for some integer n, and and then in the in a higher place expression for ωp, the exponent (p-1)/two of -1 is even. Hence the right mitt side equals ω, so in this case the Frobenius endomorphism of Z[i]/(p) is the identity.
Kummer had already established that if f ∈ {1,ii} is the order of the Frobenius automorphism of Z[i]/(p), then the ideal in Z[i] would be a product of two/f distinct prime ethics. (In fact, Kummer had established a much more full general result for any extension of Z obtained by adjoining a primitive m-thursday root of unity, where m was any positive integer; this is the instance m = 4 of that result.) Therefore, the ideal (p) is the product of two dissimilar prime ethics in Z[i]. Since the Gaussian integers are a Euclidean domain for the norm function , every ideal is principal and generated by a nonzero element of the ideal of minimal norm. Since the norm is multiplicative, the norm of a generator of 1 of the ideal factors of (p) must be a strict divisor of , so that we must have , which gives Fermat's theorem.
ii. 2d proof. This proof builds on Lagrange'southward result that if is a prime number, and then there must exist an integer thou such that is divisible by p (nosotros tin also run across this by Euler's criterion); information technology also uses the fact that the Gaussian integers are a unique factorization domain (because they are a Euclidean domain). Since p ∈ Z does not divide either of the Gaussian integers and (equally it does non divide their imaginary parts), merely it does divide their production , it follows that cannot be a prime element in the Gaussian integers. Nosotros must therefore take a nontrivial factorization of p in the Gaussian integers, which in view of the norm can have merely two factors (since the norm is multiplicative, and , in that location can only be up to two factors of p), and so it must exist of the form for some integers and . This immediately yields that .
Proof by Minkowski'southward Theorem [edit]
For congruent to modernistic a prime, is a quadratic residue modernistic past Euler's criterion. Therefore, in that location exists an integer such that divides . Let be the standard basis elements for the vector space and set and . Consider the lattice . If then . Thus divides for whatsoever .
The surface area of the fundamental parallelogram of the lattice is . The expanse of the open disk, , of radius centered around the origin is . Furthermore, is convex and symmetrical about the origin. Therefore, by Minkowski'due south theorem in that location exists a nonzero vector such that . Both and and then . Hence is the sum of the squares of the components of .
Zagier'due south "i-sentence proof" [edit]
Let exist prime, let denote the natural numbers (with or without zero), and consider the finite set of triples of numbers. Then has two involutions: an obvious ane whose stock-still points correspond to representations of as a sum of 2 squares, and a more than complicated one,
which has exactly one fixed point . Ii involutions over the same finite set up must accept sets of stock-still points with the same parity, and since the 2nd involution has an odd number of fixed points, then does the get-go. Zero is even, so the first involution has a nonzero number of fixed points, any one of which gives a representation of equally a sum of 2 squares.
This proof, due to Zagier, is a simplification of an earlier proof by Heath-Brownish, which in turn was inspired by a proof of Liouville. The technique of the proof is a combinatorial analogue of the topological principle that the Euler characteristics of a topological space with an involution and of its stock-still-point set accept the same parity and is reminiscent of the use of sign-reversing involutions in the proofs of combinatorial bijections.
This proof is equivalent to a geometric or "visual" proof using "windmill" figures, given by Alexander Spivak in 2006 and described in this MathOverflow mail service and this Mathologer YouTube video Why was this visual proof missed for 400 years? (Fermat'due south two foursquare theorem) on YouTube.
Proof with division theory [edit]
In 2016, A. David Christopher gave a segmentation-theoretic proof past considering partitions of the odd prime having exactly ii sizes , each occurring exactly times, and by showing that at least 1 such partition exists if is coinciding to one modulo 4.[15]
Run across as well [edit]
- Legendre'south iii-square theorem
- Lagrange's four-square theorem
- Landau–Ramanujan constant
- Thue'south lemma
References [edit]
- D. A. Cox (1989). Primes of the Form 102 + ny2 . Wiley-Interscience. ISBN0-471-50654-0. *Richard Dedekind, The theory of algebraic integers.
- L. East. Dickson. History of the Theory of Numbers Vol. 2. Chelsea Publishing Co., New York 1920
- Harold M. Edwards, Fermat'south Last Theorem. A genetic introduction to algebraic number theory. Graduate Texts in Mathematics no. 50, Springer-Verlag, NY, 1977.
- C. F. Gauss, Disquisitiones Arithmeticae (English Edition). Transl. past Arthur A. Clarke. Springer-Verlag, 1986.
- Goldman, Jay R. (1998), The Queen of Mathematics: A historically motivated guide to Number Theory , A K Peters, ISBN1-56881-006-vii
- D. R. Heath-Brown, Fermat's two squares theorem. Invariant, 11 (1984) pp. 3–5.
- John Stillwell, Introduction to Theory of Algebraic Integers by Richard Dedekind. Cambridge Mathematical Library, Cambridge University Press, 1996. ISBN 0-521-56518-9
- Don Zagier, A 1-sentence proof that every prime p ≡ 1 mod 4 is a sum of two squares. Amer. Math. Monthly 97 (1990), no. 2, 144, doi:10.2307/2323918
Notes [edit]
- ^ For a proof of the converse come across for instance 20.one, Theorems 367 and 368, in: G.H. Hardy and E.M. Wright. An introduction to the theory of numbers, Oxford 1938.
- ^ Simon Stevin. l'Arithmétique de Simon Stevin de Bruges, annotated past Albert Girard, Leyde 1625, p. 622.
- ^ 50. Eastward. Dickson, History of the Theory of Numbers, Vol. Ii, Ch. VI, p. 227. "A. Girard ... had already made a conclusion of the numbers expressible as a sum of two integral squares: every square, every prime 4n+i, a production formed of such numbers, and the double of the foregoing"
- ^ L. E. Dickson, History of the Theory of Numbers, Vol. II, Ch. Vi, p. 228.
- ^ Wagon, Stan (1990), "Editor'southward Corner: The Euclidean Algorithm Strikes Again", American Mathematical Monthly, 97 (2): 125, doi:10.2307/2323912, MR 1041889 .
- ^ De numerus qui sunt aggregata quorum quadratorum. (Novi commentarii academiae scientiarum Petropolitanae 4 (1752/3), 1758, 3-40)
- ^ Demonstratio theorematis FERMATIANI omnem numerum primum formae 4n+1 esse summam duorum quadratorum. (Novi commentarii academiae scientiarum Petropolitanae v (1754/5), 1760, 3-thirteen)
- ^ Zagier, D. (1990), "A one-sentence proof that every prime number p ≡ 1 (modern 4) is a sum of two squares", American Mathematical Monthly, 97 (2): 144, doi:10.2307/2323918, MR 1041893 .
- ^ A. David Christopher. "A partitioning-theoretic proof of Fermat's Two Squares Theorem", Detached Mathematics 339:4:1410–1411 (6 Apr 2016) doi:ten.1016/j.disc.2015.12.002
- ^ Euler à Goldbach, lettre CXXV
- ^ De numerus qui sunt aggregata duorum quadratorum. (Novi commentarii academiae scientiarum Petropolitanae iv (1752/3), 1758, iii-xl) [i]
- ^ Demonstratio theorematis FERMATIANI omnem numerum primum formae 4n+ane esse summam duorum quadratorum. (Novi commentarii academiae scientiarum Petropolitanae v (1754/5), 1760, three-thirteen) [ii]
- ^ The summary is based on Edwards book, pages 45-48.
- ^ Nouv. Mém. Acad. Berlin, année 1771, 125; ibid. année 1773, 275; ibid année 1775, 351.
- ^ A. David Christopher, A sectionalization-theoretic proof of Fermat's Two Squares Theorem", Discrete Mathematics, 339 (2016) 1410–1411.
External links [edit]
- Ii more proofs at PlanetMath.org
- "A one-sentence proof of the theorem". Archived from the original on 5 February 2012.
{{cite web}}: CS1 maint: unfit URL (link) - Fermat's 2 squares theorem, D. R. Heath-Chocolate-brown, 1984.
Source: https://en.wikipedia.org/wiki/Fermat%27s_theorem_on_sums_of_two_squares
0 Response to "Prove That the Product of Two Integers of the Form 4n 1 Is Again of the Form 4n 1"
Post a Comment