How many Surjective functions are the for $A = a,b,c,d,e,f$ to $B = 1,2,3,4$ [duplicate]Number of surjections from $1,…,m$ to $1,…,n$Surjective, Injective, Bijective Functions from $mathbb Z$ to itselfWhat is the practical benefit of a function being injective? surjective?Calculating the total number of surjective functionsProving functions are injective and surjectiveProve that the following functions defined in $Rto R$ are neither injective nor surjective.Cardinality of the Domain vs Codomain in Surjective (non-injective) & Injective (non-surjective) functionsCould someone explain injectivity and surjectivity of functions?How many injective and surjective functions are there from $A$ to $B$?Number of injective, surjective, bijective functions.Why is the composition of a surjective and injective function neither surjective nor injective?

How can I fix this gap between bookcases I made?

Can I legally use front facing blue light in the UK?

Email Account under attack (really) - anything I can do?

What are the advantages and disadvantages of running one shots compared to campaigns?

aging parents with no investments

Does it makes sense to buy a new cycle to learn riding?

Pristine Bit Checking

Where else does the Shulchan Aruch quote an authority by name?

Why is my log file so massive? 22gb. I am running log backups

Manga about a female worker who got dragged into another world together with this high school girl and she was just told she's not needed anymore

Is there a familial term for apples and pears?

Are objects structures and/or vice versa?

Could Giant Ground Sloths have been a good pack animal for the ancient Mayans?

Need help identifying/translating a plaque in Tangier, Morocco

How to manage monthly salary

Patience, young "Padovan"

Does bootstrapped regression allow for inference?

"My colleague's body is amazing"

Check if two datetimes are between two others

Lied on resume at previous job

Was there ever an axiom rendered a theorem?

How to make particles emit from certain parts of a 3D object?

What happens when a metallic dragon and a chromatic dragon mate?

Why doesn't a const reference extend the life of a temporary object passed via a function?



How many Surjective functions are the for $A = a,b,c,d,e,f$ to $B = 1,2,3,4$ [duplicate]


Number of surjections from $1,…,m$ to $1,…,n$Surjective, Injective, Bijective Functions from $mathbb Z$ to itselfWhat is the practical benefit of a function being injective? surjective?Calculating the total number of surjective functionsProving functions are injective and surjectiveProve that the following functions defined in $Rto R$ are neither injective nor surjective.Cardinality of the Domain vs Codomain in Surjective (non-injective) & Injective (non-surjective) functionsCould someone explain injectivity and surjectivity of functions?How many injective and surjective functions are there from $A$ to $B$?Number of injective, surjective, bijective functions.Why is the composition of a surjective and injective function neither surjective nor injective?













0












$begingroup$



This question already has an answer here:



  • Number of surjections from $1,…,m$ to $1,…,n$

    3 answers



I am having trouble understanding this question.



I know the total number of function is $4^6 = 4096$. There are no injective functions as the domain > co domain.



I know there is a part that I'm missing that has to do with the amount of functions that are neither surjective nor injective.



My train of thought was along the lines of (total - injective (=0) - not injective not surjective) = total number of surjective.










share|cite|improve this question











$endgroup$



marked as duplicate by Mike Earnest, Eevee Trainer, N. F. Taussig combinatorics
Users with the  combinatorics badge can single-handedly close combinatorics questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Mar 30 at 10:40


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

















  • $begingroup$
    Your thought is completely illogical. Coming to your question, there is a long formula to find this (uses inclusion-exclusion principle). You can find it up on internet.
    $endgroup$
    – Tojrah
    Mar 30 at 3:28










  • $begingroup$
    okay thanks.... thought it might be on the wrong track. im very new to this and am a little confused
    $endgroup$
    – lowy95
    Mar 30 at 3:34










  • $begingroup$
    Hint: you will need to consider two types of cases: 3 elements of $A$ map to 1 element of $B$ and the other 3 elements of $A$ map to the other 3 elements of $B$; and 2 elements of $A$ map to 1 element of $B$ other 2 elements of $A$ map to another 1 element of $B$ and the remaining 2 elements of $A$ map to 2 elements of $B$.
    $endgroup$
    – Ertxiem
    Mar 30 at 3:37















0












$begingroup$



This question already has an answer here:



  • Number of surjections from $1,…,m$ to $1,…,n$

    3 answers



I am having trouble understanding this question.



I know the total number of function is $4^6 = 4096$. There are no injective functions as the domain > co domain.



I know there is a part that I'm missing that has to do with the amount of functions that are neither surjective nor injective.



My train of thought was along the lines of (total - injective (=0) - not injective not surjective) = total number of surjective.










share|cite|improve this question











$endgroup$



marked as duplicate by Mike Earnest, Eevee Trainer, N. F. Taussig combinatorics
Users with the  combinatorics badge can single-handedly close combinatorics questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Mar 30 at 10:40


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

















  • $begingroup$
    Your thought is completely illogical. Coming to your question, there is a long formula to find this (uses inclusion-exclusion principle). You can find it up on internet.
    $endgroup$
    – Tojrah
    Mar 30 at 3:28










  • $begingroup$
    okay thanks.... thought it might be on the wrong track. im very new to this and am a little confused
    $endgroup$
    – lowy95
    Mar 30 at 3:34










  • $begingroup$
    Hint: you will need to consider two types of cases: 3 elements of $A$ map to 1 element of $B$ and the other 3 elements of $A$ map to the other 3 elements of $B$; and 2 elements of $A$ map to 1 element of $B$ other 2 elements of $A$ map to another 1 element of $B$ and the remaining 2 elements of $A$ map to 2 elements of $B$.
    $endgroup$
    – Ertxiem
    Mar 30 at 3:37













0












0








0





$begingroup$



This question already has an answer here:



  • Number of surjections from $1,…,m$ to $1,…,n$

    3 answers



I am having trouble understanding this question.



I know the total number of function is $4^6 = 4096$. There are no injective functions as the domain > co domain.



I know there is a part that I'm missing that has to do with the amount of functions that are neither surjective nor injective.



My train of thought was along the lines of (total - injective (=0) - not injective not surjective) = total number of surjective.










share|cite|improve this question











$endgroup$





This question already has an answer here:



  • Number of surjections from $1,…,m$ to $1,…,n$

    3 answers



I am having trouble understanding this question.



I know the total number of function is $4^6 = 4096$. There are no injective functions as the domain > co domain.



I know there is a part that I'm missing that has to do with the amount of functions that are neither surjective nor injective.



My train of thought was along the lines of (total - injective (=0) - not injective not surjective) = total number of surjective.





This question already has an answer here:



  • Number of surjections from $1,…,m$ to $1,…,n$

    3 answers







combinatorics functions elementary-set-theory






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 30 at 10:35









N. F. Taussig

45.1k103358




45.1k103358










asked Mar 30 at 3:22









lowy95lowy95

1




1




marked as duplicate by Mike Earnest, Eevee Trainer, N. F. Taussig combinatorics
Users with the  combinatorics badge can single-handedly close combinatorics questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Mar 30 at 10:40


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by Mike Earnest, Eevee Trainer, N. F. Taussig combinatorics
Users with the  combinatorics badge can single-handedly close combinatorics questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Mar 30 at 10:40


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.













  • $begingroup$
    Your thought is completely illogical. Coming to your question, there is a long formula to find this (uses inclusion-exclusion principle). You can find it up on internet.
    $endgroup$
    – Tojrah
    Mar 30 at 3:28










  • $begingroup$
    okay thanks.... thought it might be on the wrong track. im very new to this and am a little confused
    $endgroup$
    – lowy95
    Mar 30 at 3:34










  • $begingroup$
    Hint: you will need to consider two types of cases: 3 elements of $A$ map to 1 element of $B$ and the other 3 elements of $A$ map to the other 3 elements of $B$; and 2 elements of $A$ map to 1 element of $B$ other 2 elements of $A$ map to another 1 element of $B$ and the remaining 2 elements of $A$ map to 2 elements of $B$.
    $endgroup$
    – Ertxiem
    Mar 30 at 3:37
















  • $begingroup$
    Your thought is completely illogical. Coming to your question, there is a long formula to find this (uses inclusion-exclusion principle). You can find it up on internet.
    $endgroup$
    – Tojrah
    Mar 30 at 3:28










  • $begingroup$
    okay thanks.... thought it might be on the wrong track. im very new to this and am a little confused
    $endgroup$
    – lowy95
    Mar 30 at 3:34










  • $begingroup$
    Hint: you will need to consider two types of cases: 3 elements of $A$ map to 1 element of $B$ and the other 3 elements of $A$ map to the other 3 elements of $B$; and 2 elements of $A$ map to 1 element of $B$ other 2 elements of $A$ map to another 1 element of $B$ and the remaining 2 elements of $A$ map to 2 elements of $B$.
    $endgroup$
    – Ertxiem
    Mar 30 at 3:37















$begingroup$
Your thought is completely illogical. Coming to your question, there is a long formula to find this (uses inclusion-exclusion principle). You can find it up on internet.
$endgroup$
– Tojrah
Mar 30 at 3:28




$begingroup$
Your thought is completely illogical. Coming to your question, there is a long formula to find this (uses inclusion-exclusion principle). You can find it up on internet.
$endgroup$
– Tojrah
Mar 30 at 3:28












$begingroup$
okay thanks.... thought it might be on the wrong track. im very new to this and am a little confused
$endgroup$
– lowy95
Mar 30 at 3:34




$begingroup$
okay thanks.... thought it might be on the wrong track. im very new to this and am a little confused
$endgroup$
– lowy95
Mar 30 at 3:34












$begingroup$
Hint: you will need to consider two types of cases: 3 elements of $A$ map to 1 element of $B$ and the other 3 elements of $A$ map to the other 3 elements of $B$; and 2 elements of $A$ map to 1 element of $B$ other 2 elements of $A$ map to another 1 element of $B$ and the remaining 2 elements of $A$ map to 2 elements of $B$.
$endgroup$
– Ertxiem
Mar 30 at 3:37




$begingroup$
Hint: you will need to consider two types of cases: 3 elements of $A$ map to 1 element of $B$ and the other 3 elements of $A$ map to the other 3 elements of $B$; and 2 elements of $A$ map to 1 element of $B$ other 2 elements of $A$ map to another 1 element of $B$ and the remaining 2 elements of $A$ map to 2 elements of $B$.
$endgroup$
– Ertxiem
Mar 30 at 3:37










1 Answer
1






active

oldest

votes


















2












$begingroup$

Since the function is surjective, the pre-image of any element is non-empty. Thus, the maximum number of elements in any pre-image of any element is 3. So we break it up into cases:



Case 1 Some element in B has 3 elements in its preimage: There are $binom41 = 4$ ways to pick that element. Given that element there are $binom63$ = 20 ways to pick the 3 elements in A as the pre-image. Then there are 3!=6 ways to pick the pre-images of the remaining elements. So this case has counted 4*20*6 such functions.



Case 2 Two elements in B each have 2 elements in its preimage: Arguing similarly in Case 1, we have $binom42$=6 ways to pick these two elements. Given the two elements we have $binom62binom42 = 15*6$ ways to pick the pre-images. Then there are 2!=2 ways to pick the pre-image of the remaining elements. So this case has counted 6*15*6*2 such functions.



Now we have exhausted all possibilities, so we just add the numbers together and we are done.






share|cite|improve this answer









$endgroup$



















    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2












    $begingroup$

    Since the function is surjective, the pre-image of any element is non-empty. Thus, the maximum number of elements in any pre-image of any element is 3. So we break it up into cases:



    Case 1 Some element in B has 3 elements in its preimage: There are $binom41 = 4$ ways to pick that element. Given that element there are $binom63$ = 20 ways to pick the 3 elements in A as the pre-image. Then there are 3!=6 ways to pick the pre-images of the remaining elements. So this case has counted 4*20*6 such functions.



    Case 2 Two elements in B each have 2 elements in its preimage: Arguing similarly in Case 1, we have $binom42$=6 ways to pick these two elements. Given the two elements we have $binom62binom42 = 15*6$ ways to pick the pre-images. Then there are 2!=2 ways to pick the pre-image of the remaining elements. So this case has counted 6*15*6*2 such functions.



    Now we have exhausted all possibilities, so we just add the numbers together and we are done.






    share|cite|improve this answer









    $endgroup$

















      2












      $begingroup$

      Since the function is surjective, the pre-image of any element is non-empty. Thus, the maximum number of elements in any pre-image of any element is 3. So we break it up into cases:



      Case 1 Some element in B has 3 elements in its preimage: There are $binom41 = 4$ ways to pick that element. Given that element there are $binom63$ = 20 ways to pick the 3 elements in A as the pre-image. Then there are 3!=6 ways to pick the pre-images of the remaining elements. So this case has counted 4*20*6 such functions.



      Case 2 Two elements in B each have 2 elements in its preimage: Arguing similarly in Case 1, we have $binom42$=6 ways to pick these two elements. Given the two elements we have $binom62binom42 = 15*6$ ways to pick the pre-images. Then there are 2!=2 ways to pick the pre-image of the remaining elements. So this case has counted 6*15*6*2 such functions.



      Now we have exhausted all possibilities, so we just add the numbers together and we are done.






      share|cite|improve this answer









      $endgroup$















        2












        2








        2





        $begingroup$

        Since the function is surjective, the pre-image of any element is non-empty. Thus, the maximum number of elements in any pre-image of any element is 3. So we break it up into cases:



        Case 1 Some element in B has 3 elements in its preimage: There are $binom41 = 4$ ways to pick that element. Given that element there are $binom63$ = 20 ways to pick the 3 elements in A as the pre-image. Then there are 3!=6 ways to pick the pre-images of the remaining elements. So this case has counted 4*20*6 such functions.



        Case 2 Two elements in B each have 2 elements in its preimage: Arguing similarly in Case 1, we have $binom42$=6 ways to pick these two elements. Given the two elements we have $binom62binom42 = 15*6$ ways to pick the pre-images. Then there are 2!=2 ways to pick the pre-image of the remaining elements. So this case has counted 6*15*6*2 such functions.



        Now we have exhausted all possibilities, so we just add the numbers together and we are done.






        share|cite|improve this answer









        $endgroup$



        Since the function is surjective, the pre-image of any element is non-empty. Thus, the maximum number of elements in any pre-image of any element is 3. So we break it up into cases:



        Case 1 Some element in B has 3 elements in its preimage: There are $binom41 = 4$ ways to pick that element. Given that element there are $binom63$ = 20 ways to pick the 3 elements in A as the pre-image. Then there are 3!=6 ways to pick the pre-images of the remaining elements. So this case has counted 4*20*6 such functions.



        Case 2 Two elements in B each have 2 elements in its preimage: Arguing similarly in Case 1, we have $binom42$=6 ways to pick these two elements. Given the two elements we have $binom62binom42 = 15*6$ ways to pick the pre-images. Then there are 2!=2 ways to pick the pre-image of the remaining elements. So this case has counted 6*15*6*2 such functions.



        Now we have exhausted all possibilities, so we just add the numbers together and we are done.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Mar 30 at 4:46









        Joel PereiraJoel Pereira

        83719




        83719













            Popular posts from this blog

            Triangular numbers and gcdProving sum of a set is $0 pmod n$ if $n$ is odd, or $fracn2 pmod n$ if $n$ is even?Is greatest common divisor of two numbers really their smallest linear combination?GCD, LCM RelationshipProve a set of nonnegative integers with greatest common divisor 1 and closed under addition has all but finite many nonnegative integers.all pairs of a and b in an equation containing gcdTriangular Numbers Modulo $k$ - Hit All Values?Understanding the Existence and Uniqueness of the GCDGCD and LCM with logical symbolsThe greatest common divisor of two positive integers less than 100 is equal to 3. Their least common multiple is twelve times one of the integers.Suppose that for all integers $x$, $x|a$ and $x|b$ if and only if $x|c$. Then $c = gcd(a,b)$Which is the gcd of 2 numbers which are multiplied and the result is 600000?

            Ingelân Ynhâld Etymology | Geografy | Skiednis | Polityk en bestjoer | Ekonomy | Demografy | Kultuer | Klimaat | Sjoch ek | Keppelings om utens | Boarnen, noaten en referinsjes Navigaasjemenuwww.gov.ukOffisjele webside fan it regear fan it Feriene KeninkrykOffisjele webside fan it Britske FerkearsburoNederlânsktalige ynformaasje fan it Britske FerkearsburoOffisjele webside fan English Heritage, de organisaasje dy't him ynset foar it behâld fan it Ingelske kultuergoedYnwennertallen fan alle Britske stêden út 'e folkstelling fan 2011Notes en References, op dizze sideEngland

            Հադիս Բովանդակություն Անվանում և նշանակություն | Դասակարգում | Աղբյուրներ | Նավարկման ցանկ