Im currently trying to figure out the genesis of quadratic reprocity by using Cox and Lemmermeyers books. I also got a copy of some works of Fermat but it is in German. It seems like there is some connection with basic geometry but I can really figure it out.

I made one oberservation and that was that if $p=x^{2}+y^{2}$ and since $$(a^{2}+b^{2})(c^{2}+d^{2})=(ac \pm bd)^{2}+(ad \pm bc)^{2}$$ then we can decompose the hypotenuse of the Pythagorean theorem using fundamental theoreom of arithmetic. This only applies to right-angled triangles and Fermat seams to deal with ellipses. My own answer if it is even valid is therefore not satisfactory.

  • 2
    $\begingroup$ "p is sum of sqaures and products of sums of squares are sums of squares" :S $\endgroup$ – Alex Silva Dec 22 '14 at 11:18
  • $\begingroup$ @AlexSilva Im sorry how ahout now? $\endgroup$ – user1 Dec 22 '14 at 11:28
  • $\begingroup$ @Johan, Could you write some equations for better understanding? $\endgroup$ – Alex Silva Dec 22 '14 at 11:40
  • $\begingroup$ @AlexSilva done $\endgroup$ – user1 Dec 23 '14 at 23:41
  • $\begingroup$ Look up minkowski's theorem which can be applied to some quadratic forms. Also there is a neat geometric proof of quadratic reciprocity using lattice points. $\endgroup$ – Sandeep Silwal Dec 25 '14 at 21:00

The question in the title is very interesting, but you may want to consider focusing your text a little. You seem to be asking three questions at the same time, not clearly delineated.

  1. The question in the title: why did Fermat care about representing primes by these quadratic forms?
  2. What are the origins of quadratic reciprocity?
  3. I do not understand the third question, but I am guessing something like a factorization for $x^2+ny^2$ similar to the one you provide in your post (you are looking for Brahmagupta's identity).

The first two questions, and most likely the third one as well, are answered in A. Weil's book Number Theory: an Approach Through History. More specifically, Sections V through VIII of Fermat's chapter describe Fermat's (and others') attempts to extend Fermat's result on sums of squares to more general forms $x^2+ny^2$ in an attempt to find large prime numbers and more conceptually to understand some confusing passages in Diophantus' Arithmetica (which forms the inspiration for most of Fermat's work in the first place). Some transformations Diophantus takes for granted turn out to hinge on properties of quadratic forms of the form $x^2+2y^2$ and $x^2+43y^2$.

Fermat's observation that the expressibility of a prime as a sum of squares only depends on congruence properties of the prime led him to ask the corresponding question for other forms (remember: during his study of Arithmetica and in connection to finding large primes): does the candidate expression $p=x^2+2y^2$ depend only on a congruence $p$ has to satisfy? More generally, does $p=x^2+ny^2$ depend only on a congruence related to $n$? This question, although harder than the reciprocity law, formed one of the (many!) seeds for the formulation of quadratic reciprocity. But it was not Fermat who made these connections (Fermat did not study the general form $x^2+ny^2$), it was Euler. In Euler's chapter of Weil's book, sections VIII and further, describe Euler's meticulous analysis of these quadratic forms, his encounter with what we call Dirichlet characters today and after a very long time, a formulation of the quadratic reciprocity law (along with Legendre's). In particular, you should read very carefully Legendre's chapter, because this is where all the threads concerning quadratic reciprocity come together in Weil's book.

Weil's book is well written, contains a wealth of historical data from which I merely (and perhaps somewhat inaccurately) sampled for the answer, and I suggest you read it carefully to answer your questions in full detail.

  • $\begingroup$ I look in Weil's book when I get back to the library. Also my question is not on reciprocity. More like pre-reciprocity $\endgroup$ – user1 Dec 30 '14 at 13:14
  • $\begingroup$ @Johan I do not understand what pre-reciprocity means. You asked for the motivation and foundations (genesis) of quadratic reciprocity. It is all in Weil's book, starting from the Babylonians, passing through the Greeks and ending with the formulation of reciprocity by Euler and Lagrange. $\endgroup$ – guest Dec 30 '14 at 21:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.