How many functions are there from A to B

  • Thread starter Thread starter tysonk
  • Start date Start date
  • Tags Tags
    Functions
Click For Summary
There are 8 possible functions from set A={a,b,c} to set B={x,y} when considering all mappings without restrictions. Each element in A can independently map to either element in B, leading to the calculation of 2^3=8. The confusion arose from an initial count of only 7 functions, suggesting a possible oversight in listing. A detailed enumeration of the functions confirms all 8 distinct mappings. Therefore, the correct total of functions from A to B is indeed 8.
tysonk
Messages
33
Reaction score
0
How many functions are possible from A to B?

A={a,b,c}
B={x,y}

When I did this by counting the possible functions I could only find 7. But the "uncommon" 7 makes me feel like I missed a case. If someone could confirm that would be appreciated.
 
Physics news on Phys.org


Well, how did you get "7"?

Since there are no restrictions on the function, such as "one-to-one" or "onto", a can be mapped into either x or y, so can b, and so can c so there are clearly 2^3= 8 such functions. Are you saying that you tried to list them and only got 7?

I get:
{(a, x), (b, x), (c, x)}
{(a, x), (b, x), (c, y)}
{(a, x), (b, y), (c, x)}
{(a, x), (b, y), (c, y)}
{(a, y), (b, x), (c, x)}
{(a, y), (b, x), (c, y)}
{(a, y), (b, y), (c, x)}
{(a, y), (b, y), (c, y)}
 


members of B power members of A
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
19
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K