PhysicsScore

Elementary probability, random variables

  • CSIR NET
  • UP Assistant Professor

4 minute read · Updated 2026-11-15

Picking up from

In Singularities, poles, residue theorem, evaluation of integrals, we saw that complex integration requires a domain and an integrand with controlled behavior. How do normalized weights describe uncertain outcomes instead of field responses?

In one line

Probability quantifies uncertainty, and a random variable assigns a numerical result to each possible outcome.

The idea, explained

An outcome is one possible result of an experiment, and an event is a collection of outcomes. A probability assigns consistent nonnegative weights to events with total weight one. A random variable maps outcomes to numbers, allowing averages and fluctuations to be calculated. For discrete values, use probability masses; for a continuous variable, integrate a probability density. The density itself can exceed one because only its integral is a probability. Conditional probability updates the relevant sample space when additional information is supplied.

The sample space is the collection of all possible outcomes. An event selects part of that collection, whereas a random variable labels each outcome numerically. This distinction explains why two different outcomes can give the same measured value. A continuous probability density describes probability per unit of the variable, so its units are the inverse of that variable’s units. A single point then has zero probability for an ordinary continuous density, even where the density is nonzero. Probabilities of finite ranges come from areas under the density, not its plotted height.

Core ideas

  • Mutually exclusive events cannot occur together, while independent events do not change one another’s probabilities.
  • Conditional probabilities require a nonzero probability for the conditioning event.
  • Normalize a mass function by summation and a density by integration over its support.
  • The expectation is a probability-weighted average, not necessarily a possible individual result.
  • Variance measures squared spread around the mean and cannot be negative.
  • For independent events, the probability of their intersection is the product of their probabilities. For mutually exclusive events with nonzero probabilities, that intersection is empty, so they cannot also be independent.
  • The expectation of a sum is the sum of expectations even without independence. Adding variances requires independent variables or, more generally, accounting for their correlations.

Key formulas

Conditional probability

P(A∣B)=P(A∩B)P(B),P(B)>0P(A\mid B)=\frac{P(A\cap B)}{P(B)},\qquad P(B)>0

A and B are events; conditional probability restricts attention to outcomes in B.

Expectation and variance from moments

E[X]=∑xxP(X=x),Var⁡(X)=E[X2]−E[X]2\mathbb E[X]=\sum_x xP(X=x),\qquad \operatorname{Var}(X)=\mathbb E[X^2]-\mathbb E[X]^2

X is a discrete random variable; replace the sum by a density integral for continuous X.

Specify the support, meaning the values the variable can take, before normalizing. Calculate the first and second moments with the same mass function or density, then subtract the squared mean to obtain variance. A negative result signals an arithmetic or normalization error. In a conditional problem, normalize within the stated condition rather than the original sample space.

Quick worked example

A fair die gives X=1,…,6X=1,\ldots,6, each with probability 1/61/6. The mean is E[X]=21/6=3.5\mathbb E[X]=21/6=3.5. This average is meaningful even though a single throw can never produce 3.53.5.

Where this leads

Continue to Binomial, Poisson and normal distributions, because standard distributions package recurring probability models with known means and spreads.

Related: Dimensional analysis — consistent dimensions before field calculations.

Related: Dynamical variables, operators, expectation values, completeness — Born probabilities feed the same moment and variance definitions used in statistics.

Related: Precision and accuracy, error analysis, propagation of errors — variance and covariance quantify the propagation of measurement fluctuations.

Practice this topic

Practice this topic

33 questions in Assistant Professor · Physics · Physics. Sign in and practice access may be required.

Other exam sections