Calculating Average of 3 Ball Numbers Drawn from Bag

Since the probability the first ball was 2 was 1/30, that contributes (1/30)(1/29)(465- 2)= 465/((29)(30))- 2/((29)(30)). Do you see the pattern? Generally, if the first ball drawn was n, the expected value for the second ball is (1/29)(465- n). Since the probability the first ball was n was 1/30, that contributes
  • #1
ParisSpart
129
0
In a bag there are 30 identical balls numbered from 1 to 30. Choose one after the other three balls (without Off Reset). What is the average value of the sum of the numbers of three balls chosen?

I am not sure on how i am going to solve this so i think that we will have a variable X
where X1 will be the number of first ball and X2 for the second and X3 for the third ball.,
so X=X1+X2+X3 and we want the average ,E(X)=E(X1)+E(X2)+E(X3) but i don't know how to estimate this. any ideas?
 
Physics news on Phys.org
  • #2
Perhaps by looking at a smaller system like say throwing two die with sides 1 thru 6.

The sums wold range from 2 to 12 even though the die can fall 6 * 6 / 2 = 18 possible ways.

For 2: 1+1
For 3: 1+2
For 4: 1+3, 2+2
For 5: 1+4, 2+3
...
For 12: 6+6
 
  • #3
It's very easy to find E(X1), it is just (1/30)(1+ 2+ 3+ ...+ 30)= (1/30)(30(31)/2= 31/2= 15.5 as we would expect. E(X2) is a little harder to find. There are now 29 balls left so the probability of choosing anyone of them is 1/29.

If the first ball drawn was 1, the expected value for the second ball is (1/29)(2+ 3+ 4+ ...+ 30)= (1/29)(1+ 2+ 3+ ...+ 30- 1)= (1/29)(30(31)/2- 1)= (1/29)(465- 1). Since the probability the first ball was 1 was 1/30, that contributes (1/30)(1/29)(465- 1)= 465/((29)(30))- 1/((29)(30)).

If the first ball drawn was 2, the expected value for the second ball is (1/29)(1+ 3+ 4+ ...+ 30)= (1/29)(1+ 2+ 3+ ...+ 30- 2)= (1/29)(30(31)/2- 2)= (1/29)(465- 2). Since the probability the first ball was 2 was 1/30, that contributes (1/30)(1/29)(465- 2)= 465/((29)(30))- 2/((29)(30)).

Do you see the pattern? Generally, if the first ball drawn was n, the expected value for the second ball is (1/29)(465- n). Since the probability the first ball was n was 1/30, that contributes 465/((29)(30))- n/((29)(30)).

For all 29 balls, since the first term is a constant, that adds to 465(29)/((29)(30)= 465/30= 93/6= 31/2= 15.5. The second term depends on n. Its sum will be (1/((29)(30))[1+ 2+ ...+ 30]= (1/((29)(30))[(30)(31)/2)= 31/29 (the sum is taken from 1 to 30, not 1 to 29 since ball 30 may still be in there).

So the expected value of E2 is 31/2- 31/29 which is about 14.3. The expected value of the sum of two balls is about 15.2+ 14.3= 29.5.

Can you do the same for the third ball?
 
  • #4
yea ok but my way is right for finding this?
 
  • #5
What "way" are you talking about? All you did was state that "E(X)= E(X1)+ E(X2)+ E(X3)" which is true. And I used that in my solution.
 
  • #6
ok i will post here the E(X3) when i will find it
 
  • #7
HallsofIvy said:
It's very easy to find E(X1), it is just (1/30)(1+ 2+ 3+ ...+ 30)= (1/30)(30(31)/2= 31/2= 15.5 as we would expect. E(X2) is a little harder to find. There are now 29 balls left so the probability of choosing anyone of them is 1/29.

If the first ball drawn was 1, the expected value for the second ball is (1/29)(2+ 3+ 4+ ...+ 30)= (1/29)(1+ 2+ 3+ ...+ 30- 1)= (1/29)(30(31)/2- 1)= (1/29)(465- 1). Since the probability the first ball was 1 was 1/30, that contributes (1/30)(1/29)(465- 1)= 465/((29)(30))- 1/((29)(30)).

If the first ball drawn was 2, the expected value for the second ball is (1/29)(1+ 3+ 4+ ...+ 30)= (1/29)(1+ 2+ 3+ ...+ 30- 2)= (1/29)(30(31)/2- 2)= (1/29)(465- 2). Since the probability the first ball was 2 was 1/30, that contributes (1/30)(1/29)(465- 2)= 465/((29)(30))- 2/((29)(30)).

Do you see the pattern? Generally, if the first ball drawn was n, the expected value for the second ball is (1/29)(465- n). Since the probability the first ball was n was 1/30, that contributes 465/((29)(30))- n/((29)(30)).

For all 29 balls, since the first term is a constant, that adds to 465(29)/((29)(30)= 465/30= 93/6= 31/2= 15.5. The second term depends on n. Its sum will be (1/((29)(30))[1+ 2+ ...+ 30]= (1/((29)(30))[(30)(31)/2)= 31/29 (the sum is taken from 1 to 30, not 1 to 29 since ball 30 may still be in there).

So the expected value of E2 is 31/2- 31/29 which is about 14.3. The expected value of the sum of two balls is about 15.2+ 14.3= 29.5.

Can you do the same for the third ball?

Nice explanation and solution.
 
  • #8
for the third ball i will say that if the first and second ball was 1 and 2 ...
2 and 3..
?
 
  • #9
HallsofIvy said:
It's very easy to find E(X1), it is just (1/30)(1+ 2+ 3+ ...+ 30)= (1/30)(30(31)/2= 31/2= 15.5 as we would expect. E(X2) is a little harder to find. There are now 29 balls left so the probability of choosing anyone of them is 1/29.

If the first ball drawn was 1, the expected value for the second ball is (1/29)(2+ 3+ 4+ ...+ 30)= (1/29)(1+ 2+ 3+ ...+ 30- 1)= (1/29)(30(31)/2- 1)= (1/29)(465- 1). Since the probability the first ball was 1 was 1/30, that contributes (1/30)(1/29)(465- 1)= 465/((29)(30))- 1/((29)(30)).

If the first ball drawn was 2, the expected value for the second ball is (1/29)(1+ 3+ 4+ ...+ 30)= (1/29)(1+ 2+ 3+ ...+ 30- 2)= (1/29)(30(31)/2- 2)= (1/29)(465- 2). Since the probability the first ball was 2 was 1/30, that contributes (1/30)(1/29)(465- 2)= 465/((29)(30))- 2/((29)(30)).

Do you see the pattern? Generally, if the first ball drawn was n, the expected value for the second ball is (1/29)(465- n). Since the probability the first ball was n was 1/30, that contributes 465/((29)(30))- n/((29)(30)).

For all 29 balls, since the first term is a constant, that adds to 465(29)/((29)(30)= 465/30= 93/6= 31/2= 15.5. The second term depends on n. Its sum will be (1/((29)(30))[1+ 2+ ...+ 30]= (1/((29)(30))[(30)(31)/2)= 31/29 (the sum is taken from 1 to 30, not 1 to 29 since ball 30 may still be in there).

So the expected value of E2 is 31/2- 31/29 which is about 14.3. The expected value of the sum of two balls is about 15.2+ 14.3= 29.5.

Can you do the same for the third ball?

When I do it I get ##E(X_2) = E(X_1),## because if ##S = \sum_{k=1}^{30} k##, then
[tex] E(X_2) = \frac{1}{30} \sum_{n=1}^{30} \left( \frac{S - n}{29}\right)
= \frac{1}{30} \frac{1}{29} ( 30 S - S) = \frac{1}{30} \frac{29 S}{29} = E(X_1).[/tex]
However, the same result can be obtained essentially without calculations. In fact, if we draw all 30 balls one-by-one without replacement, and if ##X_j## is the number of the jth drawn ball, we have ##E(X_j) = E(X_1)## for all ##j \geq 2##. Note that we even have ##E(X_{30})= E(X_1).##
 
  • #10
and E(X3) is equal with them?
 
  • #11
ParisSpart said:
and E(X3) is equal with them?

If you mean the expected value of the third ball, yes. Ray's point is that the probability distribution for the value of a ball does not depend on where in the sequence of draws it is. Therefore the expected value is the same for all. What's not quite so obvious is that the expected value of the sum is the sum of the expected values, even though the drawn values are not independent.
 
  • #12
haruspex said:
If you mean the expected value of the third ball, yes. Ray's point is that the probability distribution for the value of a ball does not depend on where in the sequence of draws it is. Therefore the expected value is the same for all. What's not quite so obvious is that the expected value of the sum is the sum of the expected values, even though the drawn values are not independent.

I think expectation is always linear.
 

Related to Calculating Average of 3 Ball Numbers Drawn from Bag

1. How do you calculate the average of 3 ball numbers drawn from a bag?

To calculate the average of 3 ball numbers drawn from a bag, you first need to add all 3 numbers together. Then, divide the sum by 3 to get the average. This method assumes that the bag contains 3 balls and that each ball has a different number.

2. Can the average be calculated if the bag contains more or less than 3 balls?

Yes, the average can still be calculated if the bag contains more or less than 3 balls. In this case, you would add up all the numbers and then divide by the total number of balls in the bag to get the average.

3. What if the bag contains identical ball numbers?

If the bag contains identical ball numbers, then the average would be the same as the number on the balls. For example, if all 3 balls have a number of 5, then the average would also be 5.

4. Is the average affected if one ball is significantly larger or smaller than the others?

Yes, the average can be affected if one ball is significantly larger or smaller than the others. This is because the average takes into account all the numbers, and if one number is significantly different, it will have a larger impact on the average.

5. Can the average of 3 ball numbers be used to predict future draws?

No, the average of 3 ball numbers cannot be used to predict future draws. Each draw is independent and the average does not have any influence on future draws. The average only represents the central tendency of the numbers drawn from the bag.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
2
Views
2K
  • Precalculus Mathematics Homework Help
Replies
10
Views
1K
  • Precalculus Mathematics Homework Help
Replies
10
Views
2K
  • Precalculus Mathematics Homework Help
Replies
8
Views
774
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
2K
  • Precalculus Mathematics Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
26
Views
2K
  • Precalculus Mathematics Homework Help
Replies
2
Views
3K
  • Precalculus Mathematics Homework Help
Replies
4
Views
2K
  • Precalculus Mathematics Homework Help
Replies
14
Views
2K
Back
Top