proof on difference of two squares and odd integers











up vote
0
down vote

favorite












How would you prove that every odd integer is a difference of two squares?



I re phrased the problem to make it clearer to me: If $k$ is an odd integer then it ca be expressed in the form $a^2-b^2$ where a and b are integers.



So i start by supposing that k is an odd integer and so $k=2l+1$ for some l in the integers. It seems like you need cases for this but im not really sure how to do it.
Could someone help me out please, thanks.










share|cite|improve this question






















  • See this picture: en.wikipedia.org/wiki/Square_number#Properties.
    – Michael Hoppe
    Dec 4 at 19:35















up vote
0
down vote

favorite












How would you prove that every odd integer is a difference of two squares?



I re phrased the problem to make it clearer to me: If $k$ is an odd integer then it ca be expressed in the form $a^2-b^2$ where a and b are integers.



So i start by supposing that k is an odd integer and so $k=2l+1$ for some l in the integers. It seems like you need cases for this but im not really sure how to do it.
Could someone help me out please, thanks.










share|cite|improve this question






















  • See this picture: en.wikipedia.org/wiki/Square_number#Properties.
    – Michael Hoppe
    Dec 4 at 19:35













up vote
0
down vote

favorite









up vote
0
down vote

favorite











How would you prove that every odd integer is a difference of two squares?



I re phrased the problem to make it clearer to me: If $k$ is an odd integer then it ca be expressed in the form $a^2-b^2$ where a and b are integers.



So i start by supposing that k is an odd integer and so $k=2l+1$ for some l in the integers. It seems like you need cases for this but im not really sure how to do it.
Could someone help me out please, thanks.










share|cite|improve this question













How would you prove that every odd integer is a difference of two squares?



I re phrased the problem to make it clearer to me: If $k$ is an odd integer then it ca be expressed in the form $a^2-b^2$ where a and b are integers.



So i start by supposing that k is an odd integer and so $k=2l+1$ for some l in the integers. It seems like you need cases for this but im not really sure how to do it.
Could someone help me out please, thanks.







proof-writing






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 4 at 19:27









Carlos Bacca

178116




178116












  • See this picture: en.wikipedia.org/wiki/Square_number#Properties.
    – Michael Hoppe
    Dec 4 at 19:35


















  • See this picture: en.wikipedia.org/wiki/Square_number#Properties.
    – Michael Hoppe
    Dec 4 at 19:35
















See this picture: en.wikipedia.org/wiki/Square_number#Properties.
– Michael Hoppe
Dec 4 at 19:35




See this picture: en.wikipedia.org/wiki/Square_number#Properties.
– Michael Hoppe
Dec 4 at 19:35










5 Answers
5






active

oldest

votes

















up vote
0
down vote



accepted










Hint: As you mentioned, you have $k = 2l+1$ for some $l$.



From here, note the difference of squares:



$$a^2-b^2 = (a+b)(a-b)$$



Let $a$ and $b$ be two consecutive integers and try to simplify.






share|cite|improve this answer





















  • Thanks, would you have to work from 2l+1 and then add $+l^2-l^2$ then factorise
    – Carlos Bacca
    Dec 4 at 19:38










  • You need to simplify $(b+1)^2-b^2$. Try using the difference of squares and simplify the expression. It will lead straight to the answer you want.
    – KM101
    Dec 4 at 19:39












  • is that working backwards?
    – Carlos Bacca
    Dec 4 at 19:40










  • actually ignore me
    – Carlos Bacca
    Dec 4 at 19:41










  • Nope, it's the continuation of the proof.
    – KM101
    Dec 4 at 19:41


















up vote
0
down vote













Hint:



Compute $(n+1)^2-n^2$.




You should get $2n+1$







share|cite|improve this answer




























    up vote
    0
    down vote













    HINT



    $$(k+1)^2-k^2=2k+1$$
    $$k^2-(k+1)^2=-(2k+1)$$






    share|cite|improve this answer




























      up vote
      0
      down vote













      Hint: What is the difference of squares of two consecutive numbers?






      share|cite|improve this answer




























        up vote
        0
        down vote













        $$3=4-1$$



        $$2n+1=(n+1)^2-n^2$$






        share|cite|improve this answer





















          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',
          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%2f3026022%2fproof-on-difference-of-two-squares-and-odd-integers%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          5 Answers
          5






          active

          oldest

          votes








          5 Answers
          5






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote



          accepted










          Hint: As you mentioned, you have $k = 2l+1$ for some $l$.



          From here, note the difference of squares:



          $$a^2-b^2 = (a+b)(a-b)$$



          Let $a$ and $b$ be two consecutive integers and try to simplify.






          share|cite|improve this answer





















          • Thanks, would you have to work from 2l+1 and then add $+l^2-l^2$ then factorise
            – Carlos Bacca
            Dec 4 at 19:38










          • You need to simplify $(b+1)^2-b^2$. Try using the difference of squares and simplify the expression. It will lead straight to the answer you want.
            – KM101
            Dec 4 at 19:39












          • is that working backwards?
            – Carlos Bacca
            Dec 4 at 19:40










          • actually ignore me
            – Carlos Bacca
            Dec 4 at 19:41










          • Nope, it's the continuation of the proof.
            – KM101
            Dec 4 at 19:41















          up vote
          0
          down vote



          accepted










          Hint: As you mentioned, you have $k = 2l+1$ for some $l$.



          From here, note the difference of squares:



          $$a^2-b^2 = (a+b)(a-b)$$



          Let $a$ and $b$ be two consecutive integers and try to simplify.






          share|cite|improve this answer





















          • Thanks, would you have to work from 2l+1 and then add $+l^2-l^2$ then factorise
            – Carlos Bacca
            Dec 4 at 19:38










          • You need to simplify $(b+1)^2-b^2$. Try using the difference of squares and simplify the expression. It will lead straight to the answer you want.
            – KM101
            Dec 4 at 19:39












          • is that working backwards?
            – Carlos Bacca
            Dec 4 at 19:40










          • actually ignore me
            – Carlos Bacca
            Dec 4 at 19:41










          • Nope, it's the continuation of the proof.
            – KM101
            Dec 4 at 19:41













          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          Hint: As you mentioned, you have $k = 2l+1$ for some $l$.



          From here, note the difference of squares:



          $$a^2-b^2 = (a+b)(a-b)$$



          Let $a$ and $b$ be two consecutive integers and try to simplify.






          share|cite|improve this answer












          Hint: As you mentioned, you have $k = 2l+1$ for some $l$.



          From here, note the difference of squares:



          $$a^2-b^2 = (a+b)(a-b)$$



          Let $a$ and $b$ be two consecutive integers and try to simplify.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Dec 4 at 19:32









          KM101

          3,812417




          3,812417












          • Thanks, would you have to work from 2l+1 and then add $+l^2-l^2$ then factorise
            – Carlos Bacca
            Dec 4 at 19:38










          • You need to simplify $(b+1)^2-b^2$. Try using the difference of squares and simplify the expression. It will lead straight to the answer you want.
            – KM101
            Dec 4 at 19:39












          • is that working backwards?
            – Carlos Bacca
            Dec 4 at 19:40










          • actually ignore me
            – Carlos Bacca
            Dec 4 at 19:41










          • Nope, it's the continuation of the proof.
            – KM101
            Dec 4 at 19:41


















          • Thanks, would you have to work from 2l+1 and then add $+l^2-l^2$ then factorise
            – Carlos Bacca
            Dec 4 at 19:38










          • You need to simplify $(b+1)^2-b^2$. Try using the difference of squares and simplify the expression. It will lead straight to the answer you want.
            – KM101
            Dec 4 at 19:39












          • is that working backwards?
            – Carlos Bacca
            Dec 4 at 19:40










          • actually ignore me
            – Carlos Bacca
            Dec 4 at 19:41










          • Nope, it's the continuation of the proof.
            – KM101
            Dec 4 at 19:41
















          Thanks, would you have to work from 2l+1 and then add $+l^2-l^2$ then factorise
          – Carlos Bacca
          Dec 4 at 19:38




          Thanks, would you have to work from 2l+1 and then add $+l^2-l^2$ then factorise
          – Carlos Bacca
          Dec 4 at 19:38












          You need to simplify $(b+1)^2-b^2$. Try using the difference of squares and simplify the expression. It will lead straight to the answer you want.
          – KM101
          Dec 4 at 19:39






          You need to simplify $(b+1)^2-b^2$. Try using the difference of squares and simplify the expression. It will lead straight to the answer you want.
          – KM101
          Dec 4 at 19:39














          is that working backwards?
          – Carlos Bacca
          Dec 4 at 19:40




          is that working backwards?
          – Carlos Bacca
          Dec 4 at 19:40












          actually ignore me
          – Carlos Bacca
          Dec 4 at 19:41




          actually ignore me
          – Carlos Bacca
          Dec 4 at 19:41












          Nope, it's the continuation of the proof.
          – KM101
          Dec 4 at 19:41




          Nope, it's the continuation of the proof.
          – KM101
          Dec 4 at 19:41










          up vote
          0
          down vote













          Hint:



          Compute $(n+1)^2-n^2$.




          You should get $2n+1$







          share|cite|improve this answer

























            up vote
            0
            down vote













            Hint:



            Compute $(n+1)^2-n^2$.




            You should get $2n+1$







            share|cite|improve this answer























              up vote
              0
              down vote










              up vote
              0
              down vote









              Hint:



              Compute $(n+1)^2-n^2$.




              You should get $2n+1$







              share|cite|improve this answer












              Hint:



              Compute $(n+1)^2-n^2$.




              You should get $2n+1$








              share|cite|improve this answer












              share|cite|improve this answer



              share|cite|improve this answer










              answered Dec 4 at 19:29









              Mason

              1,8881527




              1,8881527






















                  up vote
                  0
                  down vote













                  HINT



                  $$(k+1)^2-k^2=2k+1$$
                  $$k^2-(k+1)^2=-(2k+1)$$






                  share|cite|improve this answer

























                    up vote
                    0
                    down vote













                    HINT



                    $$(k+1)^2-k^2=2k+1$$
                    $$k^2-(k+1)^2=-(2k+1)$$






                    share|cite|improve this answer























                      up vote
                      0
                      down vote










                      up vote
                      0
                      down vote









                      HINT



                      $$(k+1)^2-k^2=2k+1$$
                      $$k^2-(k+1)^2=-(2k+1)$$






                      share|cite|improve this answer












                      HINT



                      $$(k+1)^2-k^2=2k+1$$
                      $$k^2-(k+1)^2=-(2k+1)$$







                      share|cite|improve this answer












                      share|cite|improve this answer



                      share|cite|improve this answer










                      answered Dec 4 at 19:29









                      Rhys Hughes

                      4,6651327




                      4,6651327






















                          up vote
                          0
                          down vote













                          Hint: What is the difference of squares of two consecutive numbers?






                          share|cite|improve this answer

























                            up vote
                            0
                            down vote













                            Hint: What is the difference of squares of two consecutive numbers?






                            share|cite|improve this answer























                              up vote
                              0
                              down vote










                              up vote
                              0
                              down vote









                              Hint: What is the difference of squares of two consecutive numbers?






                              share|cite|improve this answer












                              Hint: What is the difference of squares of two consecutive numbers?







                              share|cite|improve this answer












                              share|cite|improve this answer



                              share|cite|improve this answer










                              answered Dec 4 at 19:29









                              Vasily Mitch

                              1,14837




                              1,14837






















                                  up vote
                                  0
                                  down vote













                                  $$3=4-1$$



                                  $$2n+1=(n+1)^2-n^2$$






                                  share|cite|improve this answer

























                                    up vote
                                    0
                                    down vote













                                    $$3=4-1$$



                                    $$2n+1=(n+1)^2-n^2$$






                                    share|cite|improve this answer























                                      up vote
                                      0
                                      down vote










                                      up vote
                                      0
                                      down vote









                                      $$3=4-1$$



                                      $$2n+1=(n+1)^2-n^2$$






                                      share|cite|improve this answer












                                      $$3=4-1$$



                                      $$2n+1=(n+1)^2-n^2$$







                                      share|cite|improve this answer












                                      share|cite|improve this answer



                                      share|cite|improve this answer










                                      answered Dec 4 at 19:37









                                      hamam_Abdallah

                                      37.7k21634




                                      37.7k21634






























                                          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.





                                          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%2fmath.stackexchange.com%2fquestions%2f3026022%2fproof-on-difference-of-two-squares-and-odd-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

                                          Måne

                                          Storängen

                                          VLT Carioca