How Many Functions Have f(1) = f(2)?

  • Thread starter Thread starter iamsmooth
  • Start date Start date
  • Tags Tags
    Counting Function
Click For Summary
The discussion centers on counting the number of functions f: A -> B where A = {1,2,3} and B = {1,2,3,4,5} with the condition f(1) = f(2). The participant calculates that there are 125 total functions from A to B, derived from 5 choices for each of the three elements in A. Given that f(1) and f(2) must be equal, f(1) has 5 choices, f(2) is constrained to match f(1), and f(3) has 5 choices, resulting in 25 valid functions. The conclusion drawn is that 1/5 of all possible functions satisfy the condition f(1) = f(2). This analysis highlights the importance of understanding constraints in counting problems.
iamsmooth
Messages
103
Reaction score
0

Homework Statement


Let A = {1,2,3} and B = {1,2,3,4,5}
Find the number of functions f: A -> B so that f(1) = f(2)


Homework Equations





The Attempt at a Solution



I'm just reviewing random questions for my final on Tuesday and I came upon this question. Seems to be a counting question, and I'm not that sure how to do this since counting questions are more intuition than method (at least that's what I think). Here's what I got:

So a function sends an element from 1 set to another.

There are 3 possible values for the f function, namely f(1), f(2), and f(3).

There are 75 possibilities (5*5*5). So I guess you have to pick the possible values of f(1), f(2) and f(3). So f(1) has 5 choices, f(2) has 1 choice because it must match what f(1) was mapped to, f(3) can be whatever, so it's 5 again.

5 * 1 * 5 = 25

So there are 25 possible functions.

Is this correct? I always hated counting problems ><
 
Physics news on Phys.org
Yes, this is right, except that 5*5*5 = 125, not 75.

This then leads to the intuitive result that 1/5 (25/125) of possible functions have f(1) = f(2).
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
7
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K
Replies
5
Views
2K
Replies
14
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K