# Conditional probability

Conditional probability is the probability of an event occurring, assuming that another event has already occurred. is said as the probability of event B given A

## Contents

## Example

Let us say that fair sided dice are rolled and their face up values sum is . What is the probability that the face up value of the one dice is ?

## Solution

Let call the first dice and the second one . There are 5 ways for and 2 of those ways (distinct) includes a 2. Therefore, our answer is .

## Formula

The formula for conditional probability is where represents the conditional probability. is also said as the probability of event B occurring given event A occurs. is the probability . We can also represent as

## Different Problem

A fair standard die is tossed 3 times. Given that the sum of the first two tosses equals the third, what is the probability that at least one 2 is tossed? (Source AMC)

Solution: The probability that the sum of the first two die is equal to the 3rd die is just another way to also equivalent to the probability that the sum of the numbers on the first two die is less than 7, which is . The probability that a two is rolled and that it meets the first condition is . dividing gets us .

## Different approaches

In the diagram above, it represents a diagram of the probabilities of A and B occurring, where event A doesn't have to happen, so that event B happens. For example, if we have a group of cats and dogs, and we pick two animals, and the first one is a dog, what is the probability that we pick a cat? Geometrically speaking, would be the ratio of to , since is .

In this diagram the above (grey part) has to occur so that can occur. Let's take the cat and dog example, but instead we are given that the first pet chosen is a cat, and we want the probability of choosing a cat for the second one. Geometrically speaking, would be the since is .

## Let's make a deal

The Monty Hall problem is related to conditional probability. Monty Hall runs the show, "Let's Make a Deal." The problem states, Suppose you're on a game show, and you're given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, and the host, who knows what's behind the doors, opens another door, which has a goat. He then says to you, "Do you want to pick door change your door?" Is it to your advantage to switch your choice?

The short answer is yes. The host doesn't just choose a door at random to reveal. He follows three rules, he doesn't reveal the door with a car, he doesn't reveal your door, and he always gives the option to switch. We start with a chance of winning the car, and the host knowingly reveals a goat, which he always has the option to do, so why should your chance of winning increase to . This is a bit skeptical, but we can use a sample space to see this.

Remember that the host can always reveal a goat. If we choose the car correctly on the first try, which happens at chance, swapping would lose, but if we choose the goat on the first try, which happens at chance, swapping would win.

But how can we solve this using conditional probability? Let's look at 60 different cases with equal probability, where we choose Door 1. (We label the goat and ) There are 20 cases where we choose and the host reveals the other goat. There are 10 cases where we choose the car and the host reveals . There are 10 cases where we choose the car and the host reveals . There are 20 cases where we choose and the host reveals the other goat. will be the probability that we win by switching, and will be the probability that we choose Door 1, which makes constant at . Since there are 40 cases out of 60 cases, or that we win, by choosing Door 1, by conditional probability, we have .

## Review Problems

Two fair coins are simultaneously flipped. This is done repeatedly until at least one of the coins comes up heads, at which point the process stops, what is the probability that the other coin also comes up heads on the last flip? (Source HMMT)

The probability that event A occurs is , and the probability that event B occurs is .
What are the minimum and maximum possible values of ?
What are the minimum and maximum possible values of and ?
(Source AMC)

What fraction of all permutations of the numbers such that the first term is not and the third has ? (Source AMC)