Worked example
Separate one string from a success count
Four independent trials each succeed with probability . Find the probabilities of the specified string SFSF, exactly two successes, and at least two successes.
Put and . For one specified order, multiply its four factors:
Exactly two successes can occur in six different strings:
Each has the same weight here, so
The complement of at least two successes is zero or one success. These are disjoint cases:
As a check, exactly three and exactly four contribute and , which add to to give the same result.