top of page
Inaugurated by IN-SPACe
ISRO Registered Space Tutor

S7-SA3-0097

What is the Probability of A given B?

Grade Level:

Class 12

AI/ML, Physics, Biotechnology, FinTech, EVs, Space Technology, Climate Science, Blockchain, Medicine, Engineering, Law, Economics

Definition
What is it?

The probability of A given B, written as P(A|B), tells us the chance of event A happening, knowing that event B has already happened. It's like updating our prediction based on new information.

Simple Example
Quick Example

Imagine you have a bag with 5 red and 5 blue marbles. The probability of picking a red marble is 5/10. Now, if someone tells you they already picked one red marble and didn't put it back, the probability of picking another red marble changes because there are now only 4 red marbles left out of 9 total. This new probability is P(Red | First was Red).

Worked Example
Step-by-Step

PROBLEM: In a class of 30 students, 18 play cricket and 12 play football. 8 students play both. What is the probability that a student plays football GIVEN that they play cricket?

STEP 1: Identify Event A and Event B. Let A = student plays football. Let B = student plays cricket.
---
STEP 2: Find the number of students who play both A and B. Number of students playing both cricket and football = 8.
---
STEP 3: Find the number of students who play Event B. Number of students playing cricket = 18.
---
STEP 4: Calculate P(A|B) using the formula: P(A|B) = (Number of students playing both A and B) / (Number of students playing B).
---
STEP 5: P(Football | Cricket) = 8 / 18.
---
STEP 6: Simplify the fraction. 8/18 = 4/9.
---
ANSWER: The probability that a student plays football given that they play cricket is 4/9.

Why It Matters

This concept is super important for making smart decisions! AI/ML models use it to predict things like if a customer will buy a product given their past purchases, or if a weather event will occur given current conditions. Doctors use it to assess the likelihood of a disease given certain symptoms, helping them choose the best treatment.

Common Mistakes

MISTAKE: Confusing P(A|B) with P(B|A). | CORRECTION: Remember that the 'given' part (the event after the '|') is the condition that has already occurred, and it affects the total possible outcomes.

MISTAKE: Using the total sample space (all outcomes) as the denominator instead of the outcomes for the 'given' event. | CORRECTION: When you know event B has happened, your new 'universe' of possibilities shrinks to only the outcomes where B occurs.

MISTAKE: Thinking P(A|B) is always the same as P(A). | CORRECTION: P(A|B) is only equal to P(A) if events A and B are independent. Otherwise, knowing B changes the probability of A.

Practice Questions
Try It Yourself

QUESTION: A card is drawn from a standard deck of 52 cards. What is the probability that it is a 'King' GIVEN that it is a 'face card' (King, Queen, Jack)? | ANSWER: 1/3

QUESTION: In a batch of 100 mobile phones, 20 have camera issues and 15 have battery issues. 5 phones have both issues. What is the probability that a randomly chosen phone has a battery issue GIVEN that it has a camera issue? | ANSWER: 5/20 = 1/4

QUESTION: A survey found that 60% of students like mangoes, 40% like apples, and 30% like both. If a student is chosen randomly and is known to like mangoes, what is the probability that they also like apples? Express as a fraction. | ANSWER: 30/60 = 1/2

MCQ
Quick Quiz

If P(A and B) = 0.2 and P(B) = 0.5, what is P(A|B)?

0.1

0.4

0.7

0.2

The Correct Answer Is:

B

The formula for P(A|B) is P(A and B) / P(B). So, 0.2 / 0.5 = 0.4. Options A, C, and D are incorrect calculations.

Real World Connection
In the Real World

Imagine your favourite weather app predicting rain. It uses conditional probability! It calculates the P(Rain | Clouds, Humidity, Temperature) based on current sensor data. Similarly, when your bank's fraud detection system flags a transaction, it's calculating P(Fraud | Unusual Location, Large Amount) to keep your money safe.

Key Vocabulary
Key Terms

CONDITIONAL PROBABILITY: The likelihood of an event occurring given that another event has already occurred. | EVENT: A specific outcome or set of outcomes of an experiment. | SAMPLE SPACE: The set of all possible outcomes of an experiment. | INDEPENDENT EVENTS: Events where the outcome of one does not affect the outcome of the other.

What's Next
What to Learn Next

Great job understanding conditional probability! Next, you can explore Bayes' Theorem, which is a powerful way to reverse conditional probabilities (e.g., P(B|A) from P(A|B)). It's used in many advanced fields like medical diagnosis and spam filtering!

bottom of page