In how many ways can $4$ objects be given to $3$ persons, if each person is eligible for all the $4$ objects?
Here is my approach:
1st person can take $4$ objects in $4$ ways and 2nd person can take $4$ objects in $4$ ways and 3rd person can take $4$ objects in $4$ ways, so it will be $4 \times 4 \times 4 = 64$ ways.
But my textbook has exactly the opposite approach,
Each person is eligible to get all $4$ objects, therefore each object can be given in $3$ different ways. Therefore it's $3\times 3\times 3\times 3 = 81$
I don't understand the difference between this method and my method (they both "look and sound" same to me) and yet answers they yield are different!
Can anyone explain me what cases I might be missing and why isn't textbook's and my method same?
Your approach, in fact, doesn't really work out because assume the objects are A, B, C, D and the persons are 1, 2, 3.
If the 1st person takes any of the four objects, say, object B, and the 2nd person takes any of the four objects, say, object B, object B will be taken twice! your answer of 64 counts many of these kinds of solutions, and also misses the fact that each person can take more than one object! More explanation: Okay, let's say that we have a certain final arrangement: maybe objects A and B go to person 1, object C goes to person 2, and object D goes to person 3. Your method doesn't account for this. It only assumes that each person can only get one object.
The second solution is in fact correct because it accounts for the possibility that more than one object goes to each person. More explanation: let's go back to our previous arrangement as (AB)(C)(D) as the final arrangement. Let's loop through each element and see "where we can put it." Let's say you're on object A right now. There are 3 people who are still "open" to taking more objects (in fact, there will always be 3 people open to take more objects, because each person can take as many as he/she wants). Thus, there are 3 ways to choose a person to own object A. Similarly, 3 ways for object B, and so on. Thus, there are 3x3x3x3 = 81 ways to do this.
Note: This cannot be reversed. You cannot say: "Oh there are 3 people; for each person we choose an object for him/her to own. There are 4 ways for the first one, 4 ways for the second, and 4 for the third for a total of 4x4x4=64 ways. This DOES NOT work. Because, there ARE NOT 4 ways for the first one. he doesn't have to take only one object.
Also, there will never be overcounting because once the objects are placed there will never be another way to place them so that the exact same arrangement is possible.
Does this answer your question? Anything else I should clarify?