
Conditional Probability formula derivation and solved examples
The concept of conditional probability plays a key role in mathematics and is widely applicable to both real-life situations and exam scenarios. It helps students and professionals determine the likelihood of an event, using information about another event that has already happened.
What Is Conditional Probability?
Conditional probability is defined as the chance that event A will occur, given that event B has already happened. You’ll find this concept applied in areas such as probability theory, statistics, and data science, and it is central to solving exam questions involving “given that” conditions.
Key Formula for Conditional Probability
Here’s the standard formula: \( P(A|B) = \frac{P(A \cap B)}{P(B)} \) where \( P(B) > 0 \)
| Symbol | Meaning |
|---|---|
| P(A|B) | Probability of A, given B has happened |
| P(A ∩ B) | Probability that both A and B occur |
| P(B) | Probability that event B occurs |
Cross-Disciplinary Usage
Conditional probability is not only useful in Maths but also plays an important role in Physics, Computer Science, and daily logical reasoning. Students preparing for JEE or NEET will see its relevance in various questions, especially when tackling statistics, genetics, or probability-based reasoning sections.
Step-by-Step Illustration
- Read the problem and identify events A and B.
- Check which event is the condition (“given”).
- Find P(A ∩ B): The probability that both events happen together.
- Find P(B): The probability that the “given” event happens.
- Apply the formula: \( P(A|B) = \frac{P(A \cap B)}{P(B)} \)
Solved Example: Cards Problem
Suppose you know a card drawn from a deck of 52 is black. What’s the probability it is a six?
1. There are 26 black cards.
2. Among them, 2 are sixes (six of spades and six of clubs).
3. P(A|B) = 2/26 = 1/13.
So, the conditional probability is 1/13.
Conditional Probability vs Independent & Dependent Events
| Concept | What It Means | Example |
|---|---|---|
| Conditional Probability | Probability of A, given B has occurred | “Given it is raining, what’s the probability a person carries an umbrella?” |
| Dependent Events | Outcome of one event affects the other | Drawing two cards without replacement |
| Independent Events | Events do not affect each other | Flipping a coin and rolling a die |
Real-Life Applications
- Weather: Chance of rain, given dark clouds in the sky
- Medical: Probability of a disease if a test result is positive
- Exam prep: Probability of passing, given last year’s performance
- Board games: Drawing specific cards under new rules
Try These Yourself
- If a die shows an even number, what’s the probability it is a 4?
- If a coin toss is known to be heads or tails, what is the probability it is heads?
- If a student is from grade 12, what is the probability they study mathematics if 70% of grade 12 students take maths?
- If you draw a card and it is a face card, what’s the probability it is a king?
Frequent Errors and Misunderstandings
- Assuming conditional probability always means causation
- Believing both events must occur together, not just be related
- Mixing up “P(A|B)” with “P(B|A)”
- Using wrong total/denominator for the “given” condition
Relation to Other Concepts
The idea of conditional probability connects closely with topics such as Bayes’ Theorem and the Total Probability Theorem. Mastering this helps with understanding advanced concepts in probability and statistics, including joint probability and statistical inference.
Classroom Tip
A quick way to remember conditional probability: Only focus on the relevant (given) part of the sample space—don’t count outcomes outside what’s told in the problem. Vedantu’s teachers use simple tree diagrams or Venn diagrams to help make it visual and easy.
We explored conditional probability—from its definition, formula, examples, errors, and how it connects to other probability topics. Practice more questions with Vedantu’s probability worksheets and live classes to quickly master conditional probability and boost your exam speed and confidence!
Related Reads: Probability (Basics) | Bayes’ Theorem | Total Probability Theorem | Joint Probability
FAQs on Conditional Probability Explained with Rules and Applications
1. What is conditional probability?
Conditional probability is the probability of an event occurring given that another event has already occurred, written as P(A|B). It measures how the probability of event A changes when event B is known to have happened.
- The standard formula is P(A|B) = P(A ∩ B) / P(B), where P(B) ≠ 0.
- It focuses only on outcomes where event B occurs.
- Commonly used in probability theory, statistics, and real-life risk analysis.
2. What is the formula for conditional probability?
The formula for conditional probability is P(A|B) = P(A ∩ B) / P(B), provided that P(B) > 0.
- P(A|B) means probability of A given B.
- P(A ∩ B) is the probability that both A and B occur.
- P(B) is the probability that event B occurs.
3. How do you calculate conditional probability step by step?
To calculate conditional probability, use the formula P(A|B) = P(A ∩ B) / P(B) and follow these steps:
- Step 1: Find P(A ∩ B) (probability of both events happening).
- Step 2: Find P(B) (probability of the given event).
- Step 3: Divide: P(A ∩ B) ÷ P(B).
4. What is the difference between conditional probability and independent events?
Conditional probability measures how one event affects another, while independent events have no effect on each other.
- Events are independent if P(A|B) = P(A).
- This also means P(A ∩ B) = P(A)P(B).
- If knowing B changes the probability of A, the events are dependent.
5. What is P(A|B) in probability?
P(A|B) represents the probability that event A occurs given that event B has already occurred.
- It is read as “probability of A given B”.
- Calculated using P(A|B) = P(A ∩ B) / P(B).
- It restricts the sample space to outcomes where B happens.
6. Can you give an example of conditional probability?
An example of conditional probability is finding the probability of drawing a king given that the card drawn is a face card.
- There are 12 face cards (J, Q, K) in a 52-card deck.
- There are 4 kings.
- So, P(King|Face card) = 4 / 12 = 1/3.
7. What is the conditional probability formula using a contingency table?
Using a contingency table, conditional probability is calculated as P(A|B) = (Number in both A and B) / (Total number in B).
- Identify the cell where both events occur.
- Divide by the total frequency of the given condition (row or column total).
8. How is conditional probability related to Bayes' theorem?
Conditional probability forms the basis of Bayes' theorem, which is written as P(A|B) = [P(B|A)P(A)] / P(B).
- It allows reversing conditional probabilities.
- Used in medical testing, machine learning, and statistics.
- Derived directly from the definition of conditional probability.
9. When is conditional probability undefined?
Conditional probability is undefined when P(B) = 0.
- The formula P(A|B) = P(A ∩ B) / P(B) requires division by P(B).
- Division by zero is mathematically undefined.
- This means event B must have a positive probability.
10. Why is conditional probability important in real life?
Conditional probability is important because it helps calculate the likelihood of an event based on known information.
- Used in medical diagnosis (probability of disease given a positive test).
- Applied in finance and risk assessment.
- Essential in data science, statistics, and machine learning models.

































