Apostol's Calulus: Prove that $[x+y] = [x]+[y]$ or $[x]+[y]+1$, where $[·]$ is the floor function.












1












$begingroup$



Prove that $[x+y] = [x]+[y]$ or $[x]+[y]+1$, where $[·]$ is the floor
function




I'm Having a little bit of trouble with the last part of this proof.



First, I will use the definition of floor function:



$[x] = m ≡ m ≤ x < m+1$



and



$[y] = n ≡ n ≤ y < n+1$



so, $[x]+[y] = m+n ≡ m+n ≤ x+y < m+n+2$



This is where I get stuck; I have that $[x+y] = t ≡ t ≤ x < t+1 $, so putting
$m+n ≤ x+y < m+n+2$ in that form, seems impossible, let alone the one that corresponds to $[x]+[y]+1$.



Could you help me with this last part?



Thanks in advance.










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Your inequalities should be less than signs on the right everywhere.That should improve things.
    $endgroup$
    – jgon
    Dec 19 '18 at 22:20












  • $begingroup$
    Corrected; however, it was typo when passing notes from my notebook, I used the correct definition in my notebook, and still don't realize how to follow up.
    $endgroup$
    – Daniel Bonilla Jaramillo
    Dec 19 '18 at 22:23










  • $begingroup$
    Why do you write: "$[x+y] = t ≡ t ≤ x < t+1$" Shouldn't that be "$[x+y] = t equiv t le x + y le t + 1$"?
    $endgroup$
    – fleablood
    Dec 19 '18 at 22:44
















1












$begingroup$



Prove that $[x+y] = [x]+[y]$ or $[x]+[y]+1$, where $[·]$ is the floor
function




I'm Having a little bit of trouble with the last part of this proof.



First, I will use the definition of floor function:



$[x] = m ≡ m ≤ x < m+1$



and



$[y] = n ≡ n ≤ y < n+1$



so, $[x]+[y] = m+n ≡ m+n ≤ x+y < m+n+2$



This is where I get stuck; I have that $[x+y] = t ≡ t ≤ x < t+1 $, so putting
$m+n ≤ x+y < m+n+2$ in that form, seems impossible, let alone the one that corresponds to $[x]+[y]+1$.



Could you help me with this last part?



Thanks in advance.










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Your inequalities should be less than signs on the right everywhere.That should improve things.
    $endgroup$
    – jgon
    Dec 19 '18 at 22:20












  • $begingroup$
    Corrected; however, it was typo when passing notes from my notebook, I used the correct definition in my notebook, and still don't realize how to follow up.
    $endgroup$
    – Daniel Bonilla Jaramillo
    Dec 19 '18 at 22:23










  • $begingroup$
    Why do you write: "$[x+y] = t ≡ t ≤ x < t+1$" Shouldn't that be "$[x+y] = t equiv t le x + y le t + 1$"?
    $endgroup$
    – fleablood
    Dec 19 '18 at 22:44














1












1








1





$begingroup$



Prove that $[x+y] = [x]+[y]$ or $[x]+[y]+1$, where $[·]$ is the floor
function




I'm Having a little bit of trouble with the last part of this proof.



First, I will use the definition of floor function:



$[x] = m ≡ m ≤ x < m+1$



and



$[y] = n ≡ n ≤ y < n+1$



so, $[x]+[y] = m+n ≡ m+n ≤ x+y < m+n+2$



This is where I get stuck; I have that $[x+y] = t ≡ t ≤ x < t+1 $, so putting
$m+n ≤ x+y < m+n+2$ in that form, seems impossible, let alone the one that corresponds to $[x]+[y]+1$.



Could you help me with this last part?



Thanks in advance.










share|cite|improve this question











$endgroup$





Prove that $[x+y] = [x]+[y]$ or $[x]+[y]+1$, where $[·]$ is the floor
function




I'm Having a little bit of trouble with the last part of this proof.



First, I will use the definition of floor function:



$[x] = m ≡ m ≤ x < m+1$



and



$[y] = n ≡ n ≤ y < n+1$



so, $[x]+[y] = m+n ≡ m+n ≤ x+y < m+n+2$



This is where I get stuck; I have that $[x+y] = t ≡ t ≤ x < t+1 $, so putting
$m+n ≤ x+y < m+n+2$ in that form, seems impossible, let alone the one that corresponds to $[x]+[y]+1$.



Could you help me with this last part?



Thanks in advance.







calculus algebra-precalculus floor-function






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 19 '18 at 22:24









Shubham Johri

5,500818




5,500818










asked Dec 19 '18 at 22:15









Daniel Bonilla JaramilloDaniel Bonilla Jaramillo

464310




464310








  • 1




    $begingroup$
    Your inequalities should be less than signs on the right everywhere.That should improve things.
    $endgroup$
    – jgon
    Dec 19 '18 at 22:20












  • $begingroup$
    Corrected; however, it was typo when passing notes from my notebook, I used the correct definition in my notebook, and still don't realize how to follow up.
    $endgroup$
    – Daniel Bonilla Jaramillo
    Dec 19 '18 at 22:23










  • $begingroup$
    Why do you write: "$[x+y] = t ≡ t ≤ x < t+1$" Shouldn't that be "$[x+y] = t equiv t le x + y le t + 1$"?
    $endgroup$
    – fleablood
    Dec 19 '18 at 22:44














  • 1




    $begingroup$
    Your inequalities should be less than signs on the right everywhere.That should improve things.
    $endgroup$
    – jgon
    Dec 19 '18 at 22:20












  • $begingroup$
    Corrected; however, it was typo when passing notes from my notebook, I used the correct definition in my notebook, and still don't realize how to follow up.
    $endgroup$
    – Daniel Bonilla Jaramillo
    Dec 19 '18 at 22:23










  • $begingroup$
    Why do you write: "$[x+y] = t ≡ t ≤ x < t+1$" Shouldn't that be "$[x+y] = t equiv t le x + y le t + 1$"?
    $endgroup$
    – fleablood
    Dec 19 '18 at 22:44








1




1




$begingroup$
Your inequalities should be less than signs on the right everywhere.That should improve things.
$endgroup$
– jgon
Dec 19 '18 at 22:20






$begingroup$
Your inequalities should be less than signs on the right everywhere.That should improve things.
$endgroup$
– jgon
Dec 19 '18 at 22:20














$begingroup$
Corrected; however, it was typo when passing notes from my notebook, I used the correct definition in my notebook, and still don't realize how to follow up.
$endgroup$
– Daniel Bonilla Jaramillo
Dec 19 '18 at 22:23




$begingroup$
Corrected; however, it was typo when passing notes from my notebook, I used the correct definition in my notebook, and still don't realize how to follow up.
$endgroup$
– Daniel Bonilla Jaramillo
Dec 19 '18 at 22:23












$begingroup$
Why do you write: "$[x+y] = t ≡ t ≤ x < t+1$" Shouldn't that be "$[x+y] = t equiv t le x + y le t + 1$"?
$endgroup$
– fleablood
Dec 19 '18 at 22:44




$begingroup$
Why do you write: "$[x+y] = t ≡ t ≤ x < t+1$" Shouldn't that be "$[x+y] = t equiv t le x + y le t + 1$"?
$endgroup$
– fleablood
Dec 19 '18 at 22:44










5 Answers
5






active

oldest

votes


















7












$begingroup$

$m+nle x+y<m+n+2implieslfloor x+yrfloor=m+n$ or $m+n+1$, because the only integers in $[m+n,m+n+2)$ are $m+n, m+n+1$






share|cite|improve this answer









$endgroup$





















    1












    $begingroup$

    You have $[x] = m$ and $[y] = n$ so $m+nle x + y < m+n+2$



    But how does $x+y$ compare to $m + n + 1$? There are two possibilities.



    1) $x + y < m+n + 1$ then



    $m + n le x + y < m+ n + 1$. Then by definition you have $[x+y] = m+n = [x]+[y]$.



    2) $x + y ge m+n + 1$ then



    $m+n + 1 le x+y < m+n + 2=(m+n+1) + 1$ so by definition you have $[x+y] = m+n+1$.



    That's it.






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      How do you conclude the two possibilities "$x+y<m+n+1$" and "$x+y≥m+n+1$"?
      $endgroup$
      – Daniel Bonilla Jaramillo
      Dec 19 '18 at 23:05








    • 1




      $begingroup$
      Trichotomy. Given two values $A$ and $B$ then you either have $A < B$ or $Age B$. What other options are there? How can neither be true?
      $endgroup$
      – fleablood
      Dec 19 '18 at 23:28






    • 1




      $begingroup$
      @DanielBonillaJaramillo : For any real numbers $a$ and $b$, exactly one of “$a<b$”, “$a=b$”, or “$a>b$” holds. Combine the last two to get that exactly one of “$a<b$” or “$ageq b$” holds.
      $endgroup$
      – MPW
      Dec 19 '18 at 23:28



















    0












    $begingroup$

    I didn't read the question exactly, but you have floor(x)=n iff. $n<x<n+1$, hence you get $...<m+n+2$ instead of $leq$.






    share|cite|improve this answer









    $endgroup$





















      0












      $begingroup$

      Let $m=lfloor xrfloor$ and $n=lfloor yrfloor$; let ${x}=x-lfloor xrfloor=x-m$ and ${y}=y-lfloor xrfloor=y-n$. Then
      $$
      x+y=m+{x}+n+{y}
      $$

      Note that $0le{x}<1$ and $0le{y}<1$, so $0le{x}+{y}<2$. There are two cases:




      1. if $0le{x}+{y}<1$, then $m+nle x+y<m+n+1$ and so $lfloor x+yrfloor=m+n$;

      2. if $1le{x}+{y}<2$, then $m+n+1le x+y<m+n+2$ and so $lfloor x+yrfloor=m+n+1$.






      share|cite|improve this answer









      $endgroup$





















        0












        $begingroup$

        Alternatively. By definition $[x+y]$ is the largest possible integer that this less than or equal to $x+y$. But $[x] le x$ and $[y] le y$ so $[x] + [y] le x+y$. So $[x]+[y] le [x+y]$.



        Likewise $[x+y] + 1$ by definition is the smallest possible integer that is larger $x + y$. But $[x]+ 1 > x$ and $[y] + 1 > y$ so $[x]+[y] + 2 > x+y$. So $[x] + [y] + 2ge [x+y]+1$.



        So $[x]+[y] + 1 ge [x+y]$.



        So $[x]+[y] le [x+y] le [x] + [y] + 1$



        As $[x]+[y]$ and $[x+y]$ and $[x] + [y]+1$ are all integers. And there is NO integer between $[x] +[y]$ and $[x]+[y]+1$ there are only two options $[x] + [y]= [x+y]$ or $[x+y] = [x] + [y]+1$.



        .......



        And a third way.



        $[x] le x < [x]+1$ means $0 le x - [x] < 1$.



        A) $0 le x-[x] < 1$ and $0 le y -[y] < 1$ so $0 le x+y -[x]-[y] < 2$.



        B) $0 le x+y - [x+y] < 1$.



        Reverse B) to get



        B') $-1 < [x+y] - x - y le 0$.



        Add B' and A to get:



        $-1 < ([x+y] - x - y) + (x + y - [x]-[y]) < 2$ so



        $-1 < [x+y] - [x] -[y] < 2$ or



        $0 le [x+y] -[x] -[y] le 1$ or



        $[x]+[y] le [x+y] le [x] + [y] + 1$.



        .....



        Basically: $x+y$ is between $[x+y]$ and $[x+y] + 1$; two integers that are only $1$ apart.



        But $x + y$ is also between $[x] + [y]$ and $[x] + [y] + 2$; two integers that are only $2$ apart.



        There are only so many choicese to find these integers $[x+y], [x]+[y], [x+y] + 1$ and $[x]+[y] + 2$ so that they all fit in such a tight range.



        It doesn't matter how you prove it but you must have $[x+y]$ and $[x]+ [y]$ within one of each other and you must have $[x]+[y]le [x+y]$. There are only two ways that can happen.






        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%2f3046926%2fapostols-calulus-prove-that-xy-xy-or-xy1-where-is-t%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









          7












          $begingroup$

          $m+nle x+y<m+n+2implieslfloor x+yrfloor=m+n$ or $m+n+1$, because the only integers in $[m+n,m+n+2)$ are $m+n, m+n+1$






          share|cite|improve this answer









          $endgroup$


















            7












            $begingroup$

            $m+nle x+y<m+n+2implieslfloor x+yrfloor=m+n$ or $m+n+1$, because the only integers in $[m+n,m+n+2)$ are $m+n, m+n+1$






            share|cite|improve this answer









            $endgroup$
















              7












              7








              7





              $begingroup$

              $m+nle x+y<m+n+2implieslfloor x+yrfloor=m+n$ or $m+n+1$, because the only integers in $[m+n,m+n+2)$ are $m+n, m+n+1$






              share|cite|improve this answer









              $endgroup$



              $m+nle x+y<m+n+2implieslfloor x+yrfloor=m+n$ or $m+n+1$, because the only integers in $[m+n,m+n+2)$ are $m+n, m+n+1$







              share|cite|improve this answer












              share|cite|improve this answer



              share|cite|improve this answer










              answered Dec 19 '18 at 22:23









              Shubham JohriShubham Johri

              5,500818




              5,500818























                  1












                  $begingroup$

                  You have $[x] = m$ and $[y] = n$ so $m+nle x + y < m+n+2$



                  But how does $x+y$ compare to $m + n + 1$? There are two possibilities.



                  1) $x + y < m+n + 1$ then



                  $m + n le x + y < m+ n + 1$. Then by definition you have $[x+y] = m+n = [x]+[y]$.



                  2) $x + y ge m+n + 1$ then



                  $m+n + 1 le x+y < m+n + 2=(m+n+1) + 1$ so by definition you have $[x+y] = m+n+1$.



                  That's it.






                  share|cite|improve this answer









                  $endgroup$













                  • $begingroup$
                    How do you conclude the two possibilities "$x+y<m+n+1$" and "$x+y≥m+n+1$"?
                    $endgroup$
                    – Daniel Bonilla Jaramillo
                    Dec 19 '18 at 23:05








                  • 1




                    $begingroup$
                    Trichotomy. Given two values $A$ and $B$ then you either have $A < B$ or $Age B$. What other options are there? How can neither be true?
                    $endgroup$
                    – fleablood
                    Dec 19 '18 at 23:28






                  • 1




                    $begingroup$
                    @DanielBonillaJaramillo : For any real numbers $a$ and $b$, exactly one of “$a<b$”, “$a=b$”, or “$a>b$” holds. Combine the last two to get that exactly one of “$a<b$” or “$ageq b$” holds.
                    $endgroup$
                    – MPW
                    Dec 19 '18 at 23:28
















                  1












                  $begingroup$

                  You have $[x] = m$ and $[y] = n$ so $m+nle x + y < m+n+2$



                  But how does $x+y$ compare to $m + n + 1$? There are two possibilities.



                  1) $x + y < m+n + 1$ then



                  $m + n le x + y < m+ n + 1$. Then by definition you have $[x+y] = m+n = [x]+[y]$.



                  2) $x + y ge m+n + 1$ then



                  $m+n + 1 le x+y < m+n + 2=(m+n+1) + 1$ so by definition you have $[x+y] = m+n+1$.



                  That's it.






                  share|cite|improve this answer









                  $endgroup$













                  • $begingroup$
                    How do you conclude the two possibilities "$x+y<m+n+1$" and "$x+y≥m+n+1$"?
                    $endgroup$
                    – Daniel Bonilla Jaramillo
                    Dec 19 '18 at 23:05








                  • 1




                    $begingroup$
                    Trichotomy. Given two values $A$ and $B$ then you either have $A < B$ or $Age B$. What other options are there? How can neither be true?
                    $endgroup$
                    – fleablood
                    Dec 19 '18 at 23:28






                  • 1




                    $begingroup$
                    @DanielBonillaJaramillo : For any real numbers $a$ and $b$, exactly one of “$a<b$”, “$a=b$”, or “$a>b$” holds. Combine the last two to get that exactly one of “$a<b$” or “$ageq b$” holds.
                    $endgroup$
                    – MPW
                    Dec 19 '18 at 23:28














                  1












                  1








                  1





                  $begingroup$

                  You have $[x] = m$ and $[y] = n$ so $m+nle x + y < m+n+2$



                  But how does $x+y$ compare to $m + n + 1$? There are two possibilities.



                  1) $x + y < m+n + 1$ then



                  $m + n le x + y < m+ n + 1$. Then by definition you have $[x+y] = m+n = [x]+[y]$.



                  2) $x + y ge m+n + 1$ then



                  $m+n + 1 le x+y < m+n + 2=(m+n+1) + 1$ so by definition you have $[x+y] = m+n+1$.



                  That's it.






                  share|cite|improve this answer









                  $endgroup$



                  You have $[x] = m$ and $[y] = n$ so $m+nle x + y < m+n+2$



                  But how does $x+y$ compare to $m + n + 1$? There are two possibilities.



                  1) $x + y < m+n + 1$ then



                  $m + n le x + y < m+ n + 1$. Then by definition you have $[x+y] = m+n = [x]+[y]$.



                  2) $x + y ge m+n + 1$ then



                  $m+n + 1 le x+y < m+n + 2=(m+n+1) + 1$ so by definition you have $[x+y] = m+n+1$.



                  That's it.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Dec 19 '18 at 22:52









                  fleabloodfleablood

                  73.8k22891




                  73.8k22891












                  • $begingroup$
                    How do you conclude the two possibilities "$x+y<m+n+1$" and "$x+y≥m+n+1$"?
                    $endgroup$
                    – Daniel Bonilla Jaramillo
                    Dec 19 '18 at 23:05








                  • 1




                    $begingroup$
                    Trichotomy. Given two values $A$ and $B$ then you either have $A < B$ or $Age B$. What other options are there? How can neither be true?
                    $endgroup$
                    – fleablood
                    Dec 19 '18 at 23:28






                  • 1




                    $begingroup$
                    @DanielBonillaJaramillo : For any real numbers $a$ and $b$, exactly one of “$a<b$”, “$a=b$”, or “$a>b$” holds. Combine the last two to get that exactly one of “$a<b$” or “$ageq b$” holds.
                    $endgroup$
                    – MPW
                    Dec 19 '18 at 23:28


















                  • $begingroup$
                    How do you conclude the two possibilities "$x+y<m+n+1$" and "$x+y≥m+n+1$"?
                    $endgroup$
                    – Daniel Bonilla Jaramillo
                    Dec 19 '18 at 23:05








                  • 1




                    $begingroup$
                    Trichotomy. Given two values $A$ and $B$ then you either have $A < B$ or $Age B$. What other options are there? How can neither be true?
                    $endgroup$
                    – fleablood
                    Dec 19 '18 at 23:28






                  • 1




                    $begingroup$
                    @DanielBonillaJaramillo : For any real numbers $a$ and $b$, exactly one of “$a<b$”, “$a=b$”, or “$a>b$” holds. Combine the last two to get that exactly one of “$a<b$” or “$ageq b$” holds.
                    $endgroup$
                    – MPW
                    Dec 19 '18 at 23:28
















                  $begingroup$
                  How do you conclude the two possibilities "$x+y<m+n+1$" and "$x+y≥m+n+1$"?
                  $endgroup$
                  – Daniel Bonilla Jaramillo
                  Dec 19 '18 at 23:05






                  $begingroup$
                  How do you conclude the two possibilities "$x+y<m+n+1$" and "$x+y≥m+n+1$"?
                  $endgroup$
                  – Daniel Bonilla Jaramillo
                  Dec 19 '18 at 23:05






                  1




                  1




                  $begingroup$
                  Trichotomy. Given two values $A$ and $B$ then you either have $A < B$ or $Age B$. What other options are there? How can neither be true?
                  $endgroup$
                  – fleablood
                  Dec 19 '18 at 23:28




                  $begingroup$
                  Trichotomy. Given two values $A$ and $B$ then you either have $A < B$ or $Age B$. What other options are there? How can neither be true?
                  $endgroup$
                  – fleablood
                  Dec 19 '18 at 23:28




                  1




                  1




                  $begingroup$
                  @DanielBonillaJaramillo : For any real numbers $a$ and $b$, exactly one of “$a<b$”, “$a=b$”, or “$a>b$” holds. Combine the last two to get that exactly one of “$a<b$” or “$ageq b$” holds.
                  $endgroup$
                  – MPW
                  Dec 19 '18 at 23:28




                  $begingroup$
                  @DanielBonillaJaramillo : For any real numbers $a$ and $b$, exactly one of “$a<b$”, “$a=b$”, or “$a>b$” holds. Combine the last two to get that exactly one of “$a<b$” or “$ageq b$” holds.
                  $endgroup$
                  – MPW
                  Dec 19 '18 at 23:28











                  0












                  $begingroup$

                  I didn't read the question exactly, but you have floor(x)=n iff. $n<x<n+1$, hence you get $...<m+n+2$ instead of $leq$.






                  share|cite|improve this answer









                  $endgroup$


















                    0












                    $begingroup$

                    I didn't read the question exactly, but you have floor(x)=n iff. $n<x<n+1$, hence you get $...<m+n+2$ instead of $leq$.






                    share|cite|improve this answer









                    $endgroup$
















                      0












                      0








                      0





                      $begingroup$

                      I didn't read the question exactly, but you have floor(x)=n iff. $n<x<n+1$, hence you get $...<m+n+2$ instead of $leq$.






                      share|cite|improve this answer









                      $endgroup$



                      I didn't read the question exactly, but you have floor(x)=n iff. $n<x<n+1$, hence you get $...<m+n+2$ instead of $leq$.







                      share|cite|improve this answer












                      share|cite|improve this answer



                      share|cite|improve this answer










                      answered Dec 19 '18 at 22:22









                      Student7Student7

                      1839




                      1839























                          0












                          $begingroup$

                          Let $m=lfloor xrfloor$ and $n=lfloor yrfloor$; let ${x}=x-lfloor xrfloor=x-m$ and ${y}=y-lfloor xrfloor=y-n$. Then
                          $$
                          x+y=m+{x}+n+{y}
                          $$

                          Note that $0le{x}<1$ and $0le{y}<1$, so $0le{x}+{y}<2$. There are two cases:




                          1. if $0le{x}+{y}<1$, then $m+nle x+y<m+n+1$ and so $lfloor x+yrfloor=m+n$;

                          2. if $1le{x}+{y}<2$, then $m+n+1le x+y<m+n+2$ and so $lfloor x+yrfloor=m+n+1$.






                          share|cite|improve this answer









                          $endgroup$


















                            0












                            $begingroup$

                            Let $m=lfloor xrfloor$ and $n=lfloor yrfloor$; let ${x}=x-lfloor xrfloor=x-m$ and ${y}=y-lfloor xrfloor=y-n$. Then
                            $$
                            x+y=m+{x}+n+{y}
                            $$

                            Note that $0le{x}<1$ and $0le{y}<1$, so $0le{x}+{y}<2$. There are two cases:




                            1. if $0le{x}+{y}<1$, then $m+nle x+y<m+n+1$ and so $lfloor x+yrfloor=m+n$;

                            2. if $1le{x}+{y}<2$, then $m+n+1le x+y<m+n+2$ and so $lfloor x+yrfloor=m+n+1$.






                            share|cite|improve this answer









                            $endgroup$
















                              0












                              0








                              0





                              $begingroup$

                              Let $m=lfloor xrfloor$ and $n=lfloor yrfloor$; let ${x}=x-lfloor xrfloor=x-m$ and ${y}=y-lfloor xrfloor=y-n$. Then
                              $$
                              x+y=m+{x}+n+{y}
                              $$

                              Note that $0le{x}<1$ and $0le{y}<1$, so $0le{x}+{y}<2$. There are two cases:




                              1. if $0le{x}+{y}<1$, then $m+nle x+y<m+n+1$ and so $lfloor x+yrfloor=m+n$;

                              2. if $1le{x}+{y}<2$, then $m+n+1le x+y<m+n+2$ and so $lfloor x+yrfloor=m+n+1$.






                              share|cite|improve this answer









                              $endgroup$



                              Let $m=lfloor xrfloor$ and $n=lfloor yrfloor$; let ${x}=x-lfloor xrfloor=x-m$ and ${y}=y-lfloor xrfloor=y-n$. Then
                              $$
                              x+y=m+{x}+n+{y}
                              $$

                              Note that $0le{x}<1$ and $0le{y}<1$, so $0le{x}+{y}<2$. There are two cases:




                              1. if $0le{x}+{y}<1$, then $m+nle x+y<m+n+1$ and so $lfloor x+yrfloor=m+n$;

                              2. if $1le{x}+{y}<2$, then $m+n+1le x+y<m+n+2$ and so $lfloor x+yrfloor=m+n+1$.







                              share|cite|improve this answer












                              share|cite|improve this answer



                              share|cite|improve this answer










                              answered Dec 19 '18 at 23:04









                              egregegreg

                              185k1486207




                              185k1486207























                                  0












                                  $begingroup$

                                  Alternatively. By definition $[x+y]$ is the largest possible integer that this less than or equal to $x+y$. But $[x] le x$ and $[y] le y$ so $[x] + [y] le x+y$. So $[x]+[y] le [x+y]$.



                                  Likewise $[x+y] + 1$ by definition is the smallest possible integer that is larger $x + y$. But $[x]+ 1 > x$ and $[y] + 1 > y$ so $[x]+[y] + 2 > x+y$. So $[x] + [y] + 2ge [x+y]+1$.



                                  So $[x]+[y] + 1 ge [x+y]$.



                                  So $[x]+[y] le [x+y] le [x] + [y] + 1$



                                  As $[x]+[y]$ and $[x+y]$ and $[x] + [y]+1$ are all integers. And there is NO integer between $[x] +[y]$ and $[x]+[y]+1$ there are only two options $[x] + [y]= [x+y]$ or $[x+y] = [x] + [y]+1$.



                                  .......



                                  And a third way.



                                  $[x] le x < [x]+1$ means $0 le x - [x] < 1$.



                                  A) $0 le x-[x] < 1$ and $0 le y -[y] < 1$ so $0 le x+y -[x]-[y] < 2$.



                                  B) $0 le x+y - [x+y] < 1$.



                                  Reverse B) to get



                                  B') $-1 < [x+y] - x - y le 0$.



                                  Add B' and A to get:



                                  $-1 < ([x+y] - x - y) + (x + y - [x]-[y]) < 2$ so



                                  $-1 < [x+y] - [x] -[y] < 2$ or



                                  $0 le [x+y] -[x] -[y] le 1$ or



                                  $[x]+[y] le [x+y] le [x] + [y] + 1$.



                                  .....



                                  Basically: $x+y$ is between $[x+y]$ and $[x+y] + 1$; two integers that are only $1$ apart.



                                  But $x + y$ is also between $[x] + [y]$ and $[x] + [y] + 2$; two integers that are only $2$ apart.



                                  There are only so many choicese to find these integers $[x+y], [x]+[y], [x+y] + 1$ and $[x]+[y] + 2$ so that they all fit in such a tight range.



                                  It doesn't matter how you prove it but you must have $[x+y]$ and $[x]+ [y]$ within one of each other and you must have $[x]+[y]le [x+y]$. There are only two ways that can happen.






                                  share|cite|improve this answer









                                  $endgroup$


















                                    0












                                    $begingroup$

                                    Alternatively. By definition $[x+y]$ is the largest possible integer that this less than or equal to $x+y$. But $[x] le x$ and $[y] le y$ so $[x] + [y] le x+y$. So $[x]+[y] le [x+y]$.



                                    Likewise $[x+y] + 1$ by definition is the smallest possible integer that is larger $x + y$. But $[x]+ 1 > x$ and $[y] + 1 > y$ so $[x]+[y] + 2 > x+y$. So $[x] + [y] + 2ge [x+y]+1$.



                                    So $[x]+[y] + 1 ge [x+y]$.



                                    So $[x]+[y] le [x+y] le [x] + [y] + 1$



                                    As $[x]+[y]$ and $[x+y]$ and $[x] + [y]+1$ are all integers. And there is NO integer between $[x] +[y]$ and $[x]+[y]+1$ there are only two options $[x] + [y]= [x+y]$ or $[x+y] = [x] + [y]+1$.



                                    .......



                                    And a third way.



                                    $[x] le x < [x]+1$ means $0 le x - [x] < 1$.



                                    A) $0 le x-[x] < 1$ and $0 le y -[y] < 1$ so $0 le x+y -[x]-[y] < 2$.



                                    B) $0 le x+y - [x+y] < 1$.



                                    Reverse B) to get



                                    B') $-1 < [x+y] - x - y le 0$.



                                    Add B' and A to get:



                                    $-1 < ([x+y] - x - y) + (x + y - [x]-[y]) < 2$ so



                                    $-1 < [x+y] - [x] -[y] < 2$ or



                                    $0 le [x+y] -[x] -[y] le 1$ or



                                    $[x]+[y] le [x+y] le [x] + [y] + 1$.



                                    .....



                                    Basically: $x+y$ is between $[x+y]$ and $[x+y] + 1$; two integers that are only $1$ apart.



                                    But $x + y$ is also between $[x] + [y]$ and $[x] + [y] + 2$; two integers that are only $2$ apart.



                                    There are only so many choicese to find these integers $[x+y], [x]+[y], [x+y] + 1$ and $[x]+[y] + 2$ so that they all fit in such a tight range.



                                    It doesn't matter how you prove it but you must have $[x+y]$ and $[x]+ [y]$ within one of each other and you must have $[x]+[y]le [x+y]$. There are only two ways that can happen.






                                    share|cite|improve this answer









                                    $endgroup$
















                                      0












                                      0








                                      0





                                      $begingroup$

                                      Alternatively. By definition $[x+y]$ is the largest possible integer that this less than or equal to $x+y$. But $[x] le x$ and $[y] le y$ so $[x] + [y] le x+y$. So $[x]+[y] le [x+y]$.



                                      Likewise $[x+y] + 1$ by definition is the smallest possible integer that is larger $x + y$. But $[x]+ 1 > x$ and $[y] + 1 > y$ so $[x]+[y] + 2 > x+y$. So $[x] + [y] + 2ge [x+y]+1$.



                                      So $[x]+[y] + 1 ge [x+y]$.



                                      So $[x]+[y] le [x+y] le [x] + [y] + 1$



                                      As $[x]+[y]$ and $[x+y]$ and $[x] + [y]+1$ are all integers. And there is NO integer between $[x] +[y]$ and $[x]+[y]+1$ there are only two options $[x] + [y]= [x+y]$ or $[x+y] = [x] + [y]+1$.



                                      .......



                                      And a third way.



                                      $[x] le x < [x]+1$ means $0 le x - [x] < 1$.



                                      A) $0 le x-[x] < 1$ and $0 le y -[y] < 1$ so $0 le x+y -[x]-[y] < 2$.



                                      B) $0 le x+y - [x+y] < 1$.



                                      Reverse B) to get



                                      B') $-1 < [x+y] - x - y le 0$.



                                      Add B' and A to get:



                                      $-1 < ([x+y] - x - y) + (x + y - [x]-[y]) < 2$ so



                                      $-1 < [x+y] - [x] -[y] < 2$ or



                                      $0 le [x+y] -[x] -[y] le 1$ or



                                      $[x]+[y] le [x+y] le [x] + [y] + 1$.



                                      .....



                                      Basically: $x+y$ is between $[x+y]$ and $[x+y] + 1$; two integers that are only $1$ apart.



                                      But $x + y$ is also between $[x] + [y]$ and $[x] + [y] + 2$; two integers that are only $2$ apart.



                                      There are only so many choicese to find these integers $[x+y], [x]+[y], [x+y] + 1$ and $[x]+[y] + 2$ so that they all fit in such a tight range.



                                      It doesn't matter how you prove it but you must have $[x+y]$ and $[x]+ [y]$ within one of each other and you must have $[x]+[y]le [x+y]$. There are only two ways that can happen.






                                      share|cite|improve this answer









                                      $endgroup$



                                      Alternatively. By definition $[x+y]$ is the largest possible integer that this less than or equal to $x+y$. But $[x] le x$ and $[y] le y$ so $[x] + [y] le x+y$. So $[x]+[y] le [x+y]$.



                                      Likewise $[x+y] + 1$ by definition is the smallest possible integer that is larger $x + y$. But $[x]+ 1 > x$ and $[y] + 1 > y$ so $[x]+[y] + 2 > x+y$. So $[x] + [y] + 2ge [x+y]+1$.



                                      So $[x]+[y] + 1 ge [x+y]$.



                                      So $[x]+[y] le [x+y] le [x] + [y] + 1$



                                      As $[x]+[y]$ and $[x+y]$ and $[x] + [y]+1$ are all integers. And there is NO integer between $[x] +[y]$ and $[x]+[y]+1$ there are only two options $[x] + [y]= [x+y]$ or $[x+y] = [x] + [y]+1$.



                                      .......



                                      And a third way.



                                      $[x] le x < [x]+1$ means $0 le x - [x] < 1$.



                                      A) $0 le x-[x] < 1$ and $0 le y -[y] < 1$ so $0 le x+y -[x]-[y] < 2$.



                                      B) $0 le x+y - [x+y] < 1$.



                                      Reverse B) to get



                                      B') $-1 < [x+y] - x - y le 0$.



                                      Add B' and A to get:



                                      $-1 < ([x+y] - x - y) + (x + y - [x]-[y]) < 2$ so



                                      $-1 < [x+y] - [x] -[y] < 2$ or



                                      $0 le [x+y] -[x] -[y] le 1$ or



                                      $[x]+[y] le [x+y] le [x] + [y] + 1$.



                                      .....



                                      Basically: $x+y$ is between $[x+y]$ and $[x+y] + 1$; two integers that are only $1$ apart.



                                      But $x + y$ is also between $[x] + [y]$ and $[x] + [y] + 2$; two integers that are only $2$ apart.



                                      There are only so many choicese to find these integers $[x+y], [x]+[y], [x+y] + 1$ and $[x]+[y] + 2$ so that they all fit in such a tight range.



                                      It doesn't matter how you prove it but you must have $[x+y]$ and $[x]+ [y]$ within one of each other and you must have $[x]+[y]le [x+y]$. There are only two ways that can happen.







                                      share|cite|improve this answer












                                      share|cite|improve this answer



                                      share|cite|improve this answer










                                      answered Dec 20 '18 at 0:04









                                      fleabloodfleablood

                                      73.8k22891




                                      73.8k22891






























                                          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%2f3046926%2fapostols-calulus-prove-that-xy-xy-or-xy1-where-is-t%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

                                          Plaza Victoria

                                          In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                                          How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...