Because the marbles were drawn without replacement, both the number of blue marbles and the total number of marbles changed. This affects the final probability.
Example 7 illustrates what is known as conditional probability .
For any two dependent events A and B , the probability that event B will happen given that event A has occurred is determined by the following formula.
P ( B | A ) is read, the probability of event B given that event A has already happened .
This formula can be written using set notation.
The diagram below illustrates the solution from Example 7 written using the notation P ( B | A ).