Learning goals and finite models
Specify a finite sample space, compute conditional probabilities, distinguish disjointness from independence, and derive mean and variance for Bernoulli sums. A sample space contains all modeled outcomes. Assign nonnegative weights summing to one and define . Only when all weights are equal does .
A sample space lists possible outcomes of a modeled experiment. An event is a subset. A probability assignment satisfies , , and additivity for disjoint events; in a general probability model this extends to countable disjoint unions. For a finite sample space it is enough to assign nonnegative probabilities to outcomes summing to one and add them over events.
Consequently and
To derive the second identity, split into disjoint pieces , , and , then count the overlap only once.
Uniform counting, , is valid only if the finite elementary outcomes are equally likely. A short list of named categories does not make them equally likely.
The multiplication principle counts sequential choices: if stage one has options and each has stage-two options, there are ordered choices. Selecting distinct objects in order from gives . Ignoring order divides by , because each selected -element subset has exactly orderings. Hence
For , define . It renormalizes the possible outcomes after restricting to event . It follows that .
Events are independent when . When , this is equivalent to . Disjoint events with positive probabilities are not independent: their intersection is empty while the product of their probabilities is positive.
If partition the sample space with positive probabilities, then
This is the law of total probability, obtained by adding the disjoint pieces . If , Bayes' formula is
Random variables and expectation
A random variable assigns a real number to each outcome. In this finite model, its distribution is and
The two expressions for the expectation agree by grouping outcomes with the same value. For real constants , distributing the finite outcome sum gives
Thus linearity needs no independence. With and , expanding the square gives
Define the joint distribution by , where the comma means intersection of the two events. Its marginal sums are and , because the corresponding events form disjoint partitions. The variables are independent precisely when for every pair of values. Under this condition,
Define the covariance by . Expanding the square and using linearity proves
For two random variables with finite second moments, independence is sufficient for variance additivity; more generally, their variances add exactly when their covariance is zero. Expanding the variance of a sum produces a cross term , which vanishes for independent variables. Identical marginal distributions alone do not remove that term. All sums used in the proof here are finite, so their rearrangement requires no convergence assumption.
A Bernoulli variable equals one with probability and zero with probability . Thus . Since , .
Let be a nonnegative integer and let be Bernoulli variables with the same success probability . For , mutual independence means that for every ,
This is joint independence, not merely independence of every pair. Set . If and , an ordered outcome with successes has probability . There are distinct choices of its success positions, and those events are disjoint. Therefore
The endpoint cases are stated separately, without evaluating : when , ; when , ; all other values have probability zero. If , the empty sum is with probability one, for every . These are all included in the binomial family.
For and , the displayed probabilities sum to by the binomial theorem; each degenerate case also has total probability one. Linearity gives . Mutual independence implies pairwise independence by summing the joint factorization over the other coordinates, each of whose marginal probabilities sums to one. Hence for . Expanding the squared centered sum now gives
The expectation and variance formulas also hold in the endpoint and empty-sum cases, where is constant. Sampling without replacement generally does not satisfy the mutual-independence assumption.
If are independent, their joint probabilities factor, giving and .
Worked examples
Reverse conditioning. A factory obtains 30% of parts from source A and 70% from B. Defect probabilities are respectively 4% and 1%. The modeled defect probability is . Given a defect, the probability of source A is , not . Conditioning reverses the direction of information and must account for source frequencies.
Without replacement. Draw two balls from a bag containing three red and two blue balls, without replacement. The probability both are red is . The second conditional probability is , not , so the two draws are not independent.
Graded practice
- Foundation. A fair die is rolled. Let mean even and mean greater than four. Find .
- Core. For two fair independent coin tosses, are the events “first is heads” and “exactly one head” independent? Justify by probabilities.
- Core. For five independent trials with success probability , compute , and .
- Proof. Prove that in a finite model if and only if at every outcome of positive probability.
Full solutions
- , and , since only outcome six lies in both. Thus the union probability is .
- On the four equally likely pairs, both events have probability and their intersection is the single outcome HT, with probability . This equals the product, so they are independent. Their verbal relationship alone does not settle independence.
- . The expectation is and variance is .
- Variance is the sum of nonnegative terms . It is zero exactly when every summand is zero. For , this is equivalent to ; zero-probability outcomes contribute nothing. Conversely, that condition makes every summand zero.
Summary and term definitions
An event is a set of outcomes; a conditional probability renormalizes within a positive-probability event. Independence is a factorization property, not mutual exclusion. Expectation is a probability-weighted mean; variance is the mean squared deviation. State the random experiment, equal-likelihood assumptions and replacement policy before counting. Conditional probabilities with zero-probability conditioning events are not defined by the finite ratio formula.