Can the sum, difference and product of 2 numbers be perfect squares?












2














If we take 2 numbers $x$ and $y$ such that $x>y>0$ and , can $x + y$, $x - y$ and $xy$ all be perfect squares?










share|improve this question









New contributor




Magic turtle is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Is this on topic? Feels like a math question
    – Dr Xorile
    1 hour ago










  • No I made it myself but could not solve it.
    – Magic turtle
    1 hour ago
















2














If we take 2 numbers $x$ and $y$ such that $x>y>0$ and , can $x + y$, $x - y$ and $xy$ all be perfect squares?










share|improve this question









New contributor




Magic turtle is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Is this on topic? Feels like a math question
    – Dr Xorile
    1 hour ago










  • No I made it myself but could not solve it.
    – Magic turtle
    1 hour ago














2












2








2







If we take 2 numbers $x$ and $y$ such that $x>y>0$ and , can $x + y$, $x - y$ and $xy$ all be perfect squares?










share|improve this question









New contributor




Magic turtle is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











If we take 2 numbers $x$ and $y$ such that $x>y>0$ and , can $x + y$, $x - y$ and $xy$ all be perfect squares?







mathematics number-theory algebra






share|improve this question









New contributor




Magic turtle is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Magic turtle is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 hours ago







Magic turtle













New contributor




Magic turtle is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 3 hours ago









Magic turtleMagic turtle

205




205




New contributor




Magic turtle is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Magic turtle is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Magic turtle is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Is this on topic? Feels like a math question
    – Dr Xorile
    1 hour ago










  • No I made it myself but could not solve it.
    – Magic turtle
    1 hour ago


















  • Is this on topic? Feels like a math question
    – Dr Xorile
    1 hour ago










  • No I made it myself but could not solve it.
    – Magic turtle
    1 hour ago
















Is this on topic? Feels like a math question
– Dr Xorile
1 hour ago




Is this on topic? Feels like a math question
– Dr Xorile
1 hour ago












No I made it myself but could not solve it.
– Magic turtle
1 hour ago




No I made it myself but could not solve it.
– Magic turtle
1 hour ago










2 Answers
2






active

oldest

votes


















4














The answer is




that they cannot.




Suppose $x+y=a^2$ and $x-y=b^2$. Then




$x,y=frac{a^2pm b^2}2$ and therefore $4xy=a^4-b^4$. So if this too is a square we have $a^4-b^4=c^2$. Now see https://math.stackexchange.com/questions/153546/solving-x4-y4-z2 where it is shown that there are no solutions to this equation in nonzero integers.







share|improve this answer





























    2














    (Before the OP clarifying that 0 is disallowed)



    Yes.




    x = 4, y = 0; x+y = 4, x-y = 4, xy = 0. (x can be any perfect square, I just decided to use 4)







    share|improve this answer























    • Sorry my fault, I meant to include that y cannot = 0.
      – Magic turtle
      2 hours ago










    • But can x be 0?
      – Ian MacDonald
      1 hour ago










    • If x were 0 y would be less than 0 making x + y negative and a negative number cannot be a perfect square
      – Magic turtle
      1 hour ago











    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: "559"
    };
    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: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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
    });


    }
    });






    Magic turtle is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fpuzzling.stackexchange.com%2fquestions%2f78202%2fcan-the-sum-difference-and-product-of-2-numbers-be-perfect-squares%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4














    The answer is




    that they cannot.




    Suppose $x+y=a^2$ and $x-y=b^2$. Then




    $x,y=frac{a^2pm b^2}2$ and therefore $4xy=a^4-b^4$. So if this too is a square we have $a^4-b^4=c^2$. Now see https://math.stackexchange.com/questions/153546/solving-x4-y4-z2 where it is shown that there are no solutions to this equation in nonzero integers.







    share|improve this answer


























      4














      The answer is




      that they cannot.




      Suppose $x+y=a^2$ and $x-y=b^2$. Then




      $x,y=frac{a^2pm b^2}2$ and therefore $4xy=a^4-b^4$. So if this too is a square we have $a^4-b^4=c^2$. Now see https://math.stackexchange.com/questions/153546/solving-x4-y4-z2 where it is shown that there are no solutions to this equation in nonzero integers.







      share|improve this answer
























        4












        4








        4






        The answer is




        that they cannot.




        Suppose $x+y=a^2$ and $x-y=b^2$. Then




        $x,y=frac{a^2pm b^2}2$ and therefore $4xy=a^4-b^4$. So if this too is a square we have $a^4-b^4=c^2$. Now see https://math.stackexchange.com/questions/153546/solving-x4-y4-z2 where it is shown that there are no solutions to this equation in nonzero integers.







        share|improve this answer












        The answer is




        that they cannot.




        Suppose $x+y=a^2$ and $x-y=b^2$. Then




        $x,y=frac{a^2pm b^2}2$ and therefore $4xy=a^4-b^4$. So if this too is a square we have $a^4-b^4=c^2$. Now see https://math.stackexchange.com/questions/153546/solving-x4-y4-z2 where it is shown that there are no solutions to this equation in nonzero integers.








        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 1 hour ago









        Gareth McCaughanGareth McCaughan

        60.6k3151235




        60.6k3151235























            2














            (Before the OP clarifying that 0 is disallowed)



            Yes.




            x = 4, y = 0; x+y = 4, x-y = 4, xy = 0. (x can be any perfect square, I just decided to use 4)







            share|improve this answer























            • Sorry my fault, I meant to include that y cannot = 0.
              – Magic turtle
              2 hours ago










            • But can x be 0?
              – Ian MacDonald
              1 hour ago










            • If x were 0 y would be less than 0 making x + y negative and a negative number cannot be a perfect square
              – Magic turtle
              1 hour ago
















            2














            (Before the OP clarifying that 0 is disallowed)



            Yes.




            x = 4, y = 0; x+y = 4, x-y = 4, xy = 0. (x can be any perfect square, I just decided to use 4)







            share|improve this answer























            • Sorry my fault, I meant to include that y cannot = 0.
              – Magic turtle
              2 hours ago










            • But can x be 0?
              – Ian MacDonald
              1 hour ago










            • If x were 0 y would be less than 0 making x + y negative and a negative number cannot be a perfect square
              – Magic turtle
              1 hour ago














            2












            2








            2






            (Before the OP clarifying that 0 is disallowed)



            Yes.




            x = 4, y = 0; x+y = 4, x-y = 4, xy = 0. (x can be any perfect square, I just decided to use 4)







            share|improve this answer














            (Before the OP clarifying that 0 is disallowed)



            Yes.




            x = 4, y = 0; x+y = 4, x-y = 4, xy = 0. (x can be any perfect square, I just decided to use 4)








            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 1 hour ago

























            answered 3 hours ago









            Excited RaichuExcited Raichu

            6,11821065




            6,11821065












            • Sorry my fault, I meant to include that y cannot = 0.
              – Magic turtle
              2 hours ago










            • But can x be 0?
              – Ian MacDonald
              1 hour ago










            • If x were 0 y would be less than 0 making x + y negative and a negative number cannot be a perfect square
              – Magic turtle
              1 hour ago


















            • Sorry my fault, I meant to include that y cannot = 0.
              – Magic turtle
              2 hours ago










            • But can x be 0?
              – Ian MacDonald
              1 hour ago










            • If x were 0 y would be less than 0 making x + y negative and a negative number cannot be a perfect square
              – Magic turtle
              1 hour ago
















            Sorry my fault, I meant to include that y cannot = 0.
            – Magic turtle
            2 hours ago




            Sorry my fault, I meant to include that y cannot = 0.
            – Magic turtle
            2 hours ago












            But can x be 0?
            – Ian MacDonald
            1 hour ago




            But can x be 0?
            – Ian MacDonald
            1 hour ago












            If x were 0 y would be less than 0 making x + y negative and a negative number cannot be a perfect square
            – Magic turtle
            1 hour ago




            If x were 0 y would be less than 0 making x + y negative and a negative number cannot be a perfect square
            – Magic turtle
            1 hour ago










            Magic turtle is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            Magic turtle is a new contributor. Be nice, and check out our Code of Conduct.













            Magic turtle is a new contributor. Be nice, and check out our Code of Conduct.












            Magic turtle is a new contributor. Be nice, and check out our Code of Conduct.
















            Thanks for contributing an answer to Puzzling 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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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.


            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%2fpuzzling.stackexchange.com%2fquestions%2f78202%2fcan-the-sum-difference-and-product-of-2-numbers-be-perfect-squares%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

            Boot-repair Failure: Unable to locate package grub-common:i386

            Aws NAT - Aws IGW- Aws router

            濃尾地震