If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

### Course: AP®︎/College Statistics>Unit 7

Lesson 4: Independent versus dependent events and the multiplication rule

# The general multiplication rule

When we calculate probabilities involving one event AND another event occurring, we multiply their probabilities.
In some cases, the first event happening impacts the probability of the second event. We call these dependent events.
In other cases, the first event happening does not impact the probability of the seconds. We call these independent events.

## Independent events: Flipping a coin twice

What is the probability of flipping a fair coin and getting "heads" twice in a row? That is, what is the probability of getting heads on the first flip AND heads on the second flip?
Imagine we had $100$ people simulate this and flip a coin twice. On average, $50$ people would get heads on the first flip, and then $25$ of them would get heads again. So $25$ out of the original $100$ people — or $1/4$ of them — would get heads twice in a row.
The number of people we start with doesn't really matter. Theoretically, $1/2$ of the original group will get heads, and $1/2$ of that group will get heads again. To find a fraction of a fraction, we multiply.
We can represent this concept with a tree diagram like the one shown below.
We multiply the probabilities along the branches to find the overall probability of one event AND the next even occurring.
For example, the probability of getting two "tails" in a row would be:
$P\left(\text{T and T}\right)=\frac{1}{2}\cdot \frac{1}{2}=\frac{1}{4}$
When two events are independent, we can say that
$P\left(\text{A and B}\right)=P\left(\text{A}\right)\cdot P\left(\text{B}\right)$
Be careful! This formula only applies to independent events.

## Practice problem 1: Rolling dice

Suppose that we are going to roll two fair $6$-sided dice.
problem 1
Find the probability that both dice show a $3$.

## Dependent events: Drawing cards

We can use a similar strategy even when we are dealing with dependent events.
Consider drawing two cards, without replacement, from a standard deck of $52$ cards. That means we are drawing the first card, leaving it out, and then drawing the second card.
What is the probability that both cards selected are black?
Half of the $52$ cards are black, so the probability that the first card is black is $26/52$. But the probability of getting a black card changes on the next draw, since the number of black cards and the total number of cards have both been decreased by $1$.
Here's what the probabilities would look like in a tree diagram:
So the probability that both cards are black is:
$P\left(\text{both black}\right)=\frac{26}{52}\cdot \frac{25}{51}\approx 0.245$

## Practice problem 2: Picking students

A table of $5$ students has $3$ seniors and $2$ juniors. The teacher is going to pick $2$ students at random from this group to present homework solutions.
problem 2
Find the probability that both students selected are juniors.

## The general multiplication rule

For any two events, we can say that
$P\left(\text{A and B}\right)=P\left(\text{A}\right)\cdot P\left(\text{B}|\text{A}\right)$
The vertical bar in $P\left(\text{B}|\text{A}\right)$ means "given," so this could also be read as "the probability that B occurs given that A has occurred."
This formula says that we can multiply the probabilities of two events, but we need to take the first event into account when considering the probability of the second event.
If the events are independent, one happening doesn't impact the probability of the other, and in that case, $P\left(\text{B}|\text{A}\right)=P\left(\text{B}\right)$.

## Want to join the conversation?

• How does the general multiplication rule apply to three events?
• Good question!

For three events A, B, and C, the extension of the general multiplication rule is
P(A and B and C) = P(A)P(B given A)P(C given (A and B)).
• How would you expand P(EFG|H) using the multiplication rule?
• It depends on what you mean by "EFG".

It could be:
- P(HHH|unfair coin)
- P(3,4,5|fair die) [3 or 4 or 5]
- ...
• does term "given" , means we need to subtract the P(A) from (B). I almost understood the topic just the last formula P(B/A), makes me little uncomfortable.
• Can someone explain how this, "A dice is thrown 5 times. If getting an even number is a success, find the probability of all 5 successes."

Equals = 1/32 ?
(1 vote)
• Yes.

There are 6 possible and equally likely outcomes for each die, of which 3 are even numbers.
So, the probability of rolling an even number on a die is 3∕6 = 1∕2.

Since the five dice are independent events, we can multiply their probabilities together, so the probability that all five dice show even numbers is (1∕2)⁵ = 1∕32.
• I've been given an example that says: "A person has a probability of getting pulled over for speeding as 0.8; a person that is pulled over has a probability of getting a ticket as 0.9". This is a P(E and F) = P(E)*P(F|E), which comes out to .72.
What I am asking, is if the person is pulled over period, why wouldn't they have a .9 chance of getting a ticket.

I have answered my own question while typing this out. I believe that there is a .72 chance of a person getting a ticket while being pulled over for speeding due to the probablity of even getting pulled over for speeding?
• A coin is tossed repeatedly. the coin is unfair and p(H)= p. the game ends, the first time that two consecutive heads (HH) or two consecutive tails (TT) are observed. the player wins if HH is observed and losses if TT is observed. find the probability that player wins.
• if a coin is flipped thrice what is the probability of obtaining atmost 2 tails . please explain by using the above theorems if possible