Suppose that n balls are tossed independently and at random into n boxes. What is the probability that exactly one box is empty? Check your formula gives the correct answer for n = 2 and n = 3 (for which the probabilities are 1/2 and 2/3, respectively).
in Other Math Topics by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

First, it would be wise to check the given probabilities for n=2 and 3. I'm assuming that the balls are identical, that is, indistinguishable from one another. Outcomes are different if each ball is unique (for example, different colours). Probability is the ratio of the number of specific occurrences to the number of possible outcomes.

For n=2, if the boxes are labelled A and B then the contents will be in order, AB=

11, 02, 20 (permutation) or 11, 02 (combination) so only if we take the combination do we have a probability of ½. Now consider n=3.

If we label the boxes A, B, C, then write the numbers of balls in the box as ABC in that order, ABC=

111, 012, 021, 102, 120, 201, 210, 003, 030, 300 is all the possible outcomes (10 in all=n2+1). Of these, 6 have just one empty box, so the probability is 6/10=⅗, not ⅔, as stated. But if we examine combinations instead of permutations, then we get 111, 012, 003 and the probability becomes ⅓, not ⅔. So it's not clear what the given probability refers to when n=3. A probability of ⅔ would be that at least one box is empty, rather than exactly one.

However, the method I'm illustrating here may help you to solve the problem yourself (or make it more confusing!).

Consider n=4, the case of 4 balls and 4 boxes, A, B, C, D. If we start with 1 ball in each box, to empty just one box, that ball must be placed in another box so we have the sum 0+1+1+2.

We have the combinations:

each box contains one ball;

one box is empty, two boxes each contain one ball and one box contains two balls;

two boxes are empty, one box contains one ball, one box contains 3 balls;

two boxes are empty, two boxes each contain 2 balls;

three boxes are empty, one box contains all 4 balls. 

Now for outcomes involving permutations (for example, there are 4 permutations in which there are 3 empty boxes and one box containing all the balls).

We need to find out how many permutations of the digits 0, 1, 1, 2 we can have. 2 digits are the same and since there are 4!=24 ways of arranging 4 different digits and 2!=2 ways of arranging 2 different digits, the number of ways of arranging 0, 1, 1, 2=4!/2!=12: 0112, 0121, 0211, 1012, 1021, 1102, 1120, 1201, 1210, 2011, 2101, 2110.

Now have to find the number of all possible outcomes. There's only one way to put 4 balls into 4 boxes with no empty boxes: one in each box; 12 ways to end up with one empty box. For two empty boxes we need two digits summing to 4, that is, 2+2 and 3+1. So we have permutations of 0, 0, 2, 2 (4!/(2!)2=6) and 0, 0, 1, 3 (4!/2!=12) total 18. For three empty boxes we want one digit, which of course is 4 and there are 4 ways to arrange 3 zeroes and a four. Total: 1+12+18+4=35. So the probability when n=4 is 12/35.

For n balls and boxes, we start with 1 ball in each box then move 1 ball into another box leaving a box empty. Therefore we have 0 balls in 1 box, 2 balls in another box and the remaining n-2 boxes contain 1 ball, giving us the permutation n!/(n-2)!=n(n-1)(n-2)!/(n-2)!=n(n-1).

Now we have to find a formula for all possible outcomes. We can start with 1 ball in each box, We also know that there are n outcomes when all the balls are in one box, and, of course, n(n-1) when there's just one empty box. The total so far is 1+n+n(n-1)=n2+1.

Because the probability I calculated for n=3 does not match the given one, my interpretation of the question seems to be wrong, or the given probability for n=3 is wrong. Please clarify your question.

More to follow in due course...

by Top Rated User (1.1m points)

Related questions

1 answer
asked Sep 18, 2012 in Pre-Algebra Answers by anonymous | 464 views
1 answer
1 answer
asked Oct 22, 2015 in Other Math Topics by Mathical Level 10 User (57.4k points) | 467 views
1 answer
asked Apr 16, 2014 in Other Math Topics by little guy | 449 views
1 answer
1 answer
asked May 13, 2021 in Algebra 2 Answers by help me plz | 219 views
1 answer
asked Oct 11, 2017 in order of operations by J | 196 views
0 answers
asked Aug 24, 2017 in Fraction Problems by anonymous | 487 views
1 answer
asked Dec 28, 2014 in Algebra 1 Answers by anonymous | 409 views
1 answer
asked Mar 11, 2014 in Trigonometry Answers by your name to display | 359 views
1 answer
5 answers
asked Mar 11, 2013 in Algebra 1 Answers by mrzrandomwat Level 1 User (200 points) | 2.2k views
1 answer
asked Aug 22, 2012 in Algebra 1 Answers by anonymous | 1.2k views
Welcome to MathHomeworkAnswers.org, where students, teachers and math enthusiasts can ask and answer any math question. Get help and answers to any math problem including algebra, trigonometry, geometry, calculus, trigonometry, fractions, solving expression, simplifying expressions and more. Get answers to math questions. Help is always 100% free!

Most popular tags

algebra problems solving equations word problems calculating percentages math problem geometry problems calculus problems math fraction problems trigonometry problems rounding numbers simplifying expressions solve for x order of operations probability algebra pre algebra problems word problem evaluate the expression slope intercept form statistics problems factoring polynomials solving inequalities 6th grade math how to find y intercept equation of a line sequences and series algebra 2 problems logarithmic equations solving systems of equations by substitution dividing fractions greatest common factor square roots geometric shapes graphing linear equations long division solving systems of equations least to greatest dividing decimals substitution method proving trigonometric identities least common multiple factoring polynomials ratio and proportion trig identity precalculus problems standard form of an equation solving equations with fractions http: mathhomeworkanswers.org ask# function of x calculus slope of a line through 2 points algebraic expressions solving equations with variables on both sides college algebra domain of a function solving systems of equations by elimination differential equation algebra word problems distributive property solving quadratic equations perimeter of a rectangle trinomial factoring factors of a number fraction word problems slope of a line limit of a function greater than or less than geometry division fractions how to find x intercept differentiation exponents 8th grade math simplifying fractions geometry 10th grade equivalent fractions inverse function area of a triangle elimination method story problems standard deviation integral ratios simplify systems of equations containing three variables width of a rectangle percentages area of a circle circumference of a circle place value solving triangles parallel lines mathematical proofs solving linear equations 5th grade math mixed numbers to improper fractions scientific notation problems quadratic functions number of sides of a polygon length of a rectangle statistics zeros of a function prime factorization percents algebra 1 evaluating functions derivative of a function equation area of a rectangle lowest common denominator solving systems of equations by graphing integers algebra 2 diameter of a circle dividing polynomials vertex of a parabola calculus problem perpendicular lines combining like terms complex numbers geometry word problems converting fractions to decimals finding the nth term range of a function 4th grade math greatest to least ordered pairs functions radius of a circle least common denominator slope unit conversion solve for y calculators solving radical equations calculate distance between two points area word problems equation of a tangent line multiplying fractions chemistry binomial expansion place values absolute value round to the nearest tenth common denominator sets set builder notation please help me to answer this step by step significant figures simplifying radicals arithmetic sequences median age problem trigonometry graphing derivatives number patterns adding fractions radicals midpoint of a line roots of polynomials product of two consecutive numbers limits decimals compound interest please help pre-algebra problems divisibility rules graphing functions subtracting fractions angles numbers discrete mathematics volume of a cylinder simultaneous equations integration probability of an event comparing decimals factor by grouping vectors percentage expanded forms rational irrational numbers improper fractions to mixed numbers algebra1 matrices logarithms how to complete the square mean statistics problem analytic geometry geometry problem rounding decimals 5th grade math problems solving equations with variables solving quadratic equations by completing the square simplifying trigonometric equation using identities
87,448 questions
99,050 answers
2,422 comments
4,785 users