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.

## AP®︎/College Statistics

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

Lesson 4: Independent versus dependent events and the multiplication rule

# The general multiplication rule

AP.STATS:
VAR‑4 (EU)
,
VAR‑4.D (LO)
,
VAR‑4.D.2 (EK)
,
VAR‑4.E (LO)
,
VAR‑4.E.1 (EK)
,
VAR‑4.E.2 (EK)
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, slash, 4 of them — would get heads twice in a row.
The number of people we start with doesn't really matter. Theoretically, 1, slash, 2 of the original group will get heads, and 1, slash, 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 parenthesis, start text, T, space, a, n, d, space, T, end text, right parenthesis, equals, start fraction, 1, divided by, 2, end fraction, dot, start fraction, 1, divided by, 2, end fraction, equals, start fraction, 1, divided by, 4, end fraction
When two events are independent, we can say that
P, left parenthesis, start text, A, space, a, n, d, space, B, end text, right parenthesis, equals, P, left parenthesis, start text, A, end text, right parenthesis, dot, P, left parenthesis, start text, B, end text, right parenthesis
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, slash, 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 parenthesis, start text, b, o, t, h, space, b, l, a, c, k, end text, right parenthesis, equals, start fraction, 26, divided by, 52, end fraction, dot, start fraction, 25, divided by, 51, end fraction, approximately equals, 0, point, 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 parenthesis, start text, A, space, a, n, d, space, B, end text, right parenthesis, equals, P, left parenthesis, start text, A, end text, right parenthesis, dot, P, left parenthesis, start text, B, end text, vertical bar, start text, A, end text, right parenthesis
The vertical bar in P, left parenthesis, start text, B, end text, vertical bar, start text, A, end text, right parenthesis 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 parenthesis, start text, B, end text, vertical bar, start text, A, end text, right parenthesis, equals, P, left parenthesis, start text, B, end text, right parenthesis.

## 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]
- ...
• 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 ?
• 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.
• 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.
• 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?