How many functions are there from A to B

  • Thread starter Thread starter tysonk
  • Start date Start date
  • Tags Tags
    Functions
AI Thread 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
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks

Similar threads

Back
Top