Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 10 3 Solution Created 2026-10-03 Updated 2026-10-14
For a rational matrix , write its columns as . It is partition regular if every finite colouring of admits positive integers , all of one colour, with . Repeated coordinates are allowed. The columns condition is an ordered partitioninto nonempty blocks such thatRado's theorem states that a rational matrix is partition regular if and only if it satisfies the columns condition. We prove both implications.
For necessity, clear denominators so the columns are integral. For every disjoint pair of index sets with andchoose a rational linear functional annihilating all columns in but not . Such a functional exists by extending a basis of the indicated linear span to include , prescribing zero on the former and one on the latter. Clearing its denominators produces an integer-coefficient functional with a nonzero integer. There are only finitely many pairs . Choose a prime number dividing none of these nonzero evaluations; if there are no bad pairs, choose any prime.
Use the last nonzero digit coloring for this prime. Namely, write with and colour by . By partition regularity, obtain a positive monochromatic solution. Let the distinct P-adic valuations of its coordinates beand put . All unit parts have a common nonzero residue modulo .
For a block , let . If its column sum were outside the earlier linear span, apply to the equation . Earlier-block contributions are exactly zero. Divide the remaining equation by and reduce modulo . Higher-valuation terms vanish, leavingThis contradicts the choice of and . Consequently every block sum lies in the earlier linear span. For that span is , so its sum is zero. This proves the columns condition by the finite separating-functional proof of the columns condition.
For sufficiency, suppose the blocks satisfy the columns condition. Choose rational coefficients , for , such thatTake a positive integer clearing all their denominators and an integer at least as large as every . An M-p-c set with generators consists of all valueswith every such value positive. The generators are therefore chosen with . Positivity is part of the configuration, not achieved by deleting inconvenient values.
Use the permitted monochromatic m-p-c set theorem to obtain one such monochromatic set. For each , putEvery is a positive element of that set, because its non-leading coefficients are integers of magnitude at most . In the sum , the coefficient of is , and the coefficient of each with isThus . This is an explicit Rado solution inside an m-p-c set and proves sufficiency.
For the Finite sums theorem, defineTo deduce its monochromaticity from Rado's theorem, introduce variables for all nonempty and equationsLet be their coefficient matrix, and partition its columns by . For a fixed , the vector with -coordinate when , and otherwise, solves this homogeneous system: in every row both sides count whether belongs to its indexing set. HenceThe first block sum is zero, and each later block sum lies in the linear span of earlier columns. This proves the columns partition for finite-sums systems. The positive monochromatic solution supplied by Rado's theorem has , and its other coordinates are exactly all the nonempty finite sums. Therefore is monochromatic. For a singleton is immediate. Equivalently, the full positive M-p-c set with directly contains every such sum, by taking its leading index to be the least index in .
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 30 2 Solution Created 2026-10-03 Updated 2026-10-14
For a binary linear code , define the linear functional . This is the parity of the Hamming weight, so the even-weight subcode of a binary linear code isIf , then . Otherwise its image is all of , and rank-nullity theorem gives . The kernel of a linear map is a linear subspace, proving the required dichotomy including closure under addition.
Let be a full-rank generator matrix. Messages correspond bijectively to codewords . If the th column is nonzero, the coordinate is a nonzero linear functional. Choose with . Translation pairs the messages with coordinate zero and those with coordinate one, so exactly codewords contribute one at position . Summing over the columns proves the total weight of a full-support binary linear code formulaA zero column would contribute zero instead, explaining the hypothesis.
For the Hamming code, use a parity-check matrix whose columns are all nonzero vectors of , once each. Then and . The sum of all columns is zero: each coordinate occurs as one exactly times, which is even for . ConsequentlyUnder this column labelling, the support of a vector of a codeword is identified with a set of distinct nonzero columns whose sum is zero. No one-column or two-column support of a vector has this property, confirming .
We can count the low-weight coefficients of a binary Hamming code directly. For weight three, choose ordered distinct nonzero columns in ways. The third must be , which is nonzero and different from both. Every unordered support of a vector has orderings, so .
For weight four, the first two columns are again distinct and nonzero. The third must avoid , giving possibilities. The fourth is ; it is nonzero because , and cannot equal any of the first three because those are distinct. Conversely every ordered zero-sum four-tuple arises in this way. Dividing by gives .
For weight five, the first three columns must be linearly independent. If , the sum condition would force the fourth and fifth to coincide. Thus there are choices for the first three. Put . The fourth column must avoid all seven nonzero vectors of their linear span: would repeat a column; would force the fifth column to be zero; and would force the fifth column to be , respectively. Conversely, if avoids these seven vectors, is nonzero and distinct from . This gives choices for and determines . Dividing by yieldsAt , the last count is zero, as the argument also shows.
The dual code is the row space of , so its codewords are for . For nonzero , the linear functional takes value one on exactly half the vectors of , by the same translation-pairing argument used above. Removing the zero vector removes only a zero value, so the Hamming weight is still . Since has matrix rank , distinct give distinct codewords. This proves the constant weight of a binary simplex code and its full distribution:In particular, the ordinary weight enumerator of the binary simplex code is .
Apply the MacWilliams identity to this dual code, whose size is . For , the result isThe coefficient of in the second product is a value of the binary Kravchuk polynomialsThese bounds merely enforce and . Since , they agree with the bounds in the PDF. Therefore the requested formula isFor a further check on the low-weight counts, givesThus , , and . Substituting these into the boxed formula and using reproduces the three direct combinatorial counts above.
Finally, at the only possible term in the defining sum has , so , because is even. ConsequentlyThe unique length- binary word of weight is the all-ones word, exactly as proved by the parity-check matrix calculation.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 32 1 a ii Solution 2026-10-14
The same pricing relation gives whenever the terminal payment is nonnegative. Therefore negative initial cost also contradicts a strictly positive state-price density, even if the terminal payment is identically zero.
This second form is needed for directions invisible in the terminal payments. Let be the linear span of the essential values of , equivalentlyIf , let be its nonzero orthogonal projection on and set . Then almost surely while . Hence the second form exists in this case. Part (b) handles all remaining cases.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 12 3 Solution Created 2026-10-03 Updated 2026-10-14
For a rational matrix with columns , partition regularity means that every finite colouring of the positive integers admits a positive monochromatic vector with . Repeated coordinates are allowed. The columns condition is an ordered partition into nonempty blocks such thatRado's theorem says that is partition regular if and only if it satisfies the columns condition. We prove both directions.
For necessity, clear denominators so the columns are integer vectors. For every pair of disjoint index sets with for which is not in the rational linear span of the I-columns, choose an integer linear functional that vanishes on those I-columns but not on that sum. Such a functional exists by finite-dimensional linear algebra; clear its rational denominators. There are only finitely many pairs, so choose a prime number dividing none of the nonzero integersIf there are no offending pairs, any prime number suffices.
Colour a positive integer , , by . This is the last nonzero digit coloring, using colours. Partition regularity gives a positive monochromatic solution. Group its coordinate indices by their distinct P-adic valuations , writing . All units have the same nonzero residue modulo .
For each , let . If its block sum failed the required span condition, apply the chosen to . The earlier terms vanish exactly, not just modulo a power of . Divide by ; terms with later valuations are still divisible by . Reduction modulo then yieldscontrary to the choice of . Thus every required span relation holds, and with the first block sum is zero. This is the finite separating-functional proof of the columns condition; it avoids an unjustified passage from congruences to rational equality.
For sufficiency, assume the columns condition. Choose rational coefficients , for and , such thatChoose a positive integer clearing every denominator, and a positive integer , taking if the list is empty. By the allowed monochromatic m-p-c set theorem, there are positive generators such that all numbersare positive and have one colour. This is a full m-p-c set; positivity is part of its definition, not a rule discarding negative expressions. For , putThese coordinates all belong to that monochromatic m-p-c set. Collecting coefficients of givesThus the Rado solution inside an m-p-c set proves partition regularity and completes the theorem.
To obtain the Finite sums theorem from Rado's theorem, introduce a positive variable for every nonempty and imposePartition the columns of this system into . The -column sum is zero: in a row indexed by containing , the contributions of and cancel, and other rows receive neither. For , the -column sum iswhere is the column of . Those columns lie in earlier blocks. Hence the columns condition holds. A monochromatic positive solution gives and , provingFor the system has no rows and the conclusion is immediate. The construction is also visible directly in the sufficiency proof: a monochromatic -set contains every nonempty sum of its generators, classified by the smallest chosen index.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 3 1 i Solution Created 2026-10-03 Updated 2026-10-14
The derived series of a Lie algebra is defined recursively by and , where the bracket denotes the linear span of all brackets of pairs of elements. A solvable Lie algebra is one whose derived series of a Lie algebra terminates at zero:The solvable radical of a finite-dimensional Lie algebra is its largest solvable ideal of a Lie algebra. A semisimple Lie algebra has no nonzero solvable ideals of a Lie algebra, equivalentlyThese are definitions; identifying semisimplicity with a direct sum of simple ideals additionally uses the structure theorem in characteristic zero. The calculations and representation theorems below are over , as in the complex representation setting of this paper.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 68 3 b Solution Created 2026-10-03 Updated 2026-10-14
Here is a positive integer and is an integer index of a Fourier coefficient. Split a period into intervals and set on the th interval. Periodicity and integrability giveFor , is a root of unity different from one and satisfies , so . ThereforeFor the same substitution gives . If the mean of is zero, this last mode vanishes as well. Since the linear span of the exponentials with is the space of trigonometric polynomials of degree at most , every pairing with that space is zero. This is the periodic dilation annihilates low Fourier modes property. The integer-index assumption is essential; the stated Fourier orthogonality would generally be false for noninteger .
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 30 4 Solution Created 2026-10-03 Updated 2026-10-14
Work over the finite field . The given factorization shows that divides , so it generates a length- cyclic code . Since , the vectors represented byform a basis: their distinct leading degrees prove their linear independence, and every multiple of representing a polynomial of degree below has a multiplier of degree at most . Hence is a binary linear code of dimension , containing codewords. The generator has Hamming weight seven, so the minimum Hamming distance of a linear code satisfies .
The BCH bound used here is the following consecutive-root theorem. If a length- cyclic code over , with relatively prime to , has a generator polynomial of a cyclic code vanishing at for a primitive th root , then its minimum Hamming distance is at least .
Choose a root of in an algebraic closure of . The factorization implies , while in , so . As is prime, has order . The Frobenius endomorphism preserves the roots of a polynomial with coefficients in : . Thus every is a root. In particular, shows thatare roots of . These four consecutive roots give by the BCH bound. A further argument is needed to exclude weights five and six.
Put . Cancelling in the supplied factorization gives . In the quotient ring , is invertible and every cyclic shift of equals . Since ,The coefficient of in this circular product is , the binary inner product of the coefficient vector of with a cyclic shift of itself. Every coefficient of is one. The circular autocorrelation of the binary Golay generator therefore implies that all pairs of basis rows , including equal rows, satisfy
Each has Hamming weight seven. Append its parity bit, which is one, and write . The extended rows have Hamming weight eight and satisfy . Their linear span is precisely the parity extension of , because the appended coordinate is the linear functional equal to the sum of all coordinates.
These extended generators produce a doubly even code. To prove this rather than assume it, useAll the extended generators have weights divisible by four. A sum of previous generators is orthogonal to the next generator, so the intersection size in this identity is even. Induction proves that every word in has Hamming weight divisible by four; this is the orthogonal generators of doubly even codes argument.
An original word of weight five acquires a parity bit and has extended weight six, while a word of weight six acquires a zero parity bit and still has extended weight six. Both contradict divisibility by four. Together with the BCH bound and the weight-seven generator, this completes the BCH and parity-extension proof of the binary Golay distance:
Past exam of the mathematics course of the University of Cambridge 2007 ib Paper 3 10G i Solution Created 2026-09-24 Updated 2026-10-14
The row rank of a matrix is the dimension of the linear span of its row vectors. Its column rank is the dimension of the linear span of its column vectors, equivalently the dimension of the image of the corresponding linear map. The equality of row rank and column rank states that these two numbers are equal for every matrix. Their common value is the rank of a matrix.
Past exam of the mathematics course of the University of Cambridge 2007 ib Paper 3 1G Solution Created 2026-09-24 Updated 2026-10-14
An element of the general linear group over a finite field is an invertible matrix. Its columns must form an ordered basis of . There are choices for the first column. Its linear span contains vectors, so there are choices for a second column outside that linear span. Thus the order of a general linear group over a finite field isThe determinant is a surjective group homomorphism : for each , the diagonal matrix has determinant . Its kernel of a group homomorphism is the special linear group over a finite field. The first isomorphism theorem gives , hence
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 2 2 a Solution Created 2026-10-03 Updated 2026-10-14
Fix the quantum enveloping algebra of sl2 conventionThe printed pair of matrices contains an error. On its first basis vector, the printed matrices give , whereas the defining commutator gives . Since is not a root of unity, : would give , and would give . Thus the two printed matrices cannot represent this algebra. Keeping the printed matrix requires exchanging the two nonzero entries of the printed matrix. We derive that corrected pair rather than assume a classification theorem.
As is not a root of unity, successive applications of multiply eigenvalues by . Finiteness of the spectrum therefore makes a nilpotent operator. Start from a eigenvector and apply until the last nonzero vector ; then and , with . The defining commutator gives the highest-weight string for quantum sl2For completeness, at this is the commutator applied to . To advance from to , write , use , and combine the two coefficients; their sum is the displayed coefficient at .
Let be the first index with . Such an index exists because nonzero have distinct eigenvalues . The linear span of is stable under , so simplicity makes it all of . The distinct eigenvalues make these vectors independent; hence . Applying the string formula to givesAs and , , so with .
Past exam of the mathematics course of the University of Cambridge 2008 ia Paper 1 5B b Solution Created 2026-09-24 Updated 2026-10-14
The parametric equation of a straight line through with unit direction isIf the two lines meet, then for some real , so lies in the linear span of their direction vectors. Its dot product with their cross product is consequently zero:This is not sufficient without excluding parallel lines. For instance , and satisfy it, but the lines are distinct and never meet. For nonparallel lines the condition is sufficient, because the two directions span the plane perpendicular to their nonzero cross product.
For nonparallel skew lines, put . Every joining vector is , with fixed component along . Its length is at least the absolute value of that component. Its perpendicular component can be canceled by a unique choice of , since the two independent directions span . This lower bound is attained, proving the distance between skew lines:
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 14 4 Solution Created 2026-10-03 Updated 2026-10-14
The Frankl-Wilson theorem in its uniform form says: let be a prime number, let have size , and let have , while for every distinct pair of members. Then
The modular-intersection, nonuniform form of the Frankl-Wilson theorem is as follows. Let be a prime number, let have elements, and let satisfy for each , whereas for distinct . ThenThis nonuniform Frankl-Wilson theorem allows different sizes and different diagonal residues; in particular it applies when all sizes have one common residue outside .
To prove it by the polynomial method in combinatorics, work over the finite field and associate to each member the intersection polynomialReplace each positive power of in its expansion by to obtain its multilinear reduction on the Boolean cube . This preserves evaluation on every characteristic vector, whose coordinates are zero or one, and leaves degree at most . At the characteristic vector ,It is zero for distinct , and nonzero for by the diagonal hypothesis. If , evaluating at each forces . Thus the multilinear polynomials are linearly independent. They belong to the vector space with basis the square-free monomials for , whose dimension is the displayed sum. This proves the nonuniform form, including , where distinct members are impossible and the empty product is one.
For the sharp uniform form, we need the low-degree evaluation rank on a uniform layer. Form the integer matrix whose rows are indexed by with , columns by -subsets , and entries . These are evaluations of the square-free monomials. Over the rational numbers, the row of a -subset satisfiesIndeed, when the left side counts the -subsets between and , and otherwise both sides vanish. Since , the coefficient is a positive integer. Thus the degree- rows span all the rows over the rational numbers, giving . Every square submatrix of larger size has integer determinant zero, so its determinant remains zero modulo . HenceThis reduction of matrix rank is the reason one must not try to divide by directly in .
The evaluations of the on the th uniform layer of the Boolean cube lie in the row linear span of over . They are linearly independent as functions there, because restriction to the columns corresponding to still gives the nonzero diagonal evaluation matrix. Their number is consequently at most . This completes the proof of the uniform Frankl-Wilson theorem as well.
For the odd-cardinality problem the sharper Oddtown theorem follows directly from linear algebra. Let be the characteristic vector. The parity conditions sayFor any linear combination , take its dot product with . All off-diagonal terms vanish, leaving . Hence these vectors are linearly independent in an -dimensional vector space, givingThe singleton sets show that the bound can be attained. Notice why the constant term in the general nonuniform Frankl-Wilson theorem is unnecessary here: these dot products already give a diagonal evaluation matrix using only the coordinate functions.
For even , partition into the pairs and take every union of a selection of these pairs. This gives exactly distinct sets, including the empty set. Each has even size; every pairwise intersection is again a union of entire pairs and therefore has even size. This attains the proposed bound.
For any set family satisfying the even-cardinality conditions, let be the linear span of its characteristic vectors over . Now the self-dot products vanish as well as the off-diagonal ones. By bilinearity, for all , so : it is a self-orthogonal binary subspace.
For completeness the standard bilinear form on is nondegenerate, because a vector orthogonal to every coordinate vector has every coordinate zero. Thus the map from onto the dual space is surjective: every linear functional on extends to the whole vector space by extending a basis, and every such functional on is a dot product with a vector. Its kernel is . The rank-nullity theorem consequently gives . The inclusion implies . Finally, distinct members have distinct characteristic vectors, all in , and a -dimensional vector space over has exactly elements. ThereforeThis proves the Eventown theorem and also explains the suggested dimension contradiction if the set family had more than members.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 50 1 a Solution Created 2026-10-03 Updated 2026-10-14
Let be the orthogonal projection onto the code, and let be the specified error operators, including their linear span. The necessary and sufficient Knill--Laflamme condition iswhere the scalar matrix is independent of the encoded state. In an orthonormal basis of the code this meansThere must be one recovery quantum channel which corrects every allowed error channel, rather than a different recovery chosen using the unknown logical input.
The scalar condition means that any information carried away by the errors depends on their labels but not on the encoded amplitudes. To see how recovery works, diagonalize the positive semidefinite matrix and take corresponding linear combinations of the errors. Then . For each positive , the map is an linear isometry into an error-image subspace, and these subspaces are mutually orthogonal. Measuring their label and reversing the associated linear isometry recovers the logical state without measuring its amplitudes. Zero eigenvalues correspond to errors that annihilate the code. This also explains why the condition corrects arbitrary coherent combinations of the listed errors.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 6 1 ii Solution Created 2026-10-03 Updated 2026-10-14
The derived series of a Lie algebra isThe algebra is a solvable Lie algebra if for some . Here a bracket of subspaces means the linear span of their Lie brackets.
The Lie theorem states that a nonzero finite-dimensional representation of a complex solvable Lie algebra has a common eigenvector; equivalently, its operators can be simultaneously upper triangularized. Applied to an Irreducible Lie algebra representation, the common eigenvector gives a nonzero invariant line, which must be the entire module. A scalar action respects the Lie bracket exactly when . Thus, in the finite-dimensional setting,Every functional displayed gives a one-dimensional irreducible, and two such modules are isomorphic exactly when their functionals agree.
The finite-dimensional qualification is essential here, although the printed wording does not repeat it. For example, let and act on by and . These operators satisfy . A nonzero submodule stable under is an ideal . Stability under forces , so the two polynomials, having the same degree and leading coefficient, are equal. In characteristic zero a polynomial invariant under a nonzero shift is constant. The module is therefore an infinite-dimensional simple module for the two-dimensional affine Lie algebra. It rules out extending the one-dimensional classification to unrestricted representations.
Past exam of the mathematics course of the University of Cambridge 2010 ia Paper 1 6C Solution Created 2026-09-24 Updated 2026-10-14
In an oriented orthonormal coordinate system, the dot product and cross product areThe scalar triple product is ; equivalently it is the determinant of the matrix whose columns are . The three vectors have linear independence when
Let and be column matrices. Since , we have . Multiplicativity of the determinant and its invariance under matrix transpose yieldA square matrix has maximal matrix rank exactly when its determinant is nonzero, equivalently when its columns have linear independence. A product of two real numbers is nonzero exactly when both factors are nonzero. Hence .
For the last construction, choose two standard basis vectors in and take for . If with , its first two coordinates give and , hence . Every pair therefore has linear independence. Every triple lies in the two-dimensional linear span of and has linear dependence. More explicitly, for distinct ,a nontrivial dependence. Thus .