Stats - Probability of redrawing a ball (draw, replace)

AI Thread Summary
The discussion focuses on calculating the probability density function for the number of draws, X, until a previously drawn ball is selected from a box containing n numbered balls. The initial thought was that the probability for each draw would simply be 1/n, but the complexity arises from the replacement of the balls and the need to account for previous draws. The probability of drawing a previously drawn ball on the k-th draw is determined by the formula (k-1)/n, where k is the number of draws. Participants clarify that the probability of a match increases as more unique draws occur prior to the k-th draw. Understanding this concept is crucial for accurately computing the probabilities involved.
Michael805
Messages
5
Reaction score
0

Homework Statement


There are balls numbered 1 through n in a box. Suppose that a boy successively draws a ball from the box, each time replacing the one drawn before drawing another. This continues until the boy draws a ball that he has previously drawn before. Let X denote the number of draws, and compute its probability density function.


Homework Equations


Probability density function


The Attempt at a Solution


I was thinking at first this would simply be 1/n, but I'm unsure how to account for putting the ball back then calculating how many attempts it will take before drawing a previously drawn one.
 
Physics news on Phys.org
Michael805 said:

Homework Statement


There are balls numbered 1 through n in a box. Suppose that a boy successively draws a ball from the box, each time replacing the one drawn before drawing another. This continues until the boy draws a ball that he has previously drawn before. Let X denote the number of draws, and compute its probability density function.


Homework Equations


Probability density function


The Attempt at a Solution


I was thinking at first this would simply be 1/n, but I'm unsure how to account for putting the ball back then calculating how many attempts it will take before drawing a previously drawn one.

Event {X=2} occurs if the second ball drawn matches the first one drawn, and the probability of this is 1/n. Event {X=3} occurs if the second ball fails to match the first but the third one matches one of the first two. The probability the second does not match the first is (n-1)/n, while the probability the third one matches one of the first two is 2/n. You can put these two pieces of information together to determine Pr{X = 3}. Continue in this way to get Pr{X=k} for any k.

RGV
 
So if I'm understanding this right, the probability of drawing a ball that was previously drawn would be (X-1)/n, where X is the number of draws? This makes sense to me, but it's just not quite fully clicking for some reason.
 
Michael805 said:
So if I'm understanding this right, the probability of drawing a ball that was previously drawn would be (X-1)/n, where X is the number of draws? This makes sense to me, but it's just not quite fully clicking for some reason.

The only way you could be making draw X is if the first (X-1) numbers are all different. So, the chance that draw X gives you a repetition is (X-1)/N, because each individual number has chance 1/N of being drawn, and any of the current (X-1) would give you a match. What is it about this argument that leaves you confused?

RGV
 
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