Past exam of the physics A course of the University of Cambridge 2022 Paper 1 Section A 4 Solution 2026-10-18
Let denote an incident muon and a detector signal. The selected sample is conditioned on . The law of total probability givesBy Bayes' theorem, the contamination, namely the conditional probability that a selected particle is not a muon, isFor example, per incident particles the expected selected counts are true muons and other particles. The denominator is the selected particles; the rejected muons are outside this sample.
Define . Given , the direct-return branch has probability , while the fallback branch distributes its remaining mass uniformly over . The law of total probability therefore gives, for integer ,The summation includes : a failed direct-return test can still return through the discrete uniform distribution draw. There is no rejection loop and no additional normalization. Summing the displayed probability mass function over gives . At , for example, at every ; it does not become one. This is an instance of the accept-or-fallback mixture identity.
Fix a proposal with , and abbreviate , and . The envelope says . Assuming fresh independent uniform distribution draws at both stages, the law of total probability givesThe second term includes both reaching the residual test and passing it. If , the envelope forces and the first test accepts with probability one; the second-stage ratio is never evaluated. This is squeeze rejection sampling.
Let be the indicator random variable that coin shows a head. Each expectation is , so linearity of expectation gives the expected number of heads:For the game, write for the probability that eventually holds all coins when starting with . The states are absorbing, so and . Conditioning on the first toss and using the law of total probability givesThus : successive differences are constant, and . The boundary values give , , hence the gambler's ruin answer isFor completeness, the game terminates with probability one. From any nonabsorbing state, a run of consecutive heads would reach within the next tosses, and that run has probability . Conditional on survival, the same bound applies to the next block. Therefore the probability of surviving tosses is at most , which tends to zero.
The partition theorem is the law of total probability. If form a finite or countable partition of a sample space into pairwise disjoint events with positive probabilities, then for any event ,Indeed, is the disjoint union of the events , so countable additivity gives the formula after applying the definition of conditional probability. Zero-probability members can be omitted.
Let be the number of heads in the initial allocation tosses. Then has the binomial distribution with parameters and . Given , the winning probability is , including the already finished games . The law of total probability and linearity of expectation giveThus, for ,
The events and are disjoint and their union is . Additivity of probability givesBoth conditioning events have positive probability because . Apply the definition of conditional probability to each term to obtain the law of total probability:
Let mean the added ball was red, and mean the first draw was red. Their relevant probabilities are , , and . The law of total probability gives .
Given the observed red draw, the remaining ball is red precisely when occurred. Bayes' theorem therefore givesThe observation increases the weight of the two-red-ball box, because that box is more likely to yield a red first draw.
Let be a finite or countable partition of a sample space into events of positive probability. The events are disjoint and their union is . Countable additivity and the definition of conditional probability therefore give the law of total probabilityCells of zero probability contribute zero through and can be omitted rather than assigning an undefined conditional probability.
Each position is equally likely to receive any coin, so the law of total probability gives . For two specified positions, the ordered pair of distinct coin biases is uniform over six possibilities. Assuming independent tosses conditional on the order,Thus the events are not independent, even pairwise. The covariance of draws without replacement explains the difference: the head indicator random variables have covariance . Independent physical tosses given the assigned coins do not imply independence after that hidden assignment is averaged out.
Since the form a partition of a set of the sample space, the events are pairwise disjoint and their set union is . By countable additivity of probability, followed by the definition of conditional probability,Every ratio is legitimate because each . This proves the countable law of total probability.
Put . By the law of total probability,For , termwise differentiation of the geometric series, valid inside its radius of convergence, givesTaking therefore yieldsSince , this is the zero-based geometric distribution with parameterThis illustrates Bernoulli thinning of a geometric count. Here , as .
For the reverse conditional distribution, Bayes' theorem gives, for ,ThusFor the conditional probability is zero. The conditional distribution of is the failure-count form of a negative binomial distribution, with successes and success parameter : the geometric-binomial posterior is shifted negative binomial.
The conditional expectation given an event of positive probability isApply the law of total probability to each event :This is the law of total expectation. Interchanging the sums is justified by nonnegative terms, for example by Tonelli theorem, so it remains valid when the expectation is infinite.
Because the partition the sample space, the events are disjoint and their union is . Finite additivity and the definition of conditional probability give the law of total probabilityThe assumption ensures that each conditional probability is defined.
For a finite or countable measurable partition, the law of total probability isIndeed, is the disjoint union of , and the conditional probability formula gives each positive-probability term. Zero-probability cells contribute zero; their conditionals need not be defined by a ratio. If all cells have positive probability, the sum simply runs over every .
Let . By the law of total probability,There is no return contribution from the absorbing state . Since can be entered only from , for . Substitution yieldsNo independence between successive positions is assumed; the conditional transitions give the recurrence.
The two outcomes are not independent. Conditional on the selected die, the rolls are independent, but sharing the unknown die creates statistical dependence. Each nonfavored face has probability .
The unconditional marginal distribution assigns the following probability to a on either roll:However, by the law of total probability,Thus the joint probability does not factor into the two marginals. Conditional independence given a shared latent choice does not imply unconditional independence.
This is a Galton-Watson process with offspring count with probability and with probability . The descendants of distinct initial individuals evolve independently, sofor every finite initial size . Conditioning on the first individual's outcome and applying the law of total probability givesThe equation factors asIts roots are and . Since , the second root exceeds one and cannot be a probability. Therefore and for every finite initial size. The population reaches the absorbing state zero almost surely; no choice between two admissible fixed-point probabilities remains in this subcritical case.
Every position in the random permutation has the same marginal colour probability, so . One can verify this with the law of total probability, conditioning on the first card:Here because both colour counts are positive.
Condition on the fair coin choosing the initial chamber. The law of total probability gives . With , substituting the biased gambler's ruin probability givesBoth numerator and denominator in the first case have the same sign. Its limit as is the fair-walk value, since the ratio of their first derivatives is . The averaging is over initial locations, not over the transition probabilities.