Why conditional probability matters in real life
Ever wondered why a weather app says "30% chance of rain if it's cloudy"? That's conditional probability at work – it tells you how likely something is, given another event has already happened.
💡 In Simple Words: Conditional probability answers questions like "What are the chances of getting a red marble if I already picked a blue one?" It’s the probability of an event after we know another event occurred.
What is conditional probability?
In plain language, conditional probability is the likelihood of event A happening **when we already know** that event B has happened. We write it as P(A|B). The vertical bar reads as “given”.
Think of a kitchen faucet. The water flow (event A) depends on the tap being turned on (event B). If the tap is off, the flow is zero – that’s the idea of conditioning.
Formula and how to use it
The basic formula is:
P(A|B) = P(A ∩ B) / P(B)
Here P(A ∩ B) means the probability that both A and B happen together (the intersection). P(B) is the probability that B happens at all.
Important: P(B) must be > 0, otherwise we can’t divide by zero.
Step‑by‑step method
Worked example 1: Drawing marbles
Suppose a bag has 3 red, 2 blue, and 5 green marbles (total 10). You pick one marble without looking, note its colour, and then pick a second marble without replacing the first. What is the probability that the second marble is red **given** the first marble was blue?
- Define events: A = "second marble is red", B = "first marble is blue".
- Find P(A ∩ B): We need the chance of blue first **and** red second.
- Probability first is blue = 2/10.
- After removing a blue, 9 marbles remain with 3 red.
- Probability second is red = 3/9 = 1/3.
- Find P(B): Probability first marble is blue = 2/10 = 1/5.
- Apply formula: P(A|B) = (1/15) ÷ (1/5) = (1/15) × (5/1) = 5/15 = 1/3.
Answer: The chance the second marble is red, given the first was blue, is 1/3.
Worked example 2: Card game
From a standard 52‑card deck, one card is drawn and found to be a heart. What is the probability that it is also a queen?
- Event A = "card is a queen", B = "card is a heart".
- P(A ∩ B) = probability of drawing the queen of hearts = 1/52.
- P(B) = probability of any heart = 13/52 = 1/4.
- P(A|B) = (1/52) ÷ (1/4) = (1/52) × 4 = 4/52 = 1/13.
So, given the card is a heart, there’s a 1/13 chance it’s the queen.
Quick comparison table
| Concept | Notation | What it means |
|---|---|---|
| Unconditional probability | P(A) | Chance of A happening, no extra info. |
| Conditional probability | P(A|B) | Chance of A **given** B has occurred. |
| Intersection | P(A ∩ B) | Both A and B happen together. |
| Complement | P(A') or 1‑P(A) | Probability that A does **not** happen. |
Common mistakes to avoid
- Forgetting the denominator. Always divide by P(B), not by the total number of outcomes.
- Mixing up order. P(A|B) is generally not the same as P(B|A). Think of the faucet analogy: water flow given the tap is on is not the same as the tap being on given water is flowing.
- Using wrong sample space. After an event occurs, the remaining outcomes may change – like removing a marble without replacement.
Bullet summary – what you need to remember
- Conditional probability = probability of A after B is known.
- Formula: P(A|B) = P(A ∩ B) / P(B) (P(B) > 0).
- Steps: identify events, find intersection, find P(B), divide.
- Check if the events are independent – if P(A|B) = P(A), they don’t affect each other.
- Practice with cards, marbles, and real‑life scenarios.
📝 Likely Exam Questions
- Question: A box contains 4 defective and 6 good bulbs. Two bulbs are drawn without replacement. Find the probability that the second bulb is defective given the first bulb is good.
Answer: P(second defective | first good) = (6/10) × (4/9) ÷ (6/10) = 4/9. - Question: From a deck of 52 cards, two cards are drawn one after another without replacement. What is the probability that the second card is a spade given the first card is a king?
Answer: P(second spade | first king) = (13/51) because after removing a king (which may or may not be a spade), 51 cards remain with 13 spades if the king wasn’t a spade, otherwise 12. Calculate both cases: (3/52)*(13/51) + (1/52)*(12/51) = 39/2652 + 12/2652 = 51/2652 = 1/52. - Question: In a class, 60% of students like maths and 40% like physics. If 25% like both, find the probability that a student who likes physics also likes maths.
Answer: P(Maths|Physics) = P(both)/P(physics) = 0.25 / 0.40 = 5/8. - Question: A die is rolled twice. What is the probability that the sum is 7 given that the first roll was a 3?
Answer: Only a 4 on the second roll gives sum 7. So P(sum=7|first=3) = 1/6. - Question: Explain why P(A|B) = P(A) when A and B are independent events.
Answer: Independence means B’s occurrence does not change the chance of A, so the intersection equals P(A)·P(B). Plugging into the formula gives P(A|B) = P(A)·P(B)/P(B) = P(A).