GATE All 17 EM papers & ES · Probability and Statistics
Joint, Conditional Probability and Bayes' Theorem
Conditional probability, independence vs mutual exclusivity, Law of Total Probability, Bayes' theorem, and joint, marginal and conditional distributions with conditional expectation.
and are independent if , equivalently : knowing tells nothing about .
and are mutually exclusive (disjoint) if , so and .
Independent
Mutually exclusive
Definition
Union
Knowing
does not change
makes
Key fact: if and , mutually exclusive events are never independent, since .
If and are independent, so are and , and , and and .
For three events, mutual independence needs all of
Pairwise independence (the first three) does not imply the fourth. Example: toss two fair coins; = first is heads, = second is heads, = both show the same face. Each pair is independent, but .
2. Total probability and Bayes' theorem
If partition the sample space (mutually exclusive, together cover everything), then
is the prior, the posterior, the likelihood.
Tree method: draw the causes first (what was sent, which box, which machine), then the observed outcome. Multiply along each branch to get joint probabilities; add the branches that give the observed outcome for the denominator.
EC setting, the binary channel: inputs 0 and 1 with priors ; crossover probabilities and . The probability of error is
The MAP receiver picks the input with the larger posterior, which is the larger joint probability on the tree.
Base-rate effect: with a rare cause, even an accurate test gives a small posterior, because false alarms from the common cause dominate the denominator.
A binary channel drawn as a tree: priors, then transition probabilities; multiply along a path for the joint probability.
3. Joint, marginal and conditional distributions
Discrete: the joint PMF is a table whose entries add to 1.
Marginal: (row sums), (column sums).
Conditional: (a row divided by its sum).
Continuous: the joint PDF with , and .
Marginal: .
Conditional: .
Joint CDF: and .
Independence of random variables: for all (or the PMF factors for every cell). A quick test: the joint PDF must factor into a function of times a function of and the support must be a rectangle. A PDF on a triangle such as is never independent.
Method for "find " questions: integrate over the support and set the result to 1. Draw the support first; the limits of the inner integral come from it.
Sum of independent variables: if with independent, (convolution). Two independent uniform(0, 1) variables give a triangular PDF on .
A region probability: integrate the joint PDF over the part of the support where the event holds.
4. Conditional expectation, covariance and correlation
Conditional expectation: or .
Law of total expectation: .
Covariance and correlation coefficient:
only when exactly.
Variance of a combination: .
Statement
True?
Independent uncorrelated ()
Yes
Uncorrelated independent
No, in general
Jointly Gaussian and uncorrelated independent
Yes
Independent
Yes
Classic counter-example: uniform on and . Then , so they are uncorrelated, yet is a function of .
In signal terms, is the correlation; two zero-mean signals are orthogonal when .
5. Sequential Bayesian updating and diagnostic base-rate traps
Notice Bayes' formula updates beliefs sequentially: after observing signal , the posterior becomes the new prior before testing a second independent sensor signal .
Base-rate trap in reliability & medical testing: even a accurate test produces mostly false alarms if the prior defect rate is tiny (e.g. ), because dominates in the total-probability denominator. Similarly, symmetric complement rules preserve independence: if are independent, so are , , and .
Formulas to remember
Conditional probability
Independence
Total probability
Bayes' theorem
Marginal PDF
Conditional PDF
Covariance
Correlation coefficient
Variance of a sum
Total expectation
Common mistakes
Treating mutually exclusive events as independent; with non-zero probabilities they are dependent.
Swapping P(A | B) and P(B | A); Bayes' theorem is needed to go from one to the other.
Concluding independence from zero covariance; it holds only for special cases such as jointly Gaussian variables.
Declaring a joint PDF independent because its formula factors, while ignoring a non-rectangular support such as 0 < x < y < 1.
Using wrong limits in a region integral; sketch the support and the event region before writing the inner limits.
Subtracting variances for X − Y; Var(X − Y) = Var(X) + Var(Y) − 2 Cov(X, Y).
Worked examples
Try each step yourself, then reveal the working.
Example 1: Conditioning by counting
numerical
Two fair dice are rolled. Find the probability that the sum is 8, given that the first die shows an even number.
Step 1: Count the reduced sample space.
Try it on paper first.
Example 2: Working with a joint PMF table
numerical
and have joint PMF: row : ; row : (for ). Find the marginals, , decide independence, and find .
Step 1: Add rows and columns.
Try it on paper first.
Example 3: A joint PDF on the unit square
numerical
for and zero elsewhere. Find , and .
Step 1: Normalise.
Try it on paper first.
Example 4: Independence vs mutual exclusivity check
conceptual
Given and , find if (i) are mutually exclusive, and (ii) are independent.
Step 1: Case (i): disjoint events have P(A ∩ B) = 0.
Try it on paper first.
Previous year questions
13 official GATE Engineering Mathematics questions mapped to this topic across published papers, newest first.
10 questions: up to 4 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE Engineering Mathematics (All 17 EM papers & ES) syllabus; being checked by a reviewer. Updated 2026-12-01. Spotted a mistake? Use Report an issue on any question, or contact us.