Prove That the Product of Two Integers of the Form 4n 1 Is Again of the Form 4n 1.
In additive number theory, Fermat's theorem on sums of two squares states that an odd prime p tin exist expressed equally:
with x and y integers, if and only if
The prime numbers for which this is true are chosen Pythagorean primes. For example, the primes five, 13, 17, 29, 37 and 41 are all congruent to one modulo 4, and they tin be expressed as sums of ii squares in the following means:
On the other hand, the primes three, 7, eleven, nineteen, 23 and 31 are all congruent to 3 modulo 4, and none of them tin be expressed as the sum of ii squares. This is the easier part of the theorem, and follows immediately from the ascertainment that all squares are coinciding to 0 or ane modulo 4.
Since the Diophantus identity implies that the product of two integers each of which can be written equally the sum of two squares is itself expressible every bit the sum of 2 squares, by applying Fermat'due south theorem to the prime number factorization of any positive integer north, nosotros see that if all the prime factors of n congruent to 3 modulo 4 occur to an even exponent, and so n is expressible equally a sum of 2 squares. The converse also holds.[one] This generalization of Fermat's theorem is known equally the sum of two squares theorem.
History [edit]
Albert Girard was the get-go to make the observation, describing all positive integer numbers (not necessarily primes) expressible equally the sum of two squares of positive integers; this was published in 1625.[2] [3] The statement that every prime p of the form 4n+1 is the sum of two squares is sometimes called Girard's theorem.[4] For his role, Fermat wrote an elaborate version of the statement (in which he also gave the number of possible expressions of the powers of p as a sum of ii squares) in a letter of the alphabet to Marin Mersenne dated Dec 25, 1640: for this reason this version of the theorem is sometimes chosen Fermat's Christmas theorem.
Gaussian primes [edit]
Fermat's theorem on sums of two 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 square 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 grade a primary ideal domain. This implies that Gaussian primes can be defined similarly every bit primes numbers, that is as those Gaussian integers that are not the product of 2 non-units (hither the units are 1, −1, 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 showtime instance occurs when and that the second instance occurs when and The last case is non considered in Fermat's argument, but is trivial, as
[edit]
In a higher place indicate of view on Fermat's theorem is a special case 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, and so an odd prime number p, not dividing d, is either a prime chemical element in or the ideal norm of an ideal of which is necessarily prime number. Moreover, the law of quadratic reciprocity allows distinguishing the two cases in terms of congruences. If is a chief ideal domain, then p is an ideal norm if and only
with a and b both integers.
In a letter to Blaise Pascal dated September 25, 1654 Fermat announced the post-obit two results that are essentially the special cases and If p is an odd prime number, and so
Fermat wrote also:
- If 2 primes which terminate in 3 or 7 and surpass by three a multiple of four 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 course 20k + 3 or 201000 + 7, then pq = 10 2 + vy two . Euler later extended this to the theorize that
Both Fermat's exclamation and Euler'southward conjecture were established by Joseph-Louis Lagrange. This more complicate conception relies on the fact that is non a master ideal domain, contrarily to and
Algorithm [edit]
There is a petty algorithm for decomposing a prime of the form into a sum of ii squares: For all due north such , exam whether the square root of is an integer. If this the case, one has got the decomposition.
However the input size of the algorithm is the number of digits of p (up to a constant gene that depends on the numeral base). The number of needed tests is of the order of and thus exponential in the input size. Then the computational complexity of this algorithm is exponential.
An algorithm with a polynomial complexity has been described past Stan Wagon in 1990, based on piece of work past Serret and Hermite (1848), and Cornacchia (1908).[five]
Description [edit]
Given an odd prime in the form , first find such that . This tin can be done by finding a Quadratic not-rest modulo , say , and letting .
Such an will satisfy the condition since quadratic non-residues satisfy .
Once is determined, one can use the Euclidean algorithm with and . Denote the commencement two remainders that are less than the square root of as and . So it will be the case that .
Example [edit]
Take . A possible quadratic non-residue for 97 is thirteen, since . and then we let . The Euclidean algorithm practical to 97 and 22 yields:
The first 2 remainders smaller than the square root of 97 are 9 and iv; and indeed nosotros have , every bit expected.
Proofs [edit]
Fermat usually did not write down proofs of his claims, and he did not provide a proof of this statement. The first proof was plant past Euler later on much endeavor and is based on infinite descent. He announced information technology in two messages to Goldbach, on May 6, 1747 and on Apr 12, 1749; he published the detailed proof in two manufactures (between 1752 and 1755).[6] [7] Lagrange gave a proof in 1775 that was based on his written report of quadratic forms. This proof was simplified by Gauss in his Disquisitiones Arithmeticae (fine art. 182). Dedekind gave at least two proofs based on the arithmetic of the Gaussian integers. In that location is an elegant proof using Minkowski'due south theorem nearly convex sets. Simplifying an earlier curt proof due to Heath-Brown (who was inspired by Liouville's idea), Zagier presented a non-constructive one-sentence proof in 1990.[8] And more recently Christopher gave a partition-theoretic proof.[9]
Euler's proof by infinite descent [edit]
Euler succeeded in proving Fermat's theorem on sums of two squares in 1749, when he was forty-2 years quondam. He communicated this in a letter of the alphabet to Goldbach dated 12 April 1749.[10] The proof relies on infinite descent, and is simply briefly sketched in the letter. The total proof consists in 5 steps and is published in two papers. The beginning four steps are Propositions 1 to iv of the first paper[11] and do non represent exactly to the four steps below. The fifth step below is from the 2nd paper.[12] [thirteen]
For the avoidance of ambiguity, zero will always be a valid possible constituent of "sums of two squares", then for example every square of an integer is trivially expressible as the sum of two squares by setting one of them to exist zero.
1. The product of two numbers, each of which is a sum of ii squares, is itself a sum of two squares.
-
- This is a well-known belongings, based on the identity
- This is a well-known belongings, based on the identity
-
- due to Diophantus.
2. If a number which is a sum of two squares is divisible past a prime which is a sum of ii squares, then the caliber is a sum of ii squares. (This is Euler'southward first Proposition).
-
- Indeed, suppose for example that is divisible by and that this latter is a prime. Then divides
- Indeed, suppose for example that is divisible by and that this latter is a prime. Then divides
-
- Since is a prime number, information technology divides one of the two factors. Suppose that it divides . Since
- Since is a prime number, information technology divides one of the two factors. Suppose that it divides . Since
-
- (Diophantus's identity) it follows that must divide . So the equation can exist divided by the square of . Dividing the expression by yields:
- (Diophantus's identity) it follows that must divide . So the equation 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 hand if divides , a similar argument holds past using the following variant of Diophantus's identity:
- On the other hand if divides , a similar argument holds past using the following variant of Diophantus's identity:
3. If a number which can be written as a sum of two squares is divisible by a number which is not a sum of ii squares, then the quotient has a factor which is not a sum of ii squares. (This is Euler's second Proffer).
-
- Suppose is a number non expressible equally a sum of two squares, which divides . Write the caliber, factored into its (mayhap repeated) prime number factors, every bit then that . If all factors tin exist written as sums of two squares, then we can carve up successively by , , etc., and applying step (2.) higher up we deduce that each successive, smaller, caliber is a sum of two squares. If we get all the style downwards to and so itself would have to be equal to the sum of two squares, which is a contradiction. So at to the lowest degree one of the primes is not the sum of ii squares.
4. If and are relatively prime positive integers and so every gene of is a sum of two squares. (This is the step that uses pace (3.) to produce an 'space descent' and was Euler'south Proposition 4. The proof sketched beneath likewise includes the proof of his Proposition iii).
-
- Permit be relatively prime positive integers: without loss of generality is not itself prime, otherwise there is nothing to prove. Permit therefore be a proper factor of , not necessarily prime: we wish to testify that is a sum of two squares. Once more, we lose nothing past assuming since the example 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 accented value strictly less than : indeed, when is even, gcd ; otherwise since gcd , we 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 as well be divisible by : say . Let be the gcd of and which by the co-primeness of is relatively prime to . Thus divides , so writing , and , nosotros obtain the expression for relatively prime and , and with , since
- Multiplying out nosotros obtain
-
- At present finally, the descent step: if is not the sum of 2 squares, and then by stride (3.) there must exist a cistron say of which is not the sum of two squares. Merely and so repeating these steps (initially with in identify of , and so on ad infinitum) nosotros shall be able to observe a strictly decreasing infinite sequence of positive integers which are not themselves the sums of two squares simply which carve up into a sum of 2 relatively prime squares. Since such an infinite descent is impossible, we conclude that must be expressible as a sum of two squares, as claimed.
v. Every prime of the course is a sum of two squares. (This is the master result of Euler's second paper).
-
- If , then 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 as
- Since is prime, information technology must carve up one of the two factors. If in any of the cases it divides the first factor, and so by the previous pace we conclude that is itself a sum of ii squares (since and differ past , they are relatively prime). So information technology is enough to show that cannot e'er carve up the second gene. If information technology divides all differences , then it would dissever all differences of successive terms, all differences of the differences, and and then forth. Since the th differences of the sequence are all equal to (Finite deviation), the th differences would all be constant and equal to , which is certainly not divisible past . Therefore, cannot split up all the 2nd factors which proves that is indeed the sum of two squares.
- If , then 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 as
Lagrange's proof through quadratic forms [edit]
Lagrange completed a proof in 1775[fourteen] 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 course if there exist integers such that . Fermat's theorem on sums of two squares is then equivalent to the argument that a prime is represented past the form (i.east., , ) exactly when is congruent to modulo .
The discriminant of the quadratic class is defined to be . The discriminant of is then equal to .
Two forms and are equivalent if and only if there be substitutions with integer coefficients
with such that, when substituted into the showtime course, yield the second. Equivalent forms are readily seen to take the same discriminant, and hence besides the same parity for the middle coefficient , which coincides with the parity of the discriminant. Moreover, it is clear that equivalent forms will stand for exactly the same integers, considering these kind of substitutions tin can be reversed by substitutions of the same kind.
Lagrange proved that all positive definite forms of discriminant −iv are equivalent. Thus, to evidence Fermat's theorem it is enough to find whatever positive definite class of discriminant −4 that represents . For example, one can use a form
where the commencement coefficient a = was called so that the form represents by setting x = 1, and y = 0, the coefficient b = 21000 is an arbitrary even number (as it must be, to go an even discriminant), and finally is chosen 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, so the trouble is reduced to finding some integer 1000 such that divides : or in other words, a 'square root of -1 modulo ' .
Nosotros claim such a foursquare root of is given by . Firstly it follows from Euclid'south Fundamental Theorem of Arithmetic that . Consequently, : that is, are their own inverses modulo and this belongings is unique to them. It then follows from the validity of Euclidean division in the integers, and the fact that is prime number, that for every the gcd of and may be expressed via the Euclidean algorithm yielding a unique and distinct changed of modulo . In item therefore the product of all non-zero residues modulo is . Let : from what has just been observed, . But by definition, since each term in may be paired with its negative in , , which since is odd shows that , as required.
Dedekind's two proofs using Gaussian integers [edit]
Richard Dedekind gave at to the lowest degree 2 proofs of Fermat'southward theorem on sums of two squares, both using the arithmetical properties of the Gaussian integers, which are numbers of the class a +bi, where a and b are integers, and i is the square root of −1. One appears in department 27 of his exposition of ideals published in 1877; the 2nd appeared in Supplement Eleven to Peter Gustav Lejeune Dirichlet's Vorlesungen über Zahlentheorie, and was published in 1894.
1. Start proof. If is an odd prime, then we have in the Gaussian integers. Consequently, writing a Gaussian integer ω =x +iy with x,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 northward, and so in the above expression for ωp, the exponent (p-1)/ii of -ane is fifty-fifty. Hence the right hand side equals ω, then in this case the Frobenius endomorphism of Z[i]/(p) is the identity.
Kummer had already established that if f ∈ {1,two} is the order of the Frobenius automorphism of Z[i]/(p), and then the ideal in Z[i] would be a product of 2/f distinct prime ideals. (In fact, Kummer had established a much more general effect for any extension of Z obtained by adjoining a primitive m-th root of unity, where k was whatever positive integer; this is the instance k = 4 of that effect.) Therefore, the ideal (p) is the product of two different prime ideals in Z[i]. Since the Gaussian integers are a Euclidean domain for the norm function , every platonic is primary and generated by a nonzero element of the ideal of minimal norm. Since the norm is multiplicative, the norm of a generator of one of the platonic factors of (p) must be a strict divisor of , and so that we must have , which gives Fermat's theorem.
two. Second proof. This proof builds on Lagrange's result that if is a prime number, and then there must exist an integer m such that is divisible by p (nosotros can also see this past Euler's criterion); it also uses the fact that the Gaussian integers are a unique factorization domain (considering they are a Euclidean domain). Since p ∈ Z does not divide either of the Gaussian integers and (as it does not divide their imaginary parts), just it does separate their product , it follows that cannot be a prime number chemical element in the Gaussian integers. We must therefore have a nontrivial factorization of p in the Gaussian integers, which in view of the norm can take only two factors (since the norm is multiplicative, and , in that location tin can only exist upwardly to two factors of p), then it must exist of the form for some integers and . This immediately yields that .
Proof by Minkowski'due south Theorem [edit]
For congruent to modern a prime, is a quadratic balance mod by Euler's criterion. Therefore, there exists an integer such that divides . Let be the standard basis elements for the vector infinite and prepare and . Consider the lattice . If then . Thus divides for whatsoever .
The area of the central parallelogram of the lattice is . The expanse of the open disk, , of radius centered around the origin is . Furthermore, is convex and symmetrical almost the origin. Therefore, by Minkowski's theorem there exists a nonzero vector such that . Both and so . Hence is the sum of the squares of the components of .
Zagier's "one-judgement proof" [edit]
Let exist prime, let announce the natural numbers (with or without zero), and consider the finite ready of triples of numbers. Then has two involutions: an obvious i whose fixed points stand for to representations of as a sum of two squares, and a more complicated one,
which has exactly one fixed signal . Ii involutions over the aforementioned finite gear up must have sets of fixed points with the same parity, and since the second involution has an odd number of fixed points, then does the first. Nada is even, then the first involution has a nonzero number of fixed points, any 1 of which gives a representation of equally a sum of ii squares.
This proof, due to Zagier, is a simplification of an before proof by Heath-Brown, which in turn was inspired by a proof of Liouville. The technique of the proof is a combinatorial counterpart of the topological principle that the Euler characteristics of a topological infinite with an involution and of its stock-still-point ready take 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 postal service and this Mathologer YouTube video Why was this visual proof missed for 400 years? (Fermat'southward two square theorem) on YouTube.
Proof with segmentation theory [edit]
In 2016, A. David Christopher gave a partition-theoretic proof past because partitions of the odd prime having exactly two sizes , each occurring exactly times, and by showing that at least ane such partition exists if is coinciding to 1 modulo four.[15]
Run across as well [edit]
- Legendre'due south 3-square theorem
- Lagrange's four-square theorem
- Landau–Ramanujan constant
- Thue's lemma
References [edit]
- D. A. Cox (1989). Primes of the Course x2 + ny2 . Wiley-Interscience. ISBN0-471-50654-0. *Richard Dedekind, The theory of algebraic integers.
- L. E. Dickson. History of the Theory of Numbers Vol. two. Chelsea Publishing Co., New York 1920
- Harold Thou. Edwards, Fermat's Terminal Theorem. A genetic introduction to algebraic number theory. Graduate Texts in Mathematics no. fifty, Springer-Verlag, NY, 1977.
- C. F. Gauss, Disquisitiones Arithmeticae (English Edition). Transl. by Arthur A. Clarke. Springer-Verlag, 1986.
- Goldman, Jay R. (1998), The Queen of Mathematics: A historically motivated guide to Number Theory , A K Peters, ISBNane-56881-006-7
- D. R. Heath-Chocolate-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 Academy Printing, 1996. ISBN 0-521-56518-9
- Don Zagier, A one-sentence proof that every prime number p ≡ 1 mod four is a sum of two squares. Amer. Math. Monthly 97 (1990), no. ii, 144, doi:10.2307/2323918
Notes [edit]
- ^ For a proof of the converse see for case 20.1, Theorems 367 and 368, in: Grand.H. Hardy and E.Chiliad. 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.
- ^ L. Eastward. Dickson, History of the Theory of Numbers, Vol. II, Ch. VI, p. 227. "A. Girard ... had already made a decision of the numbers expressible as a sum of two integral squares: every square, every prime number 4n+ane, a product formed of such numbers, and the double of the foregoing"
- ^ 50. E. Dickson, History of the Theory of Numbers, Vol. II, Ch. Six, p. 228.
- ^ Wagon, Stan (1990), "Editor's 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 five (1754/5), 1760, 3-xiii)
- ^ Zagier, D. (1990), "A one-sentence proof that every prime number p ≡ 1 (mod 4) is a sum of ii squares", American Mathematical Monthly, 97 (2): 144, doi:10.2307/2323918, MR 1041893 .
- ^ A. David Christopher. "A partitioning-theoretic proof of Fermat'due south Two Squares Theorem", Discrete Mathematics 339:iv:1410–1411 (6 April 2016) doi:10.1016/j.disc.2015.12.002
- ^ Euler à Goldbach, lettre CXXV
- ^ De numerus qui sunt aggregata duorum quadratorum. (Novi commentarii academiae scientiarum Petropolitanae 4 (1752/three), 1758, three-twoscore) [ane]
- ^ Demonstratio theorematis FERMATIANI omnem numerum primum formae 4n+1 esse summam duorum quadratorum. (Novi commentarii academiae scientiarum Petropolitanae 5 (1754/5), 1760, iii-13) [two]
- ^ 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 partition-theoretic proof of Fermat's 2 Squares Theorem", Discrete Mathematics, 339 (2016) 1410–1411.
External links [edit]
- Two more proofs at PlanetMath.org
- "A ane-judgement proof of the theorem". Archived from the original on five February 2012.
{{cite web}}
: CS1 maint: unfit URL (link) - Fermat's two squares theorem, D. R. Heath-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