IAE Academy

Random variables formulas

Random variables, expectation and variance, including conditional expectation. 26 formulas for GATE DA Probability and Statistics, each with when to use it. Each is explained in the topic notes.

All 26 Random variables formulas

PMF CONDITIONS (DISCRETE)

Use the second condition to find an unknown constant in a given PMF.

PDF CONDITIONS (CONTINUOUS)

A density can exceed 1 at a point; only its integral is a probability.

CDF

The CDF is non-decreasing, right-continuous, with limits 0 at and 1 at . For any random variable, .

RECOVERING PMF AND PDF FROM THE CDF

For a continuous variable differentiate the CDF where it is differentiable; for a discrete variable the PMF is the size of the jump at .

EXPECTATION

Defined when the sum or integral converges absolutely.

EXPECTATION OF A FUNCTION (LOTUS)

No need to find the distribution of . In general ; they are equal when is linear, .

LINEARITY OF EXPECTATION

True whenever the expectations exist, with or without independence.

VARIANCE

Standard deviation . Since , , and only when is constant with probability 1. Convention: here is the population (distribution) variance. For a list of data values, the population variance divides by and the sample variance divides by .

VARIANCE UNDER A LINEAR CHANGE

A shift does not change the variance; a scale multiplies it by (the sign of is lost).

INDICATOR VARIABLES

To find the expected number of events that occur, write the count as ; by linearity its mean is , with no independence needed.

MARGINALS

Sum (or integrate) out the other variable over its whole range. Mind the limits when the support is not a rectangle.

INDEPENDENCE

For a PMF the product rule must hold at every pair , so one failing pair shows dependence. For a PDF it must hold everywhere apart from sets of zero probability. If the set where the joint PMF or PDF is positive is not a product set (for example the triangle ), then and are dependent.

COVARIANCE

; .

CORRELATION COEFFICIENT

Defined when both variances are positive. exactly when with probability 1 for some constants and ; then if and if .

VARIANCE OF A SUM

For uncorrelated (in particular independent) variables the covariance term vanishes, so . Note the plus sign, even for the difference.

VARIANCE OF A SUM OF N VARIABLES

For independent identically distributed with variance , the sample mean has .

PRODUCT OF INDEPENDENT VARIABLES

The converse is false: zero covariance (uncorrelated) does not imply independence.

CONDITIONAL PMF AND PDF

Requires (or ). If are independent the conditional equals the marginal.

CONDITIONAL EXPECTATION

For each fixed this is a number; is the random variable obtained by replacing with .

CONDITIONAL VARIANCE

Also a random variable, a function of .

LAW OF TOTAL EXPECTATION

Replace the sum by an integral against when is continuous. For events that partition the sample space, .

LAW OF TOTAL VARIANCE

Average within-group variance plus variance of the group means.

USEFUL PROPERTIES

Once is given, any function of behaves like a constant. The last property does not work in reverse: does not imply independence.

RANDOM SUM

Here are independent and identically distributed with mean and variance , and is a non-negative integer random variable independent of the . It follows from the two total laws with and .

MARKOV'S INEQUALITY

For and . Needs only the mean.

CHEBYSHEV'S INEQUALITY

Holds for any distribution with mean and finite variance ; . Complementary form: .

Where this was asked: 2024 (2), 2025 (4), 2026 (2). See the 8 previous-year questions on Random variables. This shows what was asked, not what will be asked.