Characterization of non-unique decimal expansions












12












$begingroup$


In proofs exhibiting bijections of $mathbb{R}$ for the sake of proving arguments about cardinality, care is generally taken to avoid the $.999!ldots=1.00!ldots$ problem. However, it is generally accepted without comment that this is the only way to make distinct decimal expansions that represent the same real number. Although it seems obvious, how can we be sure there are there no other corner cases to be concerned with?



Formally, if $x_d$ and $y_d$ are distinct sequences of integers between $0$ and $9$ representing decimal expansions of numbers $x$ and $y$ in $[0,1)$, is it true that $x=y$ iff there is an $Ninmathbb{N}$ such that




  • if $n<N$ then $x_n=y_n$

  • $x_N=y_N-1$, and

  • if $n>N$ then $x_n=9$ and $y_n=0$,


and if so, how does one prove this?










share|cite|improve this question









$endgroup$

















    12












    $begingroup$


    In proofs exhibiting bijections of $mathbb{R}$ for the sake of proving arguments about cardinality, care is generally taken to avoid the $.999!ldots=1.00!ldots$ problem. However, it is generally accepted without comment that this is the only way to make distinct decimal expansions that represent the same real number. Although it seems obvious, how can we be sure there are there no other corner cases to be concerned with?



    Formally, if $x_d$ and $y_d$ are distinct sequences of integers between $0$ and $9$ representing decimal expansions of numbers $x$ and $y$ in $[0,1)$, is it true that $x=y$ iff there is an $Ninmathbb{N}$ such that




    • if $n<N$ then $x_n=y_n$

    • $x_N=y_N-1$, and

    • if $n>N$ then $x_n=9$ and $y_n=0$,


    and if so, how does one prove this?










    share|cite|improve this question









    $endgroup$















      12












      12








      12


      4



      $begingroup$


      In proofs exhibiting bijections of $mathbb{R}$ for the sake of proving arguments about cardinality, care is generally taken to avoid the $.999!ldots=1.00!ldots$ problem. However, it is generally accepted without comment that this is the only way to make distinct decimal expansions that represent the same real number. Although it seems obvious, how can we be sure there are there no other corner cases to be concerned with?



      Formally, if $x_d$ and $y_d$ are distinct sequences of integers between $0$ and $9$ representing decimal expansions of numbers $x$ and $y$ in $[0,1)$, is it true that $x=y$ iff there is an $Ninmathbb{N}$ such that




      • if $n<N$ then $x_n=y_n$

      • $x_N=y_N-1$, and

      • if $n>N$ then $x_n=9$ and $y_n=0$,


      and if so, how does one prove this?










      share|cite|improve this question









      $endgroup$




      In proofs exhibiting bijections of $mathbb{R}$ for the sake of proving arguments about cardinality, care is generally taken to avoid the $.999!ldots=1.00!ldots$ problem. However, it is generally accepted without comment that this is the only way to make distinct decimal expansions that represent the same real number. Although it seems obvious, how can we be sure there are there no other corner cases to be concerned with?



      Formally, if $x_d$ and $y_d$ are distinct sequences of integers between $0$ and $9$ representing decimal expansions of numbers $x$ and $y$ in $[0,1)$, is it true that $x=y$ iff there is an $Ninmathbb{N}$ such that




      • if $n<N$ then $x_n=y_n$

      • $x_N=y_N-1$, and

      • if $n>N$ then $x_n=9$ and $y_n=0$,


      and if so, how does one prove this?







      decimal-expansion






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Jan 5 '13 at 19:54









      Eric StuckyEric Stucky

      10.3k32461




      10.3k32461






















          1 Answer
          1






          active

          oldest

          votes


















          7












          $begingroup$

          Yes (up to switching $x$ and $y$). Let $N$ be the least integer such that $x_Nne y_N$. Assume WLOG that $y_N>$. If $y_N>x_N+1$ then since the remaining digits together contribute at most $10^{-N}$ we have $y-xge 2cdot 10^{-N}-10^{-N}>0$, so $xne y$. If $x_{N+1}ne 9$ or $y_{N+1}ne 0$, then $x_{N+1}-y_{N+1}le 8$ and since the remaining digits contribute at most $10^{-N-1}$ we have
          $$y-xge 10^{-N}-8cdot 10^{-N-1}-10^{-N-1}>0$$
          so $xne y$. Thus we must have $x_{N+1}=9$ and $y_{N+1}=0$. Continuing in this manner we see that it is true for all remaining digits.






          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%2f271118%2fcharacterization-of-non-unique-decimal-expansions%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            7












            $begingroup$

            Yes (up to switching $x$ and $y$). Let $N$ be the least integer such that $x_Nne y_N$. Assume WLOG that $y_N>$. If $y_N>x_N+1$ then since the remaining digits together contribute at most $10^{-N}$ we have $y-xge 2cdot 10^{-N}-10^{-N}>0$, so $xne y$. If $x_{N+1}ne 9$ or $y_{N+1}ne 0$, then $x_{N+1}-y_{N+1}le 8$ and since the remaining digits contribute at most $10^{-N-1}$ we have
            $$y-xge 10^{-N}-8cdot 10^{-N-1}-10^{-N-1}>0$$
            so $xne y$. Thus we must have $x_{N+1}=9$ and $y_{N+1}=0$. Continuing in this manner we see that it is true for all remaining digits.






            share|cite|improve this answer









            $endgroup$


















              7












              $begingroup$

              Yes (up to switching $x$ and $y$). Let $N$ be the least integer such that $x_Nne y_N$. Assume WLOG that $y_N>$. If $y_N>x_N+1$ then since the remaining digits together contribute at most $10^{-N}$ we have $y-xge 2cdot 10^{-N}-10^{-N}>0$, so $xne y$. If $x_{N+1}ne 9$ or $y_{N+1}ne 0$, then $x_{N+1}-y_{N+1}le 8$ and since the remaining digits contribute at most $10^{-N-1}$ we have
              $$y-xge 10^{-N}-8cdot 10^{-N-1}-10^{-N-1}>0$$
              so $xne y$. Thus we must have $x_{N+1}=9$ and $y_{N+1}=0$. Continuing in this manner we see that it is true for all remaining digits.






              share|cite|improve this answer









              $endgroup$
















                7












                7








                7





                $begingroup$

                Yes (up to switching $x$ and $y$). Let $N$ be the least integer such that $x_Nne y_N$. Assume WLOG that $y_N>$. If $y_N>x_N+1$ then since the remaining digits together contribute at most $10^{-N}$ we have $y-xge 2cdot 10^{-N}-10^{-N}>0$, so $xne y$. If $x_{N+1}ne 9$ or $y_{N+1}ne 0$, then $x_{N+1}-y_{N+1}le 8$ and since the remaining digits contribute at most $10^{-N-1}$ we have
                $$y-xge 10^{-N}-8cdot 10^{-N-1}-10^{-N-1}>0$$
                so $xne y$. Thus we must have $x_{N+1}=9$ and $y_{N+1}=0$. Continuing in this manner we see that it is true for all remaining digits.






                share|cite|improve this answer









                $endgroup$



                Yes (up to switching $x$ and $y$). Let $N$ be the least integer such that $x_Nne y_N$. Assume WLOG that $y_N>$. If $y_N>x_N+1$ then since the remaining digits together contribute at most $10^{-N}$ we have $y-xge 2cdot 10^{-N}-10^{-N}>0$, so $xne y$. If $x_{N+1}ne 9$ or $y_{N+1}ne 0$, then $x_{N+1}-y_{N+1}le 8$ and since the remaining digits contribute at most $10^{-N-1}$ we have
                $$y-xge 10^{-N}-8cdot 10^{-N-1}-10^{-N-1}>0$$
                so $xne y$. Thus we must have $x_{N+1}=9$ and $y_{N+1}=0$. Continuing in this manner we see that it is true for all remaining digits.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Jan 5 '13 at 20:10









                Alex BeckerAlex Becker

                49.1k698161




                49.1k698161






























                    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%2f271118%2fcharacterization-of-non-unique-decimal-expansions%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

                    MongoDB - Not Authorized To Execute Command

                    How to fix TextFormField cause rebuild widget in Flutter

                    in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith