Joint, marginal and conditional probability of events and random variables: the multiplication rule, total probability, Bayes' theorem, independence, joint PMFs and PDFs, conditional expectation and covariance.
1. Conditional probability and independence of events
The joint probability is the chance that both and occur. The conditional probability of given is
It is the probability of when the sample space shrinks to .
Multiplication rule: , and for a chain, . Use it for draws without replacement.
Independence: and are independent if , which is the same as . Three events are mutually independent only if every pair satisfies this and ; pairwise independence is not enough.
Do not confuse independent with mutually exclusive (). Two mutually exclusive events with non-zero probabilities are always dependent: knowing occurred makes .
If and are independent, so are and , and , and and .
Useful identity: ; for independent events, .
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 .
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: Bayes on a binary channel
numerical
A source sends 0 with probability 0.6 and 1 with probability 0.4. A sent 0 is received as 1 with probability 0.1; a sent 1 is received as 0 with probability 0.2. Find , and the probability of error.
Step 1: Find the joint probabilities of the branches that end in 1 received.
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: Uncorrelated but dependent
conceptual
takes with probability each, and . Are and uncorrelated? Are they independent?
Step 1: Find $E[X]$ and $E[XY]$.
Try it on paper first.
Previous year questions
1 official GATE EC question on this topic, newest first.
9 questions: up to 1 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 EC syllabus; being checked by a reviewer. Updated 2026-11-28. Spotted a mistake? Use Report an issue on any question, or contact us.