Let k be an integer. Disprove: “The equation x^2 − x − k = 0 has no integer solution if and only if k...












2












$begingroup$


My problem is I keep ending up proving the statement true, instead of disproving it. I was getting it mixed up in my mind so I broke it down into very explicit steps but now I'm wondering if I'm overthinking it?



I started out proving that if there is no integer solution, then k is even (one negation of the statement, P and not Q where P = no integer solution and Q = k is odd). By contrapositive I try to prove that if k is odd then there is an integer solution (I quickly recognized this is the same as the other negation, Q and not P, so this is the only thing I need to prove).



So k = 2n + 1 for any integer n. Then x^2-x -(2n+1) = 0. So x^2-x=2n+1. But if x is an integer then x^2-x must always be even, and cannot equal an odd integer 2n+1. So this has led to a contradiction, which means I just proved that if k is odd then there is no integer solution.



Is my logic off somewhere, or should I be approaching it differently? Sorry if this has an obvious answer, I only started doing proofs this quarter. Thanks










share|cite|improve this question







New contributor




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







$endgroup$












  • $begingroup$
    Welcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
    $endgroup$
    – José Carlos Santos
    3 hours ago










  • $begingroup$
    You proved in the end that ($k$ is odd) $implies$ (no integer solutions). Now you still have to prove the sufficient condition and that is if there is (no integer solutions) $implies$ ($k$ is odd), which is equivalent to proving ($k$ is not odd) $implies$ (there exist an integer solution). I think you didn't prove this, am I right?
    $endgroup$
    – Fareed AF
    3 hours ago
















2












$begingroup$


My problem is I keep ending up proving the statement true, instead of disproving it. I was getting it mixed up in my mind so I broke it down into very explicit steps but now I'm wondering if I'm overthinking it?



I started out proving that if there is no integer solution, then k is even (one negation of the statement, P and not Q where P = no integer solution and Q = k is odd). By contrapositive I try to prove that if k is odd then there is an integer solution (I quickly recognized this is the same as the other negation, Q and not P, so this is the only thing I need to prove).



So k = 2n + 1 for any integer n. Then x^2-x -(2n+1) = 0. So x^2-x=2n+1. But if x is an integer then x^2-x must always be even, and cannot equal an odd integer 2n+1. So this has led to a contradiction, which means I just proved that if k is odd then there is no integer solution.



Is my logic off somewhere, or should I be approaching it differently? Sorry if this has an obvious answer, I only started doing proofs this quarter. Thanks










share|cite|improve this question







New contributor




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







$endgroup$












  • $begingroup$
    Welcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
    $endgroup$
    – José Carlos Santos
    3 hours ago










  • $begingroup$
    You proved in the end that ($k$ is odd) $implies$ (no integer solutions). Now you still have to prove the sufficient condition and that is if there is (no integer solutions) $implies$ ($k$ is odd), which is equivalent to proving ($k$ is not odd) $implies$ (there exist an integer solution). I think you didn't prove this, am I right?
    $endgroup$
    – Fareed AF
    3 hours ago














2












2








2





$begingroup$


My problem is I keep ending up proving the statement true, instead of disproving it. I was getting it mixed up in my mind so I broke it down into very explicit steps but now I'm wondering if I'm overthinking it?



I started out proving that if there is no integer solution, then k is even (one negation of the statement, P and not Q where P = no integer solution and Q = k is odd). By contrapositive I try to prove that if k is odd then there is an integer solution (I quickly recognized this is the same as the other negation, Q and not P, so this is the only thing I need to prove).



So k = 2n + 1 for any integer n. Then x^2-x -(2n+1) = 0. So x^2-x=2n+1. But if x is an integer then x^2-x must always be even, and cannot equal an odd integer 2n+1. So this has led to a contradiction, which means I just proved that if k is odd then there is no integer solution.



Is my logic off somewhere, or should I be approaching it differently? Sorry if this has an obvious answer, I only started doing proofs this quarter. Thanks










share|cite|improve this question







New contributor




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







$endgroup$




My problem is I keep ending up proving the statement true, instead of disproving it. I was getting it mixed up in my mind so I broke it down into very explicit steps but now I'm wondering if I'm overthinking it?



I started out proving that if there is no integer solution, then k is even (one negation of the statement, P and not Q where P = no integer solution and Q = k is odd). By contrapositive I try to prove that if k is odd then there is an integer solution (I quickly recognized this is the same as the other negation, Q and not P, so this is the only thing I need to prove).



So k = 2n + 1 for any integer n. Then x^2-x -(2n+1) = 0. So x^2-x=2n+1. But if x is an integer then x^2-x must always be even, and cannot equal an odd integer 2n+1. So this has led to a contradiction, which means I just proved that if k is odd then there is no integer solution.



Is my logic off somewhere, or should I be approaching it differently? Sorry if this has an obvious answer, I only started doing proofs this quarter. Thanks







proof-verification






share|cite|improve this question







New contributor




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











share|cite|improve this question







New contributor




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









share|cite|improve this question




share|cite|improve this question






New contributor




jenelle 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









jenellejenelle

132




132




New contributor




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





New contributor





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






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












  • $begingroup$
    Welcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
    $endgroup$
    – José Carlos Santos
    3 hours ago










  • $begingroup$
    You proved in the end that ($k$ is odd) $implies$ (no integer solutions). Now you still have to prove the sufficient condition and that is if there is (no integer solutions) $implies$ ($k$ is odd), which is equivalent to proving ($k$ is not odd) $implies$ (there exist an integer solution). I think you didn't prove this, am I right?
    $endgroup$
    – Fareed AF
    3 hours ago


















  • $begingroup$
    Welcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
    $endgroup$
    – José Carlos Santos
    3 hours ago










  • $begingroup$
    You proved in the end that ($k$ is odd) $implies$ (no integer solutions). Now you still have to prove the sufficient condition and that is if there is (no integer solutions) $implies$ ($k$ is odd), which is equivalent to proving ($k$ is not odd) $implies$ (there exist an integer solution). I think you didn't prove this, am I right?
    $endgroup$
    – Fareed AF
    3 hours ago
















$begingroup$
Welcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
$endgroup$
– José Carlos Santos
3 hours ago




$begingroup$
Welcome to MSE. For some basic information about writing mathematics at this site see, e.g., basic help on mathjax notation, mathjax tutorial and quick reference, main meta site math tutorial and equation editing how-to.
$endgroup$
– José Carlos Santos
3 hours ago












$begingroup$
You proved in the end that ($k$ is odd) $implies$ (no integer solutions). Now you still have to prove the sufficient condition and that is if there is (no integer solutions) $implies$ ($k$ is odd), which is equivalent to proving ($k$ is not odd) $implies$ (there exist an integer solution). I think you didn't prove this, am I right?
$endgroup$
– Fareed AF
3 hours ago




$begingroup$
You proved in the end that ($k$ is odd) $implies$ (no integer solutions). Now you still have to prove the sufficient condition and that is if there is (no integer solutions) $implies$ ($k$ is odd), which is equivalent to proving ($k$ is not odd) $implies$ (there exist an integer solution). I think you didn't prove this, am I right?
$endgroup$
– Fareed AF
3 hours ago










2 Answers
2






active

oldest

votes


















4












$begingroup$

You seem to be struggling with the logic involved here. The statement is
$$
ktext{ is odd}iff x^2-x-k=0text{ has no integer solutions}
$$

Yes, it seems that making $k$ odd makes the equation have no integer solutions (in other words, the $implies$ direction is true). Your proof of this looks fine.



However, the statement also claims that if there are no integer solutions, then $k$ is odd (the $Longleftarrow$ direction). The contrapositive of this claim is that making $k$ even will always result in an integer solution. This is disproven by providing a single counterexample.






share|cite|improve this answer











$endgroup$





















    1












    $begingroup$

    Hint:



    $x^2-x-k=0 Rightarrow x=frac{1 pm sqrt{4k+1}}{2}$



    So $x$ can only be an integer if $4k+1$ is the square of an odd number.



    This is true when $x=2$, in which case $sqrt{4k+1}=3$, and when $x=6$, in which case $sqrt{4k+1}=5$.



    But what about when $k=4$ ?






    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
      });


      }
      });






      jenelle 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%2fmath.stackexchange.com%2fquestions%2f3084179%2flet-k-be-an-integer-disprove-the-equation-x2-%25e2%2588%2592-x-%25e2%2588%2592-k-0-has-no-integer-solu%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












      $begingroup$

      You seem to be struggling with the logic involved here. The statement is
      $$
      ktext{ is odd}iff x^2-x-k=0text{ has no integer solutions}
      $$

      Yes, it seems that making $k$ odd makes the equation have no integer solutions (in other words, the $implies$ direction is true). Your proof of this looks fine.



      However, the statement also claims that if there are no integer solutions, then $k$ is odd (the $Longleftarrow$ direction). The contrapositive of this claim is that making $k$ even will always result in an integer solution. This is disproven by providing a single counterexample.






      share|cite|improve this answer











      $endgroup$


















        4












        $begingroup$

        You seem to be struggling with the logic involved here. The statement is
        $$
        ktext{ is odd}iff x^2-x-k=0text{ has no integer solutions}
        $$

        Yes, it seems that making $k$ odd makes the equation have no integer solutions (in other words, the $implies$ direction is true). Your proof of this looks fine.



        However, the statement also claims that if there are no integer solutions, then $k$ is odd (the $Longleftarrow$ direction). The contrapositive of this claim is that making $k$ even will always result in an integer solution. This is disproven by providing a single counterexample.






        share|cite|improve this answer











        $endgroup$
















          4












          4








          4





          $begingroup$

          You seem to be struggling with the logic involved here. The statement is
          $$
          ktext{ is odd}iff x^2-x-k=0text{ has no integer solutions}
          $$

          Yes, it seems that making $k$ odd makes the equation have no integer solutions (in other words, the $implies$ direction is true). Your proof of this looks fine.



          However, the statement also claims that if there are no integer solutions, then $k$ is odd (the $Longleftarrow$ direction). The contrapositive of this claim is that making $k$ even will always result in an integer solution. This is disproven by providing a single counterexample.






          share|cite|improve this answer











          $endgroup$



          You seem to be struggling with the logic involved here. The statement is
          $$
          ktext{ is odd}iff x^2-x-k=0text{ has no integer solutions}
          $$

          Yes, it seems that making $k$ odd makes the equation have no integer solutions (in other words, the $implies$ direction is true). Your proof of this looks fine.



          However, the statement also claims that if there are no integer solutions, then $k$ is odd (the $Longleftarrow$ direction). The contrapositive of this claim is that making $k$ even will always result in an integer solution. This is disproven by providing a single counterexample.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited 3 hours ago

























          answered 3 hours ago









          ArthurArthur

          112k7108192




          112k7108192























              1












              $begingroup$

              Hint:



              $x^2-x-k=0 Rightarrow x=frac{1 pm sqrt{4k+1}}{2}$



              So $x$ can only be an integer if $4k+1$ is the square of an odd number.



              This is true when $x=2$, in which case $sqrt{4k+1}=3$, and when $x=6$, in which case $sqrt{4k+1}=5$.



              But what about when $k=4$ ?






              share|cite|improve this answer









              $endgroup$


















                1












                $begingroup$

                Hint:



                $x^2-x-k=0 Rightarrow x=frac{1 pm sqrt{4k+1}}{2}$



                So $x$ can only be an integer if $4k+1$ is the square of an odd number.



                This is true when $x=2$, in which case $sqrt{4k+1}=3$, and when $x=6$, in which case $sqrt{4k+1}=5$.



                But what about when $k=4$ ?






                share|cite|improve this answer









                $endgroup$
















                  1












                  1








                  1





                  $begingroup$

                  Hint:



                  $x^2-x-k=0 Rightarrow x=frac{1 pm sqrt{4k+1}}{2}$



                  So $x$ can only be an integer if $4k+1$ is the square of an odd number.



                  This is true when $x=2$, in which case $sqrt{4k+1}=3$, and when $x=6$, in which case $sqrt{4k+1}=5$.



                  But what about when $k=4$ ?






                  share|cite|improve this answer









                  $endgroup$



                  Hint:



                  $x^2-x-k=0 Rightarrow x=frac{1 pm sqrt{4k+1}}{2}$



                  So $x$ can only be an integer if $4k+1$ is the square of an odd number.



                  This is true when $x=2$, in which case $sqrt{4k+1}=3$, and when $x=6$, in which case $sqrt{4k+1}=5$.



                  But what about when $k=4$ ?







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered 19 mins ago









                  gandalf61gandalf61

                  8,096625




                  8,096625






















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










                      draft saved

                      draft discarded


















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













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












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
















                      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%2f3084179%2flet-k-be-an-integer-disprove-the-equation-x2-%25e2%2588%2592-x-%25e2%2588%2592-k-0-has-no-integer-solu%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

                      SQL Server 17 - Attemping to backup to remote NAS but Access is denied

                      Always On Availability groups resolving state after failover - Remote harden of transaction...

                      Restoring from pg_dump with foreign key constraints