Past exam of the mathematics course of the University of Cambridge 2010 ii Paper 2 12H Solution Created 2026-09-24 Updated 2026-10-14
The Vandermonde determinant isIndeed, the determinant is an alternating polynomial, hence divisible by every . Both sides have degree , and comparison of the coefficient of gives constant one. This is an identity over the integers, so reducing its coefficients modulo a prime number preserves it. For , two residues coincide and the determinant vanishes. For , choose all elements of once to obtain a nonzero determinant.
For the ordering , this determinant is . If is odd, put . Wilson theorem gives . Pairing the factors with indices and , and leaving unpaired, givesEvery distinct ordering changes the determinant by its permutation sign; repeated residues give zero. Thus the possible values are for odd , and for .
Use Shamir's secret sharing: choose independent uniform , and engrave the shares , where and the are distinct nonzero field elements. We may take ; otherwise use a sufficiently large finite field extension and an agreed integer encoding. Any shares determine by polynomial interpolation and hence . Given any shares and any proposed , their equations in the coefficients have a unique solution: the coefficient matrix has determinant times a nonzero Vandermonde determinant. Since the coefficients were uniform, the observed shares have the same distribution for every . Thus they give no information about the secret.
For the fake, reduce its integers to field elements and first check that its abscissa is distinct and nonzero. Random collisions or a zero abscissa are immediately detectable and have probability ; the following conclusions concern the overwhelmingly likely distinct-abscissa case.
With shares, there is always a unique degree-at-most- interpolating polynomial. If all shares are genuine it gives the correct secret. If one is fake, it normally gives the wrong secret, with probability conditional on a uniform fake ordinate, but the inconsistency is undetectable from those shares. The data do not certify which case has occurred.
With shares, genuine shares are consistent with one such polynomial. A fake is inconsistent with probability , so it is usually detected as an inconsistency. However, omitting each of the shares in turn gives possible polynomials. If the data are inconsistent, their constant terms are distinct: two candidate polynomials with the same constant term agree at zero and at their common abscissae, hence agree identically, which would make all the data consistent. The secret is narrowed to possibilities, but the fake is not identified.
With shares, at least are genuine. There is a unique degree-at-most- polynomial agreeing with at least shares: two candidates would agree on at least abscissae and hence coincide. Find it by deleting each share and checking consistency. The secret is recovered uniquely, and the fake is identified unless it happens to lie on the genuine polynomial, in which case it is harmless.
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 3 3I Solution Created 2026-09-24 Updated 2026-09-29
Use Shamir's secret sharing over the finite field . The Chair independently chooses from the uniform distribution on a finite set and forms the random polynomialChoose distinct nonzero , with equal to the number of discs to be issued, and inscribe on disc .
Any discs give distinct values of a polynomial of degree at most . Their Vandermonde determinant is nonzero, so polynomial interpolation recovers uniquely and hence recovers the secret as .
Conversely, fix any observed discs and any candidate secret . Interpolating through those points and gives exactly one polynomial of degree at most . Thus every candidate is compatible with the observed discs in exactly the same number of ways. Because the coefficients were chosen uniformly, the conditional distribution of the secret is unchanged after seeing any discs. This proves the Perfect secrecy of Shamir's threshold scheme.
Perfect secrecy of Shamir's threshold scheme 2026-09-29
Conditioned on any shares in Shamir's secret sharing, each candidate secret in remains equally likely. Appending to those shares determines exactly one degree-at-most- polynomial for every candidate , by the nonzero Vandermonde determinant.