Find all integer solutions for $2(x^2+y^2)+x+y=5xy$












4












$begingroup$



Find all integer solutions for $2(x^2+y^2)+x+y=5xy$




I have been attempting to solve this question for a long period of time but have never achieved anything. I tried to go back to WolframAlpha and it gave me that the integer solutions were $x=y=2, x=y=0$. I tried to make to factor it and have a number left on the RHS so I can find out its factors but could not factor it. I also tried making it into the form of: $(x-a_1)^2+(y-a_2)^2+(text{ })(text{ })$ but was unable to determine what would be located inside the empty brackets and the values of $a_1,a_2$. I also tried to multiply the equation by $2$ to get $4x^2=(2x)^2$ Another attempt was assuming that WLOG $xge y iff x=y+a$ which would give me that $a=0$ and from there I could get that $x=y$ and therefore $x=y=0,2$ from basic math. I hope I could get help on this question and thank you anyways.










share|cite|improve this question









$endgroup$

















    4












    $begingroup$



    Find all integer solutions for $2(x^2+y^2)+x+y=5xy$




    I have been attempting to solve this question for a long period of time but have never achieved anything. I tried to go back to WolframAlpha and it gave me that the integer solutions were $x=y=2, x=y=0$. I tried to make to factor it and have a number left on the RHS so I can find out its factors but could not factor it. I also tried making it into the form of: $(x-a_1)^2+(y-a_2)^2+(text{ })(text{ })$ but was unable to determine what would be located inside the empty brackets and the values of $a_1,a_2$. I also tried to multiply the equation by $2$ to get $4x^2=(2x)^2$ Another attempt was assuming that WLOG $xge y iff x=y+a$ which would give me that $a=0$ and from there I could get that $x=y$ and therefore $x=y=0,2$ from basic math. I hope I could get help on this question and thank you anyways.










    share|cite|improve this question









    $endgroup$















      4












      4








      4





      $begingroup$



      Find all integer solutions for $2(x^2+y^2)+x+y=5xy$




      I have been attempting to solve this question for a long period of time but have never achieved anything. I tried to go back to WolframAlpha and it gave me that the integer solutions were $x=y=2, x=y=0$. I tried to make to factor it and have a number left on the RHS so I can find out its factors but could not factor it. I also tried making it into the form of: $(x-a_1)^2+(y-a_2)^2+(text{ })(text{ })$ but was unable to determine what would be located inside the empty brackets and the values of $a_1,a_2$. I also tried to multiply the equation by $2$ to get $4x^2=(2x)^2$ Another attempt was assuming that WLOG $xge y iff x=y+a$ which would give me that $a=0$ and from there I could get that $x=y$ and therefore $x=y=0,2$ from basic math. I hope I could get help on this question and thank you anyways.










      share|cite|improve this question









      $endgroup$





      Find all integer solutions for $2(x^2+y^2)+x+y=5xy$




      I have been attempting to solve this question for a long period of time but have never achieved anything. I tried to go back to WolframAlpha and it gave me that the integer solutions were $x=y=2, x=y=0$. I tried to make to factor it and have a number left on the RHS so I can find out its factors but could not factor it. I also tried making it into the form of: $(x-a_1)^2+(y-a_2)^2+(text{ })(text{ })$ but was unable to determine what would be located inside the empty brackets and the values of $a_1,a_2$. I also tried to multiply the equation by $2$ to get $4x^2=(2x)^2$ Another attempt was assuming that WLOG $xge y iff x=y+a$ which would give me that $a=0$ and from there I could get that $x=y$ and therefore $x=y=0,2$ from basic math. I hope I could get help on this question and thank you anyways.







      algebra-precalculus






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Dec 31 '18 at 18:11









      user587054user587054

      51911




      51911






















          3 Answers
          3






          active

          oldest

          votes


















          2












          $begingroup$

          Hint



          $$2x^2+x(1-5y)+2y^2+y=0$$ is a quadratic equation in $x$



          The discriminant $d=(1-5y)^2-8(2y^2+y)=9y^2-18y+1=(3y-3)^2-8$



          As $d$ needs to be perfect square, $(3y-3)^2-8=z^2$(say)



          $(3y-3-z)(3y-3+z)=8$



          As the multiplicands have the same parity, both must be even



          $dfrac{3y-3-z}2cdotdfrac{3y-3+z}2=2$






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            $$2=(-2)(-1)=2cdot1$$
            $endgroup$
            – lab bhattacharjee
            Dec 31 '18 at 18:21



















          4












          $begingroup$

          $$ (2x-y-1)(x-2y+1) = -1 $$
          With integers, you must have either $1 cdot (-1)$ or $(-1) cdot 1$
          Both cases give an intersection of a pair of (non-parallel) lines, so just two points total






          share|cite|improve this answer









          $endgroup$





















            1












            $begingroup$

            You have a quadratic equation on $x$ with parameter $y$: $$2x^2+x(1-5y)+2y^2+y=0$$
            so the discriminat must be prefect square
            $$ d^2 = (1-5y)^2-8(2y^2+y) = 9y^2-18y+1$$



            So we have $$8 = 9(y-1)^2 -d^2 = (3y-3-d)(3y-3+d)$$



            and now should be easy...






            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%2f3057921%2ffind-all-integer-solutions-for-2x2y2xy-5xy%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









              2












              $begingroup$

              Hint



              $$2x^2+x(1-5y)+2y^2+y=0$$ is a quadratic equation in $x$



              The discriminant $d=(1-5y)^2-8(2y^2+y)=9y^2-18y+1=(3y-3)^2-8$



              As $d$ needs to be perfect square, $(3y-3)^2-8=z^2$(say)



              $(3y-3-z)(3y-3+z)=8$



              As the multiplicands have the same parity, both must be even



              $dfrac{3y-3-z}2cdotdfrac{3y-3+z}2=2$






              share|cite|improve this answer









              $endgroup$













              • $begingroup$
                $$2=(-2)(-1)=2cdot1$$
                $endgroup$
                – lab bhattacharjee
                Dec 31 '18 at 18:21
















              2












              $begingroup$

              Hint



              $$2x^2+x(1-5y)+2y^2+y=0$$ is a quadratic equation in $x$



              The discriminant $d=(1-5y)^2-8(2y^2+y)=9y^2-18y+1=(3y-3)^2-8$



              As $d$ needs to be perfect square, $(3y-3)^2-8=z^2$(say)



              $(3y-3-z)(3y-3+z)=8$



              As the multiplicands have the same parity, both must be even



              $dfrac{3y-3-z}2cdotdfrac{3y-3+z}2=2$






              share|cite|improve this answer









              $endgroup$













              • $begingroup$
                $$2=(-2)(-1)=2cdot1$$
                $endgroup$
                – lab bhattacharjee
                Dec 31 '18 at 18:21














              2












              2








              2





              $begingroup$

              Hint



              $$2x^2+x(1-5y)+2y^2+y=0$$ is a quadratic equation in $x$



              The discriminant $d=(1-5y)^2-8(2y^2+y)=9y^2-18y+1=(3y-3)^2-8$



              As $d$ needs to be perfect square, $(3y-3)^2-8=z^2$(say)



              $(3y-3-z)(3y-3+z)=8$



              As the multiplicands have the same parity, both must be even



              $dfrac{3y-3-z}2cdotdfrac{3y-3+z}2=2$






              share|cite|improve this answer









              $endgroup$



              Hint



              $$2x^2+x(1-5y)+2y^2+y=0$$ is a quadratic equation in $x$



              The discriminant $d=(1-5y)^2-8(2y^2+y)=9y^2-18y+1=(3y-3)^2-8$



              As $d$ needs to be perfect square, $(3y-3)^2-8=z^2$(say)



              $(3y-3-z)(3y-3+z)=8$



              As the multiplicands have the same parity, both must be even



              $dfrac{3y-3-z}2cdotdfrac{3y-3+z}2=2$







              share|cite|improve this answer












              share|cite|improve this answer



              share|cite|improve this answer










              answered Dec 31 '18 at 18:17









              lab bhattacharjeelab bhattacharjee

              226k15157275




              226k15157275












              • $begingroup$
                $$2=(-2)(-1)=2cdot1$$
                $endgroup$
                – lab bhattacharjee
                Dec 31 '18 at 18:21


















              • $begingroup$
                $$2=(-2)(-1)=2cdot1$$
                $endgroup$
                – lab bhattacharjee
                Dec 31 '18 at 18:21
















              $begingroup$
              $$2=(-2)(-1)=2cdot1$$
              $endgroup$
              – lab bhattacharjee
              Dec 31 '18 at 18:21




              $begingroup$
              $$2=(-2)(-1)=2cdot1$$
              $endgroup$
              – lab bhattacharjee
              Dec 31 '18 at 18:21











              4












              $begingroup$

              $$ (2x-y-1)(x-2y+1) = -1 $$
              With integers, you must have either $1 cdot (-1)$ or $(-1) cdot 1$
              Both cases give an intersection of a pair of (non-parallel) lines, so just two points total






              share|cite|improve this answer









              $endgroup$


















                4












                $begingroup$

                $$ (2x-y-1)(x-2y+1) = -1 $$
                With integers, you must have either $1 cdot (-1)$ or $(-1) cdot 1$
                Both cases give an intersection of a pair of (non-parallel) lines, so just two points total






                share|cite|improve this answer









                $endgroup$
















                  4












                  4








                  4





                  $begingroup$

                  $$ (2x-y-1)(x-2y+1) = -1 $$
                  With integers, you must have either $1 cdot (-1)$ or $(-1) cdot 1$
                  Both cases give an intersection of a pair of (non-parallel) lines, so just two points total






                  share|cite|improve this answer









                  $endgroup$



                  $$ (2x-y-1)(x-2y+1) = -1 $$
                  With integers, you must have either $1 cdot (-1)$ or $(-1) cdot 1$
                  Both cases give an intersection of a pair of (non-parallel) lines, so just two points total







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Dec 31 '18 at 18:29









                  Will JagyWill Jagy

                  103k5102200




                  103k5102200























                      1












                      $begingroup$

                      You have a quadratic equation on $x$ with parameter $y$: $$2x^2+x(1-5y)+2y^2+y=0$$
                      so the discriminat must be prefect square
                      $$ d^2 = (1-5y)^2-8(2y^2+y) = 9y^2-18y+1$$



                      So we have $$8 = 9(y-1)^2 -d^2 = (3y-3-d)(3y-3+d)$$



                      and now should be easy...






                      share|cite|improve this answer









                      $endgroup$


















                        1












                        $begingroup$

                        You have a quadratic equation on $x$ with parameter $y$: $$2x^2+x(1-5y)+2y^2+y=0$$
                        so the discriminat must be prefect square
                        $$ d^2 = (1-5y)^2-8(2y^2+y) = 9y^2-18y+1$$



                        So we have $$8 = 9(y-1)^2 -d^2 = (3y-3-d)(3y-3+d)$$



                        and now should be easy...






                        share|cite|improve this answer









                        $endgroup$
















                          1












                          1








                          1





                          $begingroup$

                          You have a quadratic equation on $x$ with parameter $y$: $$2x^2+x(1-5y)+2y^2+y=0$$
                          so the discriminat must be prefect square
                          $$ d^2 = (1-5y)^2-8(2y^2+y) = 9y^2-18y+1$$



                          So we have $$8 = 9(y-1)^2 -d^2 = (3y-3-d)(3y-3+d)$$



                          and now should be easy...






                          share|cite|improve this answer









                          $endgroup$



                          You have a quadratic equation on $x$ with parameter $y$: $$2x^2+x(1-5y)+2y^2+y=0$$
                          so the discriminat must be prefect square
                          $$ d^2 = (1-5y)^2-8(2y^2+y) = 9y^2-18y+1$$



                          So we have $$8 = 9(y-1)^2 -d^2 = (3y-3-d)(3y-3+d)$$



                          and now should be easy...







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered Dec 31 '18 at 18:20









                          greedoidgreedoid

                          44.8k1156111




                          44.8k1156111






























                              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%2f3057921%2ffind-all-integer-solutions-for-2x2y2xy-5xy%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

                              Quarter-circle Tiles

                              build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

                              Mont Emei