Solved Exercises on Conditional Probability in Grade 10 Statistics

Master conditional probability: Bayes' theorem, probability trees, conditional independence, and posterior probability through these 5 detailed exercises with comprehensive explanations.

Solution: Exercises 1 to 3
1 Basic Conditional Probability
Exercise 1
A bag contains 5 red marbles and 3 blue marbles. A marble is drawn and not replaced. Given that the first marble was red, what is the probability that the second marble is also red? Calculate P(Second Red | First Red).
Definition:

Conditional Probability: P(A|B) = P(A ∩ B) / P(B), the probability of A given that B has occurred.

Conditional Probability Method:
  1. Identify the given condition (B)
  2. Identify the event of interest (A)
  3. Calculate P(A ∩ B) and P(B), or use the direct conditional approach
  4. Apply the formula: P(A|B) = P(A ∩ B) / P(B)
Step 1: Identify the condition and event

Given: First marble is red (condition), Find: Second marble is red (event)

Step 2: Determine the situation after first draw

After drawing one red marble: 4 red marbles, 3 blue marbles, total 7 marbles

Step 3: Calculate the conditional probability

P(Second Red | First Red) = 4/7 (remaining red marbles / total remaining marbles)

Step 4: Verify using the formula

P(First Red ∩ Second Red) = (5/8) × (4/7) = 20/56 = 5/14

P(First Red) = 5/8

P(Second Red | First Red) = (5/14) ÷ (5/8) = (5/14) × (8/5) = 4/7 ✓

Given Condition

First marble is red

Remaining: 4R, 3B

Conditional Event

P(Second Red | First Red)

= 4/7

P(Second Red | First Red) = 4/7
Solution:

Given that the first marble was red, there are 4 red marbles left out of 7 total marbles. Therefore, P(Second Red | First Red) = 4/7.

Conditional Probability Formula:

• Definition: P(A|B) = P(A ∩ B) / P(B)

• Alternative: P(A|B) = |A ∩ B| / |B| (when outcomes are equally likely)

Tip: Think "given that" means we're working in a reduced sample space.
Key Note: The condition changes the available outcomes for the probability calculation.
2 Probability Tree Approach
Exercise 2
A factory produces light bulbs. 5% are defective. The quality control test correctly identifies 95% of defective bulbs and 90% of non-defective bulbs. If a bulb tests positive for being defective, what is the probability it is actually defective? Use a probability tree.
📊 Probability Tree Approach
A systematic way to visualize conditional probabilities and calculate joint probabilities by following branches.
Step 1: Define the events

D = bulb is defective, T = test indicates defective

Step 2: Identify the given probabilities

P(D) = 0.05, P(D') = 0.95

P(T|D) = 0.95, P(T'|D) = 0.05

P(T|D') = 0.10, P(T'|D') = 0.90

Step 3: Calculate joint probabilities

P(D ∩ T) = P(D) × P(T|D) = 0.05 × 0.95 = 0.0475

P(D' ∩ T) = P(D') × P(T|D') = 0.95 × 0.10 = 0.095

Step 4: Apply Bayes' theorem

P(D|T) = P(D ∩ T) / P(T) = P(D ∩ T) / [P(D ∩ T) + P(D' ∩ T)]

Step 5: Calculate final answer

P(D|T) = 0.0475 / (0.0475 + 0.095) = 0.0475 / 0.1425 ≈ 0.333 or 33.3%

Start: P(D)=0.05, P(D')=0.95
↓
D(0.05) → T(0.95) → P(D∩T)=0.0475
↓
D'(0.95) → T(0.10) → P(D'∩T)=0.095
↓
P(T)=0.0475+0.095=0.1425
P(Defective | Positive Test) = 0.333 or 33.3%
Final answer:

The probability that a bulb is actually defective given that it tests positive is 33.3%. This counterintuitive result shows how prior probabilities affect conditional probabilities.

Bayes' Theorem:

• Formula: P(A|B) = P(B|A) × P(A) / P(B)

• Extension: P(A|B) = P(B|A) × P(A) / [P(B|A) × P(A) + P(B|A') × P(A')]

⚠️ Key Insight
Even with a good test, if the condition is rare, most positive results may be false positives.
3 Conditional Probability Formula Application
Exercise 3
In a class of 30 students, 18 are female and 12 are male. Among the females, 10 wear glasses, and among the males, 4 wear glasses. If a student is selected and found to wear glasses, what is the probability that the student is female? Use the conditional probability formula.
Definition:

Conditional Probability Formula: P(A|B) = P(A ∩ B) / P(B), where P(A ∩ B) is the joint probability of A and B.

Step 1: Organize the information

Total: 30 students, Female: 18, Male: 12, Female with glasses: 10, Male with glasses: 4

Step 2: Identify what we want to find

P(Female | Glasses) - probability student is female given they wear glasses

Step 3: Calculate P(Female ∩ Glasses)

P(Female ∩ Glasses) = 10/30 = 1/3

Step 4: Calculate P(Glasses)

P(Glasses) = (10 + 4)/30 = 14/30 = 7/15

Step 5: Apply the formula

P(Female | Glasses) = P(Female ∩ Glasses) / P(Glasses) = (1/3) / (7/15) = (1/3) × (15/7) = 15/21 = 5/7

P(Female ∩ Glasses)
10/30 = 1/3
P(Glasses)
14/30 = 7/15
Division
(1/3) ÷ (7/15) = 5/7
P(Female | Glasses) = 5/7 ≈ 0.714 or 71.4%
Final answer:

The probability that a student is female given that they wear glasses is 5/7 or approximately 71.4%. This shows that among students who wear glasses, the majority are female.

Conditional Probability Properties:

• Range: 0 ≤ P(A|B) ≤ 1

• Relationship: P(A ∩ B) = P(A|B) × P(B) = P(B|A) × P(A)

• Independence: If A and B are independent, P(A|B) = P(A)

Conditional Probability Concepts
\(\text{P(A|B)} = \frac{\text{P(A ∩ B)}}{\text{P(B)}}\)
Conditional Probability Formula
\(\text{P(A|B)} = \frac{\text{P(B|A) × P(A)}}{\text{P(B)}}\)
Bayes' Theorem
🎯 Conditional Probability
Definition: Probability of event A occurring given that event B has occurred
Formula: P(A|B) = P(A ∩ B) / P(B)
Intuition: Restricts the sample space to where B has occurred
🔄 Bayes' Theorem
Formula: P(A|B) = P(B|A) × P(A) / P(B)
Use: Updating probabilities based on new evidence
Applications: Medical testing, spam filtering, decision making
🔗 Chain Rule
Formula: P(A ∩ B) = P(A|B) × P(B) = P(B|A) × P(A)
Extension: P(A ∩ B ∩ C) = P(A|B,C) × P(B|C) × P(C)
Use: Breaking down joint probabilities
Key Principle: Conditional probability updates our belief based on evidence.
Key Principle: P(A|B) ≠ P(B|A) in general.
Independence: If A and B are independent, P(A|B) = P(A).
Memory Aid: "Given that B happened, what's the chance of A?"
Quick Check: Always verify P(B) ≠ 0 before calculating P(A|B).
Solution: Exercises 4 to 5
4 Medical Testing Application
Exercise 4
A medical test for a rare disease has a 99% accuracy rate. The disease affects 1 in 1000 people. If a person tests positive, what is the probability they actually have the disease? This is a classic application of conditional probability.
Definition:

Medical Testing: A practical application of conditional probability where test accuracy and disease prevalence combine to affect predictive value.

Step 1: Define events and probabilities

D = has disease, T = tests positive

P(D) = 0.001, P(D') = 0.999

P(T|D) = 0.99, P(T'|D) = 0.01

P(T|D') = 0.01, P(T'|D') = 0.99

Step 2: Calculate joint probabilities

P(D ∩ T) = P(D) × P(T|D) = 0.001 × 0.99 = 0.00099

P(D' ∩ T) = P(D') × P(T|D') = 0.999 × 0.01 = 0.00999

Step 3: Calculate total probability of positive test

P(T) = P(D ∩ T) + P(D' ∩ T) = 0.00099 + 0.00999 = 0.01098

Step 4: Apply Bayes' theorem

P(D|T) = P(D ∩ T) / P(T) = 0.00099 / 0.01098 ≈ 0.090 or 9.0%

P(Disease | Positive Test) = 0.090 or 9.0%
Final answer:

Despite the 99% accuracy of the test, if a person tests positive, there's only a 9% chance they actually have the disease. This demonstrates the importance of considering base rates (prevalence) in interpreting test results.

Medical Testing Insights:

• Base rate neglect: People often ignore disease prevalence

• False positive problem: Common with rare diseases

• Positive predictive value: P(disease|positive) is often lower than expected

5 Sequential Events
Exercise 5
A box contains 6 white balls and 4 black balls. Three balls are drawn sequentially without replacement. Find the probability that the third ball is white given that the first two balls drawn were white. Use conditional probability principles.
Definition:

Sequential Events: Events that occur in sequence where each event affects the probability of subsequent events through changes in the sample space.

Step 1: Identify the condition

Given: First two balls drawn are white

Step 2: Determine the state after the condition

Initially: 6 white, 4 black (total 10)

After drawing 2 white: 4 white, 4 black (total 8)

Step 3: Calculate the conditional probability

P(Third white | First two white) = 4/8 = 1/2

Step 4: Verify with joint probability approach

P(First two white) = (6/10) × (5/9) = 30/90 = 1/3

P(First three white) = (6/10) × (5/9) × (4/8) = 120/720 = 1/6

P(Third white | First two white) = (1/6) ÷ (1/3) = (1/6) × (3/1) = 1/2 ✓

P(Third White | First Two White) = 1/2
Final answer:

Given that the first two balls drawn were white, there are 4 white balls and 4 black balls remaining. Therefore, P(Third ball is white | First two are white) = 4/8 = 1/2.

Sequential Probability:

• Without replacement: Sample space changes after each draw

• Dependent events: Each draw affects subsequent probabilities

• Conditional approach: Update sample space based on given information

Tip: Always update the sample space after each conditional event.
Key Note: Sequential draws without replacement create dependent events.
Warning: Don't forget to adjust the denominator as the sample space shrinks.
Comprehensive Summary: Conditional Probability
\(\text{P(A|B)} = \frac{\text{P(A ∩ B)}}{\text{P(B)}} = \frac{\text{P(B|A) × P(A)}}{\text{P(B)}}\)
Conditional Probability and Bayes' Theorem
📚 Comprehensive Summary: Conditional Probability

🔍 Definitions of Key Concepts

Conditional Probability: The probability of an event A occurring given that another event B has already occurred. Denoted as P(A|B) and read as "probability of A given B".
Bayes' Theorem: A formula for updating probabilities based on new evidence. P(A|B) = [P(B|A) × P(A)] / P(B).
Joint Probability: The probability of two events occurring together, denoted as P(A ∩ B).
Marginal Probability: The probability of a single event occurring, denoted as P(A) or P(B).
Chain Rule: The relationship P(A ∩ B) = P(A|B) × P(B) = P(B|A) × P(A).

⚖️ Core Rules and Principles

Rule 1 - Definition: P(A|B) = P(A ∩ B) / P(B), provided P(B) > 0.
Rule 2 - Bayes' Theorem: P(A|B) = [P(B|A) × P(A)] / P(B).
Rule 3 - Chain Rule: P(A ∩ B) = P(A|B) × P(B) = P(B|A) × P(A).
Rule 4 - Independence: If A and B are independent, then P(A|B) = P(A).
Rule 5 - Total Probability: P(B) = P(B|A) × P(A) + P(B|A') × P(A').

⚙️ Step-by-Step Methods for Conditional Probability

  1. Identify the events: Clearly define events A and B in P(A|B).
  2. Identify the condition: Understand what information is given (the "given that" part).
  3. Update the sample space: Consider how the condition affects available outcomes.
  4. Choose the method: Use P(A ∩ B) / P(B) or direct counting if outcomes are equally likely.
  5. Calculate the probabilities: Compute P(A ∩ B) and P(B) or count favorable outcomes.
  6. Apply the formula: Divide to get the conditional probability.
  7. Interpret the result: Understand what the probability means in context.

🧪 Examples: From Simple to Advanced

Simple Example: Drawing cards - P(Heart | Red) = P(Heart ∩ Red) / P(Red) = (13/52) / (26/52) = 1/2.
Intermediate Example: Medical testing - P(Disease | Positive) = [P(Positive | Disease) × P(Disease)] / P(Positive).
Advanced Example: Sequential events - P(Third white | First two white) involves updating the sample space after each draw.

💡 Tips, Tricks, and Common Pitfalls

Tip 1: Think of conditional probability as working in a reduced sample space.
Tip 2: P(A|B) and P(B|A) are generally different; don't confuse them.
Common Pitfall: Forgetting that P(B) in the denominator must be greater than zero.
Common Pitfall: Ignoring base rates when applying Bayes' theorem.
Trick: "Given that" means we're restricting our attention to situations where the condition is true.

📝 Key Notes for Memorization

Memory Device: "Given the condition, what's the chance of the event?" (P(A|B) = P(A ∩ B) / P(B)).
Key Equation: P(A|B) × P(B) = P(A ∩ B) = P(B|A) × P(A).
Golden Rule: Always check that P(B) > 0 before calculating P(A|B).
Quality Check: Conditional probability should be between 0 and 1.

📋 Bayes' Theorem Applications

Field Application Events
Medicine Disease testing P(Disease | Positive test)
Spam Filtering Email classification P(Spam | Email features)
Jury Decisions Evidence evaluation P(Guilt | Evidence)
Quality Control Defective products P(Defective | Test positive)
Practical Insight: Conditional probability helps us update our beliefs based on new evidence, making it essential for decision-making under uncertainty.

Questions & Answers

Question: Why is P(A|B) different from P(B|A)? Isn't conditional probability symmetric?

Answer: Conditional probability is not symmetric. Consider this example:

  • P(Rain | Cloudy) = 0.6 - If it's cloudy, there's a 60% chance of rain
  • P(Cloudy | Rain) = 0.9 - If it's raining, there's a 90% chance it's cloudy

Analogy: P(Dog | Animal) vs P(Animal | Dog). All dogs are animals, but not all animals are dogs.

Formula: P(A|B) = P(A ∩ B) / P(B) vs P(B|A) = P(A ∩ B) / P(A). The numerators are the same, but denominators are different.

Question: How do I know when to use Bayes' theorem versus the basic conditional probability formula?

Answer: Use the formula based on what information you have:

  • Basic formula: Use when you know P(A ∩ B) and P(B), or can count outcomes directly
  • Bayes' theorem: Use when you know P(B|A), P(A), and P(B), especially for updating beliefs based on evidence

When to use Bayes': Medical testing, diagnostic problems, updating probabilities with new evidence.

When to use basic: Simple conditional problems where joint and marginal probabilities are directly available.

Question: What happens if P(B) = 0 in P(A|B)? Is it undefined?

Answer: Yes, if P(B) = 0, then P(A|B) is undefined because division by zero is not allowed:

  • Mathematical reason: P(A|B) = P(A ∩ B) / P(B) involves division by zero
  • Intuitive reason: If B has zero probability, it never occurs, so conditioning on it is meaningless
  • Practical issue: In real applications, we shouldn't condition on events that are impossible

Rule: Always verify P(B) > 0 before calculating P(A|B).

Advanced note: In measure theory, this is handled using more sophisticated mathematical concepts, but for high school statistics, just remember P(B) must be positive.