Past exam of the mathematics course of the University of Cambridge 2010 ia Paper 1 8B i Solution Created 2026-09-24 Updated 2026-10-14
An orthogonal matrix satisfies , so it preserves the Euclidean norm. For a nonzero real eigenvector ,Therefore . Geometrically, eigenvalue fixes every vector on the linear span of ; eigenvalue reverses every vector on that line. In either case the line is preserved as a set.
For , solving gives , , . For , the equations are and , hence . For , let and , so that . Then is equivalent to . The resulting eigenspaces and their bases areSolving all the equations shows that these lists contain the maximum possible numbers of independent eigenvectors with eigenvalue .
The columns of form an orthonormal basis, so is an orthogonal matrix. Also . Its fixed axis is the line through , and on the perpendicular plane it acts as a two-dimensional rotation. If denotes the rotation angle, its matrix trace is . Since , we obtain . To fix the orientation relative to , note that andThe component of perpendicular to has squared length , and this scalar triple product equals . Hence . ThusEquivalently, its unsigned angle is , or its positive angle is about the opposite oriented axis.
For , the reflection in a hyperplane formula givesIt fixes the plane pointwise and maps to , so . These actions also show that is an orthogonal matrix. In contrast, the second column of has squared length , so is not orthogonal and cannot represent either of these Euclidean motions.
A diagonalizable matrix must have a basis of eigenvectors over the field in question. For , a direct determinant computation gives . Its eigenvalues are , where . Only one is real, with one-dimensional eigenspace, so is not diagonalizable over . Over the three eigenvalues are distinct, and the vectors for give an eigenbasis. The upper triangular matrix has only eigenvalue , of algebraic multiplicity , but its eigenspace has dimension over either field. Hence is not diagonalizable over either field. For , the two real plane vectors displayed above, together with , form an eigenbasis, with eigenvalues . They remain independent over . Therefore
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 9 2 Solution Created 2026-10-03 Updated 2026-10-14
Here is the matrix form of Rado's theorem. A matrix with entries in the rational numbers and columns is a partition regular matrix if every finite coloring of the positive integers admits a vector whose coordinates are monochromatic and for which . Its columns condition asks for an ordered partition into nonempty blocks , withRado's theorem states that these two conditions are equivalent. Coordinates need not be distinct; positivity is required for every coordinate.
First prove necessity using the finite separating-functional proof of the columns condition. Clearing denominators does not change either the kernel or the columns condition, so assume that has integer entries. For each pair of disjoint index sets , with nonempty, for which is outside the rational linear span of the -columns, choose an integer linear functional such thatSuch a linear functional exists: extend a basis over the rational numbers of the indicated linear span by , prescribe values zero on the former basis and one on , extend to a basis of the ambient vector space over the rational numbers, and then clear the functional's denominators. There are only finitely many pairs . Choose a prime number larger than the absolute values of all their nonzero evaluations; if there are none, choose any prime number.
Color by its last nonzero digit coloring value, namelywhere is the P-adic valuation. By partition regularity, choose a positive solution all of whose coordinates have the same nonzero digit . Group its indices into nonempty blocks according to increasing distinct P-adic valuations .
Suppose that a block sum is outside the rational linear span of the earlier columns, and put , taking for . Apply the selected linear functional to . The earlier terms vanish exactly. Divide the remaining integer equality by and reduce modulo . Later blocks vanish modulo , while each coordinate in contributes its common digit . We obtainwhich is impossible by the choice of and because . Thus each block sum lies in the earlier linear span. For the first block, this span is zero, so . This proves the columns condition.
For sufficiency, assume the columns condition and choose rational coefficients , for , such thatChoose a positive integer clearing all these coefficients' denominators and a positive integer with for every coefficient. Use the permitted monochromatic m-p-c set theorem, in the suffix convention for an m-p-c set, to obtain positive generators such that the full setis positive and monochromatic. The positivity of the full m-p-c set is important: we do not discard expressions that happen to be negative. For , setAll these coordinates belong to , so they are positive and monochromatic. On collecting coefficients of each , their matrix product isThis explicit Rado solution inside an m-p-c set proves sufficiency and completes the proof of Rado's theorem.
To deduce the Finite sums theorem directly from the columns condition, introduce one positive variable for each nonempty and imposeFor there are no equations and any positive integer works. For , write for the column belonging to . Partition the columns into blocks in the order . Consider the row indexed by a set with . The sum of the columns in has row valueFor this is always zero. For it equals one exactly for those with and . Each such is the negative coordinate vector in row , and it belongs to an earlier block. Thereforewhich verifies the columns condition, rather than assuming the desired Finite sums theorem. Apply Rado's theorem to this system. Its monochromatic positive solution satisfies with , and hence
Past exam of the mathematics course of the University of Cambridge 2013 ia Paper 1 5C Solution 2026-10-07
Two nonzero vectors are linearly independent when forces . Their linear span then has dimension two. If they are linearly dependent, one is a nonzero scalar multiple of the other, and their span has dimension one. Thus the two requested dimensions are .
The Euclidean scalar product and its norm are and . To prove the Cauchy-Schwarz inequality, first handle trivially. Otherwise the squared normgivesEquality holds exactly when the residual vector is zero, meaning the vectors are linearly dependent; this includes the zero-vector cases. Expanding and applying Cauchy-Schwarz then givesTaking nonnegative square roots proves the triangle inequality.
For the unit-vector optimization, let . Independence ensures . The variable part of is , which Cauchy-Schwarz bounds below by . Equality occurs only for the antiparallel unit vector. ThusThis is minimizing a linear functional on a sphere. The two consequences follow below.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 5 2 2 Solution Created 2026-10-03 Updated 2026-10-06
The finite-dimensional implication again follows from equivalence of norms and the Heine-Borel theorem. In an infinite-dimensional Banach space, inductively apply Riesz lemma to the proper closed finite-dimensional linear span to obtain a unit vector with . Therefore for distinct indices, precluding a Cauchy subsequence.
For completeness, Riesz lemma here follows by taking , setting , choosing with , and putting . Its distance from exceeds . This proves the closed unit ball is norm compact if and only if the Banach space is finite-dimensional. The printed hint's equality of all pairwise distances is unnecessary; the separation inequality is what the argument supplies.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 128 4 Solution Created 2026-10-03 Updated 2026-10-05
Choose a finite-dimensional generating vector subspace containing , and write for the linear span of products of elements of . The Gelfand–Kirillov dimension isFor a nonzero finitely generated module considered as a right module, choose a finite-dimensional generating vector subspace and define the Gelfand–Kirillov dimension of a module byFor left modules, replace by . These values are independent of the choices: two algebra-generating vector subspaces satisfy and for some positive integers , and two module-generating vector subspaces are contained in bounded-degree translates of one another. The corresponding growth bounds differ only by a constant rescaling and shift of , which do not change the limit superior.
Let be a nonzero standard graded algebra, generated by elements of degree one. It is a homogeneous quotient ring of the polynomial ring . By the Hilbert-Serre theorem, its Hilbert series is a rational function whose only possible pole is at . After canceling, write it as with , where . The cumulative dimensions are the coefficients of and are eventually a polynomial in of degree , with positive leading coefficient. With , these cumulative dimensions equal . ConsequentlyFor the algebra is finite-dimensional and nonzero, so the cumulative dimension is eventually a positive constant. If the zero algebra is allowed, the common convention is an exception to the printed assertion; the integer conclusion concerns nonzero unital algebras.
For the Weyl algebra , the total-degree filtered algebra structure has associated graded ring . Its ordered monomials form a basis. Every finitely generated module has a good filtration of a module, and its associated graded module is finitely generated over . The Hilbert-Serre theorem therefore shows that its Gelfand–Kirillov dimension is an integer in .
A nonzero module of Gelfand–Kirillov dimension zero here would have eventually constant cumulative dimension, hence be finite-dimensional. This is impossible in characteristic zero: taking the trace of the endomorphisms representing gives . For right modules the right-action operators reverse composition and give the negative identity instead, with the same contradiction. ThusBoth occur. The regular module has , hence Gelfand–Kirillov dimension two. For a right module of Gelfand–Kirillov dimension one, take with and . These actions satisfy the defining relation because . The module is a cyclic module generated by , and . This also gives the lower bound for this particular Weyl algebra without invoking a general inequality for higher Weyl algebras.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 106 2 b 3 Solution Created 2026-10-03 Updated 2026-10-05
If the spectrum has one point, the preceding part gives , and the linear span of any nonzero vector is a closed proper invariant subspace because .
Otherwise choose distinct points and disjoint nonempty relatively open neighborhoods . The open-set result gives and , whileThus . Set . As the range of an orthogonal projection, is closed, and the preceding observations give . The Borel functional calculus for a normal operator gives , soIn fact both and its orthogonal complement are invariant.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 130 2 Solution Created 2026-10-03 Updated 2026-10-05
Rado's criterion. Let be a matrix over the rational numbers, with columns . A partition regular matrix is one for which every finite coloring of the positive integers gives a monochromatic positive vector with ; repeated coordinates are allowed. The columns condition is the existence of an ordered set partition of into nonempty blocks such thatRado's theorem states
Necessity. Clear denominators so the columns are integer vectors. For each pair of disjoint index sets , with , for which is outside the linear span of the -columns, choose an integer linear functional that vanishes on those columns and satisfies . Such a functional exists by extending a basis of the span to one also containing , defining a functional on that basis, and clearing its rational denominators.
There are only finitely many such pairs. Choose a prime number dividing none of these nonzero integer evaluations. If there are no such pairs, any prime will do. Use the last nonzero digit coloring: write , with , and color by . Since is a partition regular matrix, this coloring supplies a monochromatic positive solution, so all its unit parts have a common nonzero residue .
Group the coordinates by increasing P-adic valuation, obtaining blocks with valuations . Suppose for some the sum lay outside the linear span of the earlier columns, with earlier index set . Apply to . Earlier terms vanish exactly. Divide the remaining integer equation by and reduce modulo . Later terms vanish modulo , while the current block givescontrary to the choice of . Thus every block sum lies in the earlier linear span, and for the first block this means it is zero. This proves the columns condition by the finite separating-functional proof of the columns condition.
Sufficiency. Suppose the columns condition holds. For , choose rational coefficients , indexed by earlier columns, such thatTake a positive integer clearing their denominators and bounding all . We use the allowed monochromatic m-p-c set theorem with levels. Its M-p-c set is the full setwhere the generators make every displayed expression positive. Positivity is part of this convention, rather than a rule that discards nonpositive expressions. For , setAll these numbers lie in the monochromatic set . The coefficient of in iswith the first coefficient zero by . Hence . This Rado solution inside an m-p-c set proves sufficiency.
The equality-or-inequality dichotomy. If every finite coloring gives a monochromatic solution with , the first alternative holds. Otherwise fix a finite coloring admitting no such solution. Given any other finite coloring , use the refinement of a finite coloring . Since is a partition regular matrix, it supplies a solution monochromatic for both colorings. Its first two coordinates cannot be equal, by the defining property of , so it is the required unequal solution for . Thus one of the two universal alternatives always holds. This is the partition regularity dichotomy under an extra constraint; the alternatives are not asserted to be mutually exclusive.
Both restrictions can fail. The Schur matrixis a partition regular matrix: blocks and satisfy the columns condition. Color by , using the 2-adic valuation. An equal-coordinate solution would have , and , so its coordinates cannot be monochromatic. This exhibits failure of the equality restriction.
Conversely, satisfies the columns condition in one block. Every solution has , so even the constant one-color finite coloring admits no unequal-coordinate solution. Consequently
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 324 2 a Solution Created 2026-10-03 Updated 2026-10-14
Let be the orthogonal projection onto the good linear subspace , and let be a prepared unit vector with . For , defineThe amplitude amplification theorem states that, if the reflection operators about the initial state and the good subspace can be implemented, the iterationsatisfiesTo prove it, the two reflections preserve the linear span of . In this ordered orthonormal basis, direct multiplication givesMultiplying this rotation matrix by replaces by , proving the formula by mathematical induction.
For known , choose to be a nearest nonnegative integer to . Then , so measurement finds the good subspace with probability at least , using iterations. For , measurement of the initial state already has constant success probability. If success is certain; if these reflections cannot create any good component. If , the initial-state reflection is , implemented using quantum state preparation and its inverse quantum circuit.
Past exam of the mathematics course of the University of Cambridge 2020 ib Paper 1 8F Solution Created 2026-09-24 Updated 2026-09-29
The rank of a matrix is the dimension of its column space, equivalently the dimension of the image of a linear map represented by the matrix. For , the rank-nullity theorem givesAn injective endomorphism of a finite-dimensional vector space is surjective, hence invertible. By the adjugate matrix identity is invertible when ; conversely, multiplicativity of the determinant shows that an invertible has nonzero determinant. Therefore
Let be the matrix unit with its only nonzero entry at . The following matrices are all nonsingular:Indeed, is an elementary shear when , while is diagonal with one diagonal entry equal to two. Their linear span contains every except initially , because , and it then containsThus spans the -dimensional space and, having members, is a basis. This also covers , when .
Now let be a nonsingular zero-one matrix. If it had fewer than zero entries, at least two rows would contain no zero at all. Those two rows would both be the all-one row, contradicting linear independence. Hence every such matrix has at mostones. The bound is attained. Let be the all-one matrix and setwhere there are initial diagonal ones. If and , the first row equations give , while the last gives . Hence every , so is nonsingular and has exactly ones. Therefore
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 130 2 Solution 2026-09-28
Let be a rational matrix with columns . It is a partition regular matrix when every finite coloring of the positive integers has a monochromatic vector with . It has the columns property when the column indices have an ordered partition such thatand, for every ,Rado's theorem states that is partition regular if and only if it has the columns property.
First suppose is partition regular, and clear its denominators. For a prime number , apply the last nonzero digit coloring in base : if with , its color is . Choose a monochromatic solution and group its coordinates into blocks of equal -adic valuation, in increasing order of valuation. Only finitely many ordered partitions are possible, so one partition occurs for infinitely many primes.
For any such prime, divide by the lowest power of and reduce modulo . All coordinates in have the same nonzero leading digit , while later blocks vanish, soThe integer vector is divisible by infinitely many primes and therefore equals zero.
Now fix , and let be the common valuation on . Reduction modulo givesIf the first sum of columns were outside the rational linear span of the earlier columns, an integer linear functional would vanish on every earlier column but not on that sum. Applying it to the congruence would say that infinitely many primes divide one fixed nonzero integer, a contradiction. Thus the displayed partition has the columns property.
Conversely, suppose has the columns property. For , choose rational numbers such thatLet equal for , equal in the earlier blocks, and equal zero in the later blocks. For , let be the indicator of . Thenfor every . Choose a positive integer clearing all denominators and a positive integer with whenever is later than the block containing .
By the monochromatic m-p-c set theorem, the coloring contains a monochromatic -set with generators . DefineIf , thenso every lies in that one monochromatic M-p-c set. Moreover,Thus is partition regular, proving Rado's theorem.
For the equation , a monochromatic solution in the last nonzero base- digit coloring would, at the least -adic valuation among , force a nonempty subset sum of to vanish modulo . The seven possible sums areNone is divisible by , so base gives no monochromatic solution. The smaller primes do admit solutions: works for base , whose coloring has one color, and is monochromatic in base . Hence the smallest prime is
For , use the last nonzero base- digit itself. The nonempty subset sums of arenone zero modulo . This is the required -coloring.
For a -coloring, identify each nonzero residue modulo with , giving the five colorsIf a monochromatic solution existed, reduction at the least -adic valuation would give a signed nonempty subset sum of equal to zero modulo . Singles have absolute residues ; pairs have absolute residues ; and triples have absolute residues . None is zero modulo , which proves that this -coloring works.
Rank-one matrix update 2026-10-14
A rank-one matrix update changes a matrix by an outer product . For real vectors , its action on an input vector isThe dot product reads one scalar from the input, and the correction moves the output along . All correction outputs therefore lie in one linear span. If either vector is zero, the update is zero; otherwise the correction is a rank-one matrix. The full updated matrix need not have rank one.
For example, chooseThe update sends to the correction . Although all four entries change, there is only one direction of correction. Adding it to the identity matrix gives .
This special structure allows existing work to be reused. The matrix determinant lemma updates the determinant using one scalar, and the Sherman–Morrison formula updates the matrix inverse using an outer product. Such formulas are useful when a linear system changes slightly after a new observation or a parameter adjustment: the unchanged part can retain its LU decomposition. The term rank-one describes the rank of the correction, not the size of the entry changes. [ref]
https://ocw.mit.edu/courses/18-065-matrix-methods-in-data-analysis-signal-processing-and-machine-learning-spring-2018/988b4c05680f40a5a4b3be7004a32500_XhSk_Lw2X_U.pdf. Gilbert Strang, MIT 18.065, Lecture 14: Low Rank Changes in A and Its Inverse
. Row space 2026-10-14
The row space of a matrix is the linear span of its rows. It is the column space of the matrix transpose.
Spanning set Created 2026-09-29 Updated 2026-10-14
Let nonnegative partition-normalized B-splines form a basis, with on the integration interval and . The row-normalized mixed Gram matrix is . The normal equations for the orthogonal projection onto their linear span become , with and . The subpartition of unity for B-splines gives and proves the bound. The ordinary symmetric Gram matrix omits this essential row normalization. The projection maps continuous functions into the spline space, not onto all continuous functions.
Unimodular change of lattice basis 2026-10-14
Let be real square invertible matrices whose columns are lattice bases. They generate the same Euclidean lattice precisely when[ref]
If , multiplication by merely permutes the integer coordinate vectors, so the two generated sets agree. Conversely, equality of the generated sets means every column of either basis is an integer linear combination of the other. Hence and for integer matrices . Substitution followed by multiplication by gives , so the integer inverse criterion for a unimodular matrix applies.
Equal real linear spans are a weaker condition: any two real square invertible matrices span the same ambient vector space. Even equal covolumes do not force the same Euclidean lattice. The requirement that the change matrix and its inverse matrix have integer entries provides the missing arithmetic information.
