Permutations and Combinations: Distributing Balls Among People

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
erisedk
Messages
372
Reaction score
7

Homework Statement


The total number of ways in which 5 balls of different colors can be distributed among 3 persons so that each person gets at least one ball is
Ans: 150

Homework Equations

The Attempt at a Solution


I don't understand what's wrong with my answer.
In case of each person getting one ball and the remaining two balls going to a single person, I have 5*4*3*3 ways. 5*4*3 for the first three balls and then the remaining two balls have three options, therefore the final *3

In case of the remaining two balls going to different people, I have 5*4*3*6 ways to do so, the final*6 because I have 3 spots and I have two pick two balls, and order matters as the balls are different.

Adding 5*4*3*3 + 5*4*3*6, I get 540.

What am I doing wrong?
 
Last edited:
on Phys.org
50 is wrong, but 540 is not right either. You also count the order the persons get the balls as different. If the colors are ABCDE and the persons are 1, 2, 3, you count "A to 1, B to 2, C to 3 and then D and E to 1" as different from "D to 1, B to 2, C to 3 and then A and E to 1".

Better start picking the person to get 3 balls, and then look at the other two persons. The other part has the same issue.
 
Oh, ok.
I get it now.
Thanks :)