Arcsine quantiles and moments 2026-10-18
Inverting gives the quantile functionConsequently, inverse transform sampling uses with uniform on . The quartiles are , and .[ref]
The Arcsine Distribution. Random: Probability, Mathematical Statistics, Stochastic Processes by Kyle Siegrist; The Standard Arcsine Distribution, Distribution Functions and Related Distributions: quantiles, quartiles and random quantile construction
The first and third quartiles are about and , so the central half of the probability spans about of the unit interval. Under a uniform distribution, its width would be .
The symmetric probability distribution gives . The angle representation gives a short calculation of the second moment:Use to evaluate the integral. A uniform distribution on has variance ; the larger variance quantifies the greater spread toward the ends.
More generally, for a nonnegative integer , the beta function yieldsFor this is one; for it reproduces the values above. The central binomial coefficient thus appears in an exact moment calculation for a continuous probability distribution.
Elementary lower bound for the Chebyshev theta function Created 2026-09-24 Updated 2026-09-24
The central binomial coefficient and Legendre formula implyfor every sufficiently large real number .
A trial of Amy's rejection sampling uses exactly fair Bernoulli trials. Exactly of the equally likely binary sequences have heads, so the acceptance probability isIndependent retries make the number of trials a geometric random variable on with expectation . The total number of coin tosses is , soUsing Stirling's approximation, the central binomial coefficient satisfiesConsequentlyThe rejection sampling output is uniform among the balanced binary sequences: they have equal probability on every trial, and conditioning on acceptance preserves that equality. For , the empty output needs zero tosses; the formula above concerns .
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 25 1 Solution Created 2026-10-03 Updated 2026-10-14
Write for the Chebyshev theta function and for the Second Chebyshev function, where is the Von Mangoldt function. We first establish the Chebyshev estimate. Every prime divides the central binomial coefficient , soApply this at successive powers of two and use monotonicity to obtain . Sincethe terms contribute and therefore . This Chebyshev estimate from central binomial coefficients is all the information about the distribution of primes needed here.
The Von Mangoldt divisor identity gives the factorial proof of Mertens first theorem. With , interchange the finite sums to obtainComparison of with gives . Dividing the preceding identity by , using and the Chebyshev estimate, givesThe contribution of higher prime powers is bounded independently of , becauseThus the Mertens first theorem is
For the square-root logarithmic sum over primes, apply partial summation to with weight . The lower endpoint is understood as , soThe main terms are and . The bounded error in produces a bounded integral, since . ThereforeNeither argument uses the Prime number theorem.
Past exam of the mathematics course of the University of Cambridge 2019 ia Paper 2 3F c Solution Created 2026-09-24 Updated 2026-09-29
Every allocation is determined by the set of children on the red bus, so there are equally likely allocations. Exactly one places every boy on red and every girl on green. HenceApplying Stirling formula to the numerator and denominator gives the central binomial coefficient asymptoticand therefore
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 3 1G a Solution Created 2026-09-24 Updated 2026-09-25
The binomial theorem givesThe central binomial coefficient is the largest of these nonnegative binomial coefficients, so
For the upper bound, fix a prime number . By Legendre formula,Each summand is either zero or one. Hence the P-adic valuation satisfiesIf , this impliesThere are at most such prime numbers. If instead , then , so the P-adic valuation is at most one. Multiplying the prime-power contributions therefore yields
Stirling formula Created 2026-09-24 Updated 2026-10-14
Stirling's formula turns the long product defining a factorial into a short expression. For positive integers , putThen as . This is asymptotic equivalence: , so the relative error tends to zero. It does not say that the absolute error tends to zero, and the formula is not an equality for finite . The Gamma function extends this approximation beyond integer inputs. [ref]
https://dlmf.nist.gov/5.11. NIST Digital Library of Mathematical Functions, §5.11: Gamma-function asymptotic expansions
For ,The leading estimate is about low. Multiplying by the first correction factor giveswhich is about low. The Stirling correction by Gaussian moments explains why this factor is rather than an arbitrary numerical adjustment.
The usefulness is in ratios as well as in enormous numbers. Applying Stirling's formula to the three factorials in a central binomial coefficient givesThis counts the ways to choose exactly half of objects. Equivalently, for independent fair coin tosses, the binomial distribution assigns probability to exactly heads. An exponentially large count becomes a simple probability scale after cancellation.
For numerical calculations, taking the natural logarithm yieldswhere . Computing a logarithm of a large factorial avoids representing the factorial itself. The Robbins bounds for Stirling's formula give a finite- interval for this logarithmic remainder, rather than only a limiting statement.
The factor is beautiful because a Gaussian integral lies behind a discrete product. The Gaussian peak behind Stirling's formula displays this connection through the Gamma integral and Laplace's method. A rigorous proof must also control the tails of the integral; the local expansion explains the geometry but is not by itself a complete proof.
James Stirling published Methodus differentialis in 1730, a treatise on summation and interpolation of infinite series. This setting connects the formula with a practical calculation problem: taking logarithms turns a long product into a sum, whose growth can be approximated. [ref]
https://commons.wikimedia.org/wiki/File:Methodus_differentialis,_sive_tractatus_de_summatione_et_interpolatione_serierum_infinitarum_(IA_10053880bsb).pdf. James Stirling, Methodus differentialis (1730), digitized original and bibliographic record
