Do the following system of equation have a solution in $mathbb{Z}_{p}$












1












$begingroup$


Consider the equations $5x + 3y = 4$ and $3x + 6y = 1$. I need to find if these equations has a solution in $mathbb{Z}_{3}$ or $mathbb{Z}_{7}$.



I solved these equations in the usual way and found that $x = 1$ and $y = -frac{1}{3}$. I know that $mathbb{Z}_{p}$ contains numbers from $0$ to $p-1$. How do I check if the above $x$ and $y$ are in $mathbb{Z}_{3}$ or $mathbb{Z}_{7}$.?










share|cite|improve this question











$endgroup$

















    1












    $begingroup$


    Consider the equations $5x + 3y = 4$ and $3x + 6y = 1$. I need to find if these equations has a solution in $mathbb{Z}_{3}$ or $mathbb{Z}_{7}$.



    I solved these equations in the usual way and found that $x = 1$ and $y = -frac{1}{3}$. I know that $mathbb{Z}_{p}$ contains numbers from $0$ to $p-1$. How do I check if the above $x$ and $y$ are in $mathbb{Z}_{3}$ or $mathbb{Z}_{7}$.?










    share|cite|improve this question











    $endgroup$















      1












      1








      1





      $begingroup$


      Consider the equations $5x + 3y = 4$ and $3x + 6y = 1$. I need to find if these equations has a solution in $mathbb{Z}_{3}$ or $mathbb{Z}_{7}$.



      I solved these equations in the usual way and found that $x = 1$ and $y = -frac{1}{3}$. I know that $mathbb{Z}_{p}$ contains numbers from $0$ to $p-1$. How do I check if the above $x$ and $y$ are in $mathbb{Z}_{3}$ or $mathbb{Z}_{7}$.?










      share|cite|improve this question











      $endgroup$




      Consider the equations $5x + 3y = 4$ and $3x + 6y = 1$. I need to find if these equations has a solution in $mathbb{Z}_{3}$ or $mathbb{Z}_{7}$.



      I solved these equations in the usual way and found that $x = 1$ and $y = -frac{1}{3}$. I know that $mathbb{Z}_{p}$ contains numbers from $0$ to $p-1$. How do I check if the above $x$ and $y$ are in $mathbb{Z}_{3}$ or $mathbb{Z}_{7}$.?







      linear-algebra systems-of-equations






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 7 '18 at 10:43









      Sujit Bhattacharyya

      1,409519




      1,409519










      asked Dec 7 '18 at 10:40









      user46697user46697

      215211




      215211






















          1 Answer
          1






          active

          oldest

          votes


















          2












          $begingroup$

          As $x=1,y=-dfrac13=(-3)^{-1}$ satisfy both



          but in $pmod3$ or $Z_3,$ there is no inverse of $-3$



          In $Z_7,$ $$(-3)^{-1}equiv2pmod7$$



          Alternatively for obvious reason, $3(x+2y)equiv1pmod3$ is untenable right?






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            Thank you. Can you please explain how you got 2(mod 7).
            $endgroup$
            – user46697
            Dec 7 '18 at 11:02










          • $begingroup$
            @user46697, $$-3cdot2=-6equiv1pmod7$$ right? Typo rectified in the post
            $endgroup$
            – lab bhattacharjee
            Dec 7 '18 at 11:04











          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%2f3029757%2fdo-the-following-system-of-equation-have-a-solution-in-mathbbz-p%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









          2












          $begingroup$

          As $x=1,y=-dfrac13=(-3)^{-1}$ satisfy both



          but in $pmod3$ or $Z_3,$ there is no inverse of $-3$



          In $Z_7,$ $$(-3)^{-1}equiv2pmod7$$



          Alternatively for obvious reason, $3(x+2y)equiv1pmod3$ is untenable right?






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            Thank you. Can you please explain how you got 2(mod 7).
            $endgroup$
            – user46697
            Dec 7 '18 at 11:02










          • $begingroup$
            @user46697, $$-3cdot2=-6equiv1pmod7$$ right? Typo rectified in the post
            $endgroup$
            – lab bhattacharjee
            Dec 7 '18 at 11:04
















          2












          $begingroup$

          As $x=1,y=-dfrac13=(-3)^{-1}$ satisfy both



          but in $pmod3$ or $Z_3,$ there is no inverse of $-3$



          In $Z_7,$ $$(-3)^{-1}equiv2pmod7$$



          Alternatively for obvious reason, $3(x+2y)equiv1pmod3$ is untenable right?






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            Thank you. Can you please explain how you got 2(mod 7).
            $endgroup$
            – user46697
            Dec 7 '18 at 11:02










          • $begingroup$
            @user46697, $$-3cdot2=-6equiv1pmod7$$ right? Typo rectified in the post
            $endgroup$
            – lab bhattacharjee
            Dec 7 '18 at 11:04














          2












          2








          2





          $begingroup$

          As $x=1,y=-dfrac13=(-3)^{-1}$ satisfy both



          but in $pmod3$ or $Z_3,$ there is no inverse of $-3$



          In $Z_7,$ $$(-3)^{-1}equiv2pmod7$$



          Alternatively for obvious reason, $3(x+2y)equiv1pmod3$ is untenable right?






          share|cite|improve this answer











          $endgroup$



          As $x=1,y=-dfrac13=(-3)^{-1}$ satisfy both



          but in $pmod3$ or $Z_3,$ there is no inverse of $-3$



          In $Z_7,$ $$(-3)^{-1}equiv2pmod7$$



          Alternatively for obvious reason, $3(x+2y)equiv1pmod3$ is untenable right?







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Dec 7 '18 at 11:03

























          answered Dec 7 '18 at 10:43









          lab bhattacharjeelab bhattacharjee

          226k15158275




          226k15158275












          • $begingroup$
            Thank you. Can you please explain how you got 2(mod 7).
            $endgroup$
            – user46697
            Dec 7 '18 at 11:02










          • $begingroup$
            @user46697, $$-3cdot2=-6equiv1pmod7$$ right? Typo rectified in the post
            $endgroup$
            – lab bhattacharjee
            Dec 7 '18 at 11:04


















          • $begingroup$
            Thank you. Can you please explain how you got 2(mod 7).
            $endgroup$
            – user46697
            Dec 7 '18 at 11:02










          • $begingroup$
            @user46697, $$-3cdot2=-6equiv1pmod7$$ right? Typo rectified in the post
            $endgroup$
            – lab bhattacharjee
            Dec 7 '18 at 11:04
















          $begingroup$
          Thank you. Can you please explain how you got 2(mod 7).
          $endgroup$
          – user46697
          Dec 7 '18 at 11:02




          $begingroup$
          Thank you. Can you please explain how you got 2(mod 7).
          $endgroup$
          – user46697
          Dec 7 '18 at 11:02












          $begingroup$
          @user46697, $$-3cdot2=-6equiv1pmod7$$ right? Typo rectified in the post
          $endgroup$
          – lab bhattacharjee
          Dec 7 '18 at 11:04




          $begingroup$
          @user46697, $$-3cdot2=-6equiv1pmod7$$ right? Typo rectified in the post
          $endgroup$
          – lab bhattacharjee
          Dec 7 '18 at 11:04


















          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%2f3029757%2fdo-the-following-system-of-equation-have-a-solution-in-mathbbz-p%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

          Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

          ComboBox Display Member on multiple fields

          Is it possible to collect Nectar points via Trainline?