# Nakafa Learning Content

> For AI agents: use [llms.txt](https://nakafa.com/llms.txt) for the site index. Markdown versions are available by appending `.md` to content URLs or sending `Accept: text/markdown`.

URL: https://nakafa.com/en/subjects/mathematics/combinatorics/probability-of-independent-conditional-events
Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/material/lesson/mathematics/combinatorics/probability-of-independent-conditional-events/en.mdx

Learn conditional probability and independence concepts with formulas and real-world examples.

---

## Understanding Basic Concepts

Imagine you're playing cards with a friend. You draw one card from the deck, then your friend draws the next card. Does the probability of your friend getting a certain card depend on the card you drew earlier? **Of course!** This is what we call conditional probability in independent events.

**Probability of independent conditional compound events** is the calculation of the probability of an event occurring by considering that another event has already occurred, where both events are fundamentally independent but mutually influence each other in the sequence of events.

This concept differs from ordinary probability because we must consider **conditions that have already occurred** before calculating the probability of the next event.

## Mathematical Formula and Notation

For two events $$A$$ and $$B$$ that are independent but sequential, the conditional probability formula is:

Visible text: For two events and that are independent but sequential, the conditional probability formula is:

```math
P(B|A) = \frac{P(A \cap B)}{P(A)}
```

Where:

- $$P(B|A)$$ is the probability of event $$B$$ occurring after event $$A$$ has occurred
- $$P(A \cap B)$$ is the probability of both events $$A$$ and $$B$$ occurring together
- $$P(A)$$ is the probability of event $$A$$ occurring

Visible text: - is the probability of event occurring after event has occurred
- is the probability of both events and occurring together
- is the probability of event occurring

Since the events are independent, we can write:

```math
P(A \cap B) = P(A) \times P(B|A)
```

Therefore, for the joint probability of both events:

```math
P(A \cap B) = P(A) \times P(B|A)
```

## Application to Card Drawing

### Red Card and Heart Scenario

A standard deck of cards has $$52 \text{ cards}$$. There are $$26 \text{ red cards}$$ and $$13$$ heart cards. If we draw two cards sequentially without replacement, how do we calculate the probability of getting a red card first and a heart card second?

Visible text: A standard deck of cards has . There are and heart cards. If we draw two cards sequentially without replacement, how do we calculate the probability of getting a red card first and a heart card second?

**Step-by-step analysis:**

Let:

- Event $$C$$ is getting a red card on the first draw
- Event $$D$$ is getting a heart card on the second draw

Visible text: - Event is getting a red card on the first draw
- Event is getting a heart card on the second draw

Probability calculation:

Component: MathContainer
Children:

```math
P(C) = \frac{26}{52} = \frac{1}{2}
```

```math
P(D|C) = \frac{13}{51}
```

```math
P(C \cap D) = P(C) \times P(D|C) = \frac{26}{52} \times \frac{13}{51} = \frac{1}{2} \times \frac{13}{51} = \frac{13}{102}
```

After drawing one red card, there are $$51 \text{ cards}$$ remaining in total. The number of heart cards remains $$13$$ because heart cards are part of red cards, so the probability of drawing a heart card becomes $$\frac{13}{51}$$.

Visible text: After drawing one red card, there are remaining in total. The number of heart cards remains because heart cards are part of red cards, so the probability of drawing a heart card becomes .

### Specific Heart Card Calculation

If we focus on drawing heart cards sequentially, then:

- First draw: $$P(A) = \frac{13}{52} = \frac{1}{4}$$
- Second draw after getting a heart: $$P(B|A) = \frac{12}{51}$$

Visible text: - First draw: 
- Second draw after getting a heart:

Therefore, the probability of getting a second heart card is:

```math
P(A \cap B) = \frac{13}{52} \times \frac{12}{51} = \frac{156}{2652} = \frac{1}{17}
```

## Application in Management Selection

A multinational company is conducting an **internal audit** to evaluate the distribution of managers based on gender and job level. Data obtained from the HR department shows the following composition:

| Management Position | Male (L) | Female (P) | Total |
|------------------|---------------|---------------|-------|
| Senior (S)       | $$78$$ | $$122$$ | $$200$$ |
| Middle (M)     | $$78$$ | $$122$$ | $$200$$ |
| Junior (J)       | $$44$$ | $$156$$ | $$200$$ |
| **Total**        | $$200$$ | $$400$$ | $$600$$ |

Visible text: | Management Position | Male (L) | Female (P) | Total |
|------------------|---------------|---------------|-------|
| Senior (S) | | | |
| Middle (M) | | | |
| Junior (J) | | | |
| **Total** | | | |

From this data, the company wants to analyze the probability in a **random selection** process for a special committee to be formed. If two managers are randomly selected without replacement, the probability of getting a male manager on the first and second selection is:

Component: MathContainer
Children:

```math
P(L_1) = \frac{200}{600} = \frac{1}{3}
```

```math
P(L_2|L_1) = \frac{199}{599}
```

```math
P(L_1 \cap L_2) = \frac{200}{600} \times \frac{199}{599} = \frac{1}{3} \times \frac{199}{599} = \frac{199}{1797}
```

After selecting one male manager, there are $$599$$ total managers remaining with $$199$$ male managers, so the probability of selecting a second male manager decreases to $$\frac{199}{599}$$.

Visible text: After selecting one male manager, there are total managers remaining with male managers, so the probability of selecting a second male manager decreases to .

## Problem Solving Strategy

### Systematic Steps

To solve independent conditional probability problems:

1. **Identify the events** first and second clearly
2. **Determine the conditions** after the first event occurs
3. **Calculate the probability** of the first event from initial conditions
4. **Calculate the conditional probability** of the second event after the first event
5. **Multiply both probabilities** to get the joint probability

### Difference from Ordinary Probability

**Conditional probability** considers changes in conditions after the first event, while **ordinary independent probability** does not consider the sequence of events.

**Concrete Example: Drawing Two Ace Cards**

Suppose we want to calculate the probability of getting two Ace cards in succession from a standard deck ($$52 \text{ cards}$$, $$4$$ Aces).

Visible text: Suppose we want to calculate the probability of getting two Ace cards in succession from a standard deck (, Aces).

1. **Independent Probability (With Replacement):**

    If after drawing the first card, the card is returned and the deck is reshuffled:

    <MathContainer>
    
   
   ```math
   P(As_1) = \frac{4}{52} = \frac{1}{13}
   ```

    
   
   ```math
   P(As_2) = \frac{4}{52} = \frac{1}{13}
   ```

    
   
   ```math
   P(As_1 \cap As_2) = \frac{4}{52} \times \frac{4}{52} = \frac{1}{13} \times \frac{1}{13} = \frac{1}{169}
   ```

    </MathContainer>

2. **Conditional Probability (Without Replacement):**

    If the first card is not returned:

    <MathContainer>
    
   
   ```math
   P(As_1) = \frac{4}{52} = \frac{1}{13}
   ```

    
   
   ```math
   P(As_2|As_1) = \frac{3}{51} = \frac{1}{17}
   ```

    
   
   ```math
   P(As_1 \cap As_2) = \frac{4}{52} \times \frac{3}{51} = \frac{1}{13} \times \frac{1}{17} = \frac{1}{221}
   ```

    </MathContainer>

Visible text: 1. **Independent Probability (With Replacement):**

 If after drawing the first card, the card is returned and the deck is reshuffled:

 <MathContainer>
 
 

 
 

 
 

 </MathContainer>

2. **Conditional Probability (Without Replacement):**

 If the first card is not returned:

 <MathContainer>
 
 

 
 

 
 

 </MathContainer>

**Result Comparison:**

- Independent probability: $$\frac{1}{169} = 0.00592$$
- Conditional probability: $$\frac{1}{221} = 0.00452$$

Visible text: - Independent probability: 
- Conditional probability:

Conditional probability gives a **smaller** result because after drawing one Ace, the number of remaining Aces decreases from $$4$$ to $$3$$, while the total cards also decrease from $$52$$ to $$51$$.

Visible text: Conditional probability gives a **smaller** result because after drawing one Ace, the number of remaining Aces decreases from to , while the total cards also decrease from to .

## Exercises

1. A box contains $$8 \text{ red balls}$$ and $$12 \text{ blue balls}$$. If two balls are drawn sequentially without replacement, calculate the probability of getting a red ball on the first draw and a blue ball on the second draw.

2. A deck of cards is shuffled randomly. Three cards are drawn successively without replacement. What is the probability of getting an Ace on the first draw, a King on the second draw, and a Queen on the third draw?

Visible text: 1. A box contains and . If two balls are drawn sequentially without replacement, calculate the probability of getting a red ball on the first draw and a blue ball on the second draw.

2. A deck of cards is shuffled randomly. Three cards are drawn successively without replacement. What is the probability of getting an Ace on the first draw, a King on the second draw, and a Queen on the third draw?

### Answer Key

1. **Solution:**

   Let $$A$$ be getting a red ball first, and let $$B$$ be getting a blue ball second

   Total initial balls is $$8 + 12 = 20 \text{ balls}$$

   <MathContainer>
   
   
   ```math
   P(A) = \frac{8}{20} = \frac{2}{5}
   ```

   
   
   ```math
   P(B|A) = \frac{12}{19}
   ```

   
   
   ```math
   P(A \cap B) = \frac{8}{20} \times \frac{12}{19} = \frac{2}{5} \times \frac{12}{19} = \frac{24}{95}
   ```

   </MathContainer>

   After drawing one red ball, there are $$19 \text{ balls}$$ remaining in total ($$8 - 1 = 7$$ red, $$12$$ blue). The number of blue balls does not change (remains $$12$$), so the probability of drawing a blue ball second is $$\frac{12}{19}$$.

2. **Solution:**

   Let $$A$$ be getting an Ace first, let $$K$$ be getting a King second, and let $$Q$$ be getting a Queen third

   A standard deck has $$52 \text{ cards}$$ with each: $$4$$ Aces, $$4$$ Kings, $$4$$ Queens

   <MathContainer>
   
   
   ```math
   P(A) = \frac{4}{52} = \frac{1}{13}
   ```

   
   
   ```math
   P(K|A) = \frac{4}{51}
   ```

   
   
   ```math
   P(Q|A \cap K) = \frac{4}{50} = \frac{2}{25}
   ```

   
   
   ```math
   P(A \cap K \cap Q) = \frac{4}{52} \times \frac{4}{51} \times \frac{4}{50} = \frac{1}{13} \times \frac{4}{51} \times \frac{2}{25} = \frac{8}{16575}
   ```

   </MathContainer>

   Each draw reduces the total cards ($$52$$→$$51$$→$$50$$), but the number of Aces, Kings, and Queens each remains $$4$$ because the types of cards drawn are different at each step.

Visible text: 1. **Solution:**

 Let be getting a red ball first, and let be getting a blue ball second

 Total initial balls is 

 <MathContainer>
 
 

 
 

 
 

 </MathContainer>

 After drawing one red ball, there are remaining in total ( red, blue). The number of blue balls does not change (remains ), so the probability of drawing a blue ball second is .

2. **Solution:**

 Let be getting an Ace first, let be getting a King second, and let be getting a Queen third

 A standard deck has with each: Aces, Kings, Queens

 <MathContainer>
 
 

 
 

 
 

 
 

 </MathContainer>

 Each draw reduces the total cards (→→), but the number of Aces, Kings, and Queens each remains because the types of cards drawn are different at each step.