Conditional probability answers: "Given that something already happened, how does that change the odds?" $P(A|B)$ reads as "the probability of A given that B already occurred." New information reduces the sample space, which changes the probability. Bayes' Theorem lets you work backwards: if you observe an effect (e.g., a defective item), it tells you the probability of each possible cause (e.g., which machine made it), weighted by how likely each cause was in the first place. Two events are independent if knowing one happened tells you nothing about the other: $P(A|B) = P(A)$.
A bag contains 4 red and 6 blue balls. Two balls are drawn without replacement. Find the probability both are red.
$$P=\frac{4}{10}\cdot\frac{3}{9}=\frac{2}{15}$$
Final answer: $2/15$.
Conditional Probability from a Table
In a class, 18 students passed Math, 12 passed Physics, and 8 passed both. If a student passed Physics, find the probability that the student also passed Math.
Machine A makes 60% of bolts with 2% defective rate. Machine B makes 40% with 5% defective rate. If a bolt is defective, find the probability it came from B.
A disease affects 1% of the population. A test is 95% accurate (detects disease when present) with a 3% false positive rate. If a person tests positive, what is the probability they actually have the disease?
Let D = disease, T = positive test. P(D) = 0.01, P(T|D) = 0.95, P(T|D') = 0.03.
Final answer: about 46.2% of employed people in the survey are college graduates.
Bayes: Three Factories
Factory X produces 50% of parts (1% defective), Factory Y produces 30% (2% defective), Factory Z produces 20% (3% defective). A part is found defective. Find the probability it came from Y.