Probability and Bayes' Theorem
On this page
Direct answer
Probability rests on three relations: P(A or B) = P(A) + P(B) - P(A and B), independence means P(A and B) = P(A) × P(B), and conditional probability is P(A given B) = P(A and B)/P(B). Bayes' theorem inverts the direction of conditioning, turning the probability of an observation under each cause into the probability of each cause given that observation.
What you must remember
- Addition rule: P(A union B) = P(A) + P(B) - P(A intersection B); mutually exclusive events drop the intersection term, and the complement rule P(not A) = 1 - P(A) powers every "at least one" count.
- Conditional probability: P(A given B) = P(A intersection B)/P(B) for P(B) > 0; for independent events, P(A given B) = P(A).
- Total probability: if E1 to En are pairwise disjoint and exhaustive, P(A) = P(E1)P(A given E1) + ... + P(En)P(A given En).
- Bayes' theorem: P(Ei given A) = P(Ei)P(A given Ei) divided by the sum over k of P(Ek)P(A given Ek), reversing the conditioning with the observed outcome.
- Binomial distribution: for n independent trials with success probability p, P(exactly r successes) = C(n, r) p^r (1 - p)^(n - r), with mean np and variance np(1 - p).
- Classical counting: probability equals favourable equally likely cases divided by total cases, with combinations doing the counting.
- De Morgan in probability: P(not (A and B)) = P(not A or not B), so complements turn awkward intersections into unions.
Bayes problems, solved in four steps
Bayes questions look hard only when the tree is drawn late. Drawing it first, with causes before the observation, makes the arithmetic mechanical.
-
Name the events in words. Write the causes E1 to En and the observation A before any number appears, so that every conditional is read in the right direction.
-
Fix the partition. Confirm that the causes are pairwise disjoint and exhaustive; only then do they sum to the whole sample space. Overlapping causes would double count in step 3, so the check is not optional.
-
Compute the total probability. Form P(A) = sum of P(Ek)P(A given Ek), the weighted probability of the observation across every cause.
-
Reverse the conditioning. Divide the term for the wanted cause, P(Ei)P(A given Ei), by P(A). The same denominator serves every cause, and the posterior probabilities over one partition sum to 1.
Where the marks go
JEE Main favours dice, card and ball problems, direct Bayes with two or three causes and binomial numericals. JEE Advanced layers sequential experiments and quietly shrinking sample spaces onto the same ideas.
- Trap: treating mutually exclusive events as independent. Correct: disjoint events cannot occur together, so one occurring rules the other out, while independence needs the probability left untouched by such information.
- Trap: reading P(disease given positive test) as P(positive test given disease). Correct: the direction matters, so compute the total probability of the observation first and then apply Bayes to reverse it.
- Trap: summing many cases to find "at least one". Correct: use 1 - P(none), which is almost always faster, especially with independent trials.
Frequently asked questions
What is Bayes' theorem used for?
Bayes' theorem reverses conditional probability: it gives the probability of each cause given an observed outcome, from the likelihood of that outcome under each cause. The denominator is the total probability of the observation over the partition.
Can two events be both mutually exclusive and independent?
Only in the trivial case where one of them has probability zero. For events with non-zero probabilities, disjointness forces dependence, because one occurring rules the other out.
What are the mean and variance of a binomial distribution?
For n independent trials with success probability p, the binomial distribution has mean np and variance np(1 - p). Both formulas follow directly from the distribution, with no further conditions needed.
How do I compute "at least one" probabilities efficiently?
Use the complement: P(at least one) = 1 - P(none). This is almost always faster than summing the individual cases, especially when the trials are independent, because it needs a single product rather than a long sum.
What is a partition of the sample space?
A partition is a collection of pairwise disjoint events whose union is the whole sample space. Total probability runs over a partition, and the posterior probabilities from Bayes' theorem over one partition sum to 1.