Bounded weak compositions 2026-10-07
To count nonnegative tuples with and , mark violations . An intersection of violations indexed by is in bijection with unrestricted tuples of sum , by subtracting the bounds from those coordinates. Stars and bars counts this intersection; the inclusion-exclusion principle then gives the displayed formula. A negative remaining sum contributes zero.
The vector space of formal polynomials over a field in variables with total degree of a polynomial at most has the monomial basis for nonnegative exponents with . Introducing a slack exponent and using stars and bars counts basis elements. These are formal polynomials; over a finite field, distinct formal polynomials need not define distinct polynomial functions unless suitable degree restrictions hold.
Nondecreasing uniform samples 2026-10-06
An ordered sample from equally likely values is nondecreasing exactly when it is the unique sorted representative of its multiplicities. Stars and bars counts the nonnegative multiplicities summing to ; repeated values are included automatically.
Past exam of the mathematics course of the University of Cambridge 2013 ia Paper 4 6E iii Solution Created 2026-09-24 Updated 2026-10-07
For bounded weak compositions, start with the unrestricted stars and bars set and let be its subset where . For an index subset , subtract from each coordinate with . This is a bijection from to nonnegative tuples summing toThuswhere a negative remaining sum gives zero, in accordance with the stipulated convention. Apply the avoidance form of the inclusion-exclusion principle:Expanding by subset size gives the alternating single-index, pair-index and higher-index sums. The empty subset supplies .
Past exam of the mathematics course of the University of Cambridge 2013 ia Paper 4 6E i Solution Created 2026-09-24 Updated 2026-10-07
Use a stars and bars bijection. For a tuple, place stars in consecutive blocks of lengths , separated by bars. The bar positions form an -element subset of . Explicitly,They satisfy . Conversely, such a subset determinesThese numbers are nonnegative and sum to , proving that the two constructions are inverse. HenceZero-length blocks are permitted, so the bijection also covers .
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 10 2 Solution Created 2026-10-03 Updated 2026-10-06
(A) Use the dimension of a bounded-total-degree polynomial space. The monomials with are a basis, and stars and bars givesFor a finite point set, the polynomial evaluation map on a finite point set isIts kernel is and its rank is at most , even when some conditions are dependent. The rank-nullity theorem therefore givesThe original PDF specifies here. With twelve points,No general-position assumption is required.
(B) Let . We seek a polynomial vanishing on a finite set of spatial lines. For each line , choose an affine parametrization with . The polynomial restriction to a line of a degree-at-most- polynomial has formEach coefficient is a linear functional of . Setting all coefficients to zero is precisely the condition that vanish identically on .
All lines together therefore impose at most homogeneous linear conditions on the -dimensional coefficient space. A nonzero solution exists wheneverTake . Then , so this strict inequality holds. MoreoverThus the polynomial method in combinatorics givesEquivalently, one could impose vanishing at distinct points on each line and use the univariate root bound to force the entire restriction to vanish. For an empty line family, the constant polynomial one supplies vacuous vanishing; the strict degree comparison is understood for nonempty families.
Past exam of the mathematics course of the University of Cambridge 2015 ia Paper 2 12F Solution Created 2026-09-24 Updated 2026-10-06
Interpret random choice of coin as equal prior probabilities, and the tosses as independent conditional on the chosen coin. Let denote two heads. The conditional probabilities are and . For posterior coin selection from repeated tosses, Bayes theorem givesThe tosses need not be unconditionally independent, because the same hidden coin is used twice. If the coin-choice prior were instead , the answer would be ; equal choice gives the stated .
For nondecreasing uniform samples in the lottery, all ordered samples have equal probability by the discrete uniform distribution and independence. A nondecreasing sample is uniquely specified by its multiplicities , with . The stars and bars argument places separators among identical markers, giving multiplicity vectors. There is exactly one nondecreasing ordered sample for each such vector, so the probability isThis counts samples with ties correctly; multiplying a single strictly increasing count by would not handle the repeated values.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 12 5 Solution Created 2026-10-03 Updated 2026-10-06
Apply the polynomial method in combinatorics to the finite-field Kakeya set . We will actually obtain the stronger estimateLet be the vector space over the prime field of multivariate polynomials in variables of total degree of a polynomial at most . By the dimension of a bounded-total-degree polynomial space, its monomial basis consists of with and . Adding a slack exponent gives nonnegative exponents summing to ; the stars and bars count shows thatIf , the evaluation linear map has a nonzero element in its kernel of a linear map. Thus there is a nonzero polynomial of total degree of a polynomial vanishing at every point of . Its degree cannot be zero, since contains a line and is nonempty. Write for its nonzero top homogeneous polynomial part.
For every nonzero , the directional hypothesis supplies an affine line in a vector spaceDirections are one-dimensional vector subspaces; rescaling a representative does not change this line. The univariate polynomial has degree at most and vanishes for all values of . The root bound for a polynomial makes it the zero polynomial. Its coefficient of is exactly , so for every nonzero . Because , too.
To finish, we prove the relevant polynomial nonvanishing below the field size. A polynomial over of degree at most in each variable cannot vanish on all of unless it is zero. Induct on . The one-variable case is the root bound for a polynomial. For more variables, writeFixing the first coordinates gives a univariate polynomial with roots of a polynomial, so all its coefficients are zero. Hence every vanishes on , and the induction hypothesis makes every zero. Applying this to , whose total degree of a polynomial is less than , contradicts its choice as nonzero.
Therefore . Finally,which proves the requested lower bound. The crucial observation in the finite-field Kakeya polynomial bound is that complete lines force the highest homogeneous polynomial part to vanish in every direction.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 113 4 Solution Created 2026-10-03 Updated 2026-10-05
The resolution principle for sheaf cohomology states that an exact sequencewith for every computes as the cohomology of . In particular one may use a flasque resolution.
An affine morphism is one for which the inverse image of every affine open subset of is affine. We use vanishing of quasi-coherent cohomology on an affine scheme: a quasi-coherent sheaf has zero higher sheaf cohomology on an affine variety. Take a flasque resolution . Each direct image sheaf is flasque, because restriction on is restriction on . On an affine open , the augmented complex of sections isIts positive-degree cohomology vanishes by the affine theorem, and its degree-zero kernel is . Checking exactness on this affine basis shows that is a flasque resolution of . The global-section complexes are identical, proving cohomology under an affine morphism:
For projective space, put with its usual grading and . Construct the twisting sheaf on projective space by setting its sections on to be the degree- part , viewed as a module over . It is free of rank one with generator , even when is negative. On overlaps the generators differ by the unit , so these modules glue to a line bundle .
Assume first . These local modules all embed in the graded fraction field, and agreement on overlaps identifies global sections with . Since is a unique factorization domain and at least two distinct variables occur, a reduced fraction belonging to every has no nonconstant denominator. Thus the intersection is . Counting monomials by stars and bars givesHere . The printed formula needs the convention that a counting binomial coefficient is zero when its upper integer is smaller than its nonnegative lower integer; the generalized polynomial convention for negative upper integers would give incorrect dimensions. For , every twist on the single point is trivial, so for every and its higher cohomology is zero. This case supplies the base of dimension induction; the displayed top-cohomology formula below is for .
The standard affine opens have affine finite intersections. The acyclic cover theorem and affine vanishing identify sheaf cohomology with a Čech cochain complex ending in degree . In particular for .
Let , with inclusion . Multiplication by gives the hyperplane exact sequence for twisting sheavesExactness is checked in the local trivializations, where a hyperplane equation is a non-zero-divisor and the quotient is its restriction to . Since a closed immersion is an affine morphism, the first part identifies the cohomology of with that on .
For , the long exact sequence in sheaf cohomology and giveStarting from the given vanishing for sufficiently large and descending gives for and for .
Now let , and assume the formulas in dimension . Restrictionis surjective for every : for it is polynomial restriction, and for both groups are zero since . The long exact sequence in sheaf cohomology therefore makes injective. For , dimension induction gives , so the same sequence makesinjective. Composing these injections up to a sufficiently large twist, where the target is zero by the given hypothesis, proves for every and .
The remaining part of the long exact sequence in sheaf cohomology is consequentlywhere the last zero uses the affine-cover dimension bound on . Hence . Using dimension induction and eventual vanishing, downward summation yieldsby telescoping Pascal's identity; for it is zero. Thus, without invoking Serre duality in the induction,Finally, the canonical bundle of projective space is , obtained by taking determinants in the dual Euler sequence. Serre duality therefore predictsIt pairs the two computed extreme-degree dimensions and pairs zero intermediate groups with zero intermediate groups, exactly as required.