**Urn Problem**: Suppose we have an urn with 30 blue balls and 50 red balls in it and that these balls are identical except for color. Suppose further the balls are well mixed and that we draw 3 balls, without replacement. Determine the probability that the balls are all of the same color.

Recall the final tree diagram given in Figure 2.3.
The probabilities on the branches are called **conditional probabilities** . For example:

- 1.
- Let
*B*_{2}denote the event that the second ball is blue and - 2.
- let
*A*_{1}denote the event that the first ball is blue.

In general for two events *A* and *B*, if
*P*(*B* | *A*) = *P*(*B*), i.e, knowledge of *A* did not change the predicition of *B*, then we say *A* and *B* are **independent events** .

Note for the urn problem, if, as above, *B*_{2} denotes the event that the second ball is blue and *A*_{1} denotes the event that the first ball is blue then
*P*(*B*_{2} | *A*_{1}) = 29/79. What is the *P*(*B*_{2})? All *B*_{2} says is that the second ball drawn is blue. So to determine the *P*(*B*_{2}) go the the final tree diagram and look at all the end nodes for which the second ball is blue. Then add up all the probabilities associated with these end nodes. Try it.
Now add up the probabilities. You get 30/80, the same as the *P*(*A*_{1}). Surprised? This may be counterintuitive, but what is so special about the first ball over the second ball? Nothing. Okay, what is the probability that the third ball is blue? It's 30/80. If you don't believe me go to the tree diagram and add up the probabilities on the final nodes associated with a blue third ball. If we continued with this urn game and drew all 80 balls without replacement, what is the probability that the eightieth ball is blue? YOU GUESSED IT, 30/80.

Before we forget it, for the urn problem we showed that
*P*(*B*_{2} | *A*_{1}) = 29/79 and
*P*(*B*_{2}) = 30/80; hence, *A*_{1} and *B*_{2} are not independent events. We say that they are dependent events.

Lets return to the urn problem once again. Suppose we do the **sampling with replacement** . That is we remove a ball, record its color, put it back in the urn, mix the balls well, and then remove the next ball. We do this until we get 3 balls. Now what's
*P*(*B*_{2} | *A*_{1}), i.e, the probability that the second ball is blue given the first ball is blue. In this case, **sampling with replacement**, it's 30/80, because the first ball is replaced and, hence, the contents of the urn are the same on the second draw as they were on the first draw. Thus the events *A*_{1} and *B*_{2} are independent events in the case of sampling with replacement.

Actually we can get a neat formula out of conditional probability that will be useful from time to time and it will also give us a way to use independence.

Let *A* and *B* be arbitrary events. We want to determine *P*(*B* | *A*). Suppose that the tree diagram is too complicated. But we can use relative frequency. So we repeat the experiment many times, say, *N*. Now of these times we only want the times that *A* occurs ,
(because we want the probability of *B* given that *A* **has occurred**).

Now of the times that *A* has occurred, count those times that *B* has occurred. What have you counted in this last count? Wait! Whatever this count is, lets denote it by *"Last Count"*. I claim that

But what have we counted in getting *"Last Count"*.? Say it! That's right! We have counted the number of times both *A* and *B* occurred simultaneously, i.e, *#(A and B)*. Hence

But I won't change anything by dividing both the numerator and denominator of this fraction by *N*, the number of times that we repeated the experiment. Hence

As *N* gets large this last fraction gets close to
.
Thus we define the conditional probability of *B* given *A* as

Lets rewrite it as a formula for

This is called the

If we can

**Jet Example** : A jet airplane has 3 engines which function independently of one another. The probability that an engine fails in flight is .0001. Furthermore, the plane can fly if at least one engine is functioning. Determine the probability that the airplane has a successful flight.

The event we want to consider is *A* = at least one engine operates throughout the flight. Consider the complement of *A*, *A*^{c} which is the event all three engines fail.

- 1.
- Let
*B*_{1}be the event that engine one fails. - 2.
- Let
*B*_{2}be the event that engine two fails. - 3.
- Let
*B*_{3}be the event that engine three fails.

Hence

- 1.
- Suppose we flip a fair coin 4 times. What's the probability of 4 heads?
- 2.
- A basketball player free throw percentage is .70. If he shoots 6 free throws, find the probability that he makes all 6. What are we assuming here that may not be true?
- 3.
- Suppose in the Jet airplane example, that one engine is broken before takeoff, but the plane takes off anyway. Determine the probability that the plane arrives safely.
- 4.
- Suppose
*A*and*B*cannot occur at the same time. Are they independent? - 5.
- In a call in poll, are the calls independent of one another?
- 6.
- Suppose the subjects in a poll are selected by random phone calling. Are the calls independent of one another?
- 7.
- A newspaper reporter goes out to the mall and asks people a question of local interest. Are these respondees independent of one another?