How to prove one-to-one and onto?

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











up vote
4
down vote

favorite
2












I am trying to prove $(-1, 1)$ is equinumerous to $mathbbR$ by finding a bijection function from $(-1, 1)$ to $mathbbR$.
I've found a function $f(x) = fracxx^2-1$, and it's a bijection obviously from its graph, but I don't know how to prove it is bijection rigorously. Any help, thanks!







share|cite|improve this question





















  • You have to show $f$ is one-to-one and onto. Do you know how to prove a function is one-to-one? Do you know how to go about proving a functions is onto?
    – saulspatz
    Jul 26 at 19:51















up vote
4
down vote

favorite
2












I am trying to prove $(-1, 1)$ is equinumerous to $mathbbR$ by finding a bijection function from $(-1, 1)$ to $mathbbR$.
I've found a function $f(x) = fracxx^2-1$, and it's a bijection obviously from its graph, but I don't know how to prove it is bijection rigorously. Any help, thanks!







share|cite|improve this question





















  • You have to show $f$ is one-to-one and onto. Do you know how to prove a function is one-to-one? Do you know how to go about proving a functions is onto?
    – saulspatz
    Jul 26 at 19:51













up vote
4
down vote

favorite
2









up vote
4
down vote

favorite
2






2





I am trying to prove $(-1, 1)$ is equinumerous to $mathbbR$ by finding a bijection function from $(-1, 1)$ to $mathbbR$.
I've found a function $f(x) = fracxx^2-1$, and it's a bijection obviously from its graph, but I don't know how to prove it is bijection rigorously. Any help, thanks!







share|cite|improve this question













I am trying to prove $(-1, 1)$ is equinumerous to $mathbbR$ by finding a bijection function from $(-1, 1)$ to $mathbbR$.
I've found a function $f(x) = fracxx^2-1$, and it's a bijection obviously from its graph, but I don't know how to prove it is bijection rigorously. Any help, thanks!









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








edited Jul 26 at 19:50









packetpacket

249112




249112









asked Jul 26 at 19:45









Cathy

1067




1067











  • You have to show $f$ is one-to-one and onto. Do you know how to prove a function is one-to-one? Do you know how to go about proving a functions is onto?
    – saulspatz
    Jul 26 at 19:51

















  • You have to show $f$ is one-to-one and onto. Do you know how to prove a function is one-to-one? Do you know how to go about proving a functions is onto?
    – saulspatz
    Jul 26 at 19:51
















You have to show $f$ is one-to-one and onto. Do you know how to prove a function is one-to-one? Do you know how to go about proving a functions is onto?
– saulspatz
Jul 26 at 19:51





You have to show $f$ is one-to-one and onto. Do you know how to prove a function is one-to-one? Do you know how to go about proving a functions is onto?
– saulspatz
Jul 26 at 19:51











4 Answers
4






active

oldest

votes

















up vote
3
down vote



accepted










The given function is continous and because of $$(fracxx^2-1)'=fracx^2-1-2x^2(x^2-1)^2=frac-1-x^2(x^2-1)^2<0$$ strictly decreasing in the interval $(-1,1)$ Additionally, we have $$lim_xrightarrow -1+0 fracxx^2-1=infty$$ and $$lim_xrightarrow 1-0 fracxx^2-1=-infty$$



So the range is $mathbb R$ , hence $f^-1(x)$ exists and is defined everywhere.






share|cite|improve this answer





















  • So we could prove a function is bijection by showing it has inverse rather than to prove step by step according to the definition of bijection? Such as proving injection is to show if f(a) = f(b) then a = b?
    – Cathy
    Jul 26 at 20:04










  • Yes, but domain and range need not be the same. Here the bijection is between the interval $(-1,1)$ and $mathbb R$. If a function is continous , you can use the intermediate-value-theorem that guarantees that every value in the range is a possible value of the function.
    – Peter
    Jul 26 at 20:05


















up vote
7
down vote













Here is a simple proof that $f$ is injective without calculus:
$$
f(x) = f(y)
iff fracxx^2-1 = fracyy^2-1
iff (xy+1)(x-y)=0
iff xy=-1 text or x=y
$$
But $|x|<1$, $|y|<1$ implies $|xy|=|x| |y| <1$ and so $xy$ is never $-1$.






share|cite|improve this answer























  • Thanks! I've never thought the question can be proved without continuous. Can surjection be proved in a similar way?
    – Cathy
    Jul 26 at 20:12










  • @Cathy, the answer by 高田航 does that.
    – lhf
    Jul 26 at 23:17


















up vote
4
down vote













Injective: compute the derivative. The function is derivable in the whole domain.
It is $fracx^2-1-xcdot 2x(x^2-1)^2= frac-1-x^2(x^2-1)^2<0$ for all $x$ in the domain. So the function is in fact strictly monotone decreasing.



Surjective: Compute the limits at the endpoints of the interval.



$limlimits_xrightarrow -1 fracxx^2-1= infty$, $limlimits_xrightarrow 1 fracxx^2-1= -infty$.



As the function is continuous, every real value is attained somewhere by the Bolzano theorem.






share|cite|improve this answer




























    up vote
    4
    down vote













    To show that a function is a bijection you can simply show that there is an inverse function $f^-1:mathbbRrightarrow(-1,1)$ which can be found by setting
    beginalign
    x & =fracyy^2-1
    \ y&=frac1pmsqrt1+4x^22x
    endalign
    We take the negative sign to stay within the domain, so we obtain $f^-1(x)=frac1-sqrt1+4x^22x$.
    Lastly, we can confirm that $f^-1circ f(x)=x$ for all $xin(-1,1)$ and similarly that $fcirc f^-1(x)=x$ for all $xinmathbbR$.






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



      );








       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2863743%2fhow-to-prove-one-to-one-and-onto%23new-answer', 'question_page');

      );

      Post as a guest






























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      3
      down vote



      accepted










      The given function is continous and because of $$(fracxx^2-1)'=fracx^2-1-2x^2(x^2-1)^2=frac-1-x^2(x^2-1)^2<0$$ strictly decreasing in the interval $(-1,1)$ Additionally, we have $$lim_xrightarrow -1+0 fracxx^2-1=infty$$ and $$lim_xrightarrow 1-0 fracxx^2-1=-infty$$



      So the range is $mathbb R$ , hence $f^-1(x)$ exists and is defined everywhere.






      share|cite|improve this answer





















      • So we could prove a function is bijection by showing it has inverse rather than to prove step by step according to the definition of bijection? Such as proving injection is to show if f(a) = f(b) then a = b?
        – Cathy
        Jul 26 at 20:04










      • Yes, but domain and range need not be the same. Here the bijection is between the interval $(-1,1)$ and $mathbb R$. If a function is continous , you can use the intermediate-value-theorem that guarantees that every value in the range is a possible value of the function.
        – Peter
        Jul 26 at 20:05















      up vote
      3
      down vote



      accepted










      The given function is continous and because of $$(fracxx^2-1)'=fracx^2-1-2x^2(x^2-1)^2=frac-1-x^2(x^2-1)^2<0$$ strictly decreasing in the interval $(-1,1)$ Additionally, we have $$lim_xrightarrow -1+0 fracxx^2-1=infty$$ and $$lim_xrightarrow 1-0 fracxx^2-1=-infty$$



      So the range is $mathbb R$ , hence $f^-1(x)$ exists and is defined everywhere.






      share|cite|improve this answer





















      • So we could prove a function is bijection by showing it has inverse rather than to prove step by step according to the definition of bijection? Such as proving injection is to show if f(a) = f(b) then a = b?
        – Cathy
        Jul 26 at 20:04










      • Yes, but domain and range need not be the same. Here the bijection is between the interval $(-1,1)$ and $mathbb R$. If a function is continous , you can use the intermediate-value-theorem that guarantees that every value in the range is a possible value of the function.
        – Peter
        Jul 26 at 20:05













      up vote
      3
      down vote



      accepted







      up vote
      3
      down vote



      accepted






      The given function is continous and because of $$(fracxx^2-1)'=fracx^2-1-2x^2(x^2-1)^2=frac-1-x^2(x^2-1)^2<0$$ strictly decreasing in the interval $(-1,1)$ Additionally, we have $$lim_xrightarrow -1+0 fracxx^2-1=infty$$ and $$lim_xrightarrow 1-0 fracxx^2-1=-infty$$



      So the range is $mathbb R$ , hence $f^-1(x)$ exists and is defined everywhere.






      share|cite|improve this answer













      The given function is continous and because of $$(fracxx^2-1)'=fracx^2-1-2x^2(x^2-1)^2=frac-1-x^2(x^2-1)^2<0$$ strictly decreasing in the interval $(-1,1)$ Additionally, we have $$lim_xrightarrow -1+0 fracxx^2-1=infty$$ and $$lim_xrightarrow 1-0 fracxx^2-1=-infty$$



      So the range is $mathbb R$ , hence $f^-1(x)$ exists and is defined everywhere.







      share|cite|improve this answer













      share|cite|improve this answer



      share|cite|improve this answer











      answered Jul 26 at 19:55









      Peter

      45k938119




      45k938119











      • So we could prove a function is bijection by showing it has inverse rather than to prove step by step according to the definition of bijection? Such as proving injection is to show if f(a) = f(b) then a = b?
        – Cathy
        Jul 26 at 20:04










      • Yes, but domain and range need not be the same. Here the bijection is between the interval $(-1,1)$ and $mathbb R$. If a function is continous , you can use the intermediate-value-theorem that guarantees that every value in the range is a possible value of the function.
        – Peter
        Jul 26 at 20:05

















      • So we could prove a function is bijection by showing it has inverse rather than to prove step by step according to the definition of bijection? Such as proving injection is to show if f(a) = f(b) then a = b?
        – Cathy
        Jul 26 at 20:04










      • Yes, but domain and range need not be the same. Here the bijection is between the interval $(-1,1)$ and $mathbb R$. If a function is continous , you can use the intermediate-value-theorem that guarantees that every value in the range is a possible value of the function.
        – Peter
        Jul 26 at 20:05
















      So we could prove a function is bijection by showing it has inverse rather than to prove step by step according to the definition of bijection? Such as proving injection is to show if f(a) = f(b) then a = b?
      – Cathy
      Jul 26 at 20:04




      So we could prove a function is bijection by showing it has inverse rather than to prove step by step according to the definition of bijection? Such as proving injection is to show if f(a) = f(b) then a = b?
      – Cathy
      Jul 26 at 20:04












      Yes, but domain and range need not be the same. Here the bijection is between the interval $(-1,1)$ and $mathbb R$. If a function is continous , you can use the intermediate-value-theorem that guarantees that every value in the range is a possible value of the function.
      – Peter
      Jul 26 at 20:05





      Yes, but domain and range need not be the same. Here the bijection is between the interval $(-1,1)$ and $mathbb R$. If a function is continous , you can use the intermediate-value-theorem that guarantees that every value in the range is a possible value of the function.
      – Peter
      Jul 26 at 20:05











      up vote
      7
      down vote













      Here is a simple proof that $f$ is injective without calculus:
      $$
      f(x) = f(y)
      iff fracxx^2-1 = fracyy^2-1
      iff (xy+1)(x-y)=0
      iff xy=-1 text or x=y
      $$
      But $|x|<1$, $|y|<1$ implies $|xy|=|x| |y| <1$ and so $xy$ is never $-1$.






      share|cite|improve this answer























      • Thanks! I've never thought the question can be proved without continuous. Can surjection be proved in a similar way?
        – Cathy
        Jul 26 at 20:12










      • @Cathy, the answer by 高田航 does that.
        – lhf
        Jul 26 at 23:17















      up vote
      7
      down vote













      Here is a simple proof that $f$ is injective without calculus:
      $$
      f(x) = f(y)
      iff fracxx^2-1 = fracyy^2-1
      iff (xy+1)(x-y)=0
      iff xy=-1 text or x=y
      $$
      But $|x|<1$, $|y|<1$ implies $|xy|=|x| |y| <1$ and so $xy$ is never $-1$.






      share|cite|improve this answer























      • Thanks! I've never thought the question can be proved without continuous. Can surjection be proved in a similar way?
        – Cathy
        Jul 26 at 20:12










      • @Cathy, the answer by 高田航 does that.
        – lhf
        Jul 26 at 23:17













      up vote
      7
      down vote










      up vote
      7
      down vote









      Here is a simple proof that $f$ is injective without calculus:
      $$
      f(x) = f(y)
      iff fracxx^2-1 = fracyy^2-1
      iff (xy+1)(x-y)=0
      iff xy=-1 text or x=y
      $$
      But $|x|<1$, $|y|<1$ implies $|xy|=|x| |y| <1$ and so $xy$ is never $-1$.






      share|cite|improve this answer















      Here is a simple proof that $f$ is injective without calculus:
      $$
      f(x) = f(y)
      iff fracxx^2-1 = fracyy^2-1
      iff (xy+1)(x-y)=0
      iff xy=-1 text or x=y
      $$
      But $|x|<1$, $|y|<1$ implies $|xy|=|x| |y| <1$ and so $xy$ is never $-1$.







      share|cite|improve this answer















      share|cite|improve this answer



      share|cite|improve this answer








      edited Jul 26 at 23:18


























      answered Jul 26 at 20:04









      lhf

      155k9160365




      155k9160365











      • Thanks! I've never thought the question can be proved without continuous. Can surjection be proved in a similar way?
        – Cathy
        Jul 26 at 20:12










      • @Cathy, the answer by 高田航 does that.
        – lhf
        Jul 26 at 23:17

















      • Thanks! I've never thought the question can be proved without continuous. Can surjection be proved in a similar way?
        – Cathy
        Jul 26 at 20:12










      • @Cathy, the answer by 高田航 does that.
        – lhf
        Jul 26 at 23:17
















      Thanks! I've never thought the question can be proved without continuous. Can surjection be proved in a similar way?
      – Cathy
      Jul 26 at 20:12




      Thanks! I've never thought the question can be proved without continuous. Can surjection be proved in a similar way?
      – Cathy
      Jul 26 at 20:12












      @Cathy, the answer by 高田航 does that.
      – lhf
      Jul 26 at 23:17





      @Cathy, the answer by 高田航 does that.
      – lhf
      Jul 26 at 23:17











      up vote
      4
      down vote













      Injective: compute the derivative. The function is derivable in the whole domain.
      It is $fracx^2-1-xcdot 2x(x^2-1)^2= frac-1-x^2(x^2-1)^2<0$ for all $x$ in the domain. So the function is in fact strictly monotone decreasing.



      Surjective: Compute the limits at the endpoints of the interval.



      $limlimits_xrightarrow -1 fracxx^2-1= infty$, $limlimits_xrightarrow 1 fracxx^2-1= -infty$.



      As the function is continuous, every real value is attained somewhere by the Bolzano theorem.






      share|cite|improve this answer

























        up vote
        4
        down vote













        Injective: compute the derivative. The function is derivable in the whole domain.
        It is $fracx^2-1-xcdot 2x(x^2-1)^2= frac-1-x^2(x^2-1)^2<0$ for all $x$ in the domain. So the function is in fact strictly monotone decreasing.



        Surjective: Compute the limits at the endpoints of the interval.



        $limlimits_xrightarrow -1 fracxx^2-1= infty$, $limlimits_xrightarrow 1 fracxx^2-1= -infty$.



        As the function is continuous, every real value is attained somewhere by the Bolzano theorem.






        share|cite|improve this answer























          up vote
          4
          down vote










          up vote
          4
          down vote









          Injective: compute the derivative. The function is derivable in the whole domain.
          It is $fracx^2-1-xcdot 2x(x^2-1)^2= frac-1-x^2(x^2-1)^2<0$ for all $x$ in the domain. So the function is in fact strictly monotone decreasing.



          Surjective: Compute the limits at the endpoints of the interval.



          $limlimits_xrightarrow -1 fracxx^2-1= infty$, $limlimits_xrightarrow 1 fracxx^2-1= -infty$.



          As the function is continuous, every real value is attained somewhere by the Bolzano theorem.






          share|cite|improve this answer













          Injective: compute the derivative. The function is derivable in the whole domain.
          It is $fracx^2-1-xcdot 2x(x^2-1)^2= frac-1-x^2(x^2-1)^2<0$ for all $x$ in the domain. So the function is in fact strictly monotone decreasing.



          Surjective: Compute the limits at the endpoints of the interval.



          $limlimits_xrightarrow -1 fracxx^2-1= infty$, $limlimits_xrightarrow 1 fracxx^2-1= -infty$.



          As the function is continuous, every real value is attained somewhere by the Bolzano theorem.







          share|cite|improve this answer













          share|cite|improve this answer



          share|cite|improve this answer











          answered Jul 26 at 19:55









          A. Pongrácz

          1,574115




          1,574115




















              up vote
              4
              down vote













              To show that a function is a bijection you can simply show that there is an inverse function $f^-1:mathbbRrightarrow(-1,1)$ which can be found by setting
              beginalign
              x & =fracyy^2-1
              \ y&=frac1pmsqrt1+4x^22x
              endalign
              We take the negative sign to stay within the domain, so we obtain $f^-1(x)=frac1-sqrt1+4x^22x$.
              Lastly, we can confirm that $f^-1circ f(x)=x$ for all $xin(-1,1)$ and similarly that $fcirc f^-1(x)=x$ for all $xinmathbbR$.






              share|cite|improve this answer



























                up vote
                4
                down vote













                To show that a function is a bijection you can simply show that there is an inverse function $f^-1:mathbbRrightarrow(-1,1)$ which can be found by setting
                beginalign
                x & =fracyy^2-1
                \ y&=frac1pmsqrt1+4x^22x
                endalign
                We take the negative sign to stay within the domain, so we obtain $f^-1(x)=frac1-sqrt1+4x^22x$.
                Lastly, we can confirm that $f^-1circ f(x)=x$ for all $xin(-1,1)$ and similarly that $fcirc f^-1(x)=x$ for all $xinmathbbR$.






                share|cite|improve this answer

























                  up vote
                  4
                  down vote










                  up vote
                  4
                  down vote









                  To show that a function is a bijection you can simply show that there is an inverse function $f^-1:mathbbRrightarrow(-1,1)$ which can be found by setting
                  beginalign
                  x & =fracyy^2-1
                  \ y&=frac1pmsqrt1+4x^22x
                  endalign
                  We take the negative sign to stay within the domain, so we obtain $f^-1(x)=frac1-sqrt1+4x^22x$.
                  Lastly, we can confirm that $f^-1circ f(x)=x$ for all $xin(-1,1)$ and similarly that $fcirc f^-1(x)=x$ for all $xinmathbbR$.






                  share|cite|improve this answer















                  To show that a function is a bijection you can simply show that there is an inverse function $f^-1:mathbbRrightarrow(-1,1)$ which can be found by setting
                  beginalign
                  x & =fracyy^2-1
                  \ y&=frac1pmsqrt1+4x^22x
                  endalign
                  We take the negative sign to stay within the domain, so we obtain $f^-1(x)=frac1-sqrt1+4x^22x$.
                  Lastly, we can confirm that $f^-1circ f(x)=x$ for all $xin(-1,1)$ and similarly that $fcirc f^-1(x)=x$ for all $xinmathbbR$.







                  share|cite|improve this answer















                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited Jul 28 at 0:50









                  an4s

                  2,0382417




                  2,0382417











                  answered Jul 26 at 19:56









                  高田航

                  1,116318




                  1,116318






















                       

                      draft saved


                      draft discarded


























                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2863743%2fhow-to-prove-one-to-one-and-onto%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Comments

                      Popular posts from this blog

                      What is the equation of a 3D cone with generalised tilt?

                      Color the edges and diagonals of a regular polygon

                      Relationship between determinant of matrix and determinant of adjoint?