Units of Gaussian integers












9












$begingroup$


How can we show that $pm 1, pm i$ are the only units in the ring of Gaussian integers, $mathbb Z[i]$?



Thank you.










share|cite|improve this question











$endgroup$








  • 7




    $begingroup$
    Do you know about norms, and that the norm of a product is the product of the norms? Don't need it, but nicer.
    $endgroup$
    – André Nicolas
    Feb 11 '12 at 7:53
















9












$begingroup$


How can we show that $pm 1, pm i$ are the only units in the ring of Gaussian integers, $mathbb Z[i]$?



Thank you.










share|cite|improve this question











$endgroup$








  • 7




    $begingroup$
    Do you know about norms, and that the norm of a product is the product of the norms? Don't need it, but nicer.
    $endgroup$
    – André Nicolas
    Feb 11 '12 at 7:53














9












9








9


3



$begingroup$


How can we show that $pm 1, pm i$ are the only units in the ring of Gaussian integers, $mathbb Z[i]$?



Thank you.










share|cite|improve this question











$endgroup$




How can we show that $pm 1, pm i$ are the only units in the ring of Gaussian integers, $mathbb Z[i]$?



Thank you.







abstract-algebra ring-theory gaussian-integers






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 21 at 16:03









J. W. Tanner

2,9171217




2,9171217










asked Feb 11 '12 at 7:50









gaussiangaussian

51113




51113








  • 7




    $begingroup$
    Do you know about norms, and that the norm of a product is the product of the norms? Don't need it, but nicer.
    $endgroup$
    – André Nicolas
    Feb 11 '12 at 7:53














  • 7




    $begingroup$
    Do you know about norms, and that the norm of a product is the product of the norms? Don't need it, but nicer.
    $endgroup$
    – André Nicolas
    Feb 11 '12 at 7:53








7




7




$begingroup$
Do you know about norms, and that the norm of a product is the product of the norms? Don't need it, but nicer.
$endgroup$
– André Nicolas
Feb 11 '12 at 7:53




$begingroup$
Do you know about norms, and that the norm of a product is the product of the norms? Don't need it, but nicer.
$endgroup$
– André Nicolas
Feb 11 '12 at 7:53










3 Answers
3






active

oldest

votes


















5












$begingroup$

Units are those elements in a ring that are invertible. Assume $a+bi$ is a unit.



Then $exists c+di in mathbb Z[i]$ such that $(a+bi)(c+di)=1$. This implies $$begin{cases}ac-bd=1\bc+ad=0 end{cases}$$



Now solve this system and remember that $a,b,c,d in mathbb Z$.



We get from the second equation that $bc=-ad$. This means that, from the first equation, $$text{If $b neq0$, then, } d(a^2+b^2)=-b.$$



This leaves you with two possibilities: $d=-1$ 0r $d=-b$.



But, if $d=-b$ then, we have that $c=a$ and $a^2+b^2=1$. Now since we have been given that $b neq 0$ the only solution for $a^2+b^2=1$ with $a,b in mathbb Z$ will be $a=0$ and $b=pm 1$.



Now, if $d=-1$, then note that if $c=0$, we immediately have that $b=1$.



More generally, the last equation we derived from the system gives you that, $b(1-b)=a^2$ which has no integral solutions if $b neq 0$.



For the last case, if $b=0$, then, the Gaussian integer is just $a$ and $a$ has an inverse in $mathbb Z[i]$ iff $a=pm 1$. This is because, the multiplicative inverse is $frac{1}{a}$, which will be in $mathbb Z$ iff $a=pm 1$.






share|cite|improve this answer











$endgroup$





















    17












    $begingroup$

    If $z,winmathbb{Z}[i]$ are such that $zw=1$ (i.e. $z$ is a unit and $w$ its inverse), then $|z|^2|w|^2=|zw|^2=1$, or



    $$(a^2+b^2)(c^2+d^2)=1, quad z=a+bi,; w=c+di.$$



    Now $a,b,c,d$ are all integers, so $a^2+b^2$ and $c^2+d^2$ must both be nonnegative integers, which must both equal exactly $1$ and no greater in order to multiply to $1$ in the integers. And if $a^2+b^2=1$, we have $a^2$ and $b^2le1$. Check by hand the only solutions here correspond to $(a,b)=(pm1,0)$ or $(0,pm1)$.






    share|cite|improve this answer









    $endgroup$









    • 7




      $begingroup$
      Equivalently, by taking conjugates we conclude that $bar{z}bar{w}=1$ and therefore $(zbar z)(wbar{w})=1$ and therefore $zbar{z}=1$.
      $endgroup$
      – André Nicolas
      Feb 11 '12 at 8:14



















    7












    $begingroup$

    Alternatively, $mathbb{Z}[i] = { a + bi : a,b in mathbb{Z}}$. So the norm of $mathbb{Z}[i]$ is $a^{2} + b^{2}$. Now, $a+bi$ is a unit if and only if $a+bi$ divides 1. Hence $N(a+bi)=pm 1. $



    So, $a^{2} + b^{2} = pm 1$
    Since $a,b in mathbb{Z}$, the only solutions are $a=pm 1$, $b=0$ and $a=0$, $b=pm1$. So the units are $1, -1, i, -i$






    share|cite|improve this answer











    $endgroup$













      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%2f108071%2funits-of-gaussian-integers%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      5












      $begingroup$

      Units are those elements in a ring that are invertible. Assume $a+bi$ is a unit.



      Then $exists c+di in mathbb Z[i]$ such that $(a+bi)(c+di)=1$. This implies $$begin{cases}ac-bd=1\bc+ad=0 end{cases}$$



      Now solve this system and remember that $a,b,c,d in mathbb Z$.



      We get from the second equation that $bc=-ad$. This means that, from the first equation, $$text{If $b neq0$, then, } d(a^2+b^2)=-b.$$



      This leaves you with two possibilities: $d=-1$ 0r $d=-b$.



      But, if $d=-b$ then, we have that $c=a$ and $a^2+b^2=1$. Now since we have been given that $b neq 0$ the only solution for $a^2+b^2=1$ with $a,b in mathbb Z$ will be $a=0$ and $b=pm 1$.



      Now, if $d=-1$, then note that if $c=0$, we immediately have that $b=1$.



      More generally, the last equation we derived from the system gives you that, $b(1-b)=a^2$ which has no integral solutions if $b neq 0$.



      For the last case, if $b=0$, then, the Gaussian integer is just $a$ and $a$ has an inverse in $mathbb Z[i]$ iff $a=pm 1$. This is because, the multiplicative inverse is $frac{1}{a}$, which will be in $mathbb Z$ iff $a=pm 1$.






      share|cite|improve this answer











      $endgroup$


















        5












        $begingroup$

        Units are those elements in a ring that are invertible. Assume $a+bi$ is a unit.



        Then $exists c+di in mathbb Z[i]$ such that $(a+bi)(c+di)=1$. This implies $$begin{cases}ac-bd=1\bc+ad=0 end{cases}$$



        Now solve this system and remember that $a,b,c,d in mathbb Z$.



        We get from the second equation that $bc=-ad$. This means that, from the first equation, $$text{If $b neq0$, then, } d(a^2+b^2)=-b.$$



        This leaves you with two possibilities: $d=-1$ 0r $d=-b$.



        But, if $d=-b$ then, we have that $c=a$ and $a^2+b^2=1$. Now since we have been given that $b neq 0$ the only solution for $a^2+b^2=1$ with $a,b in mathbb Z$ will be $a=0$ and $b=pm 1$.



        Now, if $d=-1$, then note that if $c=0$, we immediately have that $b=1$.



        More generally, the last equation we derived from the system gives you that, $b(1-b)=a^2$ which has no integral solutions if $b neq 0$.



        For the last case, if $b=0$, then, the Gaussian integer is just $a$ and $a$ has an inverse in $mathbb Z[i]$ iff $a=pm 1$. This is because, the multiplicative inverse is $frac{1}{a}$, which will be in $mathbb Z$ iff $a=pm 1$.






        share|cite|improve this answer











        $endgroup$
















          5












          5








          5





          $begingroup$

          Units are those elements in a ring that are invertible. Assume $a+bi$ is a unit.



          Then $exists c+di in mathbb Z[i]$ such that $(a+bi)(c+di)=1$. This implies $$begin{cases}ac-bd=1\bc+ad=0 end{cases}$$



          Now solve this system and remember that $a,b,c,d in mathbb Z$.



          We get from the second equation that $bc=-ad$. This means that, from the first equation, $$text{If $b neq0$, then, } d(a^2+b^2)=-b.$$



          This leaves you with two possibilities: $d=-1$ 0r $d=-b$.



          But, if $d=-b$ then, we have that $c=a$ and $a^2+b^2=1$. Now since we have been given that $b neq 0$ the only solution for $a^2+b^2=1$ with $a,b in mathbb Z$ will be $a=0$ and $b=pm 1$.



          Now, if $d=-1$, then note that if $c=0$, we immediately have that $b=1$.



          More generally, the last equation we derived from the system gives you that, $b(1-b)=a^2$ which has no integral solutions if $b neq 0$.



          For the last case, if $b=0$, then, the Gaussian integer is just $a$ and $a$ has an inverse in $mathbb Z[i]$ iff $a=pm 1$. This is because, the multiplicative inverse is $frac{1}{a}$, which will be in $mathbb Z$ iff $a=pm 1$.






          share|cite|improve this answer











          $endgroup$



          Units are those elements in a ring that are invertible. Assume $a+bi$ is a unit.



          Then $exists c+di in mathbb Z[i]$ such that $(a+bi)(c+di)=1$. This implies $$begin{cases}ac-bd=1\bc+ad=0 end{cases}$$



          Now solve this system and remember that $a,b,c,d in mathbb Z$.



          We get from the second equation that $bc=-ad$. This means that, from the first equation, $$text{If $b neq0$, then, } d(a^2+b^2)=-b.$$



          This leaves you with two possibilities: $d=-1$ 0r $d=-b$.



          But, if $d=-b$ then, we have that $c=a$ and $a^2+b^2=1$. Now since we have been given that $b neq 0$ the only solution for $a^2+b^2=1$ with $a,b in mathbb Z$ will be $a=0$ and $b=pm 1$.



          Now, if $d=-1$, then note that if $c=0$, we immediately have that $b=1$.



          More generally, the last equation we derived from the system gives you that, $b(1-b)=a^2$ which has no integral solutions if $b neq 0$.



          For the last case, if $b=0$, then, the Gaussian integer is just $a$ and $a$ has an inverse in $mathbb Z[i]$ iff $a=pm 1$. This is because, the multiplicative inverse is $frac{1}{a}$, which will be in $mathbb Z$ iff $a=pm 1$.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Jun 15 '16 at 9:08









          user26857

          39.3k124183




          39.3k124183










          answered Feb 11 '12 at 7:59







          user21436






























              17












              $begingroup$

              If $z,winmathbb{Z}[i]$ are such that $zw=1$ (i.e. $z$ is a unit and $w$ its inverse), then $|z|^2|w|^2=|zw|^2=1$, or



              $$(a^2+b^2)(c^2+d^2)=1, quad z=a+bi,; w=c+di.$$



              Now $a,b,c,d$ are all integers, so $a^2+b^2$ and $c^2+d^2$ must both be nonnegative integers, which must both equal exactly $1$ and no greater in order to multiply to $1$ in the integers. And if $a^2+b^2=1$, we have $a^2$ and $b^2le1$. Check by hand the only solutions here correspond to $(a,b)=(pm1,0)$ or $(0,pm1)$.






              share|cite|improve this answer









              $endgroup$









              • 7




                $begingroup$
                Equivalently, by taking conjugates we conclude that $bar{z}bar{w}=1$ and therefore $(zbar z)(wbar{w})=1$ and therefore $zbar{z}=1$.
                $endgroup$
                – André Nicolas
                Feb 11 '12 at 8:14
















              17












              $begingroup$

              If $z,winmathbb{Z}[i]$ are such that $zw=1$ (i.e. $z$ is a unit and $w$ its inverse), then $|z|^2|w|^2=|zw|^2=1$, or



              $$(a^2+b^2)(c^2+d^2)=1, quad z=a+bi,; w=c+di.$$



              Now $a,b,c,d$ are all integers, so $a^2+b^2$ and $c^2+d^2$ must both be nonnegative integers, which must both equal exactly $1$ and no greater in order to multiply to $1$ in the integers. And if $a^2+b^2=1$, we have $a^2$ and $b^2le1$. Check by hand the only solutions here correspond to $(a,b)=(pm1,0)$ or $(0,pm1)$.






              share|cite|improve this answer









              $endgroup$









              • 7




                $begingroup$
                Equivalently, by taking conjugates we conclude that $bar{z}bar{w}=1$ and therefore $(zbar z)(wbar{w})=1$ and therefore $zbar{z}=1$.
                $endgroup$
                – André Nicolas
                Feb 11 '12 at 8:14














              17












              17








              17





              $begingroup$

              If $z,winmathbb{Z}[i]$ are such that $zw=1$ (i.e. $z$ is a unit and $w$ its inverse), then $|z|^2|w|^2=|zw|^2=1$, or



              $$(a^2+b^2)(c^2+d^2)=1, quad z=a+bi,; w=c+di.$$



              Now $a,b,c,d$ are all integers, so $a^2+b^2$ and $c^2+d^2$ must both be nonnegative integers, which must both equal exactly $1$ and no greater in order to multiply to $1$ in the integers. And if $a^2+b^2=1$, we have $a^2$ and $b^2le1$. Check by hand the only solutions here correspond to $(a,b)=(pm1,0)$ or $(0,pm1)$.






              share|cite|improve this answer









              $endgroup$



              If $z,winmathbb{Z}[i]$ are such that $zw=1$ (i.e. $z$ is a unit and $w$ its inverse), then $|z|^2|w|^2=|zw|^2=1$, or



              $$(a^2+b^2)(c^2+d^2)=1, quad z=a+bi,; w=c+di.$$



              Now $a,b,c,d$ are all integers, so $a^2+b^2$ and $c^2+d^2$ must both be nonnegative integers, which must both equal exactly $1$ and no greater in order to multiply to $1$ in the integers. And if $a^2+b^2=1$, we have $a^2$ and $b^2le1$. Check by hand the only solutions here correspond to $(a,b)=(pm1,0)$ or $(0,pm1)$.







              share|cite|improve this answer












              share|cite|improve this answer



              share|cite|improve this answer










              answered Feb 11 '12 at 7:58









              anonanon

              72.4k5111214




              72.4k5111214








              • 7




                $begingroup$
                Equivalently, by taking conjugates we conclude that $bar{z}bar{w}=1$ and therefore $(zbar z)(wbar{w})=1$ and therefore $zbar{z}=1$.
                $endgroup$
                – André Nicolas
                Feb 11 '12 at 8:14














              • 7




                $begingroup$
                Equivalently, by taking conjugates we conclude that $bar{z}bar{w}=1$ and therefore $(zbar z)(wbar{w})=1$ and therefore $zbar{z}=1$.
                $endgroup$
                – André Nicolas
                Feb 11 '12 at 8:14








              7




              7




              $begingroup$
              Equivalently, by taking conjugates we conclude that $bar{z}bar{w}=1$ and therefore $(zbar z)(wbar{w})=1$ and therefore $zbar{z}=1$.
              $endgroup$
              – André Nicolas
              Feb 11 '12 at 8:14




              $begingroup$
              Equivalently, by taking conjugates we conclude that $bar{z}bar{w}=1$ and therefore $(zbar z)(wbar{w})=1$ and therefore $zbar{z}=1$.
              $endgroup$
              – André Nicolas
              Feb 11 '12 at 8:14











              7












              $begingroup$

              Alternatively, $mathbb{Z}[i] = { a + bi : a,b in mathbb{Z}}$. So the norm of $mathbb{Z}[i]$ is $a^{2} + b^{2}$. Now, $a+bi$ is a unit if and only if $a+bi$ divides 1. Hence $N(a+bi)=pm 1. $



              So, $a^{2} + b^{2} = pm 1$
              Since $a,b in mathbb{Z}$, the only solutions are $a=pm 1$, $b=0$ and $a=0$, $b=pm1$. So the units are $1, -1, i, -i$






              share|cite|improve this answer











              $endgroup$


















                7












                $begingroup$

                Alternatively, $mathbb{Z}[i] = { a + bi : a,b in mathbb{Z}}$. So the norm of $mathbb{Z}[i]$ is $a^{2} + b^{2}$. Now, $a+bi$ is a unit if and only if $a+bi$ divides 1. Hence $N(a+bi)=pm 1. $



                So, $a^{2} + b^{2} = pm 1$
                Since $a,b in mathbb{Z}$, the only solutions are $a=pm 1$, $b=0$ and $a=0$, $b=pm1$. So the units are $1, -1, i, -i$






                share|cite|improve this answer











                $endgroup$
















                  7












                  7








                  7





                  $begingroup$

                  Alternatively, $mathbb{Z}[i] = { a + bi : a,b in mathbb{Z}}$. So the norm of $mathbb{Z}[i]$ is $a^{2} + b^{2}$. Now, $a+bi$ is a unit if and only if $a+bi$ divides 1. Hence $N(a+bi)=pm 1. $



                  So, $a^{2} + b^{2} = pm 1$
                  Since $a,b in mathbb{Z}$, the only solutions are $a=pm 1$, $b=0$ and $a=0$, $b=pm1$. So the units are $1, -1, i, -i$






                  share|cite|improve this answer











                  $endgroup$



                  Alternatively, $mathbb{Z}[i] = { a + bi : a,b in mathbb{Z}}$. So the norm of $mathbb{Z}[i]$ is $a^{2} + b^{2}$. Now, $a+bi$ is a unit if and only if $a+bi$ divides 1. Hence $N(a+bi)=pm 1. $



                  So, $a^{2} + b^{2} = pm 1$
                  Since $a,b in mathbb{Z}$, the only solutions are $a=pm 1$, $b=0$ and $a=0$, $b=pm1$. So the units are $1, -1, i, -i$







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited Apr 19 '16 at 18:29







                  user217174

















                  answered Apr 19 '16 at 18:11









                  DMSTADMSTA

                  7112




                  7112






























                      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%2f108071%2funits-of-gaussian-integers%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

                      MongoDB - Not Authorized To Execute Command

                      Npm cannot find a required file even through it is in the searched directory

                      in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith