Question on injective-surjective functions, regarding cardinality of domain, codomain

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











up vote
2
down vote

favorite












Ok so we know that if A, B are finite sets and f: A to B is injective, then cardinality(A)≤cardinality(B),
and that the opposite inequality holds for a surjection. My question is, if we know that f is not injective, can we assume that cardinality(A)>cardinality(B)
(and similarly for a surjection)? I'm asking this because I need to prove that there is no f:A to A that is either (injective but not surjective) or (surjective but not injective), with A finite. Thanks! (Sorry for my bad typing, I can't figure out how to use the symbols)










share|cite|improve this question

















  • 1




    Regarding about how to use symbols, just add $...$, where ... means "any math expression". Search for MathJax to see some common commands.
    – manooooh
    5 hours ago







  • 1




    For what you are trying to prove, given $f$ is injective from $A$ to $A$, then $f$ is a bijection from $A$ to Range($f$), so Range($f$) is a subset of $A$ with the same cardinality as $A$. Since $A$ is finite, ....
    – Ned
    5 hours ago














up vote
2
down vote

favorite












Ok so we know that if A, B are finite sets and f: A to B is injective, then cardinality(A)≤cardinality(B),
and that the opposite inequality holds for a surjection. My question is, if we know that f is not injective, can we assume that cardinality(A)>cardinality(B)
(and similarly for a surjection)? I'm asking this because I need to prove that there is no f:A to A that is either (injective but not surjective) or (surjective but not injective), with A finite. Thanks! (Sorry for my bad typing, I can't figure out how to use the symbols)










share|cite|improve this question

















  • 1




    Regarding about how to use symbols, just add $...$, where ... means "any math expression". Search for MathJax to see some common commands.
    – manooooh
    5 hours ago







  • 1




    For what you are trying to prove, given $f$ is injective from $A$ to $A$, then $f$ is a bijection from $A$ to Range($f$), so Range($f$) is a subset of $A$ with the same cardinality as $A$. Since $A$ is finite, ....
    – Ned
    5 hours ago












up vote
2
down vote

favorite









up vote
2
down vote

favorite











Ok so we know that if A, B are finite sets and f: A to B is injective, then cardinality(A)≤cardinality(B),
and that the opposite inequality holds for a surjection. My question is, if we know that f is not injective, can we assume that cardinality(A)>cardinality(B)
(and similarly for a surjection)? I'm asking this because I need to prove that there is no f:A to A that is either (injective but not surjective) or (surjective but not injective), with A finite. Thanks! (Sorry for my bad typing, I can't figure out how to use the symbols)










share|cite|improve this question













Ok so we know that if A, B are finite sets and f: A to B is injective, then cardinality(A)≤cardinality(B),
and that the opposite inequality holds for a surjection. My question is, if we know that f is not injective, can we assume that cardinality(A)>cardinality(B)
(and similarly for a surjection)? I'm asking this because I need to prove that there is no f:A to A that is either (injective but not surjective) or (surjective but not injective), with A finite. Thanks! (Sorry for my bad typing, I can't figure out how to use the symbols)







functions cardinals






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked 5 hours ago









JBuck

263




263







  • 1




    Regarding about how to use symbols, just add $...$, where ... means "any math expression". Search for MathJax to see some common commands.
    – manooooh
    5 hours ago







  • 1




    For what you are trying to prove, given $f$ is injective from $A$ to $A$, then $f$ is a bijection from $A$ to Range($f$), so Range($f$) is a subset of $A$ with the same cardinality as $A$. Since $A$ is finite, ....
    – Ned
    5 hours ago












  • 1




    Regarding about how to use symbols, just add $...$, where ... means "any math expression". Search for MathJax to see some common commands.
    – manooooh
    5 hours ago







  • 1




    For what you are trying to prove, given $f$ is injective from $A$ to $A$, then $f$ is a bijection from $A$ to Range($f$), so Range($f$) is a subset of $A$ with the same cardinality as $A$. Since $A$ is finite, ....
    – Ned
    5 hours ago







1




1




Regarding about how to use symbols, just add $...$, where ... means "any math expression". Search for MathJax to see some common commands.
– manooooh
5 hours ago





Regarding about how to use symbols, just add $...$, where ... means "any math expression". Search for MathJax to see some common commands.
– manooooh
5 hours ago





1




1




For what you are trying to prove, given $f$ is injective from $A$ to $A$, then $f$ is a bijection from $A$ to Range($f$), so Range($f$) is a subset of $A$ with the same cardinality as $A$. Since $A$ is finite, ....
– Ned
5 hours ago




For what you are trying to prove, given $f$ is injective from $A$ to $A$, then $f$ is a bijection from $A$ to Range($f$), so Range($f$) is a subset of $A$ with the same cardinality as $A$. Since $A$ is finite, ....
– Ned
5 hours ago










2 Answers
2






active

oldest

votes

















up vote
2
down vote













Nope. Let $X=mathbbR$ and $Y=mathbbZ$ $|mathbbZ| < |mathbbR|$. Consider the function $f:X to Y$ defined $f(x)=1$ for all $x$. This map is not injective, but, as stated, $|X|<|Y|$.



If you want an example with finite sets $X=1,2,3$ and $Y=1,2,3,4,5,6,7,8,9$ and define the same map. The same issue arises. It is similar when a map fails to be surjective.



As a hint for your problem. Suppose $f:A to A$ is injective but surjective. So there is in $a in A$ which does not have a partner. But what happens to $f(a)$?. The idea is similar for the surjective case.






share|cite|improve this answer






















  • Yeah I see, I should have noticed that before. Thanks!
    – JBuck
    5 hours ago






  • 1




    No problem. This stuff can be funny at first.
    – RhythmInk
    5 hours ago






  • 2




    If $Y=Z$ how is $f(x)=1$ is a function from $Bbb R$ into $Y$? Unless, $Z=1$.
    – Asaf Karagila♦
    5 hours ago






  • 1




    Just a mistake in notation. All fixed.
    – RhythmInk
    5 hours ago






  • 1




    Please upvote/accept answer if this is what you were looking for.
    – RhythmInk
    5 hours ago

















up vote
2
down vote













Unfortunately, knowing that you have a non-injective function $f$ from $A$ to $B$ doesn't tell you that $|A| > |B|$. For a counterexample with finite sets, consider the function



$f : 1, 2, 3 rightarrow 1, 2, 3, 4$



defined by:



$f(x) = 1, forall x in 1,2,3$.



This function is not injective, since $f(1) = f(2) = f(3)$, but $1 neq 2$, $2 neq 3$, and $1 neq 3$, but $|1,2,3| < |1,2,3,4|$.



A good point to keep in mind when thinking about questions like this is that for most sets $A$ and $B$, there are many different possible functions from $A$ to $B$. Just because you have one particular function from $A$ to $B$ that isn't injective, doesn't mean that no function from $A$ to $B$ is injective. In the above example, we can see that while $f$ is not injective, we can define $g : 1, 2, 3 rightarrow 1, 2, 3, 4$ by $g(x) = x$, and $g$ is in fact injective, showing that $|1,2,3| leq |1,2,3,4|$.



I hope this helps!






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%2f2964991%2fquestion-on-injective-surjective-functions-regarding-cardinality-of-domain-cod%23new-answer', 'question_page');

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote













    Nope. Let $X=mathbbR$ and $Y=mathbbZ$ $|mathbbZ| < |mathbbR|$. Consider the function $f:X to Y$ defined $f(x)=1$ for all $x$. This map is not injective, but, as stated, $|X|<|Y|$.



    If you want an example with finite sets $X=1,2,3$ and $Y=1,2,3,4,5,6,7,8,9$ and define the same map. The same issue arises. It is similar when a map fails to be surjective.



    As a hint for your problem. Suppose $f:A to A$ is injective but surjective. So there is in $a in A$ which does not have a partner. But what happens to $f(a)$?. The idea is similar for the surjective case.






    share|cite|improve this answer






















    • Yeah I see, I should have noticed that before. Thanks!
      – JBuck
      5 hours ago






    • 1




      No problem. This stuff can be funny at first.
      – RhythmInk
      5 hours ago






    • 2




      If $Y=Z$ how is $f(x)=1$ is a function from $Bbb R$ into $Y$? Unless, $Z=1$.
      – Asaf Karagila♦
      5 hours ago






    • 1




      Just a mistake in notation. All fixed.
      – RhythmInk
      5 hours ago






    • 1




      Please upvote/accept answer if this is what you were looking for.
      – RhythmInk
      5 hours ago














    up vote
    2
    down vote













    Nope. Let $X=mathbbR$ and $Y=mathbbZ$ $|mathbbZ| < |mathbbR|$. Consider the function $f:X to Y$ defined $f(x)=1$ for all $x$. This map is not injective, but, as stated, $|X|<|Y|$.



    If you want an example with finite sets $X=1,2,3$ and $Y=1,2,3,4,5,6,7,8,9$ and define the same map. The same issue arises. It is similar when a map fails to be surjective.



    As a hint for your problem. Suppose $f:A to A$ is injective but surjective. So there is in $a in A$ which does not have a partner. But what happens to $f(a)$?. The idea is similar for the surjective case.






    share|cite|improve this answer






















    • Yeah I see, I should have noticed that before. Thanks!
      – JBuck
      5 hours ago






    • 1




      No problem. This stuff can be funny at first.
      – RhythmInk
      5 hours ago






    • 2




      If $Y=Z$ how is $f(x)=1$ is a function from $Bbb R$ into $Y$? Unless, $Z=1$.
      – Asaf Karagila♦
      5 hours ago






    • 1




      Just a mistake in notation. All fixed.
      – RhythmInk
      5 hours ago






    • 1




      Please upvote/accept answer if this is what you were looking for.
      – RhythmInk
      5 hours ago












    up vote
    2
    down vote










    up vote
    2
    down vote









    Nope. Let $X=mathbbR$ and $Y=mathbbZ$ $|mathbbZ| < |mathbbR|$. Consider the function $f:X to Y$ defined $f(x)=1$ for all $x$. This map is not injective, but, as stated, $|X|<|Y|$.



    If you want an example with finite sets $X=1,2,3$ and $Y=1,2,3,4,5,6,7,8,9$ and define the same map. The same issue arises. It is similar when a map fails to be surjective.



    As a hint for your problem. Suppose $f:A to A$ is injective but surjective. So there is in $a in A$ which does not have a partner. But what happens to $f(a)$?. The idea is similar for the surjective case.






    share|cite|improve this answer














    Nope. Let $X=mathbbR$ and $Y=mathbbZ$ $|mathbbZ| < |mathbbR|$. Consider the function $f:X to Y$ defined $f(x)=1$ for all $x$. This map is not injective, but, as stated, $|X|<|Y|$.



    If you want an example with finite sets $X=1,2,3$ and $Y=1,2,3,4,5,6,7,8,9$ and define the same map. The same issue arises. It is similar when a map fails to be surjective.



    As a hint for your problem. Suppose $f:A to A$ is injective but surjective. So there is in $a in A$ which does not have a partner. But what happens to $f(a)$?. The idea is similar for the surjective case.







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited 5 hours ago

























    answered 5 hours ago









    RhythmInk

    1,036420




    1,036420











    • Yeah I see, I should have noticed that before. Thanks!
      – JBuck
      5 hours ago






    • 1




      No problem. This stuff can be funny at first.
      – RhythmInk
      5 hours ago






    • 2




      If $Y=Z$ how is $f(x)=1$ is a function from $Bbb R$ into $Y$? Unless, $Z=1$.
      – Asaf Karagila♦
      5 hours ago






    • 1




      Just a mistake in notation. All fixed.
      – RhythmInk
      5 hours ago






    • 1




      Please upvote/accept answer if this is what you were looking for.
      – RhythmInk
      5 hours ago
















    • Yeah I see, I should have noticed that before. Thanks!
      – JBuck
      5 hours ago






    • 1




      No problem. This stuff can be funny at first.
      – RhythmInk
      5 hours ago






    • 2




      If $Y=Z$ how is $f(x)=1$ is a function from $Bbb R$ into $Y$? Unless, $Z=1$.
      – Asaf Karagila♦
      5 hours ago






    • 1




      Just a mistake in notation. All fixed.
      – RhythmInk
      5 hours ago






    • 1




      Please upvote/accept answer if this is what you were looking for.
      – RhythmInk
      5 hours ago















    Yeah I see, I should have noticed that before. Thanks!
    – JBuck
    5 hours ago




    Yeah I see, I should have noticed that before. Thanks!
    – JBuck
    5 hours ago




    1




    1




    No problem. This stuff can be funny at first.
    – RhythmInk
    5 hours ago




    No problem. This stuff can be funny at first.
    – RhythmInk
    5 hours ago




    2




    2




    If $Y=Z$ how is $f(x)=1$ is a function from $Bbb R$ into $Y$? Unless, $Z=1$.
    – Asaf Karagila♦
    5 hours ago




    If $Y=Z$ how is $f(x)=1$ is a function from $Bbb R$ into $Y$? Unless, $Z=1$.
    – Asaf Karagila♦
    5 hours ago




    1




    1




    Just a mistake in notation. All fixed.
    – RhythmInk
    5 hours ago




    Just a mistake in notation. All fixed.
    – RhythmInk
    5 hours ago




    1




    1




    Please upvote/accept answer if this is what you were looking for.
    – RhythmInk
    5 hours ago




    Please upvote/accept answer if this is what you were looking for.
    – RhythmInk
    5 hours ago










    up vote
    2
    down vote













    Unfortunately, knowing that you have a non-injective function $f$ from $A$ to $B$ doesn't tell you that $|A| > |B|$. For a counterexample with finite sets, consider the function



    $f : 1, 2, 3 rightarrow 1, 2, 3, 4$



    defined by:



    $f(x) = 1, forall x in 1,2,3$.



    This function is not injective, since $f(1) = f(2) = f(3)$, but $1 neq 2$, $2 neq 3$, and $1 neq 3$, but $|1,2,3| < |1,2,3,4|$.



    A good point to keep in mind when thinking about questions like this is that for most sets $A$ and $B$, there are many different possible functions from $A$ to $B$. Just because you have one particular function from $A$ to $B$ that isn't injective, doesn't mean that no function from $A$ to $B$ is injective. In the above example, we can see that while $f$ is not injective, we can define $g : 1, 2, 3 rightarrow 1, 2, 3, 4$ by $g(x) = x$, and $g$ is in fact injective, showing that $|1,2,3| leq |1,2,3,4|$.



    I hope this helps!






    share|cite|improve this answer
























      up vote
      2
      down vote













      Unfortunately, knowing that you have a non-injective function $f$ from $A$ to $B$ doesn't tell you that $|A| > |B|$. For a counterexample with finite sets, consider the function



      $f : 1, 2, 3 rightarrow 1, 2, 3, 4$



      defined by:



      $f(x) = 1, forall x in 1,2,3$.



      This function is not injective, since $f(1) = f(2) = f(3)$, but $1 neq 2$, $2 neq 3$, and $1 neq 3$, but $|1,2,3| < |1,2,3,4|$.



      A good point to keep in mind when thinking about questions like this is that for most sets $A$ and $B$, there are many different possible functions from $A$ to $B$. Just because you have one particular function from $A$ to $B$ that isn't injective, doesn't mean that no function from $A$ to $B$ is injective. In the above example, we can see that while $f$ is not injective, we can define $g : 1, 2, 3 rightarrow 1, 2, 3, 4$ by $g(x) = x$, and $g$ is in fact injective, showing that $|1,2,3| leq |1,2,3,4|$.



      I hope this helps!






      share|cite|improve this answer






















        up vote
        2
        down vote










        up vote
        2
        down vote









        Unfortunately, knowing that you have a non-injective function $f$ from $A$ to $B$ doesn't tell you that $|A| > |B|$. For a counterexample with finite sets, consider the function



        $f : 1, 2, 3 rightarrow 1, 2, 3, 4$



        defined by:



        $f(x) = 1, forall x in 1,2,3$.



        This function is not injective, since $f(1) = f(2) = f(3)$, but $1 neq 2$, $2 neq 3$, and $1 neq 3$, but $|1,2,3| < |1,2,3,4|$.



        A good point to keep in mind when thinking about questions like this is that for most sets $A$ and $B$, there are many different possible functions from $A$ to $B$. Just because you have one particular function from $A$ to $B$ that isn't injective, doesn't mean that no function from $A$ to $B$ is injective. In the above example, we can see that while $f$ is not injective, we can define $g : 1, 2, 3 rightarrow 1, 2, 3, 4$ by $g(x) = x$, and $g$ is in fact injective, showing that $|1,2,3| leq |1,2,3,4|$.



        I hope this helps!






        share|cite|improve this answer












        Unfortunately, knowing that you have a non-injective function $f$ from $A$ to $B$ doesn't tell you that $|A| > |B|$. For a counterexample with finite sets, consider the function



        $f : 1, 2, 3 rightarrow 1, 2, 3, 4$



        defined by:



        $f(x) = 1, forall x in 1,2,3$.



        This function is not injective, since $f(1) = f(2) = f(3)$, but $1 neq 2$, $2 neq 3$, and $1 neq 3$, but $|1,2,3| < |1,2,3,4|$.



        A good point to keep in mind when thinking about questions like this is that for most sets $A$ and $B$, there are many different possible functions from $A$ to $B$. Just because you have one particular function from $A$ to $B$ that isn't injective, doesn't mean that no function from $A$ to $B$ is injective. In the above example, we can see that while $f$ is not injective, we can define $g : 1, 2, 3 rightarrow 1, 2, 3, 4$ by $g(x) = x$, and $g$ is in fact injective, showing that $|1,2,3| leq |1,2,3,4|$.



        I hope this helps!







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered 4 hours ago









        Eli.Orvis

        685




        685



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2964991%2fquestion-on-injective-surjective-functions-regarding-cardinality-of-domain-cod%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

            Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

            Confectionery