How Many Onto Functions Can Be Defined Between Sets of Different Sizes?

  • Thread starter Thread starter kuahji
  • Start date Start date
  • Tags Tags
    Functions
Click For Summary
SUMMARY

The discussion focuses on calculating the number of onto functions from a set with four elements to a set with two elements, as well as from a set of 50 elements to a set of 35 elements. The initial approach of multiplying decreasing choices (e.g., 50*49*48*...*17*16) is incorrect for certain cases, such as from a set of 4 to a set of 2, where the correct answer is 14. The formula for the number of surjective functions, S(m,n) = (-1)n ∑(-1)k(n choose k) km, is introduced as a more efficient method for solving these problems.

PREREQUISITES
  • Understanding of combinatorial mathematics
  • Familiarity with the concept of surjective (onto) functions
  • Knowledge of binomial coefficients
  • Basic proficiency in mathematical notation and summation
NEXT STEPS
  • Study the formula for surjective functions in detail, focusing on S(m,n)
  • Learn about binomial coefficients and their applications in combinatorics
  • Explore examples of onto functions with varying set sizes
  • Investigate related combinatorial concepts such as Bell numbers
USEFUL FOR

Mathematicians, students studying combinatorics, educators teaching set theory, and anyone interested in advanced counting techniques.

kuahji
Messages
390
Reaction score
2
# of Onto Functions

How many onto functions are there from a set with four elements to a set with two elements?

My math professor gave an example of a set with 50 to a set with 35 (again asking for the number of onto functions). The way to go about the problem according to him is to just do 50*49*48*...*17*16 (basically the first element in the second set has 50 choices, the next 49, etc.). For the first two problems problems I had a set of 3 elements to a set of 2 elements, so using this reasoning (& it seemed to make sense), I'd do 3*2=6. It works. The next one I had was a set of 3 to a set of 3, so 3*2*1=6. It works. Then I get the one above, 4*3=12. It does not work. The answer should be 14. But without writing out all the possibilities, I'm trying to find a better way to understand these problems and be able to solve them more efficiently.
 
Physics news on Phys.org


I have not done this type of stuff in years but I will help out since you are not getting any replies.

Let S(m,n) denote the number of surjective (onto) functions from a set of m elements to a set of n elements.

Then S(m,n) = (-1)n [tex]\sum[/tex](-1)k(n choose k) km

where the sum runs from 1 to n and (n choose k) is the binomial coefficient (I couldn't find the symbol for it).

This may also help: http://en.wikipedia.org/wiki/Bell_number
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K