Past exam of the mathematics course of the University of Cambridge 2002 ia Paper 2 9F d Solution Created 2026-09-24 Updated 2026-10-14
The 36 ordered outcomes are equiprobable. For , let count outcomes with sum . Then and for . Their joint probability is if , and zero otherwise.
If the joint probability is zero, independence is impossible in these ranges because both marginal probabilities are positive. If it is , the independent events condition requires , or . This happens only for , and then all six values of allow the partner . Therefore within the possible sums and facesIf arbitrary integer labels outside these ranges are included, an impossible sum or face defines an empty event, which is trivially independent of every event.
Past exam of the mathematics course of the University of Cambridge 2002 ib Paper 4 14H Solution Created 2026-09-24 Updated 2026-10-14
First take , the hypothesis required for the printed ratios and their optimization formula to be well-defined. Since ,The maximizing and minimizing problems therefore have exactly the same solutions.
Let and minimize the separable optimization LagrangianEach summand is convex, and its derivative is . Its minimizer is . The sum of these coordinates is continuous in , decreases from infinity to zero, and is strictly decreasing wherever positive. Thus there is a unique for which the sum is . For every feasible , coordinatewise minimization gives ; both constraint terms vanish. The Lagrangian sufficiency theorem proves global optimality, not just a necessary stationary condition.
Put in decreasing order. A positive bet occurs exactly when . Hence the positive bets form an initial block. To interpret the maximal index in the question, one may include any subsequent indices tied at : their bets are zero but their marginal-return equality still holds. Take . ThenFor this block, , with the threshold inequalities determining . Zero-probability horses receive zero bets.
Let be the set attaining , and write , . For sufficiently small , the solution uses only , with there and . If the next ratio is , this remains valid when ; if all outside ratios are zero there is no finite threshold. Put . The fixed pool is , so the expected gross payout and net gain areTied best horses receive bets proportional to their existing stakes; betting all on one tied horse is not generally optimal for finite . This is pari-mutuel expected-return allocation.
The literal allowance needs qualification. At the printed objective contains and the ordered ratios are undefined. Even defining an unbacked horse's payout to be zero does not always yield an attained optimum. For example, take , , , . For , the normalized expected payout is , tending to as but never attaining it; at that zero-payout convention gives . Thus the proved allocation formula requires positive existing stakes, or an explicitly modified market model. The zero-stake case cannot be justified by silently dividing by zero.
Past exam of the mathematics course of the University of Cambridge 2002 ib Paper 4 3H Solution Created 2026-09-24 Updated 2026-10-14
Let be the number of failures in mix . The total observed failures are among blocks. Equal marginal failure probabilities give , regardless of dependence within a mix. Thus the unbiased estimator based on grouped Bernoulli failure counts isFor a conventional binomial confidence interval, additionally assume independent block outcomes. Then the total has binomial distribution and the estimated standard error is . The normal approximation gives the approximate 95 percent intervalOne can instead obtain an exact, generally conservative binomial interval by solving and for the two endpoints. These equations invert binomial tail tests.
Equal marginal probabilities alone do not imply independent blocks. If the mixes are independent but blocks within a mix can be dependent, use the sample variance of the 100 counts. Here and , so . The estimated variance of is ; its standard error is , giving the large-sample interval approximately . If even between-mix independence is absent, no stated model justifies either numerical coverage claim. The estimate remains unbiased, but the uncertainty calculation needs its sampling assumptions.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 11 2 Solution Created 2026-10-03 Updated 2026-10-14
Let be a finite undirected -regular graph on vertices, with adjacency matrix and normalized random walk matrix . Define edge expansion and normalized conductance byAn expander family has orders tending to infinity, uniformly bounded maximum degree, and a uniform positive lower bound on . For a regular graph the constant vector is an eigenvector of with eigenvalue one. Write its eigenvalues as , and let . This spectral gap measures the energetic cost of departing from a constant function.
For every mean-zero vector , the spectral theorem and the graph's energy identity giveApply this to . Its norm squared is and its energy is . ThereforeThus a uniform spectral gap gives uniform edge expansion when is fixed. This also bounds exterior vertex expansion: each exterior vertex accounts for at most boundary edges, so .
For the converse, take a mean-zero eigenvector for and choose its sign so that its positive support has at most vertices. Put , which is nonzero. Truncation decreases energy in the following precise sense: for any two real numbers ,Summing over edges yields . For the threshold sets , every nonempty set lies in that small positive support. Integrating its boundary count gives the layer-cake identityThe Cauchy-Schwarz inequality bounds the left side bybecause the first sum is at most and the second at most . Cancelling proves the Cheeger inequality in both directions:Hence bounded-degree regular families have uniform edge expansion exactly when their second-largest normalized eigenvalue stays uniformly below one.
Absolute eigenvalues give additional information. Put . Centering the indicators of and applying the operator-norm bound on the mean-zero subspace proves the expander mixing lemma:Here , so internal edges are counted as oriented incidences. A small makes edge counts resemble uniformly distributed edges. It also gives rapid random walk mixing: starting at a vertex, contracts the mean-zero component of its point mass by at most in Euclidean norm; Cauchy-Schwarz inequality then gives total variation distance at most from the uniform distribution. A bipartite graph has eigenvalue and its non-lazy walk alternates sides, even if it has good edge expansion. The lazy walk has nonconstant eigenvalues between zero and , resolving this periodicity. It is important to distinguish the gap controlling cuts from the absolute bound controlling non-lazy mixing.
Here is a fully specified deterministic construction of an infinite family. Its degree is large but fixed. SetChoose the lexicographically first ordered list satisfyingThis finite deterministic search terminates. To prove existence, choose the list uniformly and independently. For each nonzero , its signs are independent unbiased signs; the exponential-moment estimate and Markov inequality give an exceptional probability at most . A union bound gives total failure probability at mostThus at least one qualifying list exists. Fix it once and for all.
Let be the Cayley graph on whose th neighbor of is . It is an undirected -regular port-labeled graph, allowing repeated edges and loops in this intermediate construction. Its characters form an orthogonal eigenbasis, with the displayed averages as normalized eigenvalues. Therefore . Each loop counts as one transition port; degrees here mean row sums of the adjacency matrix.
We next define the zig-zag product and prove the bound used for iteration. A port labeling of a -regular undirected graph gives an involution , recording the endpoint and reverse port. If a -regular graph has vertex set , the product has vertices . For each ordered pair of small-graph ports, move from to in , follow the big edge , and move from to in . The endpoint is ; reversing the steps reverses the two small-graph port labels. The product is undirected, has vertices, and has degree .
Write and let be the permutation matrix of . The normalized product operator is . For a mean-zero unit vector, decompose into its cloud-constant part and its cloud-orthogonal part. Then , , and . The compression of to cloud-constant vectors is exactly , so . Expanding the quadratic form and applying Cauchy-Schwarz inequality givesThe operator is symmetric, so its mean-zero operator norm is bounded by this same quantity. No unproved product spectral estimate is needed.
Start with the loop-inclusive complete graph on vertices, whose normalized matrix is and whose nonconstant eigenvalues are all zero. Given a -regular , its two-step graph has degree and normalized operator . Label a two-step edge by its ordered pair of ports; reversal reverses the path and its reverse ports. These labels are the vertex set of the fixed graph . DefineIt has degree , and its number of vertices is , hence . By the proved bound,Starting from zero, induction gives , since . The cut-energy argument therefore gives multiplicity-counted edge expansion at least for every .
To obtain ordinary simple graphs, delete loops and merge parallel edges. The maximum degree is at most , and any one unordered vertex pair had multiplicity at most . Thus every cut retains at least of its multiplicity-counted boundary, givingThese simple graphs form an expander family. Every choice is deterministic: the finite base search is fixed independently of , and the recursive edge rules determine all subsequent adjacency lists. Once that base is fixed, adjacency lists can be generated successively using the previous lists, with a constant amount of work per output edge. This is squaring and zig-zag iteration yields bounded-degree expanders. The spectral argument supplies the uniform expansion guarantee and explains why squaring improves the eigenvalues while the product restores a constant degree.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 11 3 i Solution Created 2026-10-03 Updated 2026-10-14
Choose a fixed prime , and put . We first derive the polynomial step: a graph on vertices and edges, with maximum degree at most , contains a nonempty -regular subgraph. Use a Boolean variable for each edge and work over . DefineThe first product has degree at most , while the full squarefree monomial has coefficient in the second term with its minus sign. The Combinatorial Nullstellensatz, with every grid , gives a nonzero value of . Since , this is a nonempty edge selection. The second product is then zero, so the first is nonzero. Fermat's little theorem makes each selected vertex degree zero modulo . The maximum-degree bound implies that every positive selected degree is precisely . This proves the prime-regular subgraph from Boolean polynomial constraints.
We next turn density into an almost-regular bipartite subgraph, keeping the logarithmic loss explicit. Let the original graph have vertices and edges. Some bipartition retains at least edges: choose the sides independently with probability and average the number crossing. Its average degree is at least . Repeatedly delete a vertex of degree at most half the current average degree. Such a deletion cannot lower that average, sinceThe process cannot delete the last positive-density graph, because the maintained average is positive. At termination the minimum degree is an integer .
Choose the larger side of this remaining bipartite graph, with opposite side . Keep exactly edges at each vertex of ; choices at different vertices of do not conflict. Remove any now-isolated vertices of . Thus , and every vertex of has degree .
Such a half-regular graph contains a half-regular restriction with a perfect matching. Choose a minimal nonempty satisfying , which exists because the whole side satisfies this inequality. In fact equality holds: if it were strict, deleting a vertex of would retain the inequality, contradicting minimality; the singleton case has at least one neighbor. Every proper subset satisfies . Hall's marriage theorem therefore supplies a perfect matching on . All edges incident with each vertex of remain inside that restriction.
Delete this perfect matching and repeat the restriction argument. The left degrees decrease by one at each step. We obtain edge-disjoint perfect matchings on nested nonempty vertex sets, with sizesFor any with , the union of consecutive matchings in a graph has maximum degree at most and at least edges on vertices. Ifit has more than edges, so the polynomial step yields a -regular bipartite subgraph. Every regular bipartite graph decomposes into perfect matchings: for a set in one part, counting incident edges gives Hall's inequality, so a perfect matching exists; remove it and repeat. Choosing of these matchings in a graph gives a nonempty -regular subgraph. This is the nested matching criterion for a regular subgraph.
If no -regular subgraph exists, every displayed size ratio must therefore satisfy the reverse inequality. Iterating at indices gives, with ,Consequently andCombining with proves the required edge bound. For example the finite constantworks for every , and the case has no edges. ThusThe logarithm comes from how often a nested matching in a graph vertex set can shrink by a fixed factor before becoming empty; it is not supplied by the polynomial step alone.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 28 1 Solution Created 2026-10-03 Updated 2026-10-14
In bond percolation on the square lattice, every nearest-neighbour edge independently has state one, meaning open, with probability , and state zero, meaning closed, with probability . Thus the configuration law is the product measure . An open path in bond percolation uses only open edges. An increasing event satisfies : opening further edges cannot destroy the event.
The Harris-FKG inequality for two increasing events isFor disjoint occurrence of increasing events, write when disjoint sets of open edges separately witness and , so each event is forced by its own witness regardless of the other edges. The Van den Berg-Kesten inequality statesFor events given by cylinder sets these are finite-coordinate assertions. Connection events have finite open-path witnesses; truncating to finite boxes and taking increasing limits gives the same disjoint-occurrence bound for them. Sharing a vertex between the two witness paths is permitted; sharing an edge is not.
For , take a simple open path from the origin to the radius- boundary and let be its first vertex on the radius- boundary. Its initial segment witnesses . If is its final vertex, then . Consequently the remaining segment reaches , and its initial portion until that visit witnesses . The two segments use disjoint edges. HenceThe union bound, Van den Berg-Kesten inequality and translation invariance of the product measure now give the weighted BK boundary-splitting estimateFor the same bound follows directly from the union bound, with . With the conventional , gives equality.
Write for the percolation cluster of the origin. By summing its membership indicators, the percolation susceptibility isIf it is finite, then . For , choose with . Iterating the boundary-splitting estimate with this fixed givesFor , , so . To handle all smaller positive radii without an unspecified prefactor, observe that . ThereforeFor , the second chosen rate gives , and for larger the first rate applies. At both sides equal one. The endpoint has for every , so any positive rate works; is excluded by finite susceptibility. This proves exponential one-arm decay from finite susceptibility with the required unit prefactor.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 28 2 Solution Created 2026-10-03 Updated 2026-10-14
Use the contact process convention that each infected vertex recovers at rate one and sends infection arrows to each neighbour at rate . Starting from a finite set, the process stays finite and is nonexplosive: its total birth rate is at most times its current size, so a linear-rate branching process dominates the number of births. The bound involving presupposes the branching-tree case .
For a nonempty finite infected set , put , let count its internal edges, and let count edges with exactly one endpoint in . Each such boundary edge contributes infection rate , even when several lead to the same vacant vertex. Since the induced graph is a forest, , and the edge boundary of a finite forest in a regular tree givesA recovery multiplies by , while an infection multiplies it by . Therefore its infinitesimal generator isSubstituting the boundary lower bound givesAt the absorbing empty set the generator is zero, rather than this nonempty-set expression. If , the generator is nonpositive in every state. Both and its generator are bounded, since is bounded and . Applying Dynkin's formula over successive time intervals with the Markov property proves the exponential cardinality supermartingale for the contact process on a tree. In particular,If is the extinction time, , so . Choosing proves global survival whenever . Obtaining a strict improvement of the threshold requires an additional comparison.
Here is a two-vertex branching comparison for contact-process survival. Delete one edge incident to a starting vertex and retain its forward rooted subtree, so every vertex has children. Partition it into cells as follows: pair each cell root with one distinguished child ; the other children of and all children of become roots of child cells, and repeat recursively. Each cell thus has child cells.
Suppress arrows back from a child cell into its parent, allow each child cell to be activated only once, and let infection inside each two-vertex cell evolve with the usual recoveries and reinfections until both vertices are healthy. A child cell is activated at its root by the first outgoing arrow to it while the corresponding parent vertex is infected. This process is contained in the original infection process under the graphical representation of the contact process: only infection paths have been removed. The Poisson clocks inside a child cell and on its outgoing edges have not previously been used. The Strong Markov property and independence of the clocks therefore make different cells' offspring counts independent and identically distributed. Dependence among different children of the same cell does not matter. The cell genealogy is a Galton-Watson process.
Let be the probability that a cell, initially infected only at , sends an arrow along one specified outgoing edge from before internal extinction. Let be the corresponding probability for one specified outgoing edge from , and let be the probability of success for the first target when both cell vertices are initially infected. First-step conditioning on the three nonempty pair states givesFor example, from the state with only infected, recovery at rate one fails, an internal arrow at rate leads to the two-infected state, and the target arrow at rate succeeds. From the state with only infected, the target cannot be reached until is infected. Symmetry identifies this latter success probability with . Solving these equations yieldsBy linearity of expectation, the offspring mean is . At the comparison rate ,These finite-state probabilities are continuous in . Hence some still has . The branching-process extinction criterion gives positive probability of infinitely many activated cells. Nonexplosion prevents infinitely many activations in bounded time, and each activation is connected to its ancestor by an infection path. Thus infection survives for all time on that event. The global survival threshold of the contact process consequently satisfiesRetaining reinfection inside pairs is what supplies the strict improvement; a comparison that permits only one infection per vertex would give merely the non-strict bound.
For the local-survival estimate, set and . Each vertex has one neighbour of weight and neighbours of weight . Recoveries remove their vertex weights. Ignoring the restriction that an infection target must be vacant only increases the birth contribution, soThese weights have finite expectations on finite time intervals: a birth-only branching process with the same spatial arrows has expected weight at most . This justifies localization and the expectation identity for the generator. If , Dynkin's formula and the integrating-factor form of the Gronwall inequality giveFor , take , which minimizes and makes it . Starting from then givesIn particular the expected total occupation time of is finite. Its recovery clock has rate one, so the expected number of recovery marks that occur while is infected equals this occupation-time integral and is finite. Each infection episode ends almost surely at a recovery. Infection at unbounded times would therefore require infinitely many such recoveries, an event of probability zero. This height-weighted local extinction bound for the contact process provesThis is a bound for the local survival threshold of the contact process, not just a bound on single-time infection probabilities. For the degree-two tree , the same local conclusion follows by choosing sufficiently close to one for each ; the displayed expression for the global threshold is not a finite numerical assertion in that case.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 28 3 Solution Created 2026-10-03 Updated 2026-10-14
The joint law is the Edwards-Sokal coupling. For a fixed spin configuration, the sum over each edge state contributes . Since is either zero or one, setting givesConsequently the spin marginal distribution is the Potts measureThis follows from a finite sum that factorizes over edges, without any independence assumption on the spin marginal.
For a fixed edge configuration, the joint weight vanishes unless the spins agree across every open edge, equivalently unless they are constant on each open percolation cluster. Each of the clusters, including isolated vertices, may independently be assigned any of colors. Thus exactly spin configurations have nonzero weight, and their common weight is the edge-product factor divided by . The edge marginal distribution is therefore the random-cluster measureIn this convention . Dividing the joint mass by this positive marginal gives the conditional distributionEquivalently the clusters receive independent uniformly chosen colors. Conversely, conditionally on the spins, edges are independent: an unequal-spin edge must be closed, while an equal-spin edge is open with probability . These two conditional descriptions explain the Edwards-Sokal coupling directly.
If and lie in the same open cluster, their conditional spin-equality probability is one. If they lie in different clusters, their two independent uniform colors agree with probability . Averaging over the random-cluster measure yieldsand hence the spin-connectivity identity for the Potts modelThe identity also includes , when connectivity and spin equality are both certain.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 28 4 Solution Created 2026-10-03 Updated 2026-10-14
Let the common vertex degree be . For each unordered edge place an independent Poisson process of rate , and at a mark interchange the two endpoint occupations. If exactly one endpoint is occupied, this moves its particle across that edge at rate ; if both or neither are occupied, the occupied set stays unchanged. Thus each particle proposes jumps at total rate one, uniformly among its neighbours, with occupied-target proposals suppressed. This is the stated symmetric simple exclusion process. An edgeless graph has the identity dynamics and both conclusions below hold trivially.
In the stirring representation of symmetric exclusion, put a distinct label at every vertex and interchange labels at every edge mark, even when the occupations agree. There are finitely many marks on every finite time interval. Their chronological composition is a random permutation of the vertex set, and simultaneously for every initial set,Each edge swap is its own inverse. Reflecting the edge-mark times in preserves their joint Poisson process law and reverses the order of the swaps. Hence and have the same distribution. Pathwise,Taking probabilities and then using the inverse-permutation distribution proves the product self-duality of symmetric exclusion in set form:No assumption about disjointness or equal cardinality of and is required; impossible inclusions have probability zero on both sides.
For invariance, independently choose the initial occupied set under the product measure . The occupations are independent identically distributed Bernoulli distribution variables, so permuting their sites by any deterministic permutation preserves their joint law. Conditional on the independent stirring permutation , the output therefore still has law . Averaging proves the Bernoulli invariant laws of finite symmetric exclusion:There is also a direct check from the duality. For every ,because the exclusion process conserves particle number. These are exactly the joint occupation moments of ; on a finite set they determine the law by the inclusion-exclusion principle. The endpoint densities give the absorbing empty and fully occupied configurations, and the empty-set moment is one also at .
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 29 1 Solution Created 2026-10-03 Updated 2026-10-14
Normalize the riskless financial asset to , , and write for the risky asset prices. Their discounted gain random vector is . A zero-cost portfolio holding in the risky assets and in the riskless asset has terminal value . Thus an arbitrage meansAn equivalent martingale measure is a probability measure with the same null sets as , under which is integrable and . The discounted risky prices are then martingales over the single trading period.
If such exists, a nonnegative terminal gain has expectation zero under . A nonnegative random variable with zero expectation vanishes almost surely: on its expectation is at least , and the union of these events is . Equivalence transfers this conclusion to , excluding arbitrage.
For the converse we prove the needed positive-density separation proof of the one-period asset-pricing theorem. First make the gain integrable without changing its null sets. Define an equivalent probability measure byLet and let be its orthogonal complement. Taking a finite basis of shows almost surely. If , the gain is zero and already gives the required measure. Otherwise consider the positive-weight expectation conePositive combinations of weights show that is a convex cone. It is open relative to . Indeed, for any admissible weight , perturb it toThese weights remain bounded and strictly positive, whileFor every nonzero , is nonzero on an event of positive probability; otherwise . ConsequentlyThe matrix is finite because . The kernel of on is zero, so it defines an invertible matrix on the finite-dimensional vector space . For any sufficiently small , every with is the image of a vector in the radius- ball, since . Hence the perturbations give a neighborhood of zero, proving relative openness of .
If , the hyperplane separation theorem gives a nonzero with for every . The separating constant can be taken to be zero because is a cone. Put and use the strictly positive weights . Taking the limit as yields , forcing . But , so . This is an arbitrage, a contradiction. Hence : some bounded strictly positive satisfies . Normalize it by . This gives an equivalent martingale measure with integrable gains, establishing the fundamental theorem of asset pricing here without any further existence theorem.
Now retain only the positive-probability states of the finite probability space. Let be the linear span of the discounted terminal asset payoffs; it contains the constant vector . A complete market means . An equivalent martingale measure is a vector of strictly positive state probabilities whose pairing with each asset payoff gives its initial price. By linearity it prices every attainable payoff. If , the indicator functions of individual states are attainable, so these prices determine every uniquely.
If is proper, choose . Since , . For sufficiently small , both and have strictly positive entries, sum to one, and give the same pairings with every asset payoff. They are distinct equivalent martingale measures. Therefore market completeness is equivalent to uniqueness of the equivalent martingale measure.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 29 3 Solution Created 2026-10-03 Updated 2026-10-14
Let be the normal distribution density. The Brownian reflection principle gives the killed endpoint densityIndeed, reflection after the first hit of maps paths ending below that have hit the barrier to paths ending at ; symmetry gives .
By the Girsanov theorem, weighting the path law by makes the coordinate process a Brownian motion with drift . Completing the two squares yieldsIntegration up to proves the joint endpoint and maximum law for drifted Brownian motion:Here is the standard normal distribution function. Setting also gives a continuous barrier distribution, so equality at the barrier has zero probability.
For the up-and-in option, use the risk-neutral measure of the Black-Scholes model with interest rate and spot volatility . ThenAbove , the barrier has certainly been reached. Below , subtracting the killed density from the unrestricted endpoint density leaves . Thus the discounted expected value of its payoff isIn the second integral put , and defineThen , means , and . Both integrals now use the unrestricted terminal stock distribution. This proves that the reflected European payoff for an up-and-in option isTheir initial risk-neutral pricing values agree for payoffs with finite absolute expectations in these integrals. The identity concerns prices; the two terminal payoffs need not agree along individual paths.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 31 2 Solution Created 2026-10-03 Updated 2026-10-14
For on ,The Itô formula, stopped in a compact annulus, therefore givesThis proves the local martingale property up to a possible hitting of the origin. For the annulus exit time , is bounded between and , so it is a true uniformly integrable martingale.
The exit is finite almost surely. Indeed is a martingale, so stopping at gives . Letting proves . Bounded convergence in the logarithmic martingale now yieldsIf is the probability of reaching radius before radius , continuity givesHitting zero before reaching radius would require reaching every positive radius first. Its probability is bounded by , which tends to zero as . Any finite-time path hitting zero is bounded before that time and hence hits zero before exiting some integer-radius disk. A countable union over those disks proves for every , almost surely. This is planar Brownian motion avoids a fixed point; it also makes a globally defined continuous local martingale.
To decide whether it is a true martingale, compute its expectation directly. Condition on if necessary and use rotation to take and write . Conditional on , the angle of is uniform. The angular average of a logarithmic potential isFor this follows by taking the real part of the convergent power series for : each nonconstant Fourier term integrates to zero. For factor out and apply the same argument to . The equality at one follows by the integrable limiting logarithmic singularity. All interchanges are valid: the shifted Gaussian density is bounded near the origin, where , and its Gaussian tail controls logarithmic growth.
The radius has density . Consequently, for ,Since , is not a martingale, despite integrability at each deterministic time. This is the logarithmic radius of planar Brownian motion example.
The optional hint is consistent with this conclusion. The upper-radius exit is finite and never occurs at zero. After that exit the stopped square is ; before it, a radius in also gives a logarithmic square no larger than , while a radius below contributes precisely the extra indicated term. This proves the hinted inequality without assuming that the unstopped process is a true martingale.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 31 4 Solution Created 2026-10-03 Updated 2026-10-14
For , is an Exponential martingale for Brownian motion, as follows directly from independent Gaussian increments. Stop it at , where is the first time reaches . On ,The stopped expectation is one and the other contribution is nonnegative, soFor , minimize the exponent at . Apply the same argument to and use the union bound to obtainAt the probability is zero; the right side can be interpreted by its limit. This proves the Gaussian maximal bound for Brownian motion without losing an extra factor from a two-sided reflection argument.
Let be a global Lipschitz constant of . Realize the diffusion with the stated generator by , where is a standard -dimensional Brownian motion. Global Lipschitz continuity gives existence and uniqueness; its generator is exactly the printed operator. Couple it with the ordinary differential equation having the same initial value . Subtraction gives, with ,The Gronwall inequality implies . If a Euclidean norm exceeds , some coordinate has absolute value exceeding . The scalar bound and a union over the coordinates therefore giveTaking the logarithm and multiplying by yields the explicit answerFor the probability is zero and the limit is , with . This is exponential small-noise concentration for a Lipschitz diffusion.
Matching the deterministic initial value is necessary. The printed last line specifies the differential equation but does not separately write this initial condition. Without it, take and a deterministic solution displaced from by in one fixed direction. The deviation event already holds at time zero, giving logarithmic rate zero instead of a strictly negative rate.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 32 1 a Solution Created 2026-10-03 Updated 2026-10-14
Treat each column as the payoff from one unit of initial investment, so the cost of holdings is . The first asset weakly dominates the third at the same price, and so does the second. Long the first and short the third gives zero initial cost and terminal payoff . Long the second and short the third gives payoff , also at zero cost. These are arbitrages provided the displayed states have positive probability. Combining them gives the zero-cost position with payoff .
More generally, imposing zero cost means , and its payoff is . Thus every with at least one positive gives a pure-investment arbitrage. The market is not arbitrage-free.
There is nevertheless no arbitrage of the other requested kind, with every future net cash flow identically zero. Indeed the middle-state payoff is , so a zero terminal payoff already forces zero initial cost. The other two states then force , hence . Equivalently, the return matrix has determinant and is invertible. ThereforeThe unique vector pricing the three unit-investment payoffs is . It is nonnegative but not strictly positive. This illustrates why nonnegative state prices need not exclude arbitrage: strictly positive state prices would assign positive cost to either of the nonzero nonnegative payoffs above.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 32 5 Solution Created 2026-10-03 Updated 2026-10-14
A credit derivative separates an exposure to a borrower's credit quality from outright ownership of its loan or bond. In the early-2002 setting, these were a growing, largely dealer-intermediated over-the-counter market. For scale, the contemporaneous BIS comparison reports ISDA member positions of about US632 billion at mid-2001. These are notional amounts, not market values or expected losses, and the survey did not eliminate double-counting; estimates from other surveys cannot simply be combined because their coverage differed. This historical description uses the BIS Quarterly Review, June 2002, derivatives-market comparison, rather than projecting later market totals back into the paper's date.
The basic unfunded contract is a credit default swap. The protection buyer pays a periodic spread until maturity or a defined credit event; the seller pays the contracted default loss, often notional times one minus recovery. Physical settlement instead delivers eligible defaulted debt in exchange for par. A total return swap exchanges the reference asset's coupons and price changes against a funding leg: its receiver earns gains, bears price losses and pays funding, obtaining broader market and credit exposure than default protection alone. A credit spread option pays on widening or narrowing of a quoted credit spread, transferring mark-to-market credit risk even without a default. A credit-linked note is funded: the investor supplies principal and accepts a reduction of coupons or principal after a reference credit event, in return for enhanced yield. The investor is economically selling protection and can also face the note issuer's own credit risk.
Basket products extend these ideas. A first-to-default swap pays when the first member of a reference basket defaults. A synthetic CDO uses credit default swaps to create portfolio credit exposure and allocates aggregate losses among tranches. For monetary portfolio loss and attachment/exhaustion amounts , the credit tranche loss function is . These contracts require a model of joint defaults and recoveries, not just a list of individual default probabilities. The separation of credit exposure from financing and the role of synthetic structures were already central to the Federal Reserve's December 2001 discussion of credit derivatives.
For risk management, a bank can buy protection on a concentrated borrower exposure while retaining the loan and customer relationship. It can transfer sectors or names it already holds heavily and diversify the remaining portfolio. Recognition of a hedge for capital purposes depends on the actual transfer and applicable rules, not merely on the instrument's name. Investors can instead sell protection or buy credit-linked notes to obtain chosen credit exposure without buying the cash bond, seek a risk premium, or take relative-value positions between cash bonds and swaps. Such positions still depend on funding and on the credit-spread basis: contractual events, maturity, currency and recovery terms may fail to match the original exposure. Protection also replaces part of the reference risk with counterparty credit risk, particularly if the seller may fail when the protected borrower is distressed.
Pricing equates expected discounted contractual cash flows under a risk-neutral measure, calibrated to traded bonds and derivatives rather than substituting historical default frequencies. To make this concrete, suppose the risk-neutral default intensity and discount factor are deterministic, fractional recovery is fixed, and premiums are continuous. Survival is . A notional- protection leg pays at default, so its value is . Premium at annual rate has value . A zero-upfront par swap therefore has the continuous-premium credit-default swap spreadFor constant intensity this reduces exactly to in this simplified model. Actual discrete premium dates and premium accrued at default change the premium leg; stochastic recovery, discounting and counterparty losses change the expectations. A quoted spread thus cannot universally be read as a physical default probability. Default-risk premiums and other market effects enter the calibrated pricing measure.
A structural alternative is the Merton model. If firm assets at debt maturity are and promised debt is , equity pays and debt pays . Under the model's diffusion assumptions, debt value is consequently the discounted face value less a put on firm assets. This derives credit prices from asset value, volatility and capital structure, while the simple model allows default only at the debt maturity. Intensity models instead calibrate a default-arrival law directly to market credit prices. Neither approach removes model risk in recovery, dependence or calibration, and incomplete credit markets need not select a unique pricing measure. A useful credit hedge and a fair derivative price both depend on the actual cash-flow and default specifications, not the product label alone.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 33 5 Solution Created 2026-10-03 Updated 2026-10-14
Let be a unitary operator and suppose initially that the target is an eigenstate with , . Use control qubits, so . Hadamard gates prepare the uniform superposition . For each binary control position , apply the controlled unitary gate . The resulting state isApply the inverse quantum Fourier transform, with convention , and measure the control. The exact amplitude and probability areFor an exactly representable phase , orthogonality of roots of unity makes the outcome certain. Otherwise the finite geometric series givesThe estimate is , with phases interpreted modulo one.
To prove an error bound, choose a nearest label to on the circular grid and put in the interval . For , concavity of sine on gives , while . Therefore the nearest-integer success bound for quantum phase estimation isHere . At an exact grid point the probability is one. If two nearest labels tie, either one separately has the displayed lower bound.
For high confidence one can prove a stronger quantum phase estimation tail bound. Let be the centered distance between and , chosen with . The denominator estimate implies away from the exact-phase case. A label at circular integer distance from has , and there are at most two labels at each such distance. For , summing the tails givesOn the complementary event the circular phase error is at most . Thus, for desired bits of accuracy, take with and to obtainTaking makes the right side at most . This adds only control qubits. Efficient QFT is not by itself a guarantee of efficient controlled powers of an arbitrary : implementing them by repeated oracle calls uses calls. The modular-arithmetic application has efficient powers, as follows.
Assume and , and let be the multiplicative order of modulo . Define the unitary operator on , and extend it as the identity on unused computational-basis labels of the binary register. Coprimality makes multiplication a permutation, so this extension really is unitary. The orbit of consists of the distinct states . Its modular multiplication eigenstates areThe last relation follows by shifting the index cyclically; orthogonality follows from the finite Fourier sum. We do not need to know to prepare one of these eigenstates: the readily prepared target obeysRunning quantum phase estimation on this state produces the mixture of the eigenphase distributions, each with weight , because the target eigenstates are orthogonal. Thus it samples a uniformly random phase label and estimates with the bounds just proved. Equivalently the state before the inverse QFT is , which is obtained by quantum modular exponentiation directly.
The controlled power multiplies by , whose constant is computed by repeated squaring. Under the assumed efficient modular exponentiation, these controlled multiplications and the QFT use a number of gates polynomial in the register lengths. Taking requires only phase qubits. The nearest-label event has probability at least and yields an estimate within of . Since , continued-fraction recovery in quantum order finding then identifies the reduced fraction . The denominator is , not necessarily : when and are coprime it is the desired order, and when they are not it is only a divisor. One may test candidate denominators using modular exponentiation and repeat with fresh samples; denominators from successful samples can also be combined by a least common multiple. The probability of a nearest-label sample with coprime to is at least . These qualifications explain exactly what the phase estimate yields without falsely assuming that the unknown order or an eigenstate was available at the start.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 36 1 ii Solution Created 2026-10-03 Updated 2026-10-14
Both fits are the same additive two-way analysis of variance model: a common intercept, five country effects represented by four contrasts, and eight item effects represented by seven contrasts. The three missing cells are omitted, leaving observations and model rank , hence residual degrees of freedom. The residual sum of squares is in either ordering, giving
These are sequential sums of squares, so each row measures the improvement when that factor is added after the preceding factors. The country-first sum describes its unadjusted contribution before accounting for item; its displayed and are not the country-adjusted-for-item test. When country is added after item, its extra sum is , givingThus the additive normal linear model gives strong evidence of country differences after accounting for the different products. Conversely, item added after country has extra sum , soThe printed zero for this probability is numerical formatting, not a probability literally equal to zero. Product differences are much larger than residual variation, as expected from their different scales.
The explanation for the order dependence is that missing cells can destroy factor orthogonality in two-way ANOVA. A complete equally replicated crossed design would make centered country and item indicator columns orthogonal. Here the missing observations change the item mix across countries and the country mix across items, so the two factor subspaces are not orthogonal. The two sequential partitions still have the same total explained sum: to the displayed precision. For inference about either factor conditional on the other, compare the full model with the reduced model that omits that factor, rather than interpreting its first-entry sum as adjusted evidence.
The omnibus country test does not identify the particular country contrasts. As an extension, fitting the supplied price table gives the item-adjusted UK-minus-US contrast about pounds, with standard error and an ordinary Gaussian-model confidence interval approximately pounds. This is a derived model contrast, with Student t-distribution reference on degrees of freedom; simultaneous exploration of many country pairs requires control for multiple hypothesis testing.
Check residuals against fitted values, product and country, together with a normal Q-Q plot and influential observations. The homoscedasticity assumption on absolute prices may be doubtful because expensive products can have larger absolute variation. A model for logarithmic prices gives multiplicative country effects and can make the scale assumption more plausible. Country-by-item interaction terms would allow discounts to differ by product, but there is at most one observed value per cell: an unrestricted interaction saturates the observed means and leaves no pure-error degrees of freedom, so it cannot be tested against independent measurement noise from these data alone. Additional products or genuine cell replication would support that extension. The selected products and non-random missing entries also limit claims about a whole country's consumer prices; the conditional inference is for the stated additive model and observed price collection.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 36 2 ii Solution Created 2026-10-03 Updated 2026-10-14
The family-history table contains men, of whom have the response present, giving an overall observed fraction . The unadjusted fractions are with a positive family history and without one. Their crude odds ratio is ; this is not the covariate-adjusted effect from the fitted logistic regression.
The full model has an intercept and nine slopes, hence residual degrees of freedom. The binomial distribution dispersion is fixed at one. Although the software labels coefficient-to-standard-error ratios as t values, here they are asymptotic normal Wald statistics, not statistics with an estimated Gaussian residual variance and an exact Student reference. The full conditional coefficients provide evidence for tobacco, cholesterol, family history, behaviour score and age: their absolute Wald ratios are approximately . The other four ratios are smaller in magnitude, especially alcohol at about . These are conditional associations; a weak adjusted coefficient does not by itself establish absence of an underlying association, and multicollinearity can affect the estimates.
The null deviance is on degrees of freedom and the full residual deviance is on . Their difference has a nominal nine-degree-of-freedom likelihood-ratio test reference for the nine slopes jointly. The absolute residual deviance should not automatically be compared with for the reasons in part (i).
The shown stepwise selection by the Akaike information criterion follows a backward path. For individual binary observations the saturated log-likelihood is zero, sowhere includes the intercept. Removing a one-parameter term improves AIC exactly when the increased deviance is less than two. The successive deletions are alcohol, adiposity, blood pressure and obesity. The corresponding values areAt the final step, every remaining single-term deletion increases AIC. This is a local stopping condition of the search, not a proof that it found the best subset among all possible models. Obesity is retained for several steps because its successive deletion costs differ after the other terms are removed; the procedure does not simply sort the initial Wald ratios.
For the selected fit, write for positive family history and otherwise. The fitted linear predictor isHolding the other predictors fixed, a unit increase multiplies the odds by . In the same variable order, the unit odds ratios areA ten-year age difference multiplies the fitted odds by , and ten behaviour-score points by . Family history has adjusted odds ratio about , with ordinary fitted-model confidence interval . The intercept is the log odds at zero numerical covariates and absent family history; that extrapolated baseline is not a typical man's risk. Odds ratios are not risk ratios.
The selected model's residual degrees of freedom are , consistent with its six coefficients. All five retained slopes have nominal normal-Wald values below in that model, but these tests and confidence intervals do not incorporate the prior model selection. Its improvement over the intercept-only fit is on five nominal degrees of freedom; it loses only deviance units relative to the nine-slope fit while using four fewer parameters. Selection optimism remains relevant to predictive performance. Check possible nonlinear continuous-predictor effects, influential observations and clinically motivated interactions; assess out-of-sample discrimination and agreement of predicted probabilities with observed frequencies by cross-validation or external data. The printed output alone does not supply those diagnostics, and the selected high-risk male population limits extrapolation to other populations. Nothing here establishes causal effects of these observational predictors.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 36 2 i Solution Created 2026-10-03 Updated 2026-10-14
For logistic regression, set and . Its Bernoulli log-likelihood, score function and Fisher information arewhere . Solve by Fisher scoring or iteratively reweighted least squares. One scoring step isEquivalently regress the working response on using weights . Iterate until the likelihood and coefficients stabilize, with rank and convergence checks. Separation in logistic regression can prevent a finite maximum: if a predictor direction strictly separates the zeros and ones, moving indefinitely along it improves the likelihood rather than producing a finite root.
Under the unrestricted model, each individual probability is estimated independently as . Every observed binary outcome then has probability one, so, using boundary limits,The resulting residual deviance is . It is a legitimate likelihood contrast and can be used to compare fitted models. However, individual Bernoulli deviance need not have a chi-squared calibration: the saturated model has one boundary-valued parameter for each single observation, and its dimension grows with . The fixed-dimensional regularity behind Wilks theorem does not justify a reference here.
For a concrete demonstration, let the true model contain only an intercept and have success probability . Its fitted probability is , andwhereas a variable divided by converges to one. Thus treating the raw Bernoulli residual deviance as an ordinary absolute goodness-of-fit statistic can reject a correct model systematically. In contrast, deviance differences between fixed-dimensional nested logistic models have their usual asymptotic chi-squared reference under the relevant regularity assumptions. For absolute fit use meaningful replicated covariate groups and grouped-binomial logistic regression, or assess residual patterns and prediction on held-out data; a model-specific parametric bootstrap can calibrate a chosen statistic.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 39 3 Solution 2026-10-14
The response is the species categorical variable, while the four measurements are candidate predictors. The dot in the formula means all other columns of the data frame. The fitted object is a classification tree: it recursively partitions predictor space by binary threshold rules and assigns a species and class-probability vector to each terminal region. Sepal width was available but was not selected in the displayed tree.
At a node , let be the number of observations of class and . The multinomial likelihood is maximized by . The fitted class is one attaining the largest proportion, with a software convention resolving ties. The classification-tree deviance isA pure node has zero deviance. At each nonterminal node, consider candidate split points between distinct observed predictor values, and choose the split with the largest decrease . Repeating this local maximization constructs a binary decision tree; it does not solve a global optimization over all trees. Growth stops when nodes are pure or size/deviance controls prohibit further splitting. Mixed leaves with five or six observations can therefore remain. The node number has children and , and a terminal-node marker means that no further split was retained.
The probability triples are in class order , not . For example, the pure left leaf has probability vector and predicts , while the 54-observation node has counts and predicts . The root counts are , giving and a tied majority class. Its reported choice of does not indicate a more common class.
The complete derived decision rule is shown below. Each leaf includes its fitted class and the observed class counts, so both the branching logic and its remaining errors are visible. For the observed data, the printed strict inequalities leave no equality cases because the thresholds fall between measurement values. A consistent right-branch convention at equality extends the rule to new specimens.
Six-leaf iris classification tree with fitted classes and class counts at every terminal node
. Details. The six terminal nodes contain the class countsThus the training misclassification error isThe terminal classification-tree deviance is insteadThe displayed residual mean deviance divides this by , yielding approximately . This is the summary's reporting convention, not a normal-error residual mean square or an automatic chi-squared calibration with 144 statistical degrees of freedom. The two summary measures answer different questions: deviance depends on the fitted probability of each observed class, while misclassification counts only whether the majority-class prediction is correct. Both are training quantities. Cross-validation or independent test data, rather than the displayed training error, are needed to assess prediction on new specimens; cost-complexity tree pruning can select a less elaborate tree if predictive performance warrants it.
