Imagine a student who takes leave from school twice a week excluding Sunday. If it is known that he will be absent from school on Tuesday then what are the chances that he will also take a leave on Saturday in the same week? It is observed that in problems where the occurrence of one event affects the happening of the following event. These cases of probability are known as **conditional probability**.

Let us learn its definition mathematically,

## Conditional Probability Definition

The probability of occurrence of any event A when another event B in relation to AÂ has already occurred is known as conditional probability. It is depicted by P(A|B).

As depicted by above diagram, sample space is given by S and there are two events A and B. In a situation where event Â B has already occurred, then our sample space S Â naturally gets reduced to Â B because now the chances of occurrence of an event will lie inside B.

As we have to figure out the chances of occurrence of event A, only portion common to both A and Â B is enough to represent the probability of occurrence of A, when B has already occurred. Common portion of the events is depicted by the intersection of both the events Â A and B i.e.Â AÂ âˆ© B.

This explains the concept of conditional probability problems i.e. occurrence of any event when another event in relation to has already occurred.

## Conditional Probability Formula

Mathematically this can be represented as,

P(A|B) = N(Aâˆ©B)/N(B) |

Where P(A|B)Â represents the probability of occurrence of A given BÂ has occurred.

N(A âˆ© B)Â is the number of elements common to both A and B.

N(B)Â is the number of elements in BÂ and it cannot be equal to zero.

Let NÂ represent the total number of elements in the sample space.

Since N(A âˆ© B)/NÂ and N(B)/NÂ denotes the ratio of the number of favourable outcomes to the total number of outcomes, therefore, it indicates the probability.

Therefore,Â N(A âˆ© B)/NÂ can be written as P(A âˆ© B)Â and N(B)/NÂ as P(B).

â‡’ P(A|B)Â =Â P(A âˆ© B)/P(B)

Therefore,Â P(A âˆ© B) =Â P(B) P(A|B) if P(B) â‰ 0

Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â = P(A) P(B|A) if P(A) â‰ 0

Similarly, the probability of occurrence of BÂ when AÂ has already occurred is given by,

P(B|A)Â = P(B âˆ© A)/P(A)

To have a better insight let us practice some conditional probability examples.

### Conditional Probability Properties

**Property 1:**Â Let E and F be events of a sample space S of an experiment, then we have **P(S|F) = P(F|F) = 1**.

**Property 2:**Â f A and B are any two events of a sample space S and F is an event of S such that P(F) â‰ 0, then **P((A âˆª B)|F) = P(A|F) + P(B|F) â€“ P((A âˆ© B)|F).**

**Property 3:**Â P(Aâ€²|B) = 1 âˆ’ P(A|B)

## Conditional Probability Example

**Example: Â Two dies are thrown simultaneously and the sum of the numbers obtained is found to be 7. What is the probability that the number 3 has appeared at least once?**

Solution: The sample space SÂ would consist of all the numbers possible by the combination of two dies. Therefore S consists of 6 Ã— 6Â i.e. 36Â events.

Event AÂ indicates the combination in which 3Â has appeared at least once.

Event B indicates the combination of the numbers which sum up to 7.

A = {(3, 1), (3, 2), (3, 3)(3, 4)(3, 5)(3, 6)(1, 3)(2, 3)(4, 3)(5, 3)(6, 3)}

B = {(1, 6)(2, 5)(3, 4)(4, 3)(5, 2)(6, 1)}

Â P(A)Â = 11/36

P(B)Â =Â 6/36

A âˆ© BÂ = 2

P(A âˆ© B)Â = 2/36

Applying the conditional probability formula we get,

This is how it works. To learn more about probability please BYJU’S and register with us.

## Comments