Zolotarev's Lemma and Quadratic Reciprocity












4












$begingroup$


The law of quadratic reciprocity is unquestionably one of the most famous results of mathematics. Carl Gauss, often called the "Prince of Mathematicians", referred to it as "The Golden Theorem". He published six proofs of it in his lifetime. To date over 200 proofs of this result have been found. The single most frustrating thing about this theorem is that there are no easy proofs of it, at least when measured relative to the simplicity of the statement and the mathematics it involves. For someone like myself, who prides themselves on being able to find very slick proofs, it can drive you insane. As an undergraduate, when confronted with the lattice-point proof in an introductory number theory class, I refused to learn it. I thought to myself there's no way I need to go through all that just to prove something so simple. There must be an easier way. Zolotarev's Proof of the law has been to date the simplest, and quite frankly most elegant, proof that I can find. The crucial step involves equating the value of the Legendre symbol with the signature of the permutation on $mathbb{Z}_q$ induced by left multiplication. It can take a little bit longer going through it the first time, but winds up being one of those proofs you can just remember without needing to re-reference it. I had a difficult time finding the result from a single source, at least in a satisfactory form, and had to compile different results from different sources. I thought others might similarly struggle, and so I've typed it below as a resource for them.










share|cite|improve this question











$endgroup$

















    4












    $begingroup$


    The law of quadratic reciprocity is unquestionably one of the most famous results of mathematics. Carl Gauss, often called the "Prince of Mathematicians", referred to it as "The Golden Theorem". He published six proofs of it in his lifetime. To date over 200 proofs of this result have been found. The single most frustrating thing about this theorem is that there are no easy proofs of it, at least when measured relative to the simplicity of the statement and the mathematics it involves. For someone like myself, who prides themselves on being able to find very slick proofs, it can drive you insane. As an undergraduate, when confronted with the lattice-point proof in an introductory number theory class, I refused to learn it. I thought to myself there's no way I need to go through all that just to prove something so simple. There must be an easier way. Zolotarev's Proof of the law has been to date the simplest, and quite frankly most elegant, proof that I can find. The crucial step involves equating the value of the Legendre symbol with the signature of the permutation on $mathbb{Z}_q$ induced by left multiplication. It can take a little bit longer going through it the first time, but winds up being one of those proofs you can just remember without needing to re-reference it. I had a difficult time finding the result from a single source, at least in a satisfactory form, and had to compile different results from different sources. I thought others might similarly struggle, and so I've typed it below as a resource for them.










    share|cite|improve this question











    $endgroup$















      4












      4








      4


      2



      $begingroup$


      The law of quadratic reciprocity is unquestionably one of the most famous results of mathematics. Carl Gauss, often called the "Prince of Mathematicians", referred to it as "The Golden Theorem". He published six proofs of it in his lifetime. To date over 200 proofs of this result have been found. The single most frustrating thing about this theorem is that there are no easy proofs of it, at least when measured relative to the simplicity of the statement and the mathematics it involves. For someone like myself, who prides themselves on being able to find very slick proofs, it can drive you insane. As an undergraduate, when confronted with the lattice-point proof in an introductory number theory class, I refused to learn it. I thought to myself there's no way I need to go through all that just to prove something so simple. There must be an easier way. Zolotarev's Proof of the law has been to date the simplest, and quite frankly most elegant, proof that I can find. The crucial step involves equating the value of the Legendre symbol with the signature of the permutation on $mathbb{Z}_q$ induced by left multiplication. It can take a little bit longer going through it the first time, but winds up being one of those proofs you can just remember without needing to re-reference it. I had a difficult time finding the result from a single source, at least in a satisfactory form, and had to compile different results from different sources. I thought others might similarly struggle, and so I've typed it below as a resource for them.










      share|cite|improve this question











      $endgroup$




      The law of quadratic reciprocity is unquestionably one of the most famous results of mathematics. Carl Gauss, often called the "Prince of Mathematicians", referred to it as "The Golden Theorem". He published six proofs of it in his lifetime. To date over 200 proofs of this result have been found. The single most frustrating thing about this theorem is that there are no easy proofs of it, at least when measured relative to the simplicity of the statement and the mathematics it involves. For someone like myself, who prides themselves on being able to find very slick proofs, it can drive you insane. As an undergraduate, when confronted with the lattice-point proof in an introductory number theory class, I refused to learn it. I thought to myself there's no way I need to go through all that just to prove something so simple. There must be an easier way. Zolotarev's Proof of the law has been to date the simplest, and quite frankly most elegant, proof that I can find. The crucial step involves equating the value of the Legendre symbol with the signature of the permutation on $mathbb{Z}_q$ induced by left multiplication. It can take a little bit longer going through it the first time, but winds up being one of those proofs you can just remember without needing to re-reference it. I had a difficult time finding the result from a single source, at least in a satisfactory form, and had to compile different results from different sources. I thought others might similarly struggle, and so I've typed it below as a resource for them.







      number-theory quadratic-reciprocity






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 20 '17 at 16:29







      David Reed

















      asked Nov 20 '17 at 14:12









      David ReedDavid Reed

      2,2991422




      2,2991422






















          1 Answer
          1






          active

          oldest

          votes


















          6












          $begingroup$

          Zolotarev's Lemma relates the value of the Legendre symbol to the signature of a permutation of $mathbb{Z}_p$ It is stated and proved below, along with its use in what is considered to be a very elegant proof of the quadratic reciprocity law.



          Zolotarev's Lemma: Let $p$ be an odd prime, $a in mathbb{Z}_p^times $, and $tau_a : mathbb{Z_p} to mathbb{Z_p}$ be the permutation of $mathbb{Z_p}$ given by $tau_a(x):= ax, ,$ then



          $$binom{a}{p} = text{sgn}(tau_a) $$



          Proof:



          We determine the signature based on the parity of the cycle structure. Note
          that the signature of a k-cycle is $(-1)^{k-1}$. Let $m = |a|$ in $mathbb{Z}_p^times$. Since $0$ is a singleton orbit (i.e. fixed point) of $tau_a$, and therefore has no effect on its signature, it suffices to proof this for the restriction of $tau_a$ to $mathbb{Z}_p^times$, as the signature will be the same for both. Each cycle has the form $(x,ax,a^2x,a^3x,dots ,a^{m-1}x)$. Thus
          the cycle structure consists of $(p-1)/m $ $ m$-cycles, and its signature is therefore given by:



          $ \ $



          $$
          text{sgn}(tau_a)= left((-1)^{m-1}right)^{p-1 over m} =
          begin{cases}
          (-1)^{frac{p-1}{m}} & mathrm{if} m text{ is even} \
          \
          1 & text{if } m text{ is odd}
          end{cases}
          $$



          $ \ $



          Recall that $x^2 = 1 ; (text{mod }p) implies x = pm 1 ; (text{mod }p)$, and thus $a^{m/2} = -1 :$ as $ frac{m}{2} < m = |a| $.
          If $m$ is even we have $$ a^{frac{p-1}{2}} = left(a^{frac{m}{2}}right)^{frac{p-1}{m}} = (-1)^{frac{p-1}{m}} = text{sgn}(tau_a)$$



          $ \ $



          If $m$ is odd, then $(2,m) = 1 text{ and } 2,m ,big| , p!-!1 implies 2m , big| , p!-!1 $ and we have:



          $$a^{frac{p-1}{2}} = left(a^m right)^frac{p-1}{2m} = 1^{frac{p-1}{2m}} = 1 = text{sgn}(tau_a)$$



          $ \ $



          Euler's criterion then finishes the argument.



          $ \ $



          Corollary: If p and q are odd primes, $a in mathbb{Z}_q$, and $b in mathbb{Z}_p $ then $binom{p}{q}$ and $binom{q}{p}$ are equal to the signatures of the permutations $x mapsto qx + b $ and $x mapsto a + px$ respectively.



          $ \ $



          Proof



          The argument is symmetric. We shall prove it for $binom{p}{q}$. Let $ a in mathbb{Z}_q$ and define the permutation $sigma: mathbb{Z}_q to mathbb{Z}_q$ by $sigma(x):= a + x$. If $ a = 0$, then $sigma = Id$ and $text{sgn}(sigma) = 1$. Otherwise, the permutation consists of a single p-cycle, $(x,a+x,2a+x,dots,(q-1)a+x)$ and thus sgn$(sigma) = 1$ also. Letting $tau_p$ be as defined above, the permutation $x to a+px$ is equal to the composition $sigma tau_p$ and thus by Zolotarev's Lemma its signature is $text{sgn}(sigma tau_p) = text{sgn}(sigma)text{sgn}(tau_p) = text{sgn}(tau_p) = binom{p}{q}$.



          $ \ $



          The Law of Quadratic Reciprocity: If $p$ and $q$ are odd primes then
          $$binom{p}{q} binom{q}{p} = (-1)^{frac{p-1}{2} frac{q-1}{2}}$$



          Proof



          Let $tau: mathbb{Z}_{pq} to mathbb{Z}_p times mathbb{Z}_q text{ and }
          lambda,alpha : mathbb{Z}_p times mathbb{Z}_q to mathbb{Z}_p times mathbb{Z}_q$
          be permutations defined as follows:



          $$
          begin{align}
          tau(x):=& (x,x) \
          lambda(a,b):=& left(a,a!+!p{}bright) \
          alpha(a,b):=& left(q{}a!+!b,bright)
          end{align}
          $$



          Now define the permutation $varphi: mathbb{Z}_{pq} to mathbb{Z}_{pq}$
          by the rule $varphi(a+pb):= qa+b$. This function is well-defined by the Division Algorithm, provided we view it as being defined only on the residues. It is routine to extend this argument to account for the congruence classes in general.



          Note that $varphi = tau^{-1} circ alpha lambda^{-1}! circ tau$ and thus $text{sgn}(varphi) = text{sgn}(alpha)text{sgn}(lambda)$



          We count the signature of $varphi$ in two ways - by its cycle parity and then by its inversions. Looking at $lambda$'s cycle structure, we note that for each $a in mathbb{Z_p}$ the restriction of $lambda$ to ${a} times mathbb{Z}_q$ is still a permutation, and its cycle structure is identical to the cycle structure of the permutation $b mapsto a+pb$ it induces in its second coordinate. In particular the restriction of $lambda$ to ${a} times mathbb{Z}_q$ has a signature equal to $binom{p}{q}$. We can then extend this function to the rest of $mathbb{Z}_p times mathbb{Z}_q$ by making it the identity, and we can then view $lambda$ as the p-fold composition of these permutations, and thus $text{sgn}(lambda) = binom{p}{q}^p = binom{p}{q}$. It is best to see this via an example.Similarly, $text{sgn}(alpha) = binom{q}{p}$ and thus $$text{sgn}(varphi) = binom{p}{q}binom{q}{p}$$



          We now count the inversions. Note that $$a_1 + p{}b_1 < a_2 +p{}b_2 text{ and }q{}a_2+b_2 < q{}a_1+b_1 implies a_1 - a_2 < p(b_2 - b_1) < p{}q(a_1 - a_2)$$



          Since $a_1 - a_2$ gets larger when multiplied by the positive integer $pq$ we must have that $a_1 - a_2 > 0$ which then forces $b_2 - b_1 > 0$. It can also be seen that this is a sufficient condition for an inversion as well. Thus the pair $left(a_1 + pb_1,a_2+pb_2 right)$ represents an inversion under $varphi$ if and only if $a_1 > a_2 text{ and } b_2 > b_1$. Since given any pair of distinct integers one is necessarily larger than the other, any pair of doubles $(a_1,a_2),(b_1,b_2)$ corresponds to a unique inversion,provided we don't distinguish between $(a_1,a_2) text{ and } (a_2,a_1)$ (and similarly for the $b_i$).The number of inversions is therefore
          $$binom{p}{2}binom{q}{2} = frac{p-1}{2}frac{q-1}{2} ,(text{mod }2)$$



          Equating the two values for $text{sgn}(varphi)$ gives us our result.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            very nice, thank you.
            $endgroup$
            – Jack D'Aurizio
            Nov 20 '17 at 16:47










          • $begingroup$
            I fail to see why $phi = tau^{-1} circ alphalambda^{-1} circ tau$. Could you please explain. Tried calculating $tau^{-1} circ alphalambda^{-1} circ tau (a+pb)$ to see if it equals $qa+b$, but i am getting nowhere.
            $endgroup$
            – crskhr
            Dec 4 '18 at 8:35












          • $begingroup$
            @crskhr Sure. Note that $ a + pb = a mod p$. So we have $tau^{-1} circ alpha lambda^{-1} circ tau(a+pb) = tau^{-1} circ alpha lambda^{-1}(a+pb,a+pb) = tau^{-1} circ alpha lambda^{-1}(a,a+pb) = tau^{-1} circ alpha(a,b) = tau^{-1}(qa+b,b) = tau^{-1}(qa+b,qa+b) = qa+b$
            $endgroup$
            – David Reed
            Dec 4 '18 at 23:57












          • $begingroup$
            @DavidReed Thanks, i failed to notice $a+pb =apmod{p}$, hence couldn't arrive at the desired conclusion. Thanks once again.Magical proof! Where did you get this from?
            $endgroup$
            – crskhr
            Dec 5 '18 at 1:54












          • $begingroup$
            @DavidReed Also there is a slight mistake. $text{sgn}(tau_{a})$ will be 1 if $m$ is odd and if its even it will be $(-1)^{frac{p-1}{m}}$
            $endgroup$
            – crskhr
            Dec 5 '18 at 5:25













          Your Answer





          StackExchange.ifUsing("editor", function () {
          return StackExchange.using("mathjaxEditing", function () {
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          });
          });
          }, "mathjax-editing");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "69"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2529197%2fzolotarevs-lemma-and-quadratic-reciprocity%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          6












          $begingroup$

          Zolotarev's Lemma relates the value of the Legendre symbol to the signature of a permutation of $mathbb{Z}_p$ It is stated and proved below, along with its use in what is considered to be a very elegant proof of the quadratic reciprocity law.



          Zolotarev's Lemma: Let $p$ be an odd prime, $a in mathbb{Z}_p^times $, and $tau_a : mathbb{Z_p} to mathbb{Z_p}$ be the permutation of $mathbb{Z_p}$ given by $tau_a(x):= ax, ,$ then



          $$binom{a}{p} = text{sgn}(tau_a) $$



          Proof:



          We determine the signature based on the parity of the cycle structure. Note
          that the signature of a k-cycle is $(-1)^{k-1}$. Let $m = |a|$ in $mathbb{Z}_p^times$. Since $0$ is a singleton orbit (i.e. fixed point) of $tau_a$, and therefore has no effect on its signature, it suffices to proof this for the restriction of $tau_a$ to $mathbb{Z}_p^times$, as the signature will be the same for both. Each cycle has the form $(x,ax,a^2x,a^3x,dots ,a^{m-1}x)$. Thus
          the cycle structure consists of $(p-1)/m $ $ m$-cycles, and its signature is therefore given by:



          $ \ $



          $$
          text{sgn}(tau_a)= left((-1)^{m-1}right)^{p-1 over m} =
          begin{cases}
          (-1)^{frac{p-1}{m}} & mathrm{if} m text{ is even} \
          \
          1 & text{if } m text{ is odd}
          end{cases}
          $$



          $ \ $



          Recall that $x^2 = 1 ; (text{mod }p) implies x = pm 1 ; (text{mod }p)$, and thus $a^{m/2} = -1 :$ as $ frac{m}{2} < m = |a| $.
          If $m$ is even we have $$ a^{frac{p-1}{2}} = left(a^{frac{m}{2}}right)^{frac{p-1}{m}} = (-1)^{frac{p-1}{m}} = text{sgn}(tau_a)$$



          $ \ $



          If $m$ is odd, then $(2,m) = 1 text{ and } 2,m ,big| , p!-!1 implies 2m , big| , p!-!1 $ and we have:



          $$a^{frac{p-1}{2}} = left(a^m right)^frac{p-1}{2m} = 1^{frac{p-1}{2m}} = 1 = text{sgn}(tau_a)$$



          $ \ $



          Euler's criterion then finishes the argument.



          $ \ $



          Corollary: If p and q are odd primes, $a in mathbb{Z}_q$, and $b in mathbb{Z}_p $ then $binom{p}{q}$ and $binom{q}{p}$ are equal to the signatures of the permutations $x mapsto qx + b $ and $x mapsto a + px$ respectively.



          $ \ $



          Proof



          The argument is symmetric. We shall prove it for $binom{p}{q}$. Let $ a in mathbb{Z}_q$ and define the permutation $sigma: mathbb{Z}_q to mathbb{Z}_q$ by $sigma(x):= a + x$. If $ a = 0$, then $sigma = Id$ and $text{sgn}(sigma) = 1$. Otherwise, the permutation consists of a single p-cycle, $(x,a+x,2a+x,dots,(q-1)a+x)$ and thus sgn$(sigma) = 1$ also. Letting $tau_p$ be as defined above, the permutation $x to a+px$ is equal to the composition $sigma tau_p$ and thus by Zolotarev's Lemma its signature is $text{sgn}(sigma tau_p) = text{sgn}(sigma)text{sgn}(tau_p) = text{sgn}(tau_p) = binom{p}{q}$.



          $ \ $



          The Law of Quadratic Reciprocity: If $p$ and $q$ are odd primes then
          $$binom{p}{q} binom{q}{p} = (-1)^{frac{p-1}{2} frac{q-1}{2}}$$



          Proof



          Let $tau: mathbb{Z}_{pq} to mathbb{Z}_p times mathbb{Z}_q text{ and }
          lambda,alpha : mathbb{Z}_p times mathbb{Z}_q to mathbb{Z}_p times mathbb{Z}_q$
          be permutations defined as follows:



          $$
          begin{align}
          tau(x):=& (x,x) \
          lambda(a,b):=& left(a,a!+!p{}bright) \
          alpha(a,b):=& left(q{}a!+!b,bright)
          end{align}
          $$



          Now define the permutation $varphi: mathbb{Z}_{pq} to mathbb{Z}_{pq}$
          by the rule $varphi(a+pb):= qa+b$. This function is well-defined by the Division Algorithm, provided we view it as being defined only on the residues. It is routine to extend this argument to account for the congruence classes in general.



          Note that $varphi = tau^{-1} circ alpha lambda^{-1}! circ tau$ and thus $text{sgn}(varphi) = text{sgn}(alpha)text{sgn}(lambda)$



          We count the signature of $varphi$ in two ways - by its cycle parity and then by its inversions. Looking at $lambda$'s cycle structure, we note that for each $a in mathbb{Z_p}$ the restriction of $lambda$ to ${a} times mathbb{Z}_q$ is still a permutation, and its cycle structure is identical to the cycle structure of the permutation $b mapsto a+pb$ it induces in its second coordinate. In particular the restriction of $lambda$ to ${a} times mathbb{Z}_q$ has a signature equal to $binom{p}{q}$. We can then extend this function to the rest of $mathbb{Z}_p times mathbb{Z}_q$ by making it the identity, and we can then view $lambda$ as the p-fold composition of these permutations, and thus $text{sgn}(lambda) = binom{p}{q}^p = binom{p}{q}$. It is best to see this via an example.Similarly, $text{sgn}(alpha) = binom{q}{p}$ and thus $$text{sgn}(varphi) = binom{p}{q}binom{q}{p}$$



          We now count the inversions. Note that $$a_1 + p{}b_1 < a_2 +p{}b_2 text{ and }q{}a_2+b_2 < q{}a_1+b_1 implies a_1 - a_2 < p(b_2 - b_1) < p{}q(a_1 - a_2)$$



          Since $a_1 - a_2$ gets larger when multiplied by the positive integer $pq$ we must have that $a_1 - a_2 > 0$ which then forces $b_2 - b_1 > 0$. It can also be seen that this is a sufficient condition for an inversion as well. Thus the pair $left(a_1 + pb_1,a_2+pb_2 right)$ represents an inversion under $varphi$ if and only if $a_1 > a_2 text{ and } b_2 > b_1$. Since given any pair of distinct integers one is necessarily larger than the other, any pair of doubles $(a_1,a_2),(b_1,b_2)$ corresponds to a unique inversion,provided we don't distinguish between $(a_1,a_2) text{ and } (a_2,a_1)$ (and similarly for the $b_i$).The number of inversions is therefore
          $$binom{p}{2}binom{q}{2} = frac{p-1}{2}frac{q-1}{2} ,(text{mod }2)$$



          Equating the two values for $text{sgn}(varphi)$ gives us our result.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            very nice, thank you.
            $endgroup$
            – Jack D'Aurizio
            Nov 20 '17 at 16:47










          • $begingroup$
            I fail to see why $phi = tau^{-1} circ alphalambda^{-1} circ tau$. Could you please explain. Tried calculating $tau^{-1} circ alphalambda^{-1} circ tau (a+pb)$ to see if it equals $qa+b$, but i am getting nowhere.
            $endgroup$
            – crskhr
            Dec 4 '18 at 8:35












          • $begingroup$
            @crskhr Sure. Note that $ a + pb = a mod p$. So we have $tau^{-1} circ alpha lambda^{-1} circ tau(a+pb) = tau^{-1} circ alpha lambda^{-1}(a+pb,a+pb) = tau^{-1} circ alpha lambda^{-1}(a,a+pb) = tau^{-1} circ alpha(a,b) = tau^{-1}(qa+b,b) = tau^{-1}(qa+b,qa+b) = qa+b$
            $endgroup$
            – David Reed
            Dec 4 '18 at 23:57












          • $begingroup$
            @DavidReed Thanks, i failed to notice $a+pb =apmod{p}$, hence couldn't arrive at the desired conclusion. Thanks once again.Magical proof! Where did you get this from?
            $endgroup$
            – crskhr
            Dec 5 '18 at 1:54












          • $begingroup$
            @DavidReed Also there is a slight mistake. $text{sgn}(tau_{a})$ will be 1 if $m$ is odd and if its even it will be $(-1)^{frac{p-1}{m}}$
            $endgroup$
            – crskhr
            Dec 5 '18 at 5:25


















          6












          $begingroup$

          Zolotarev's Lemma relates the value of the Legendre symbol to the signature of a permutation of $mathbb{Z}_p$ It is stated and proved below, along with its use in what is considered to be a very elegant proof of the quadratic reciprocity law.



          Zolotarev's Lemma: Let $p$ be an odd prime, $a in mathbb{Z}_p^times $, and $tau_a : mathbb{Z_p} to mathbb{Z_p}$ be the permutation of $mathbb{Z_p}$ given by $tau_a(x):= ax, ,$ then



          $$binom{a}{p} = text{sgn}(tau_a) $$



          Proof:



          We determine the signature based on the parity of the cycle structure. Note
          that the signature of a k-cycle is $(-1)^{k-1}$. Let $m = |a|$ in $mathbb{Z}_p^times$. Since $0$ is a singleton orbit (i.e. fixed point) of $tau_a$, and therefore has no effect on its signature, it suffices to proof this for the restriction of $tau_a$ to $mathbb{Z}_p^times$, as the signature will be the same for both. Each cycle has the form $(x,ax,a^2x,a^3x,dots ,a^{m-1}x)$. Thus
          the cycle structure consists of $(p-1)/m $ $ m$-cycles, and its signature is therefore given by:



          $ \ $



          $$
          text{sgn}(tau_a)= left((-1)^{m-1}right)^{p-1 over m} =
          begin{cases}
          (-1)^{frac{p-1}{m}} & mathrm{if} m text{ is even} \
          \
          1 & text{if } m text{ is odd}
          end{cases}
          $$



          $ \ $



          Recall that $x^2 = 1 ; (text{mod }p) implies x = pm 1 ; (text{mod }p)$, and thus $a^{m/2} = -1 :$ as $ frac{m}{2} < m = |a| $.
          If $m$ is even we have $$ a^{frac{p-1}{2}} = left(a^{frac{m}{2}}right)^{frac{p-1}{m}} = (-1)^{frac{p-1}{m}} = text{sgn}(tau_a)$$



          $ \ $



          If $m$ is odd, then $(2,m) = 1 text{ and } 2,m ,big| , p!-!1 implies 2m , big| , p!-!1 $ and we have:



          $$a^{frac{p-1}{2}} = left(a^m right)^frac{p-1}{2m} = 1^{frac{p-1}{2m}} = 1 = text{sgn}(tau_a)$$



          $ \ $



          Euler's criterion then finishes the argument.



          $ \ $



          Corollary: If p and q are odd primes, $a in mathbb{Z}_q$, and $b in mathbb{Z}_p $ then $binom{p}{q}$ and $binom{q}{p}$ are equal to the signatures of the permutations $x mapsto qx + b $ and $x mapsto a + px$ respectively.



          $ \ $



          Proof



          The argument is symmetric. We shall prove it for $binom{p}{q}$. Let $ a in mathbb{Z}_q$ and define the permutation $sigma: mathbb{Z}_q to mathbb{Z}_q$ by $sigma(x):= a + x$. If $ a = 0$, then $sigma = Id$ and $text{sgn}(sigma) = 1$. Otherwise, the permutation consists of a single p-cycle, $(x,a+x,2a+x,dots,(q-1)a+x)$ and thus sgn$(sigma) = 1$ also. Letting $tau_p$ be as defined above, the permutation $x to a+px$ is equal to the composition $sigma tau_p$ and thus by Zolotarev's Lemma its signature is $text{sgn}(sigma tau_p) = text{sgn}(sigma)text{sgn}(tau_p) = text{sgn}(tau_p) = binom{p}{q}$.



          $ \ $



          The Law of Quadratic Reciprocity: If $p$ and $q$ are odd primes then
          $$binom{p}{q} binom{q}{p} = (-1)^{frac{p-1}{2} frac{q-1}{2}}$$



          Proof



          Let $tau: mathbb{Z}_{pq} to mathbb{Z}_p times mathbb{Z}_q text{ and }
          lambda,alpha : mathbb{Z}_p times mathbb{Z}_q to mathbb{Z}_p times mathbb{Z}_q$
          be permutations defined as follows:



          $$
          begin{align}
          tau(x):=& (x,x) \
          lambda(a,b):=& left(a,a!+!p{}bright) \
          alpha(a,b):=& left(q{}a!+!b,bright)
          end{align}
          $$



          Now define the permutation $varphi: mathbb{Z}_{pq} to mathbb{Z}_{pq}$
          by the rule $varphi(a+pb):= qa+b$. This function is well-defined by the Division Algorithm, provided we view it as being defined only on the residues. It is routine to extend this argument to account for the congruence classes in general.



          Note that $varphi = tau^{-1} circ alpha lambda^{-1}! circ tau$ and thus $text{sgn}(varphi) = text{sgn}(alpha)text{sgn}(lambda)$



          We count the signature of $varphi$ in two ways - by its cycle parity and then by its inversions. Looking at $lambda$'s cycle structure, we note that for each $a in mathbb{Z_p}$ the restriction of $lambda$ to ${a} times mathbb{Z}_q$ is still a permutation, and its cycle structure is identical to the cycle structure of the permutation $b mapsto a+pb$ it induces in its second coordinate. In particular the restriction of $lambda$ to ${a} times mathbb{Z}_q$ has a signature equal to $binom{p}{q}$. We can then extend this function to the rest of $mathbb{Z}_p times mathbb{Z}_q$ by making it the identity, and we can then view $lambda$ as the p-fold composition of these permutations, and thus $text{sgn}(lambda) = binom{p}{q}^p = binom{p}{q}$. It is best to see this via an example.Similarly, $text{sgn}(alpha) = binom{q}{p}$ and thus $$text{sgn}(varphi) = binom{p}{q}binom{q}{p}$$



          We now count the inversions. Note that $$a_1 + p{}b_1 < a_2 +p{}b_2 text{ and }q{}a_2+b_2 < q{}a_1+b_1 implies a_1 - a_2 < p(b_2 - b_1) < p{}q(a_1 - a_2)$$



          Since $a_1 - a_2$ gets larger when multiplied by the positive integer $pq$ we must have that $a_1 - a_2 > 0$ which then forces $b_2 - b_1 > 0$. It can also be seen that this is a sufficient condition for an inversion as well. Thus the pair $left(a_1 + pb_1,a_2+pb_2 right)$ represents an inversion under $varphi$ if and only if $a_1 > a_2 text{ and } b_2 > b_1$. Since given any pair of distinct integers one is necessarily larger than the other, any pair of doubles $(a_1,a_2),(b_1,b_2)$ corresponds to a unique inversion,provided we don't distinguish between $(a_1,a_2) text{ and } (a_2,a_1)$ (and similarly for the $b_i$).The number of inversions is therefore
          $$binom{p}{2}binom{q}{2} = frac{p-1}{2}frac{q-1}{2} ,(text{mod }2)$$



          Equating the two values for $text{sgn}(varphi)$ gives us our result.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            very nice, thank you.
            $endgroup$
            – Jack D'Aurizio
            Nov 20 '17 at 16:47










          • $begingroup$
            I fail to see why $phi = tau^{-1} circ alphalambda^{-1} circ tau$. Could you please explain. Tried calculating $tau^{-1} circ alphalambda^{-1} circ tau (a+pb)$ to see if it equals $qa+b$, but i am getting nowhere.
            $endgroup$
            – crskhr
            Dec 4 '18 at 8:35












          • $begingroup$
            @crskhr Sure. Note that $ a + pb = a mod p$. So we have $tau^{-1} circ alpha lambda^{-1} circ tau(a+pb) = tau^{-1} circ alpha lambda^{-1}(a+pb,a+pb) = tau^{-1} circ alpha lambda^{-1}(a,a+pb) = tau^{-1} circ alpha(a,b) = tau^{-1}(qa+b,b) = tau^{-1}(qa+b,qa+b) = qa+b$
            $endgroup$
            – David Reed
            Dec 4 '18 at 23:57












          • $begingroup$
            @DavidReed Thanks, i failed to notice $a+pb =apmod{p}$, hence couldn't arrive at the desired conclusion. Thanks once again.Magical proof! Where did you get this from?
            $endgroup$
            – crskhr
            Dec 5 '18 at 1:54












          • $begingroup$
            @DavidReed Also there is a slight mistake. $text{sgn}(tau_{a})$ will be 1 if $m$ is odd and if its even it will be $(-1)^{frac{p-1}{m}}$
            $endgroup$
            – crskhr
            Dec 5 '18 at 5:25
















          6












          6








          6





          $begingroup$

          Zolotarev's Lemma relates the value of the Legendre symbol to the signature of a permutation of $mathbb{Z}_p$ It is stated and proved below, along with its use in what is considered to be a very elegant proof of the quadratic reciprocity law.



          Zolotarev's Lemma: Let $p$ be an odd prime, $a in mathbb{Z}_p^times $, and $tau_a : mathbb{Z_p} to mathbb{Z_p}$ be the permutation of $mathbb{Z_p}$ given by $tau_a(x):= ax, ,$ then



          $$binom{a}{p} = text{sgn}(tau_a) $$



          Proof:



          We determine the signature based on the parity of the cycle structure. Note
          that the signature of a k-cycle is $(-1)^{k-1}$. Let $m = |a|$ in $mathbb{Z}_p^times$. Since $0$ is a singleton orbit (i.e. fixed point) of $tau_a$, and therefore has no effect on its signature, it suffices to proof this for the restriction of $tau_a$ to $mathbb{Z}_p^times$, as the signature will be the same for both. Each cycle has the form $(x,ax,a^2x,a^3x,dots ,a^{m-1}x)$. Thus
          the cycle structure consists of $(p-1)/m $ $ m$-cycles, and its signature is therefore given by:



          $ \ $



          $$
          text{sgn}(tau_a)= left((-1)^{m-1}right)^{p-1 over m} =
          begin{cases}
          (-1)^{frac{p-1}{m}} & mathrm{if} m text{ is even} \
          \
          1 & text{if } m text{ is odd}
          end{cases}
          $$



          $ \ $



          Recall that $x^2 = 1 ; (text{mod }p) implies x = pm 1 ; (text{mod }p)$, and thus $a^{m/2} = -1 :$ as $ frac{m}{2} < m = |a| $.
          If $m$ is even we have $$ a^{frac{p-1}{2}} = left(a^{frac{m}{2}}right)^{frac{p-1}{m}} = (-1)^{frac{p-1}{m}} = text{sgn}(tau_a)$$



          $ \ $



          If $m$ is odd, then $(2,m) = 1 text{ and } 2,m ,big| , p!-!1 implies 2m , big| , p!-!1 $ and we have:



          $$a^{frac{p-1}{2}} = left(a^m right)^frac{p-1}{2m} = 1^{frac{p-1}{2m}} = 1 = text{sgn}(tau_a)$$



          $ \ $



          Euler's criterion then finishes the argument.



          $ \ $



          Corollary: If p and q are odd primes, $a in mathbb{Z}_q$, and $b in mathbb{Z}_p $ then $binom{p}{q}$ and $binom{q}{p}$ are equal to the signatures of the permutations $x mapsto qx + b $ and $x mapsto a + px$ respectively.



          $ \ $



          Proof



          The argument is symmetric. We shall prove it for $binom{p}{q}$. Let $ a in mathbb{Z}_q$ and define the permutation $sigma: mathbb{Z}_q to mathbb{Z}_q$ by $sigma(x):= a + x$. If $ a = 0$, then $sigma = Id$ and $text{sgn}(sigma) = 1$. Otherwise, the permutation consists of a single p-cycle, $(x,a+x,2a+x,dots,(q-1)a+x)$ and thus sgn$(sigma) = 1$ also. Letting $tau_p$ be as defined above, the permutation $x to a+px$ is equal to the composition $sigma tau_p$ and thus by Zolotarev's Lemma its signature is $text{sgn}(sigma tau_p) = text{sgn}(sigma)text{sgn}(tau_p) = text{sgn}(tau_p) = binom{p}{q}$.



          $ \ $



          The Law of Quadratic Reciprocity: If $p$ and $q$ are odd primes then
          $$binom{p}{q} binom{q}{p} = (-1)^{frac{p-1}{2} frac{q-1}{2}}$$



          Proof



          Let $tau: mathbb{Z}_{pq} to mathbb{Z}_p times mathbb{Z}_q text{ and }
          lambda,alpha : mathbb{Z}_p times mathbb{Z}_q to mathbb{Z}_p times mathbb{Z}_q$
          be permutations defined as follows:



          $$
          begin{align}
          tau(x):=& (x,x) \
          lambda(a,b):=& left(a,a!+!p{}bright) \
          alpha(a,b):=& left(q{}a!+!b,bright)
          end{align}
          $$



          Now define the permutation $varphi: mathbb{Z}_{pq} to mathbb{Z}_{pq}$
          by the rule $varphi(a+pb):= qa+b$. This function is well-defined by the Division Algorithm, provided we view it as being defined only on the residues. It is routine to extend this argument to account for the congruence classes in general.



          Note that $varphi = tau^{-1} circ alpha lambda^{-1}! circ tau$ and thus $text{sgn}(varphi) = text{sgn}(alpha)text{sgn}(lambda)$



          We count the signature of $varphi$ in two ways - by its cycle parity and then by its inversions. Looking at $lambda$'s cycle structure, we note that for each $a in mathbb{Z_p}$ the restriction of $lambda$ to ${a} times mathbb{Z}_q$ is still a permutation, and its cycle structure is identical to the cycle structure of the permutation $b mapsto a+pb$ it induces in its second coordinate. In particular the restriction of $lambda$ to ${a} times mathbb{Z}_q$ has a signature equal to $binom{p}{q}$. We can then extend this function to the rest of $mathbb{Z}_p times mathbb{Z}_q$ by making it the identity, and we can then view $lambda$ as the p-fold composition of these permutations, and thus $text{sgn}(lambda) = binom{p}{q}^p = binom{p}{q}$. It is best to see this via an example.Similarly, $text{sgn}(alpha) = binom{q}{p}$ and thus $$text{sgn}(varphi) = binom{p}{q}binom{q}{p}$$



          We now count the inversions. Note that $$a_1 + p{}b_1 < a_2 +p{}b_2 text{ and }q{}a_2+b_2 < q{}a_1+b_1 implies a_1 - a_2 < p(b_2 - b_1) < p{}q(a_1 - a_2)$$



          Since $a_1 - a_2$ gets larger when multiplied by the positive integer $pq$ we must have that $a_1 - a_2 > 0$ which then forces $b_2 - b_1 > 0$. It can also be seen that this is a sufficient condition for an inversion as well. Thus the pair $left(a_1 + pb_1,a_2+pb_2 right)$ represents an inversion under $varphi$ if and only if $a_1 > a_2 text{ and } b_2 > b_1$. Since given any pair of distinct integers one is necessarily larger than the other, any pair of doubles $(a_1,a_2),(b_1,b_2)$ corresponds to a unique inversion,provided we don't distinguish between $(a_1,a_2) text{ and } (a_2,a_1)$ (and similarly for the $b_i$).The number of inversions is therefore
          $$binom{p}{2}binom{q}{2} = frac{p-1}{2}frac{q-1}{2} ,(text{mod }2)$$



          Equating the two values for $text{sgn}(varphi)$ gives us our result.






          share|cite|improve this answer











          $endgroup$



          Zolotarev's Lemma relates the value of the Legendre symbol to the signature of a permutation of $mathbb{Z}_p$ It is stated and proved below, along with its use in what is considered to be a very elegant proof of the quadratic reciprocity law.



          Zolotarev's Lemma: Let $p$ be an odd prime, $a in mathbb{Z}_p^times $, and $tau_a : mathbb{Z_p} to mathbb{Z_p}$ be the permutation of $mathbb{Z_p}$ given by $tau_a(x):= ax, ,$ then



          $$binom{a}{p} = text{sgn}(tau_a) $$



          Proof:



          We determine the signature based on the parity of the cycle structure. Note
          that the signature of a k-cycle is $(-1)^{k-1}$. Let $m = |a|$ in $mathbb{Z}_p^times$. Since $0$ is a singleton orbit (i.e. fixed point) of $tau_a$, and therefore has no effect on its signature, it suffices to proof this for the restriction of $tau_a$ to $mathbb{Z}_p^times$, as the signature will be the same for both. Each cycle has the form $(x,ax,a^2x,a^3x,dots ,a^{m-1}x)$. Thus
          the cycle structure consists of $(p-1)/m $ $ m$-cycles, and its signature is therefore given by:



          $ \ $



          $$
          text{sgn}(tau_a)= left((-1)^{m-1}right)^{p-1 over m} =
          begin{cases}
          (-1)^{frac{p-1}{m}} & mathrm{if} m text{ is even} \
          \
          1 & text{if } m text{ is odd}
          end{cases}
          $$



          $ \ $



          Recall that $x^2 = 1 ; (text{mod }p) implies x = pm 1 ; (text{mod }p)$, and thus $a^{m/2} = -1 :$ as $ frac{m}{2} < m = |a| $.
          If $m$ is even we have $$ a^{frac{p-1}{2}} = left(a^{frac{m}{2}}right)^{frac{p-1}{m}} = (-1)^{frac{p-1}{m}} = text{sgn}(tau_a)$$



          $ \ $



          If $m$ is odd, then $(2,m) = 1 text{ and } 2,m ,big| , p!-!1 implies 2m , big| , p!-!1 $ and we have:



          $$a^{frac{p-1}{2}} = left(a^m right)^frac{p-1}{2m} = 1^{frac{p-1}{2m}} = 1 = text{sgn}(tau_a)$$



          $ \ $



          Euler's criterion then finishes the argument.



          $ \ $



          Corollary: If p and q are odd primes, $a in mathbb{Z}_q$, and $b in mathbb{Z}_p $ then $binom{p}{q}$ and $binom{q}{p}$ are equal to the signatures of the permutations $x mapsto qx + b $ and $x mapsto a + px$ respectively.



          $ \ $



          Proof



          The argument is symmetric. We shall prove it for $binom{p}{q}$. Let $ a in mathbb{Z}_q$ and define the permutation $sigma: mathbb{Z}_q to mathbb{Z}_q$ by $sigma(x):= a + x$. If $ a = 0$, then $sigma = Id$ and $text{sgn}(sigma) = 1$. Otherwise, the permutation consists of a single p-cycle, $(x,a+x,2a+x,dots,(q-1)a+x)$ and thus sgn$(sigma) = 1$ also. Letting $tau_p$ be as defined above, the permutation $x to a+px$ is equal to the composition $sigma tau_p$ and thus by Zolotarev's Lemma its signature is $text{sgn}(sigma tau_p) = text{sgn}(sigma)text{sgn}(tau_p) = text{sgn}(tau_p) = binom{p}{q}$.



          $ \ $



          The Law of Quadratic Reciprocity: If $p$ and $q$ are odd primes then
          $$binom{p}{q} binom{q}{p} = (-1)^{frac{p-1}{2} frac{q-1}{2}}$$



          Proof



          Let $tau: mathbb{Z}_{pq} to mathbb{Z}_p times mathbb{Z}_q text{ and }
          lambda,alpha : mathbb{Z}_p times mathbb{Z}_q to mathbb{Z}_p times mathbb{Z}_q$
          be permutations defined as follows:



          $$
          begin{align}
          tau(x):=& (x,x) \
          lambda(a,b):=& left(a,a!+!p{}bright) \
          alpha(a,b):=& left(q{}a!+!b,bright)
          end{align}
          $$



          Now define the permutation $varphi: mathbb{Z}_{pq} to mathbb{Z}_{pq}$
          by the rule $varphi(a+pb):= qa+b$. This function is well-defined by the Division Algorithm, provided we view it as being defined only on the residues. It is routine to extend this argument to account for the congruence classes in general.



          Note that $varphi = tau^{-1} circ alpha lambda^{-1}! circ tau$ and thus $text{sgn}(varphi) = text{sgn}(alpha)text{sgn}(lambda)$



          We count the signature of $varphi$ in two ways - by its cycle parity and then by its inversions. Looking at $lambda$'s cycle structure, we note that for each $a in mathbb{Z_p}$ the restriction of $lambda$ to ${a} times mathbb{Z}_q$ is still a permutation, and its cycle structure is identical to the cycle structure of the permutation $b mapsto a+pb$ it induces in its second coordinate. In particular the restriction of $lambda$ to ${a} times mathbb{Z}_q$ has a signature equal to $binom{p}{q}$. We can then extend this function to the rest of $mathbb{Z}_p times mathbb{Z}_q$ by making it the identity, and we can then view $lambda$ as the p-fold composition of these permutations, and thus $text{sgn}(lambda) = binom{p}{q}^p = binom{p}{q}$. It is best to see this via an example.Similarly, $text{sgn}(alpha) = binom{q}{p}$ and thus $$text{sgn}(varphi) = binom{p}{q}binom{q}{p}$$



          We now count the inversions. Note that $$a_1 + p{}b_1 < a_2 +p{}b_2 text{ and }q{}a_2+b_2 < q{}a_1+b_1 implies a_1 - a_2 < p(b_2 - b_1) < p{}q(a_1 - a_2)$$



          Since $a_1 - a_2$ gets larger when multiplied by the positive integer $pq$ we must have that $a_1 - a_2 > 0$ which then forces $b_2 - b_1 > 0$. It can also be seen that this is a sufficient condition for an inversion as well. Thus the pair $left(a_1 + pb_1,a_2+pb_2 right)$ represents an inversion under $varphi$ if and only if $a_1 > a_2 text{ and } b_2 > b_1$. Since given any pair of distinct integers one is necessarily larger than the other, any pair of doubles $(a_1,a_2),(b_1,b_2)$ corresponds to a unique inversion,provided we don't distinguish between $(a_1,a_2) text{ and } (a_2,a_1)$ (and similarly for the $b_i$).The number of inversions is therefore
          $$binom{p}{2}binom{q}{2} = frac{p-1}{2}frac{q-1}{2} ,(text{mod }2)$$



          Equating the two values for $text{sgn}(varphi)$ gives us our result.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Dec 6 '18 at 20:35


























          community wiki





          8 revs, 2 users 99%
          David Reed













          • $begingroup$
            very nice, thank you.
            $endgroup$
            – Jack D'Aurizio
            Nov 20 '17 at 16:47










          • $begingroup$
            I fail to see why $phi = tau^{-1} circ alphalambda^{-1} circ tau$. Could you please explain. Tried calculating $tau^{-1} circ alphalambda^{-1} circ tau (a+pb)$ to see if it equals $qa+b$, but i am getting nowhere.
            $endgroup$
            – crskhr
            Dec 4 '18 at 8:35












          • $begingroup$
            @crskhr Sure. Note that $ a + pb = a mod p$. So we have $tau^{-1} circ alpha lambda^{-1} circ tau(a+pb) = tau^{-1} circ alpha lambda^{-1}(a+pb,a+pb) = tau^{-1} circ alpha lambda^{-1}(a,a+pb) = tau^{-1} circ alpha(a,b) = tau^{-1}(qa+b,b) = tau^{-1}(qa+b,qa+b) = qa+b$
            $endgroup$
            – David Reed
            Dec 4 '18 at 23:57












          • $begingroup$
            @DavidReed Thanks, i failed to notice $a+pb =apmod{p}$, hence couldn't arrive at the desired conclusion. Thanks once again.Magical proof! Where did you get this from?
            $endgroup$
            – crskhr
            Dec 5 '18 at 1:54












          • $begingroup$
            @DavidReed Also there is a slight mistake. $text{sgn}(tau_{a})$ will be 1 if $m$ is odd and if its even it will be $(-1)^{frac{p-1}{m}}$
            $endgroup$
            – crskhr
            Dec 5 '18 at 5:25




















          • $begingroup$
            very nice, thank you.
            $endgroup$
            – Jack D'Aurizio
            Nov 20 '17 at 16:47










          • $begingroup$
            I fail to see why $phi = tau^{-1} circ alphalambda^{-1} circ tau$. Could you please explain. Tried calculating $tau^{-1} circ alphalambda^{-1} circ tau (a+pb)$ to see if it equals $qa+b$, but i am getting nowhere.
            $endgroup$
            – crskhr
            Dec 4 '18 at 8:35












          • $begingroup$
            @crskhr Sure. Note that $ a + pb = a mod p$. So we have $tau^{-1} circ alpha lambda^{-1} circ tau(a+pb) = tau^{-1} circ alpha lambda^{-1}(a+pb,a+pb) = tau^{-1} circ alpha lambda^{-1}(a,a+pb) = tau^{-1} circ alpha(a,b) = tau^{-1}(qa+b,b) = tau^{-1}(qa+b,qa+b) = qa+b$
            $endgroup$
            – David Reed
            Dec 4 '18 at 23:57












          • $begingroup$
            @DavidReed Thanks, i failed to notice $a+pb =apmod{p}$, hence couldn't arrive at the desired conclusion. Thanks once again.Magical proof! Where did you get this from?
            $endgroup$
            – crskhr
            Dec 5 '18 at 1:54












          • $begingroup$
            @DavidReed Also there is a slight mistake. $text{sgn}(tau_{a})$ will be 1 if $m$ is odd and if its even it will be $(-1)^{frac{p-1}{m}}$
            $endgroup$
            – crskhr
            Dec 5 '18 at 5:25


















          $begingroup$
          very nice, thank you.
          $endgroup$
          – Jack D'Aurizio
          Nov 20 '17 at 16:47




          $begingroup$
          very nice, thank you.
          $endgroup$
          – Jack D'Aurizio
          Nov 20 '17 at 16:47












          $begingroup$
          I fail to see why $phi = tau^{-1} circ alphalambda^{-1} circ tau$. Could you please explain. Tried calculating $tau^{-1} circ alphalambda^{-1} circ tau (a+pb)$ to see if it equals $qa+b$, but i am getting nowhere.
          $endgroup$
          – crskhr
          Dec 4 '18 at 8:35






          $begingroup$
          I fail to see why $phi = tau^{-1} circ alphalambda^{-1} circ tau$. Could you please explain. Tried calculating $tau^{-1} circ alphalambda^{-1} circ tau (a+pb)$ to see if it equals $qa+b$, but i am getting nowhere.
          $endgroup$
          – crskhr
          Dec 4 '18 at 8:35














          $begingroup$
          @crskhr Sure. Note that $ a + pb = a mod p$. So we have $tau^{-1} circ alpha lambda^{-1} circ tau(a+pb) = tau^{-1} circ alpha lambda^{-1}(a+pb,a+pb) = tau^{-1} circ alpha lambda^{-1}(a,a+pb) = tau^{-1} circ alpha(a,b) = tau^{-1}(qa+b,b) = tau^{-1}(qa+b,qa+b) = qa+b$
          $endgroup$
          – David Reed
          Dec 4 '18 at 23:57






          $begingroup$
          @crskhr Sure. Note that $ a + pb = a mod p$. So we have $tau^{-1} circ alpha lambda^{-1} circ tau(a+pb) = tau^{-1} circ alpha lambda^{-1}(a+pb,a+pb) = tau^{-1} circ alpha lambda^{-1}(a,a+pb) = tau^{-1} circ alpha(a,b) = tau^{-1}(qa+b,b) = tau^{-1}(qa+b,qa+b) = qa+b$
          $endgroup$
          – David Reed
          Dec 4 '18 at 23:57














          $begingroup$
          @DavidReed Thanks, i failed to notice $a+pb =apmod{p}$, hence couldn't arrive at the desired conclusion. Thanks once again.Magical proof! Where did you get this from?
          $endgroup$
          – crskhr
          Dec 5 '18 at 1:54






          $begingroup$
          @DavidReed Thanks, i failed to notice $a+pb =apmod{p}$, hence couldn't arrive at the desired conclusion. Thanks once again.Magical proof! Where did you get this from?
          $endgroup$
          – crskhr
          Dec 5 '18 at 1:54














          $begingroup$
          @DavidReed Also there is a slight mistake. $text{sgn}(tau_{a})$ will be 1 if $m$ is odd and if its even it will be $(-1)^{frac{p-1}{m}}$
          $endgroup$
          – crskhr
          Dec 5 '18 at 5:25






          $begingroup$
          @DavidReed Also there is a slight mistake. $text{sgn}(tau_{a})$ will be 1 if $m$ is odd and if its even it will be $(-1)^{frac{p-1}{m}}$
          $endgroup$
          – crskhr
          Dec 5 '18 at 5:25




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Mathematics Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          Use MathJax to format equations. MathJax reference.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2529197%2fzolotarevs-lemma-and-quadratic-reciprocity%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How do I know what Microsoft account the skydrive app is syncing to?

          When does type information flow backwards in C++?

          Grease: Live!