Permutations: 4 Balls in 7 Boxes with Maximum 1 Ball Each - Verify Answer

  • Thread starter Thread starter zorro
  • Start date Start date
  • Tags Tags
    Permutations
AI Thread Summary
The discussion centers on calculating the number of ways to place 4 distinct balls into 7 boxes, with the condition that each box can hold at most one ball. The correct calculation is based on the permutation formula, resulting in 7P4, which equals 840. A misunderstanding arose when one participant suggested multiplying by 4, mistakenly treating the distinct balls as if they were interchangeable. Clarifications emphasized that the distinct nature of the balls means the arrangements are already accounted for in the permutation calculation. Ultimately, the consensus confirms that the total number of arrangements is indeed 840.
zorro
Messages
1,378
Reaction score
0

Homework Statement



The number of ways in which 4 distinct balls can be kept in 7 different boxes if each box can have atmost 1 ball are?

The Attempt at a Solution



Easy one but I need to verify my answer.
The first ball can be kept in any of the 7 boxes in 7 ways
The second ball can be kept in 6 ways...
Permuting this way 7P4 = 840
Now, since the balls are distinct, total no. of ways are 840 x 4 = 3360

But the answer says it is 840.
Who is right?
 
Physics news on Phys.org
840 is correct. Suppose the balls are red, green, blue, and yellow. The red ball can be in anyone of 7 boxes, the green ball in anyone of the 6 remaining boxes, etc. So the answer is 7*6*5*4 = 840.

If the balls were not distinct, then you would divide 840 by 4! to get the answer in that case.
 
Avodyne said:
840 is correct. Suppose the balls are red, green, blue, and yellow. The red ball can be in anyone of 7 boxes, the green ball in anyone of the 6 remaining boxes, etc. So the answer is 7*6*5*4 = 840.

The first red ball which has a choice of 7 boxes, can be replaced by other colours too (green, blue or yellow).

i.e. Red ball can go to anyone of 7 boxes
Green...6 boxes
Blue...5 boxes
Yellow...4 boxes


Yellow ball can go to anyone of 7 boxes
Red...6 boxes
Green...5 boxes
Blue...4 boxes

...


There are 4 such cases. So we multiply the final result by 4.
Do you get my problem there?
 
Hi Abdul! :smile:
Abdul Quadeer said:
Red ball can go to anyone of 7 boxes
Green...6 boxes
Blue...5 boxes
Yellow...4 boxes

Yellow ball can go to anyone of 7 boxes
Red...6 boxes
Green...5 boxes
Blue...4 boxes

You're counting everything twice …

every arrangement is included in both your methods.
There are 4 such cases. So we multiply the final result by 4.

Why stop at 4? 4 is only the number of ways of choosing the first ball … why not multiply it by 3 and 2 also, for the second and third ball? :wink: (of course, that would count every arrangement 24 times!)
 
I understood it now. Thanks!
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top