By the end of this chapter you'll be able to…

  • 1Identify the sample space before computing any probability
  • 2Apply the addition rule and recognise the mutually exclusive special case
  • 3Use the complement rule for at-least-one questions
  • 4Compute conditional probability as a fraction of the conditioning event
  • 5Distinguish independence from mutual exclusivity
  • 6Explain why pairwise independence does not imply mutual independence
  • 7Apply Bayes' theorem with the law of total probability
  • 8Solve base-rate questions by tabulating counts
  • 9Explain why a positive test result is often unreliable
  • 10Distinguish probability mass functions from densities
  • 11Apply linearity of expectation without an independence assumption
  • 12Decompose a complicated random variable into indicator variables
  • 13Explain why E of g of X is generally not g of E of X
  • 14Compute variance using the second-moment formula
  • 15State how variance responds to scaling and to additive constants
  • 16State when variance adds and why it adds for a difference too
  • 17Compute covariance and explain why zero covariance is weaker than independence
  • 18Apply Chebyshev's and Markov's inequalities when no distribution is given
  • 19Identify which discrete distribution a stem describes
  • 20State the mean and variance of the four discrete distributions
  • 21Recognise the Poisson signature of equal mean and variance
  • 22Distinguish binomial from hypergeometric sampling
  • 23State and use the memorylessness of the geometric and exponential distributions
  • 24Connect the Poisson count to the exponential inter-arrival time
  • 25Standardise a normal variable and apply the coverage percentages
  • 26State the central limit theorem and its practical consequence
  • 27Compare mean, median and mode under skew and outliers
  • 28Distinguish population from sample variance
💡
Why this chapter matters in GATE
Probability is worth more than its own marks, because average-case analysis in Algorithms, hashing in Data Structures and load modelling in Operating Systems all depend on it. Two questions settle almost every problem: what is the sample space, and what is being conditioned on. The sample space is the set of outcomes being counted, and getting it wrong is the source of most errors rather than the arithmetic. Conditioning is what shrinks that sample space, so a conditional probability is nothing more than a probability computed inside a smaller world. Every named distribution in the syllabus is a shortcut for a sample space too large to enumerate: binomial counts successes in a fixed number of trials, Poisson counts events in an interval, exponential measures waiting time. The third principle is the asymmetry examined most often: expectation is linear whether or not variables are independent, while variance adds only when they are.

Before you start — revise these

🔗
Quantitative Aptitude
Permutations, combinations, complement counting and the block technique are developed there and are used unchanged whenever outcomes are equally likely.
🔗
Calculus
Continuous distributions require integration for densities, expectations and tail probabilities.
🔗
Discrete Mathematics
Counting techniques and the notion of a partition underpin the law of total probability.

Probability and Statistics

Probability contributes a dependable share of the 13-mark Engineering Mathematics block, and it also underpins average-case analysis in Algorithms, hashing in Data Structures and load modelling in Operating Systems. It is worth more than its own marks.

Two questions settle almost every problem: what is the sample space, and what is being conditioned on.

The sample space is the set of outcomes being counted, and getting it wrong is the source of most errors — not the arithmetic. Conditioning is what shrinks that sample space, and a conditional probability is nothing more than a probability computed inside a smaller world.

Every named distribution in the syllabus is a shortcut for a sample space too large to enumerate. Binomial counts successes in a fixed number of trials, Poisson counts events in an interval, exponential measures waiting time. Recognising which one the stem describes is the whole of the modelling step, and it is decided by what is being counted or measured, not by the wording.

The third principle is that expectation is linear whether or not variables are independent, while variance adds only when they are. That asymmetry is examined directly and is the most useful single fact in the chapter.

1. Sample Spaces and the Axioms

A probability assigns each event a number between 0 and 1, with the whole sample space getting 1, and with probabilities of disjoint events adding.

The addition rule corrects for double counting:

For mutually exclusive events the intersection is empty and the correction vanishes, which is the special case, not the rule.

The complement rule is the workhorse. Whenever a question says "at least one", compute the probability of none and subtract from 1, because "none" is a single case while "at least one" is many.

For equally likely outcomes, probability reduces to counting, and the counting techniques from Quantitative Aptitude apply unchanged: block adjacent items, count complements, and choose combinations when order does not matter.

2. Conditional Probability and Independence

Conditional probability restricts attention to a smaller sample space:

defined whenever . Reading it as "the fraction of that is also " makes most questions immediate.

Rearranging gives the multiplication rule , which chains for several events.

Two events are independent when , equivalently when . Independence means knowing one tells you nothing about the other.

Independent is not the same as mutually exclusive, and the two are almost opposites. If and are mutually exclusive with non-zero probabilities, then knowing occurred tells you did not, so they are strongly dependent. Confusing these is the commonest conceptual error in the topic.

Pairwise independence does not imply mutual independence. Three events can be independent in every pair while the triple fails, which is a standard counterexample question.

3. Bayes' Theorem

Bayes' theorem reverses the direction of conditioning:

The denominator is usually expanded by the law of total probability over a partition:

The recurring exam shape is a test with known accuracy applied to a population with a known base rate, asking for the probability that a positive result is genuine.

The answer is almost always far lower than intuition suggests, and the reason is the base rate. If a disease affects 1 in 1000 and a test is 99 per cent accurate, then among 1000 people there is roughly 1 true positive and about 10 false positives, so a positive result is genuine only about 9 per cent of the time.

Working the problem in counts rather than probabilities makes this transparent and is faster under exam conditions. Choose a convenient population size, tabulate the four cells, and read the answer off.

4. Random Variables and Expectation

A random variable assigns a number to each outcome. Discrete variables have a probability mass function; continuous ones have a density whose integral over a range gives the probability.

For a continuous random variable, the probability of any single value is zero, so strict and non-strict inequalities give the same probability. This does not hold in the discrete case, and mixing them up costs marks.

Expectation is a weighted average:

Linearity of expectation holds always, whether or not the variables are independent, and whether or not they are even defined on related experiments:

This is the single most useful fact in the chapter. Problems that look intractable become one-line computations when a complicated random variable is written as a sum of simple indicator variables, each contributing its own probability.

For a function of a random variable, , and note that is generally not . The two agree only for linear .

5. Variance

Variance measures spread and has a computational form that is almost always faster than the definition:

Scaling behaves differently from expectation. , so the additive constant disappears entirely and the multiplier is squared.

Variance adds for independent variables only:

In general the covariance term appears, and is still the sum of the variances for independent variables, not the difference — a standard trap.

The standard deviation is the square root of the variance and carries the same units as the variable, which is why it is quoted in practice.

Covariance measures how two variables move together:

Independence forces the covariance to zero, but zero covariance does not force independence. A variable and its own square on a symmetric range have zero covariance and are obviously dependent, which is the standard counterexample.

The correlation coefficient rescales covariance to lie between and by dividing by the two standard deviations, which makes it dimensionless and comparable across problems.

Chebyshev's inequality bounds how much mass can sit far from the mean, using nothing but the variance: the probability of being more than standard deviations away is at most .

It holds for every distribution, which is precisely why the bound is loose. For a normal distribution the true probability beyond two standard deviations is about 5 per cent, while Chebyshev only guarantees at most 25 per cent.

Markov's inequality is weaker still but needs only a non-negative variable and its mean, bounding by . Both appear when a question supplies a mean and variance but no distribution.

6. Discrete Distributions

Four discrete distributions cover the syllabus, and each is identified by what it counts.

DistributionCountsMeanVariance
BernoulliOne trial, success or failure
BinomialSuccesses in fixed trials
PoissonEvents in an interval
GeometricTrials until first success

The Poisson distribution has mean equal to variance, which is its identifying signature and is asked directly.

The binomial requires a fixed number of independent trials with constant success probability. If the trials are dependent — sampling without replacement, for instance — the distribution is hypergeometric, not binomial.

The Poisson arises as the limit of the binomial when is large and small with held fixed, which is why it models rare events over an interval: arrivals at a server, defects per wafer, packet losses per second.

The geometric distribution is memoryless: given that the first success has not occurred in the first trials, the distribution of the remaining wait is the same as the original. It is the only discrete distribution with this property.

7. Continuous Distributions

Three continuous distributions appear, and the exponential is the one examined most.

DistributionDensity supportMeanVariance
Uniform
Exponential
NormalAll reals

The exponential distribution has , and it is memoryless, exactly like the geometric of which it is the continuous analogue:

This is why exponential service times make queueing analysis tractable, and it is the only continuous distribution with the property.

The exponential and Poisson describe the same process from two angles. If events arrive as a Poisson process at rate per unit time, then the waiting time between consecutive events is exponential with the same .

The normal distribution is symmetric about its mean, and the standard normal is obtained by the transformation . Roughly 68 per cent of the mass lies within one standard deviation, 95 per cent within two and 99.7 per cent within three.

A sum of independent normal variables is again normal, with means and variances adding, which is a property no other distribution in the syllabus shares in that form.

The central limit theorem explains why the normal appears so widely: the sum of a large number of independent variables with finite variance is approximately normal regardless of what the individual variables look like.

The practical consequence for GATE is that a question about the average of many independent trials can be treated as normal even when each trial is a coin toss, which is what makes the standard-deviation percentages usable.

8. Descriptive Statistics

The mean is the arithmetic average, the median is the middle value when sorted, and the mode is the most frequent value.

The median is robust to outliers and the mean is not, which is why questions supply a data set with one extreme value and ask which measure changes.

For a symmetric unimodal distribution all three coincide. For a right-skewed distribution the mean exceeds the median, which exceeds the mode, and the ordering reverses for left skew.

Population variance divides by while sample variance divides by . The distinction is examined, and the correction exists because using the sample mean rather than the true mean systematically underestimates spread.

Linear transformations of a data set behave predictably, and the asymmetry mirrors the one for random variables.

Adding a constant shifts the mean and leaves the standard deviation unchanged; multiplying by a constant scales both. So adding 10 to every value raises the mean by 10 and the variance not at all, while doubling every value doubles the mean and quadruples the variance.

Quartiles split sorted data into four equal parts, and the interquartile range is the third quartile minus the first. Like the median, it ignores the tails entirely, which is why it is reported alongside the median whenever outliers are a concern.

9. Worked Examples

Example 1. A fair die is rolled twice. What is the probability that the sum is 8, given that the first roll is 5?

Conditioning shrinks the sample space to the six outcomes where the first roll is 5.

Within that world, the sum is 8 exactly when the second roll is 3, which is one outcome.

So the conditional probability is .

Compare this with the unconditional probability of a sum of 8, which is — the pairs . The two differ, which is precisely the statement that the events are not independent.

Example 2. A disease affects 1 per cent of a population. A test detects it with probability 0.99 in an affected person and gives a false positive with probability 0.05. If a person tests positive, what is the probability they have the disease?

Work in counts on a convenient population of 10,000, which is faster and far less error-prone than manipulating probabilities.

Affected: 1 per cent of 10,000 = 100 people. Of these, 99 test positive.

Unaffected: 9,900 people. Of these, 5 per cent = 495 test positive falsely.

Total positives: .

The probability that a positive is genuine is , about 17 per cent.

The answer is far below the test's 99 per cent sensitivity because the unaffected group is 99 times larger, so even a small false-positive rate produces many more false positives than there are true cases. This base-rate effect is what the question exists to test.

Example 3. A fair coin is tossed 10 times. What are the expected number of heads and the variance?

Each toss is a Bernoulli trial with , and the tosses are independent with a fixed count, so the total is binomial with and .

Mean: .

Variance: .

The standard deviation is .

The linearity route gives the mean without the binomial formula: write the total as a sum of 10 indicator variables, each with expectation , and add. That route also works when the coins have different biases, where the binomial formula does not apply but linearity still does.

Example 4. Packets arrive at a router as a Poisson process at 3 per second. What is the probability that exactly 2 arrive in a given second, and what is the expected gap between consecutive arrivals?

For the count, use the Poisson distribution with :

For the gap, use the exponential distribution, which describes inter-arrival times of the same process with the same rate.

The mean of an exponential with rate is , so the expected gap is of a second.

The pairing is the point of the question: the same serves as a count parameter for the Poisson and a rate parameter for the exponential, and recognising that they describe one process from two angles saves modelling time.

Example 5. and are independent with and . Find .

Handle the constant first: adding 5 shifts the distribution without changing its spread, so it contributes nothing.

Handle the multipliers: each is squared.

Two things are worth noting. The coefficient contributes , so the sign disappears and the variances add rather than subtracting. And the independence assumption is what allows the two terms to be added at all; without it, a covariance term of would appear.

Example 6. A biased coin has . It is tossed until the first head. What is the expected number of tosses, and what is the probability that more than 5 tosses are needed?

The number of tosses until the first success is geometric with .

The expected number of tosses is .

For the tail probability, more than 5 tosses are needed exactly when the first 5 tosses are all tails.

The memorylessness of the geometric distribution is what makes this so simple: no bookkeeping over which toss produced the success is needed, because the only way to need more than 5 tosses is for the first 5 to fail.

The same property means that having already tossed 5 tails, the expected number of further tosses is again , not less. The coin has no memory of the failures.

Summary

Name the sample space and identify what is being conditioned on; a conditional probability is a probability inside a smaller world.

For "at least one", compute the complement.

Independent and mutually exclusive are almost opposites: mutually exclusive events with non-zero probability are strongly dependent. Pairwise independence does not give mutual independence.

Bayes' theorem reverses conditioning, and base-rate questions are answered fastest by tabulating counts in a convenient population.

Linearity of expectation holds always, independent or not, and writing a complicated variable as a sum of indicators is the standard technique.

Variance uses , kills additive constants, squares multipliers, and adds only for independent variables — and it adds for a difference too.

Binomial counts successes in a fixed number of independent trials; Poisson counts events in an interval and has mean equal to variance; geometric counts trials to the first success and is memoryless.

Uniform, exponential and normal cover the continuous cases. The exponential is memoryless and is the inter-arrival time of a Poisson process with the same rate.

The median resists outliers and the mean does not. Sample variance divides by rather than .

Key formulas & results

Everything to memorise for the exam hall, in one card. Screenshot this for revision.

The organising tool
NAME THE SAMPLE SPACE, THEN ASK WHAT IS BEING CONDITIONED ON. A CONDITIONAL PROBABILITY IS A PROBABILITY COMPUTED INSIDE A SMALLER WORLD.
GETTING THE SAMPLE SPACE WRONG IS THE SOURCE OF MOST ERRORS, NOT THE ARITHMETIC. EVERY NAMED DISTRIBUTION IS A SHORTCUT FOR A SAMPLE SPACE TOO LARGE TO ENUMERATE.
Addition rule
P(A OR B) = P(A) + P(B) - P(A AND B).
FOR MUTUALLY EXCLUSIVE EVENTS THE INTERSECTION IS EMPTY AND THE CORRECTION VANISHES. THAT IS THE SPECIAL CASE, NOT THE RULE. IN SET NOTATION THE UNION IS WRITTEN A cup B AND THE INTERSECTION A cap B.
The complement rule
WHENEVER A QUESTION SAYS AT LEAST ONE, COMPUTE THE PROBABILITY OF NONE AND SUBTRACT FROM 1.
NONE IS A SINGLE CASE WHILE AT LEAST ONE IS MANY, WHICH IS WHY THE COMPLEMENT IS ALMOST ALWAYS FASTER AND LESS ERROR-PRONE.
Conditional probability
P(A GIVEN B) = P(A AND B) DIVIDED BY P(B), DEFINED WHEN P(B) IS POSITIVE.
READ IT AS THE FRACTION OF B THAT IS ALSO A. REARRANGING GIVES THE MULTIPLICATION RULE, WHICH CHAINS FOR SEVERAL EVENTS. IN NOTATION THIS IS WRITTEN P(A mid B), WHERE THE BAR mid IS READ AS GIVEN.
Independence
A AND B ARE INDEPENDENT WHEN P(A AND B) = P(A)P(B), EQUIVALENTLY WHEN P(A GIVEN B) = P(A).
INDEPENDENT IS NOT MUTUALLY EXCLUSIVE, AND THE TWO ARE ALMOST OPPOSITES: MUTUALLY EXCLUSIVE EVENTS WITH NON-ZERO PROBABILITY ARE STRONGLY DEPENDENT.
Bayes' theorem
P(A GIVEN B) = P(B GIVEN A) TIMES P(A), DIVIDED BY P(B).
THE DENOMINATOR IS EXPANDED BY THE LAW OF TOTAL PROBABILITY, SUMMING P(B GIVEN A_i) TIMES P(A_i) OVER A PARTITION.
The base-rate shape
A TEST WITH KNOWN ACCURACY APPLIED TO A POPULATION WITH A KNOWN BASE RATE. THE ANSWER IS ALWAYS FAR LOWER THAN INTUITION SUGGESTS.
WORK IN COUNTS ON A CONVENIENT POPULATION AND TABULATE THE FOUR CELLS. IT IS FASTER AND FAR LESS ERROR-PRONE THAN MANIPULATING PROBABILITIES.
Expectation
E[X] IS THE SUM OF x_i TIMES p_i FOR DISCRETE VARIABLES, AND THE INTEGRAL OF x TIMES f(x) FOR CONTINUOUS ONES.
FOR A CONTINUOUS VARIABLE THE PROBABILITY OF ANY SINGLE VALUE IS ZERO, SO STRICT AND NON-STRICT INEQUALITIES AGREE. THIS FAILS IN THE DISCRETE CASE.
Linearity of expectation
E[aX + bY] = a E[X] + b E[Y], WHETHER OR NOT X AND Y ARE INDEPENDENT.
THE SINGLE MOST USEFUL FACT IN THE CHAPTER. WRITE A COMPLICATED VARIABLE AS A SUM OF INDICATOR VARIABLES AND ADD THEIR PROBABILITIES.
Functions of a random variable
E[g(X)] IS THE SUM OF g(x_i) TIMES p_i, AND IT IS GENERALLY NOT g(E[X]).
THE TWO AGREE ONLY FOR LINEAR g, WHICH IS WHY E OF X SQUARED DIFFERS FROM THE SQUARE OF E OF X AND WHY VARIANCE IS NON-ZERO AT ALL.
Variance
Var(X) = E[X SQUARED] MINUS (E[X]) SQUARED.
THIS COMPUTATIONAL FORM IS ALMOST ALWAYS FASTER THAN THE DEFINITION AS THE EXPECTED SQUARED DEVIATION.
Variance under transformation
Var(aX + b) = a SQUARED TIMES Var(X). THE ADDITIVE CONSTANT DISAPPEARS ENTIRELY AND THE MULTIPLIER IS SQUARED.
THIS IS THE ASYMMETRY WITH EXPECTATION, WHERE THE CONSTANT SURVIVES AND THE MULTIPLIER IS NOT SQUARED.
When variance adds
Var(X + Y) = Var(X) + Var(Y) FOR INDEPENDENT X AND Y ONLY. OTHERWISE A COVARIANCE TERM APPEARS.
Var(X - Y) IS STILL THE SUM OF THE VARIANCES FOR INDEPENDENT VARIABLES, NOT THE DIFFERENCE, BECAUSE THE COEFFICIENT MINUS ONE IS SQUARED.
Covariance and correlation
Cov(X,Y) = E[XY] MINUS E[X]E[Y]. THE CORRELATION COEFFICIENT DIVIDES IT BY THE TWO STANDARD DEVIATIONS AND LIES BETWEEN MINUS ONE AND ONE.
INDEPENDENCE FORCES ZERO COVARIANCE, BUT ZERO COVARIANCE DOES NOT FORCE INDEPENDENCE. A VARIABLE AND ITS OWN SQUARE ON A SYMMETRIC RANGE IS THE COUNTEREXAMPLE.
Chebyshev and Markov
CHEBYSHEV: THE PROBABILITY OF BEING MORE THAN k STANDARD DEVIATIONS FROM THE MEAN IS AT MOST 1 OVER k SQUARED. MARKOV: FOR NON-NEGATIVE X, P(X AT LEAST a) IS AT MOST E[X] OVER a.
BOTH HOLD FOR EVERY DISTRIBUTION, WHICH IS WHY THEY ARE LOOSE. THEY APPEAR WHEN A QUESTION SUPPLIES A MEAN AND VARIANCE BUT NAMES NO DISTRIBUTION.
The four discrete distributions
BERNOULLI(p): MEAN p, VARIANCE p(1-p). BINOMIAL(n,p): MEAN np, VARIANCE np(1-p). POISSON(lambda): MEAN AND VARIANCE BOTH lambda. GEOMETRIC(p): MEAN 1/p, VARIANCE (1-p)/p SQUARED.
EACH IS IDENTIFIED BY WHAT IT COUNTS: ONE TRIAL, SUCCESSES IN n FIXED TRIALS, EVENTS IN AN INTERVAL, AND TRIALS UNTIL THE FIRST SUCCESS.
The Poisson signature
THE POISSON DISTRIBUTION HAS MEAN EQUAL TO VARIANCE, AND IT ARISES AS THE BINOMIAL LIMIT WITH LARGE n, SMALL p AND np HELD FIXED.
THIS IS WHY IT MODELS RARE EVENTS OVER AN INTERVAL: ARRIVALS AT A SERVER, DEFECTS PER WAFER, PACKET LOSSES PER SECOND.
Binomial versus hypergeometric
THE BINOMIAL REQUIRES A FIXED NUMBER OF INDEPENDENT TRIALS WITH CONSTANT SUCCESS PROBABILITY.
IF THE TRIALS ARE DEPENDENT, AS IN SAMPLING WITHOUT REPLACEMENT, THE DISTRIBUTION IS HYPERGEOMETRIC AND THE BINOMIAL FORMULA DOES NOT APPLY.
Memorylessness
P(X GREATER THAN s PLUS t, GIVEN X GREATER THAN s) EQUALS P(X GREATER THAN t).
THE GEOMETRIC IS THE ONLY DISCRETE DISTRIBUTION WITH THIS PROPERTY AND THE EXPONENTIAL THE ONLY CONTINUOUS ONE. PAST FAILURES DO NOT SHORTEN THE REMAINING WAIT.
The three continuous distributions
UNIFORM(a,b): MEAN (a+b)/2, VARIANCE (b-a) SQUARED OVER 12. EXPONENTIAL(lambda): MEAN 1/lambda, VARIANCE 1/lambda SQUARED. NORMAL: MEAN mu, VARIANCE sigma SQUARED.
THE EXPONENTIAL SATISFIES P(X GREATER THAN t) = e TO THE MINUS lambda t, WHICH IS THE FASTEST ROUTE TO ANY TAIL PROBABILITY.
Poisson and exponential together
IF EVENTS ARRIVE AS A POISSON PROCESS AT RATE lambda PER UNIT TIME, THE WAITING TIME BETWEEN CONSECUTIVE EVENTS IS EXPONENTIAL WITH THE SAME lambda.
THE SAME PARAMETER SERVES AS A COUNT PARAMETER AND A RATE PARAMETER, AND RECOGNISING THAT THEY DESCRIBE ONE PROCESS SAVES THE WHOLE MODELLING STEP.
The normal distribution
STANDARDISE BY Z = (X MINUS mu) DIVIDED BY sigma. ABOUT 68 PER CENT LIES WITHIN ONE STANDARD DEVIATION, 95 WITHIN TWO AND 99.7 WITHIN THREE.
A SUM OF INDEPENDENT NORMALS IS AGAIN NORMAL, WITH MEANS AND VARIANCES ADDING, WHICH NO OTHER DISTRIBUTION IN THE SYLLABUS SHARES IN THAT FORM.
Central limit theorem
THE SUM OF A LARGE NUMBER OF INDEPENDENT VARIABLES WITH FINITE VARIANCE IS APPROXIMATELY NORMAL, WHATEVER THE INDIVIDUAL VARIABLES LOOK LIKE.
THIS IS WHY THE AVERAGE OF MANY COIN TOSSES CAN BE TREATED AS NORMAL, AND WHAT MAKES THE STANDARD-DEVIATION PERCENTAGES USABLE IN PRACTICE.
Mean, median and mode
THE MEDIAN IS ROBUST TO OUTLIERS AND THE MEAN IS NOT. FOR RIGHT SKEW, MEAN EXCEEDS MEDIAN EXCEEDS MODE, AND THE ORDERING REVERSES FOR LEFT SKEW.
ALL THREE COINCIDE FOR A SYMMETRIC UNIMODAL DISTRIBUTION, WHICH IS WHY A QUESTION SUPPLYING ONE EXTREME VALUE IS ASKING WHICH MEASURE MOVES.
Population versus sample variance
POPULATION VARIANCE DIVIDES BY n; SAMPLE VARIANCE DIVIDES BY n MINUS 1.
THE CORRECTION EXISTS BECAUSE USING THE SAMPLE MEAN RATHER THAN THE TRUE MEAN SYSTEMATICALLY UNDERESTIMATES SPREAD.
Linear transformation of data
ADDING A CONSTANT SHIFTS THE MEAN AND LEAVES THE STANDARD DEVIATION UNCHANGED. MULTIPLYING SCALES THE MEAN AND SCALES THE STANDARD DEVIATION, SO IT SQUARES THE VARIANCE.
QUARTILES SPLIT SORTED DATA INTO FOUR PARTS AND THE INTERQUARTILE RANGE IGNORES THE TAILS, WHICH IS WHY IT ACCOMPANIES THE MEDIAN WHEN OUTLIERS MATTER.
⚠️

Traps GATE sets — and how to dodge them

These are the exact option-traps and misreads that cost marks under negative marking.

WATCH OUT
Treating mutually exclusive events as independent
They are almost opposites. If A and B are mutually exclusive with non-zero probabilities, knowing A occurred tells you B did not, so they are maximally dependent rather than independent.
WATCH OUT
Assuming pairwise independence implies mutual independence
Three events can be independent in every pair while the triple intersection fails to factorise. Mutual independence requires the product rule to hold for every subset, not just every pair.
WATCH OUT
Ignoring the base rate in a Bayes question
A 99 per cent accurate test on a 1 per cent prevalence produces far more false positives than true ones, because the healthy group is 99 times larger. Tabulate counts on a convenient population and read the answer off.
WATCH OUT
Computing at-least-one probabilities directly
Compute the complement. 'None' is a single case while 'at least one' is a union of many, and subtracting from 1 avoids both the enumeration and the inclusion-exclusion corrections.
WATCH OUT
Requiring independence to add expectations
Linearity of expectation holds unconditionally. This is what makes the indicator-variable technique work on problems where the individual events are heavily dependent.
WATCH OUT
Assuming E of g of X equals g of E of X
They agree only for linear g. In particular E of X squared exceeds the square of E of X by exactly the variance, which is why the computational variance formula works at all.
WATCH OUT
Adding variances without checking independence
Variance adds only for independent variables; otherwise twice the covariance appears. Expectation has no such condition, and confusing the two rules is the commonest error in this topic.
WATCH OUT
Subtracting variances for a difference of variables
Var(X - Y) equals Var(X) + Var(Y) for independent variables, because the coefficient minus one is squared. Variance is never reduced by subtracting an independent quantity.
WATCH OUT
Forgetting that a constant has zero variance
Var(aX + b) is a squared times Var(X); the additive constant contributes nothing because shifting a distribution does not change its spread.
WATCH OUT
Concluding independence from zero covariance
Independence implies zero covariance, not the reverse. A variable and its square on a symmetric range have zero covariance and are obviously dependent.
WATCH OUT
Using the binomial for sampling without replacement
The binomial needs independent trials with constant success probability. Drawing without replacement changes the probability at each draw, and the correct model is hypergeometric.
WATCH OUT
Assuming past failures shorten the remaining wait
The geometric and exponential distributions are memoryless. After five failures the expected additional number of trials is still 1/p, exactly as it was at the start.
WATCH OUT
Modelling inter-arrival times with a Poisson distribution
Poisson counts events per interval; the time between events is exponential with the same rate. Using the wrong one of the pair gives an answer with the wrong units.
WATCH OUT
Applying discrete strictness rules to a continuous variable
For a continuous variable, P(X equals a) is zero, so strict and non-strict inequalities give identical probabilities. For a discrete variable they differ by the mass at the endpoint.
WATCH OUT
Dividing by n when the question asks for sample variance
Sample variance divides by n minus 1. The correction compensates for using the sample mean, which sits closer to the data than the true mean does and therefore understates spread.
WATCH OUT
Expecting Chebyshev's bound to be tight
It holds for every distribution, which is exactly why it is loose. For a normal distribution the true tail beyond two standard deviations is about 5 per cent while Chebyshev only promises at most 25.

Exam-pattern practice

PYQ-style questions with full solutions. Work through them as a readiness check — mark yourself honestly and get your gap report at the end.

Readiness check

Are you exam-ready for Probability and Statistics?

9 problems from this chapter. Try each one, reveal the worked solution, mark yourself honestly — get your gap report at the end.

9 questions~6 min worth ~100 marks in GATE exams

5-minute revision

The whole chapter, distilled. Read this the night before the exam.

  • Name the sample space before computing anything.
  • Conditioning shrinks the sample space.
  • The addition rule subtracts the intersection.
  • Mutually exclusive is the special case, not the rule.
  • For at-least-one, use the complement.
  • Independence means P(A and B) equals P(A)P(B).
  • Mutually exclusive events are strongly dependent.
  • Pairwise independence does not give mutual independence.
  • Bayes reverses the direction of conditioning.
  • Expand the denominator by total probability.
  • Solve base-rate questions in counts, not probabilities.
  • A positive test is often unreliable at low prevalence.
  • Continuous variables have zero probability at a point.
  • Linearity of expectation needs no independence.
  • Decompose into indicator variables.
  • E of g of X is not g of E of X for non-linear g.
  • Var(X) equals E of X squared minus the square of E of X.
  • Additive constants have zero variance.
  • Multipliers are squared in variance.
  • Variance adds only for independent variables.
  • Var(X - Y) still adds the variances.
  • Covariance is E[XY] minus E[X]E[Y].
  • Zero covariance does not imply independence.
  • Chebyshev bounds tails by 1 over k squared.
  • Markov needs only non-negativity and a mean.
  • Binomial mean is np and variance np(1-p).
  • Poisson mean equals its variance.
  • Geometric mean is 1 over p.
  • Poisson is the binomial limit for rare events.
  • Sampling without replacement is hypergeometric.
  • Geometric and exponential are memoryless.
  • Uniform mean is the midpoint; variance is range squared over 12.
  • Exponential mean is 1 over lambda.
  • Exponential tail is e to the minus lambda t.
  • Poisson counts; exponential measures the gap.
  • Standardise with Z equals X minus mu over sigma.
  • 68, 95 and 99.7 per cent within one, two and three sigma.
  • Sums of independent normals are normal.
  • The central limit theorem makes averages normal.
  • The median resists outliers; the mean does not.
  • Right skew puts the mean above the median.
  • Sample variance divides by n minus 1.
  • Adding a constant leaves the standard deviation unchanged.

GATE question blueprint

How this topic is asked, tier by tier — so you can prep to the pattern.

Typical weightage: Engineering Mathematics is 13 of the 100 marks in the GATE CS paper; Probability typically contributes 3-4 of those marks across 2-3 questions, very often as NATs

Question styleMarks eachTypical countWhat it tests
Conditional probability1~1Restricting the sample space and distinguishing independence from exclusivity
Bayes' theorem2~1Reversing conditioning and handling base rates
Expectation1~1Weighted averages and functions of a random variable
Linearity of expectation2~1Indicator decomposition of a dependent quantity
Variance2~1The second-moment formula, scaling behaviour and when variances add
Discrete distributions1~1Identifying binomial, Poisson and geometric and their means and variances
Continuous distributions2~1Exponential tails, memorylessness and the Poisson-exponential pairing
Chebyshev and Markov2~1Bounding tails when no distribution is specified
Independence2~1Pairwise versus mutual independence and covariance counterexamples

Exam-hall strategy

Battle-tested tips from mentors and toppers for this topic under the sectional clock.

  1. Write down the sample space before any arithmetic.
  2. Convert every at-least-one question into its complement.
  3. Solve base-rate questions by tabulating counts on a convenient population.
  4. Reach for linearity of expectation whenever the events look dependent.
  5. Check for the independence assumption before adding variances.
  6. Identify a distribution by what is counted or measured, not by the wording.
  7. If a stem gives a mean and variance that are equal, suspect Poisson.
  8. Probability is heavily set as NAT, which carries no negative marking, so attempt every one.
  9. For 1-mark and 2-mark MCQs, negative marking is -1/3 and -2/3, so guess only after eliminating an option.

Beyond the exam

Where this skill shows up in the job you're competing for — and in life.

Analysing hash table collisions

The expected number of collisions is an indicator-variable sum, and it is computed by linearity of expectation despite the events being dependent.

Modelling request arrivals at a server

Poisson arrivals with exponential inter-arrival times are the standard model behind queueing formulas, and memorylessness is what keeps them solvable.

Interpreting a monitoring alert

The base-rate reasoning behind medical tests applies unchanged to alerts: a detector with a low false-positive rate still fires mostly falsely when the event it detects is rare.

Reporting latency percentiles rather than averages

The median and interquartile range resist a few very slow requests in a way the mean does not, which is why tail-aware metrics are reported alongside averages.

Where else this topic is tested

Prepare once, score in every exam that asks it.

GATE DAVery high overlap and greater depth — probability and statistics form a much larger share of that paper, adding estimation, hypothesis testing and regression
UGC NET Computer ScienceModerate overlap — conditional probability, Bayes and the standard distributions appear, examined mostly as direct recall
ISRO / BARC / DRDO computer science papersHigh overlap — expectation, variance and the standard distributions are examined in the same short MCQ form

Questions aspirants ask

Pulled from the Q&A community and mentor sessions.

Because it holds with no independence assumption whatever, which means it applies to problems where computing the actual distribution would be hopeless. The technique is always the same: write the quantity of interest as a sum of indicator variables, each of which is 1 when some simple event occurs and 0 otherwise, then add their individual probabilities. The classic demonstration is the envelope problem. Place n letters randomly into n addressed envelopes and ask for the expected number that land correctly. The events are strongly dependent, since placing one letter correctly changes the probabilities for all the others, and the distribution of the number of fixed points is genuinely complicated. But each letter individually has probability 1 over n of landing in its own envelope, and summing n such terms gives exactly 1, regardless of n. Whether there are five letters or five million, one correct placement is expected. The same technique gives the expected number of collisions in a hash table, the expected number of comparisons in an average-case analysis, and the expected number of records in a database satisfying a condition. The discipline is to resist computing the distribution first. Ask what the quantity counts, define one indicator per thing counted, and add.

Because accuracy is a statement about the test and the answer depends on the population it is applied to. Consider a disease affecting 1 in 1000 and a test that correctly identifies 99 per cent of cases and produces false positives in 1 per cent of healthy people. In a population of 100,000, roughly 100 people have the disease and about 99 of them test positive. The other 99,900 people are healthy, and 1 per cent of them, about 999, test positive falsely. So there are about 1098 positives, of which only 99 are genuine, giving a positive predictive value of around 9 per cent. Nothing is wrong with the test; the healthy group is simply 999 times larger, so even a small error rate applied to it swamps the true cases. This is why screening decisions depend on prevalence and why a positive screening result is normally confirmed by a second, more specific test. For exam purposes, two habits make these questions fast and reliable. Work in counts on a convenient population size rather than manipulating probabilities, which removes almost every arithmetic slip. And sanity-check the answer against the base rate: if the prevalence is much smaller than the false-positive rate, the answer must come out low, and an answer near the test's accuracy figure indicates the base rate was dropped.

Because the coefficient is squared, and squaring destroys the sign. Writing X minus Y as X plus negative-one times Y, the variance rule for a linear combination gives Var(X) plus the square of minus one times Var(Y), which is Var(X) plus Var(Y). Intuitively, subtracting an independent random quantity adds uncertainty just as adding one does: you now have two sources of randomness rather than one, and they cannot cancel because neither knows anything about the other. The contrast with expectation is what makes this examinable. Expectation is linear in the ordinary sense, so E of X minus Y really is E[X] minus E[Y], with the sign preserved. Variance is quadratic, so signs vanish and constants disappear entirely: Var(aX + b) equals a squared times Var(X), with no contribution from b at all. Shifting a distribution moves its centre without changing its spread, while scaling it stretches the spread by the same factor and therefore the variance by the square. The independence condition is the other half of the story. Without it, Var(X plus Y) picks up a term of twice the covariance, and Var(X minus Y) picks up minus twice the covariance, so for positively correlated variables the difference genuinely does have smaller variance than the sum. That case appears whenever a question deliberately omits the word independent.

Ask what is being counted or measured, not what words the stem uses. If the answer is the number of successes in a fixed number of independent trials with a constant success probability, it is binomial. If it is the number of events occurring in a fixed interval of time or space, with events arriving independently at a steady average rate, it is Poisson. If it is the number of trials needed until the first success, it is geometric. If it is the time until the next event in such a stream, it is exponential. If every value in a range is equally likely, it is uniform. Three discriminations catch most errors. Binomial requires a fixed number of trials known in advance; if the number of trials is what is being asked about, the distribution is geometric instead. Binomial also requires constant probability, so drawing without replacement makes it hypergeometric, not binomial. And Poisson and exponential describe the same process from two angles: the count per interval is Poisson with parameter lambda and the gap between events is exponential with the same lambda, so a question giving arrivals per second and asking about the time to the next arrival is switching between the pair deliberately. A useful cross-check is that the Poisson is the only distribution in the syllabus whose mean equals its variance, so a stem supplying both numbers and making them equal is naming the distribution without saying so.

It means that the remaining wait has the same distribution regardless of how long you have already waited. Formally, the probability that X exceeds s plus t, given that it already exceeds s, equals the plain probability that X exceeds t. Concretely, a component with exponentially distributed lifetime that has already run for 500 hours is statistically identical to a brand new one: it has not aged, and the expected remaining life is still the full mean. The same holds for a geometric wait: after five failed tosses, the expected number of further tosses to the first head is still 1 over p, not less. The reason so few distributions have this property is that it is a strong functional constraint. Requiring the tail probability to satisfy that identity for all s and t forces the tail to be exponential in form, and among discrete distributions it forces a constant per-trial success probability, which is exactly the geometric. Everything else in the syllabus fails it. A uniform lifetime, for instance, becomes more likely to end soon as time passes, and a component with a wear-out failure mode is progressively worse than new. The property is what makes queueing analysis tractable, because the state of a system needs only the current queue length rather than the full history of how long each job has been in service.
Header Logo