Analyzing the Setup
Imagine you are standing before a bag containing five blue balls and four yellow balls. You are tasked with drawing three balls at random.
The random variables X and Y represent the number of blue and yellow balls drawn, respectively. Your goal is to find the value of 7Xˉ+4Yˉ.
Many students immediately reach for the heavy machinery of combinatorics, calculating the probability of drawing zero, one, two, or three blue balls. While this is mathematically sound, it is a path of high resistance that consumes precious time.
The Elegant Shortcut
Linearity of Expectation
Instead, let us embrace the elegance of the Linearity of Expectation. This is one of the most powerful tools in your probability toolkit.
It states that the expected value of a sum is the sum of the expected values. For sampling without replacement, the expected value of a random variable representing the count of items is simply:
Here, n is the number of trials and p is the probability of success in a single trial. If you draw three balls, and the probability of any single ball being blue is 95, then on average, you expect to draw 3⋅95 blue balls.
The Calculation
Breaking the Block
Let us apply this to our problem where n=3 trials. For blue balls, the total count is 5 out of 9.
Thus, the expected number of blue balls is:
Similarly, for yellow balls, we have 4 out of 9. The expected number of yellow balls is:
The Final Act
Bringing it Home
Now, we return to the target expression: 7Xˉ+4Yˉ. Substituting our values Xˉ=35 and Yˉ=34, we get:
This simplifies to:
Finally, 51 divided by 3 gives us the result. The final answer is 17.