To solve this problem, let's analyze each part step by step.
Part (a): Drawing with Replacement
When drawing with replacement, the composition of the box remains the same for each draw since the drawn ball is put back into the box.
-
Probability of drawing a blue ball:
- There are 4 blue balls and 3 red balls, which gives a total of 7 balls.
- The probability
.
-
Expected number of blue balls drawn:
- Each draw is an independent event with the same probability.
- The expected value of drawing a blue ball in one draw is simply the probability of drawing that blue ball.
- Hence, the expected number for the first and the second draws is the same.
- Therefore, for both draws:
Part (b): Drawing without Replacement
When drawing without replacement, the composition of the box changes after each draw.
-
For the first draw:
- The probability of drawing a blue ball remains the same as in the previous case:
- The probability of drawing a blue ball remains the same as in the previous case:
-
For the second draw:
- If the first ball drawn was blue (which happens with probability
), there would be 3 blue balls and 3 red balls left in the box. - If the first ball drawn was red (which happens with probability
), there would still be 4 blue balls but now only 2 red balls left in the box.
So, we need to calculate the expected value for the second draw based on the first draw:
- If the first was blue:
- If the first was red:
- If the first ball drawn was blue (which happens with probability
-
Overall Probability of Blue on 2nd Draw:
- Using the law of total probability:
Simplifying each term:
- First term:
- Second term:
So the overall probability:
- Using the law of total probability:
Therefore, the expected number of blue balls drawn is:
- Expected Blue Balls (1st Draw):
- Expected Blue Balls (2nd Draw):
Summary
-
With Replacement:
- Expected Blue Balls (1st Draw) =
- Expected Blue Balls (2nd Draw) =
- Expected Blue Balls (1st Draw) =
-
Without Replacement:
- Expected Blue Balls (1st Draw) =
- Expected Blue Balls (2nd Draw) =
- Expected Blue Balls (1st Draw) =