Bijective function excluding 0

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite













Construct a bijective function $f:mathbb Rtomathbb Rsetminus0$. Prove that the function is bijective.




Im having trouble with this... A few concepts that I get so far
is that function essentially should be representing a set of real numbers, R, which in turn maps to the same set of real numbers excluding 0. Im thinking about proving its bijective by proving the function is both injective and surjective. Im thinking about doing x^2 + 1 but am uncertain if this is the right sort of track to take. Would really appreciate guidance










share|cite|improve this question









New contributor




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















  • 1




    When you see a cardinality question like this you should suspect that you won't find a nice formula for the function you need. You will probably need something weird, defined with cases. There are several answers here that use that strategy - it's worth learning.
    – Ethan Bolker
    16 mins ago















up vote
2
down vote

favorite













Construct a bijective function $f:mathbb Rtomathbb Rsetminus0$. Prove that the function is bijective.




Im having trouble with this... A few concepts that I get so far
is that function essentially should be representing a set of real numbers, R, which in turn maps to the same set of real numbers excluding 0. Im thinking about proving its bijective by proving the function is both injective and surjective. Im thinking about doing x^2 + 1 but am uncertain if this is the right sort of track to take. Would really appreciate guidance










share|cite|improve this question









New contributor




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















  • 1




    When you see a cardinality question like this you should suspect that you won't find a nice formula for the function you need. You will probably need something weird, defined with cases. There are several answers here that use that strategy - it's worth learning.
    – Ethan Bolker
    16 mins ago













up vote
2
down vote

favorite









up vote
2
down vote

favorite












Construct a bijective function $f:mathbb Rtomathbb Rsetminus0$. Prove that the function is bijective.




Im having trouble with this... A few concepts that I get so far
is that function essentially should be representing a set of real numbers, R, which in turn maps to the same set of real numbers excluding 0. Im thinking about proving its bijective by proving the function is both injective and surjective. Im thinking about doing x^2 + 1 but am uncertain if this is the right sort of track to take. Would really appreciate guidance










share|cite|improve this question









New contributor




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












Construct a bijective function $f:mathbb Rtomathbb Rsetminus0$. Prove that the function is bijective.




Im having trouble with this... A few concepts that I get so far
is that function essentially should be representing a set of real numbers, R, which in turn maps to the same set of real numbers excluding 0. Im thinking about proving its bijective by proving the function is both injective and surjective. Im thinking about doing x^2 + 1 but am uncertain if this is the right sort of track to take. Would really appreciate guidance







discrete-mathematics






share|cite|improve this question









New contributor




sphynx888 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




sphynx888 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








edited 27 mins ago









Parcly Taxel

34.5k136991




34.5k136991






New contributor




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









asked 29 mins ago









sphynx888

624




624




New contributor




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





New contributor





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






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







  • 1




    When you see a cardinality question like this you should suspect that you won't find a nice formula for the function you need. You will probably need something weird, defined with cases. There are several answers here that use that strategy - it's worth learning.
    – Ethan Bolker
    16 mins ago













  • 1




    When you see a cardinality question like this you should suspect that you won't find a nice formula for the function you need. You will probably need something weird, defined with cases. There are several answers here that use that strategy - it's worth learning.
    – Ethan Bolker
    16 mins ago








1




1




When you see a cardinality question like this you should suspect that you won't find a nice formula for the function you need. You will probably need something weird, defined with cases. There are several answers here that use that strategy - it's worth learning.
– Ethan Bolker
16 mins ago





When you see a cardinality question like this you should suspect that you won't find a nice formula for the function you need. You will probably need something weird, defined with cases. There are several answers here that use that strategy - it's worth learning.
– Ethan Bolker
16 mins ago











3 Answers
3






active

oldest

votes

















up vote
3
down vote













The classic natural number shifting argument works:
$$f(x)=begincasesx+1&xinmathbb N\x&textelseendcases$$
(Here $0inmathbb N$.)



Suppose $f(a)=f(b)$. Then either this value is not a positive integer, in which case $a=b$ (since the first case only produces positive integers), or it is a positive integer, whence $a=b=f(a)-1=f(b)-1$ again. Hence $f$ is injective.



Real numbers that are not positive integers are the images of themselves, while the positive integers have as image their respective predecessors. Thus $f$ is also surjective, hence bijective.



The inverse function is
$$f^-1=begincasesx-1&xinmathbb N,xne0\x&textelseendcases$$






share|cite|improve this answer



























    up vote
    2
    down vote













    Hint



    Consider $A=ninmathbbNcup 0.$ Define:




    • $xin mathbbRsetminus Aimplies f(x)=x;$


    • $f(0)=1;$

    • $f(1)=1/2;$

    • $f(1/2)=1/3;$





    share|cite|improve this answer



























      up vote
      2
      down vote













      Here's a function I would use. Let $mathbbN$ be the set of natural numbers ($0,1,2,3...$) including $0$



      $$f(x) = begincases x+1&xinmathbbN\x&xnotinmathbb Nendcases$$



      It's quite trivial to see that $f:;mathbbRtomathbbRsetminus0$. Showing injectivity and surjectivity with this piecewise function is quite easy, so give it a shot!






      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: false,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        noCode: true, onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );






        sphynx888 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%2f2947249%2fbijective-function-excluding-0%23new-answer', 'question_page');

        );

        Post as a guest






























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        3
        down vote













        The classic natural number shifting argument works:
        $$f(x)=begincasesx+1&xinmathbb N\x&textelseendcases$$
        (Here $0inmathbb N$.)



        Suppose $f(a)=f(b)$. Then either this value is not a positive integer, in which case $a=b$ (since the first case only produces positive integers), or it is a positive integer, whence $a=b=f(a)-1=f(b)-1$ again. Hence $f$ is injective.



        Real numbers that are not positive integers are the images of themselves, while the positive integers have as image their respective predecessors. Thus $f$ is also surjective, hence bijective.



        The inverse function is
        $$f^-1=begincasesx-1&xinmathbb N,xne0\x&textelseendcases$$






        share|cite|improve this answer
























          up vote
          3
          down vote













          The classic natural number shifting argument works:
          $$f(x)=begincasesx+1&xinmathbb N\x&textelseendcases$$
          (Here $0inmathbb N$.)



          Suppose $f(a)=f(b)$. Then either this value is not a positive integer, in which case $a=b$ (since the first case only produces positive integers), or it is a positive integer, whence $a=b=f(a)-1=f(b)-1$ again. Hence $f$ is injective.



          Real numbers that are not positive integers are the images of themselves, while the positive integers have as image their respective predecessors. Thus $f$ is also surjective, hence bijective.



          The inverse function is
          $$f^-1=begincasesx-1&xinmathbb N,xne0\x&textelseendcases$$






          share|cite|improve this answer






















            up vote
            3
            down vote










            up vote
            3
            down vote









            The classic natural number shifting argument works:
            $$f(x)=begincasesx+1&xinmathbb N\x&textelseendcases$$
            (Here $0inmathbb N$.)



            Suppose $f(a)=f(b)$. Then either this value is not a positive integer, in which case $a=b$ (since the first case only produces positive integers), or it is a positive integer, whence $a=b=f(a)-1=f(b)-1$ again. Hence $f$ is injective.



            Real numbers that are not positive integers are the images of themselves, while the positive integers have as image their respective predecessors. Thus $f$ is also surjective, hence bijective.



            The inverse function is
            $$f^-1=begincasesx-1&xinmathbb N,xne0\x&textelseendcases$$






            share|cite|improve this answer












            The classic natural number shifting argument works:
            $$f(x)=begincasesx+1&xinmathbb N\x&textelseendcases$$
            (Here $0inmathbb N$.)



            Suppose $f(a)=f(b)$. Then either this value is not a positive integer, in which case $a=b$ (since the first case only produces positive integers), or it is a positive integer, whence $a=b=f(a)-1=f(b)-1$ again. Hence $f$ is injective.



            Real numbers that are not positive integers are the images of themselves, while the positive integers have as image their respective predecessors. Thus $f$ is also surjective, hence bijective.



            The inverse function is
            $$f^-1=begincasesx-1&xinmathbb N,xne0\x&textelseendcases$$







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered 17 mins ago









            Parcly Taxel

            34.5k136991




            34.5k136991




















                up vote
                2
                down vote













                Hint



                Consider $A=ninmathbbNcup 0.$ Define:




                • $xin mathbbRsetminus Aimplies f(x)=x;$


                • $f(0)=1;$

                • $f(1)=1/2;$

                • $f(1/2)=1/3;$





                share|cite|improve this answer
























                  up vote
                  2
                  down vote













                  Hint



                  Consider $A=ninmathbbNcup 0.$ Define:




                  • $xin mathbbRsetminus Aimplies f(x)=x;$


                  • $f(0)=1;$

                  • $f(1)=1/2;$

                  • $f(1/2)=1/3;$





                  share|cite|improve this answer






















                    up vote
                    2
                    down vote










                    up vote
                    2
                    down vote









                    Hint



                    Consider $A=ninmathbbNcup 0.$ Define:




                    • $xin mathbbRsetminus Aimplies f(x)=x;$


                    • $f(0)=1;$

                    • $f(1)=1/2;$

                    • $f(1/2)=1/3;$





                    share|cite|improve this answer












                    Hint



                    Consider $A=ninmathbbNcup 0.$ Define:




                    • $xin mathbbRsetminus Aimplies f(x)=x;$


                    • $f(0)=1;$

                    • $f(1)=1/2;$

                    • $f(1/2)=1/3;$






                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered 21 mins ago









                    mfl

                    25.4k12141




                    25.4k12141




















                        up vote
                        2
                        down vote













                        Here's a function I would use. Let $mathbbN$ be the set of natural numbers ($0,1,2,3...$) including $0$



                        $$f(x) = begincases x+1&xinmathbbN\x&xnotinmathbb Nendcases$$



                        It's quite trivial to see that $f:;mathbbRtomathbbRsetminus0$. Showing injectivity and surjectivity with this piecewise function is quite easy, so give it a shot!






                        share|cite|improve this answer
























                          up vote
                          2
                          down vote













                          Here's a function I would use. Let $mathbbN$ be the set of natural numbers ($0,1,2,3...$) including $0$



                          $$f(x) = begincases x+1&xinmathbbN\x&xnotinmathbb Nendcases$$



                          It's quite trivial to see that $f:;mathbbRtomathbbRsetminus0$. Showing injectivity and surjectivity with this piecewise function is quite easy, so give it a shot!






                          share|cite|improve this answer






















                            up vote
                            2
                            down vote










                            up vote
                            2
                            down vote









                            Here's a function I would use. Let $mathbbN$ be the set of natural numbers ($0,1,2,3...$) including $0$



                            $$f(x) = begincases x+1&xinmathbbN\x&xnotinmathbb Nendcases$$



                            It's quite trivial to see that $f:;mathbbRtomathbbRsetminus0$. Showing injectivity and surjectivity with this piecewise function is quite easy, so give it a shot!






                            share|cite|improve this answer












                            Here's a function I would use. Let $mathbbN$ be the set of natural numbers ($0,1,2,3...$) including $0$



                            $$f(x) = begincases x+1&xinmathbbN\x&xnotinmathbb Nendcases$$



                            It's quite trivial to see that $f:;mathbbRtomathbbRsetminus0$. Showing injectivity and surjectivity with this piecewise function is quite easy, so give it a shot!







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered 20 mins ago









                            Rushabh Mehta

                            3,120225




                            3,120225




















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









                                 

                                draft saved


                                draft discarded


















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












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











                                sphynx888 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%2f2947249%2fbijective-function-excluding-0%23new-answer', 'question_page');

                                );

                                Post as a guest













































































                                Comments

                                Popular posts from this blog

                                Long meetings (6-7 hours a day): Being “babysat” by supervisor

                                What does second last employer means? [closed]

                                One-line joke