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 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
Back
Top