Suppose each of four trials has a 1/2 chance of success. To find the chance of exactly two successes, pay attention to which trials succeed. Both the first and second trials could be the only successes, or the first and fourth could be the only successes.
Fix the number of trials n in advance and classify each result as a success or a failure. If each trial has the same success probability p and the results are mutually independent, the success count X has a binomial distribution, written Bin(n, p). We will look at its probabilities, mean and variance in turn.
Choose the positions of exactly two successes
In the first quiz question, choose two of the four positions for the successes and count the other two as failures. The success positions can be (1, 2), (1, 3), (1, 4), (2, 3), (2, 4), or (3, 4).
For example, the probability of success, failure, failure, success is (1/2)⁴ = 1/16 because the trials are independent. Each of the other five sequences also has probability 1/16. The sequences are mutually exclusive, so we add their probabilities. The chance of exactly two successes is 6 × (1/16) = 3/8.
Add the mean contribution of each trial
Record a success as 1 and a failure as 0. Adding those entries gives the number of successes. The mean of one entry is 1 × p + 0 × (1 − p) = p.
Add the means of all the entries to get np. This is the mean, or expected value, of the success count. For Bin(10, 0.3) in the second quiz question, it is 10 × 0.3 = 3. It describes the average count across many sets of ten trials.
Add the variances of the independent trials
The mean of a single entry is p. A success is 1 − p away from the mean in the positive direction, and a failure has a signed difference of −p. Square both differences and weight each by its probability. The variance is p(1 − p)² + (1 − p)p² = p(1 − p).
When you add independent entries, their variances add. The variance of the success count is therefore np(1 − p). For Bin(8, 1/2) in the third quiz question, the mean is 8 × (1/2) = 4 and the variance is 8 × (1/2) × (1/2) = 2.
Practice finding the positions when the success chance is 1/3
Suppose you run three independent trials, each with a 1/3 chance of success. There are three sequences with exactly two successes, one for each possible position of the failure.
Every sequence has two successes and one failure, giving probability (1/3)² × (2/3) = 2/27. Adding the probabilities of the three sequences gives 2/9 for exactly two successes.
TRY & READ
Check your understanding with examples
Compare the choices before opening the answer and explanation. Reading an example does not save a test answer or score.
Example 1 · Probability and statistics
Four independent trials each have success probability 1/2. What is the probability of exactly two successes?
1/2
1/8
3/8
1/4
Read the answer and explanation
Answer: 3/8
There are 4 choose 2 = 6 ways to select the two successful positions. Each four-outcome sequence has probability (1/2)⁴ = 1/16. The total is 6/16 = 3/8.
Topics: Probability and statistics. Range: General knowledge. Difficulty: Standard. These are selected initially. You can change these on the setup screen.
This opens the setup screen with this subject and topic selected. Check the mode and question count before you start.
A test shows explanations after submission. Continuous challenge explains each answer. Review uses unresolved mistakes recorded on this device. Casual mode does not update learning records.