Past exam of the mathematics course of the University of Cambridge 2013 ia Paper 2 3F Solution Created 2026-09-24 Updated 2026-10-07
Expand around the expectation :Thus variance as the minimum mean squared error of a constant givesThe finite second moment also guarantees the finite first absolute moment needed below.
For a probability density function , splitting at givesLet be the cumulative distribution function. Since a density gives no mass at a singleton, differentiating under this integral yields . This derivative is nondecreasing, so is convex andThis is the median minimizes expected absolute loss property. The minimizer need not be unique: a gap in the density can give an interval of medians, all with the same loss.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 64 3 Solution Created 2026-10-03 Updated 2026-10-07
The bounded classical solution is the heat-kernel convolutionThe two-dimensional heat kernel has integral one. Boundedness of permits differentiation under the integral for , proving and . Its approximate identity property gives , locally uniformly since is continuous. This bounded solution satisfies the required Gaussian-growth bound.
For heat-equation uniqueness under Gaussian growth, let be the difference of two solutions, so and on a finite time interval. Choose and a slab . The positive comparison solutionsatisfies . For any , its faster spatial growth makes on a sufficiently large lateral cylinder boundary. At the initial boundary, . The heat equation maximum principle applied to proves the same inequality inside. First allow the cylinder radius to increase, then let . Repeating these slabs proves uniqueness on every finite interval with the stated uniform growth bound. No spatial integrability of is required.
At time , this is Gaussian filtering with covariance , hence per coordinate. With the angular-frequency Fourier transform convention , the Gaussian filtering Fourier multiplier isFor merely bounded , this identity is understood through tempered distributions. The multiplier leaves the zero frequency unchanged and attenuates large frequencies exponentially: it suppresses rapid noise fluctuations but blurs image edges. In cycles-per-length frequency , the multiplier is .
For the printed Perona-Malik equation, retain the supplied conductance , which includes an extra factor . In one dimension write and . Then , withThe forward-backward threshold for gradient-weighted exponential diffusion is thereforeAt and the coefficient vanishes, giving degenerate diffusion. Increasing increases the forward-diffusion range. Small nonzero slopes smooth, while large slopes formally sharpen; a negative coefficient produces short-wave growth and ill-posedness, so this is a dynamics explanation, not a general existence theorem for arbitrary data. Replacing the printed conductance by would give threshold , but that is a different equation.
The four-neighbour mean expansion follows by Taylor expansion: opposing first and third derivatives cancel, soIf for every sufficiently small , division by and passage to the limit give . This is a pointwise conclusion; it does not assert harmonicity in a whole neighbourhood.
For the area median over the disk, the disk-median curvature expansion, at a point where , isConsequently the analogous median fixed-point condition yieldsThis is the vanishing of the level-line curvature at : to second order the level line is straight there. It need not be a straight segment. For example has zero disk median at the origin for every radius, by odd symmetry, but its zero level line is the cubic . Vanishing curvature on an entire connected regular level arc would force that arc to be straight. The factor is for the disk's uniform area measure; a circle-boundary median has a different scale factor, while producing the same zero-curvature equation.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 34 1 Solution Created 2026-10-03 Updated 2026-10-06
Put for . This is the quantile function, rather than an ordinary inverse requiring strict increase. The limits of the distribution function at infinity make finite, and the fact that is a right-continuous function ensures . ConsequentlyIncreasing shrinks the set in the infimum, so the quantile function is a monotone function. To prove the left continuity of the quantile function, fix and let . If , choose . Then , so some satisfies , a contradiction. Thus as . At a flat stretch of the distribution function, the quantile function may jump immediately to the right, consistent with this left-continuous convention.
For the uniform order statistic, count the observations at most . That count has the binomial distribution with parameters , givingDifferentiating makes adjacent terms telescope: use and . The probability density function is thereforeIn particular, has the Beta distribution with parameters .
Write for the specified median. Continuity of the distribution function gives and no mass at , even if the distribution function has a flat stretch there. Thus has the binomial distribution with parameters . Except on a null event, the order-statistic confidence interval for a median covers exactly when . Symmetry of the binomial distribution makes its two failure probabilities equal. Alternatively, the probability integral transform givesHence the coverage is exactly , withThe asymmetric open/closed endpoint convention does not change the coverage because the continuous probability distribution assigns no mass to the median.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 112 3 iii Solution Created 2026-10-03 Updated 2026-10-06
Write . Besides Talagrand's convex distance inequality, we use the precise squared edge bound for tours in the unit square stated above and the triangle inequality, which permits shortcutting a closed walk without increasing its length. We first prove the geometric comparison that connects these results.
For each fixed , choose a cyclic tour with edge lengths satisfying . At vertex , let be the sum of the lengths of its two incident edges in . The Cauchy-Schwarz inequality givesWe claim the weighted mismatch bound for Euclidean tours:To prove it, keep the vertices whose coordinates agree. In the cyclic ordering , the deleted vertices split into consecutive runs between kept vertices. For one run, let denote its two boundary edge lengths and the sum of its internal edge lengths. Starting at the left kept endpoint, visit the run and return along the same path, at cost ; starting at the right endpoint costs . Choose the cheaper detour. Its cost is at mostwhich is exactly the sum of over that run. Attach these detours to a shortest tour through , which already visits every kept point. The resulting closed walk visits all points of ; shortcut it using the triangle inequality. Summing the detour costs proves the claimed weighted mismatch bound for Euclidean tours. If there is just one kept vertex, the same argument uses that vertex as both endpoints of the unique run. If there are no kept vertices, proves the comparison directly. Repeated point locations cause no difficulty, since their connecting edges may have length zero.
Let be any median of and set . For , the weighted mismatch bound for Euclidean tours impliesThe weights have squared sum at most one, so . Since , Talagrand's convex distance inequality yieldsFor the lower tail, put . If there is nothing to prove. For every with , apply the same weighted mismatch bound for Euclidean tours with its weights and all . It gives . The set of such has probability at least , so Talagrand's convex distance inequality instead givesCombining both tails,The bound has a constant fluctuation scale, independent of . Only independence of the point coordinates and their support in the square are needed here; their uniform distribution was needed for the earlier lower bound on the expected value.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 112 3 i Solution Created 2026-10-03 Updated 2026-10-06
The useful form is Talagrand's convex distance inequality. Let be standard probability spaces, let carry the product measure , and let be a measurable event with . For , form the mismatch vectorsThe Talagrand convex distance is the distance from zero to their closed convex hull:Equivalently, by the Hahn-Banach separation theorem for two convex sets,Nonnegative weights suffice because every mismatch vector has nonnegative coordinates. Talagrand's convex distance inequality statesIn particular, Markov's inequality gives the product-space concentration inequalityThe same conclusion is interpreted with outer probabilities if a distance set is not measurable; the continuous geometric function used below has measurable level sets. A median of a real random variable means that and . Applying the displayed concentration inequality to suitable level sets will control deviations around a median.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 207 4 a Solution Created 2026-10-03 Updated 2026-10-05
For a nonnegative continuous event time, the survivor function is ; here the printed denotes survival, not the usual cumulative distribution function. A lower median isFor a continuous strictly decreasing survivor function this is the unique solution of . If the curve has a flat stretch at , the distribution has a nonunique median and the infimum specifies the lower endpoint.
The tail integral formula for moments follows from and Tonelli theorem. Therefore, when survival vanishes beyond ,If at every finite time, the mean is finite precisely when . For a concrete sufficient condition, require for all , with and . The integral over is at most , and the tail integral is at most . An exponential tail bound also suffices. Merely having , or even , does not suffice: a properly completed decreasing tail proportional to for has infinite mean.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 207 4 b i Solution Created 2026-10-03 Updated 2026-10-05
Let be the distinct observed event times, the risk set size immediately before , and the events there. Under independent censoring, the Kaplan–Meier estimator isIt starts at one, jumps down at events, and is unchanged by a pure censoring time; right censoring removes people from subsequent risk sets. If events and censorings coincide, the convention here processes events before censoring, so those censored at the recorded time are included just before the event. The estimated median is the first time the curve reaches or falls below . If it never does during observation, the median is not estimable from the observed curve without tail assumptions.
With one remaining individual censored at , no event factor is introduced. HenceThis is the terminal observed step value. With an empty risk set after , continued horizontal plotting is a convention and supplies no information about the true later survivor function. The tail rests on one person and is imprecise; this is terminal censoring and survival-mean identifiability. If , the unrestricted mean cannot be obtained nonparametrically from this censored tail: extending the last positive step to infinity would give an infinite area, which does not establish an infinite population mean. A restricted mean survival time up to a suitably supported finite cutoff remains estimable.
Past exam of the mathematics course of the University of Cambridge 2021 ia Paper 2 4F Solution Created 2026-09-24 Updated 2026-09-25
Past exam of the mathematics course of the University of Cambridge 2022 ia Paper 2 4F Solution Created 2026-09-23 Updated 2026-09-25
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 223 1 a Solution Created 2026-09-28 Updated 2026-10-03
Let be the unique median. The influence function of the sample median isaway from . Its second moment, equivalently the asymptotic distribution of a sample median, givesNo symmetry assumption is used: the density is evaluated at the actual median of .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 223 4 c Solution Created 2026-09-24 Updated 2026-09-25
Choose a fixed . On the stated high-probability event, strictly more than half of the block means satisfy, simultaneously for every ,The median of a collection with a strict majority in an interval lies in that interval. Hence the same bound holds for uniformly in . Part b then giveswith probability at least . Renaming the constant proves the claim.
Past exam of the mathematics course of the University of Cambridge 2025 ia Paper 2 9F b Solution Created 2026-09-24 Updated 2026-09-25
Complementing every friendship sends every degree to , and hence sends to . Since the random graph and its complement have the same law, the distribution of is symmetric about , giving .
The same symmetry gives equal probabilities strictly below and above . There is positive probability at : for odd use a regular graph of degree ; for even , use with a perfect matching removed and then restore one matching edge. Thus the lower median as defined is also .