Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 68 6 Solution Created 2026-10-03 Updated 2026-10-06
For an evolutionary partial differential equation, stability of a numerical method means that errors in the starting data and forcing stay controlled on each fixed interval , with constants independent of the mesh. Fourier stability analysis is especially effective for a constant-coefficient finite difference method on a uniform infinite or periodic grid: translation invariance makes different Fourier modes evolve independently.
For a scalar one-step scheme on the integer lattice, insert , with . The Fourier symbol of each shift is , and the update reduces toThe amplification factor must be defined for every relevant frequency; for an implicit scheme this includes checking that its denominator is nonzero. The Parseval identity turns a bound into a discrete L2 norm bound. Thus gives contractivity, while the more general bound gives for . Conversely, frequencies with amplification uniformly greater than one produce unstable wave packets or periodic Fourier modes under refinement.
For a system, is an amplification matrix; for a multilevel scheme, a companion matrix evolves the vector of time levels. The actual requirement is a uniform bound on matrix powers, not just their spectral radius. A nontrivial Jordan block at a unit-modulus eigenvalue creates polynomial growth in the time index. Even simple eigenvalues inside the unit disk can fail to give a uniform bound if the eigenvector matrices become ill-conditioned as the mesh changes. Uniformly controlled diagonalization of a matrix, or a suitable quadratic energy estimate, resolves this issue. The power boundedness of a two-level Fourier scheme illustrates why root multiplicities and conditioning matter.
For the heat equation, put . Centered space with the Forward Euler method hasThe Von Neumann stability analysis condition holds exactly for on the full frequency interval. The Backward Euler diffusion scheme instead has and is stable for every . The Crank-Nicolson diffusion scheme hasIt too is unconditionally stable, but poorly resolved high-frequency modes have for large , giving oscillatory numerical transients. A-stability therefore does not guarantee strong damping; L-stability distinguishes the damping of the Backward Euler method.
For the advection equation , let . Forward time and centered space giveFor nonzero fixed , repeated steps amplify some modes by a fixed factor greater than one, so the method is unstable under the usual refinement . This calculation also shows the refinement qualification: if , its finite-time growth can be bounded by , though the restrictive scaling defeats the usual hyperbolic time-step choice. For , the upwind finite difference scheme hasso it is stable for . The Lax-Wendroff advection scheme instead hasgiving . These examples separate the effects of the spatial stencil, temporal approximation and Courant number; a higher order of a numerical method by itself does not establish stability.
A periodic boundary condition is ideal for this analysis. The discrete Fourier transform diagonalizes the circulant update, with only the discrete frequencies needed on a grid of points. A bound on all is a convenient guarantee over every such grid. On the whole line, the Fourier transform uses a continuous frequency interval and the Parseval identity proves the corresponding square-summable-data estimate.
Homogeneous Dirichlet boundary conditions do not admit arbitrary complex exponential Fourier modes. For the standard centered second difference on interior points, a discrete sine transform diagonalizes the actual boundary-value matrix:The same heat amplification formulas then apply at these sine frequencies. For example, the exact forward-Euler contractivity limit on that fixed grid is ; the mesh-independent sufficient limit follows by including all frequencies. Homogeneous Neumann boundary conditions can similarly permit a discrete cosine transform, provided the endpoint discretization and its weighted inner product are chosen consistently. The constant mode is then present, reflecting conservation of the heat equation's spatial mean. For inhomogeneous boundary conditions, subtract a suitable lifting of the prescribed boundary data and estimate the induced source using the homogeneous evolution's bound and a Duhamel principle estimate. Bounds for the lifting and source must themselves be uniform in the mesh.
General boundary conditions require separate boundary stability of a finite-difference method. For an advection equation, incoming data are prescribed at the inflow boundary, while an outflow closure must respect the outgoing characteristics. An interior periodic Fourier symbol cannot detect a growing mode confined near a boundary. A normal-mode test on a half-line seeks modes with and that satisfy both the interior recurrence and boundary closure. Their existence proves instability, and uniform control requires more than merely excluding isolated growing roots; the Uniform Kreiss--Lopatinskii condition addresses boundary resolvent bounds. Alternatively, a direct energy method using summation by parts can include the boundary terms and establish the required estimate.
Variable coefficients and nonuniform meshes usually destroy exact Fourier transform diagonalization. Frozen-coefficient Fourier stability analysis is then a useful diagnostic, but it is not automatically a proof for the full variable-coefficient boundary problem. The mesh-uniform energy method in question 5 is an example of a direct proof. Also, an L2 norm proof is not automatically a mesh-uniform maximum-norm proof: finite-dimensional norm-equivalence constants may grow with the number of grid points.
Finally, stability measures error propagation; consistency of a numerical method measures the defect of inserting the exact solution. For a well-posed linear initial-value problem in the chosen norm, the Lax equivalence theorem says that a consistent approximation is convergent exactly when it is stable. Boundary discretization and starting data must be included in that assertion. A Fourier calculation proves convergence only after consistency, well-posedness and the actual boundary treatment have also been checked.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 1 10J Solution Created 2026-09-24 Updated 2026-10-06
The Poisson regression uses independent counts with mean and logarithmic link function. Writing for concentration, the fitted predictors for strains are respectivelyThe interaction formula includes concentration, strain indicators and their products. The intercept is the baseline log mean at zero toxin; exponentiating it gives about fleas. Strain coefficients compare log means at zero concentration. Interaction coefficients compare concentration slopes with the common strain. A unit concentration increase multiplies the three means by about , and respectively.
For design matrix , the fitted expected Fisher information is , , since a Poisson count has variance equal to its mean. Standard errors are square roots of diagonal entries of . Each reported Wald test divides its coefficient estimate by its standard error and compares with an approximate standard normal distribution under a zero-coefficient null, conditional on the other terms. Concentration has strong evidence of a negative baseline effect. At zero concentration strain 1 is not significant at 5% (), while strain 2 is (). The strain-1 slope differs strongly from the baseline (); the strain-2 slope has no detected difference (). A nonsignificant difference is not proof of equality. The very significant intercept is a test of mean one at zero toxin, with little scientific relevance.
Relabelling factor levels merges strains 0 and 2 into one group and leaves strain 1 separate. Model retains three intercepts but allows only two slopes: strain 1 versus the common slope of strains 0 and 2. Thus it has five parameters, compared with six in . Model merges both intercepts and slopes for strains 0 and 2, retaining only four parameters. The natural nesting is .
For these nested generalized linear models, the difference in Poisson deviance is an asymptotic likelihood-ratio test statistic with degrees of freedom equal to the parameter difference. Comparing with gives on one degree of freedom, far below : the additional strain-2 slope is unnecessary. Comparing with gives on one degree of freedom, far above : merging the strain-0 and strain-2 intercepts is rejected. Comparing with uses on two degrees of freedom and requires a two-degree-of-freedom threshold, about , rather than the supplied .
is the most appropriate of the three models: retain different strain baselines and the special strain-1 slope, but pool the unsupported strain-2 slope difference. Residual degrees of freedom are ; deviances of this magnitude give no obvious evidence of overdispersion from these summaries alone.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 1 14I b Solution Created 2026-09-24 Updated 2026-10-06
Let be the adjacency matrix of a graph, the all-ones matrix and the all-ones vector. Counting two-step walks givesBecause , any two nonadjacent vertices have a common neighbour, so the graph is connected. The eigenvalue is simple: for a real eigenvector at , a maximal entry and the averaging equation force its neighbours, and then every vertex, to have the same value. Since is real symmetric, its other eigenvectors lie in , where vanishes. Their eigenvalues are thereforeHere for the present incomplete connected graph. Indeed ; if , then , which conflicts with for an edge. If have multiplicities , dimension and zero trace give and . ThusThese are dimensions of eigenspaces, hence integers. A multiplicity may be zero; that does not affect the conclusion.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 1 15F a Solution Created 2026-09-24 Updated 2026-10-06
If the two-dimensional group representation were reducible, Maschke's theorem would split it into a direct sum of two one-dimensional group representations. In a basis respecting that decomposition, every representing matrix would be diagonal. All would therefore commute, contradicting the specified pair. Hence the group representation is irreducible. Complete reducibility over is essential to this argument.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 1 15F b ii Solution Created 2026-09-24 Updated 2026-10-06
Put . The group representations from the preceding construction with , , will be denoted . Their diagonal matrices for have distinct eigenvalues. The only possible invariant lines would be these two eigenspaces, and the matrix for exchanges them. Thus each is irreducible. Equivalently their matrices do not commute, so part (a) applies. The choices and give equivalent group representations by exchanging basis vectors. The displayed range contains exactly one of each pair, and distinct members have different traces at because is strictly decreasing there.
For a one-dimensional character of a representation, write , . The conjugation relation forces , and . Hence there are exactly four choices:For even , for either ; for odd , has and has . Finally,The sum of squares of irreducible representation dimensions proves that these four one-dimensional and two-dimensional group representations exhaust the irreducibles, including where the latter list is empty.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 1 16H a Solution Created 2026-09-24 Updated 2026-10-06
Let be the coefficients of . Each is an algebraic integer. The ring is a finitely generated -module: reduce powers of each generator by its monic integral equation. As is monic, is generated over by , so is a finite -module. It is torsion-free as a subgroup of a characteristic-zero field, hence free of finite rank. Multiplication by on it is represented by an integer matrix. Its monic characteristic polynomial, by Cayley-Hamilton theorem, annihilates . Thus is an algebraic integer. This proves the required transitivity of integrality in this setting.
Every root of the monic is also a root of the monic polynomial , and is therefore an algebraic integer. The coefficients of are elementary symmetric polynomials in these roots, hence algebraic integers because algebraic integers form a ring. They also belong to , so belong to . Consequently .
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 1 31A Solution Created 2026-09-24 Updated 2026-10-06
Put , which commutes with both operators by hypothesis. Differentiating gives , so this conjugate is . Similarly the product conjugates to itself: the two central commutator shifts cancel. HenceWith , the operator differential equation gives . At this proves the central-commutator Baker--Campbell--Hausdorff formulaThese formal manipulations apply on a suitable common domain, or to the oscillator exponentials below where the corresponding unitary identities are well defined.
The oscillator has and . Its normalized states and energies areSince , put . Taking , gives . The formula implies . Averaging the two signs proves the requested normal ordering of the cosine.
Because , expansion of the remaining creation exponential givesOdd matrix elements vanish, the ground expectation is , and the magnitude squared for is . The nondegenerate second-order nondegenerate perturbation theory formula is . ThereforeThe negative second-order sign comes from the higher unperturbed energies in every denominator.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 1 38E b Solution Created 2026-09-24 Updated 2026-10-06
The Gershgorin circle theorem says that every eigenvalue of a square matrix lies in at least one disc centred at a diagonal entry with radius the sum of the absolute values of the off-diagonal entries in that row.
For interior unknowns write the update as . The matrix is real symmetric and tridiagonal, with diagonal and adjacent entries . Each Gershgorin radius is at most . Its real interval is therefore contained inFor , every eigenvalue lies in . Symmetry gives an orthogonal diagonalization, so for every : errors in initial data cannot grow. This is stability in the discrete norm, also in its -weighted version. One can additionally see maximum-norm stability directly: the update weights are nonnegative with row sums at most one once the zero boundary unknowns are removed. Hence .
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 1 8C Solution Created 2026-09-24 Updated 2026-10-06
Relative positions and velocities measured from galaxy are and . Spatial homogeneity says that the same position-to-relative-velocity rule applies from every galaxy. Thus . Taking and putting , gives additivity . For a continuous physical velocity field, additivity implies rational homogeneity and, by continuity, real homogeneity. Thereforefor a position-independent matrix . Regularity is necessary to exclude pathological discontinuous additive functions.
Decompose the given matrix as , whereIts symmetric part is isotropic: no cosmological shear, expansion scalar , and linear scale factor proportional to for . Its antisymmetric part is rigid rotation with angular velocityThe vorticity is . Comoving separations obeyThus all distances grow by the same power, volumes grow as , and the pattern rotates about the fixed axis through angle . Homogeneity alone permits this rotation; full cosmological isotropy would not.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 1 9G Solution 2026-10-06
For , let be the binary matrix whose columns are all distinct nonzero vectors of . The binary Hamming code is . Its parity-check matrix has rank since its columns include the standard basis. Hence is linear of length and dimension .
No word of weight one or two lies in , since columns are nonzero and distinct; three columns sum to zero, so the minimum distance of a code is exactly three. The syndrome of a single-bit error is its column of , uniquely identifying the erroneous position. The possible syndromes correspond to no error or exactly one of single-bit errors. Alternatively, every radius-one Hamming ball has words andDisjoint balls therefore cover the whole word space. This proves linearity, one-error correction and perfection. For , the parameters are , giving the 16 messages needed below.
Past exam of the mathematics course of the University of Cambridge 2016 ia Paper 1 7B Solution Created 2026-09-24 Updated 2026-10-06
A matrix is a diagonalizable matrix if there is an invertible matrix for which is diagonal. Its columns then form a basis of eigenvectors, and the diagonal entries are their corresponding eigenvalues.
Here the given eigenvectors form an orthonormal basis. Put them into the columns of :Define . Its entries areThis proves the claimed diagonalization of a matrix, rather than merely guessing it:The trace follows directly from this factorization:because each column of has unit length. Trace is the sum of the eigenvalues, with multiplicity.
For the particular matrix, . If , every contributes one and contributes zero. If , precisely and contribute zero; the other terms contribute one. ThusApplying this identity to a nonzero eigenvector givesEvery eigenvalue is therefore or .
If is the multiplicity of , the trace formula for a diagonalizable matrix and the zero diagonal giveso . Up to ordering, the required diagonal form isFor this means just . For , the eigendirections are also transparent: the all-ones vector has eigenvalue , and the -dimensional subspace whose coordinate sum is zero has eigenvalue , since . The spectrum consists of one collective mode and zero-sum modes.
Past exam of the mathematics course of the University of Cambridge 2016 ia Paper 1 8C a Solution Created 2026-09-24 Updated 2026-10-06
Adding the three equations for gives the necessary solvability condition . Conversely, subtraction of the first two and use of the third forceIf , these values also satisfy the first two equations: for example,The analogous calculation gives . Thus existence and uniqueness hold exactly under the stated compatibility condition:
For the three-variable system the matrix and data vector arePerform Gaussian elimination on the augmented matrix. The operations and giveEach operation is an invertible row scaling followed by a row addition, so the solution set is preserved. Next givesBack substitution now yieldsand thenAll three pivots are nonzero. Thus the solution exists uniquely for every , the matrix rank is , and the kernel of a linear map represented by is . The general rank-nullity theorem for a matrix with columns ishere .
Finally, reverse the viewpoint and regard as prescribed. The necessary and sufficient condition already proved applies with , , . Their sum is . Consequently can be recovered exactly whenWhen this holds, their unique values are and . The allowable triples form an affine plane, not all of .
Past exam of the mathematics course of the University of Cambridge 2016 ia Paper 1 8C b Solution Created 2026-09-24 Updated 2026-10-06
A complex square matrix is a unitary matrix when , equivalently . Here denotes the adjoint matrix, the conjugate transpose. Such a matrix preserves the standard complex inner product and its Euclidean norm.
A real symmetric matrix is a Hermitian matrix, so . For arbitrary complex ,The imaginary cross terms cancel because is Hermitian. Reversing the signs gives the same identity:In particular, implies , so has zero kernel of a linear map. It is a square matrix, and the rank-nullity theorem therefore makes it invertible. The same argument proves invertibility of .
The proposed matrixis consequently well-defined. For any , put . The two norm identities show directly thatTo verify the unitary matrix identity explicitly, take adjoints:The two shifts commute, because both are polynomials in . HenceThusThe imaginary shifts are invertible, and their equal norm changes cancel in the quotient. This is the Cayley transform of a Hermitian matrix in the convention.
Past exam of the mathematics course of the University of Cambridge 2016 ia Paper 3 6D Solution Created 2026-09-24 Updated 2026-10-06
Every permutation is a product of transpositions, since a cycle can be writtenwith rightmost factors acting first. Define the sign of a permutation to be for a product of transpositions. To prove that it is well defined without assuming parity, let be the permutation matrix specified by . Then , and a transposition exchanges two columns of the identity, so its determinant is . Any decomposition into transpositions therefore hasThe left-hand side depends only on , proving well-definedness. Multiplicativity of the determinant now gives the sign homomorphism:For the first requested group embedding, use the faithful four-point action of GL2 over F2: label the four vectors in and let an invertible matrix act on them by multiplication. Composition of these actions gives a group homomorphism . If a matrix fixes every vector, it fixes both standard basis vectors and is the identity, so the action is faithful. The matrixfixes and and exchanges with . Its image is a single transposition, hence . The composite sign map is nontrivial.
For the second group embedding, simply takeThe preceding multiplication formula proves the group homomorphism property, and forces for every , proving injectivity.
Past exam of the mathematics course of the University of Cambridge 2016 ia Paper 3 8D Solution Created 2026-09-24 Updated 2026-10-06
The Möbius group consists of all Möbius transformations of the Riemann sphere , with operation function composition. A nonzero-determinant matrix represents the map . If , its pole maps to and maps to ; if , the map is affine and fixes . Nonzero scalar multiples of represent the same transformation.
Define by this action for . Substitution of fractional-linear expressions shows , so is a group homomorphism. Any invertible matrix can be rescaled into the special linear group: choose with , which is possible because every nonzero complex number has a square root. This does not change the transformation, proving surjectivity. A transformation represented by is the identity only if fixing , and forces and . The determinant-one condition then gives . ThusFor the fixed-point claim, a nonidentity Möbius transformation has at least one fixed point of a Möbius transformation: when the finite fixed points solve a quadratic, and when infinity is fixed. A quadratic shows there can be no more than two distinct fixed points unless the transformation is the identity. Suppose there is exactly one. Conjugate it to infinity by a Möbius transformation. The resulting map has form , since it fixes infinity. If it also has the finite fixed point , a contradiction. Hence it is with . Its th power is , never the identity for . Conjugation preserves order, so a nonidentity finite-order Möbius transformation has exactly two fixed points.
Now let be a finite abelian subgroup of the Möbius group. First suppose it contains an element of order greater than two. Conjugate the two fixed points of to and , so , with a root of unity of order greater than two. Every element commuting with permutes its fixed-point set, because . A Möbius transformation preserving each of is ; one exchanging them is . In the second case and , so commuting would force , impossible. Thus all elements of are scalings. A finite subgroup of a field multiplicative group is cyclic; here one can see this directly by choosing the least common multiple of all element orders and observing that the scalars lie among the th roots of unity, a cyclic group. Hence is cyclic.
Otherwise every nonidentity element of has order two. If is nontrivial, choose and conjugate it to . The action of on has image of order at most two. Its kernel consists of scalings , and the order-two condition forces , so the kernel has at most two elements. Hence . Orders one and two give cyclic groups; order four with all nonidentity elements involutions gives , generated by any two distinct nonidentity elements. Both possibilities occur: scalings by roots of unity give every finite cyclic group, and gives the Klein four group. The classification is
Past exam of the mathematics course of the University of Cambridge 2016 ib Paper 1 1F a Solution Created 2026-09-24 Updated 2026-10-06
The characteristic polynomial of the given matrix is . Solving the two eigenvalue equations givesFor example, multiplying the matrix by these three vectors gives respectively , and times the original vector. The eigenvectors form a basis: the matrix with these columns has nonzero determinant . Thus an eigenbasis and its diagonal matrix are