Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 87 3 Solution Created 2026-10-03 Updated 2026-10-14
For distinct evaluation points and , the Reed-Solomon code isThis is a linear code of dimension : evaluation is linear, and a nonzero polynomial of degree less than cannot vanish at all distinct points. The assertion of cyclicity concerns the primitive, unextended construction: set and , where generates the multiplicative group of a finite field . Arbitrary evaluation sets or arbitrary coordinate orders need not make a Reed-Solomon code a cyclic code.
For this ordered full-length construction, shifting the evaluation vector to the right gives . This is the evaluation vector of , whose degree is still less than , so it is a cyclic code. Its generator polynomial follows from the finite geometric seriesHere the scalar is nonzero in . Write and . For ,since . Thus every word is divisible by . This monic divisor of generates a cyclic code of dimension , equal to the evaluation code by inclusion and dimension. Hence
It is useful to allow a starting exponent for the consecutive zeros of a cyclic code. Define the primitive cyclic Reed-Solomon codeAll exponents are understood modulo . The same geometric-sum calculation shows thatIndeed evaluating its word polynomial at , , gives sums with exponents between one and . This is a generalized Reed-Solomon code, with nonzero coordinate multipliers ; is the unweighted evaluation code. Directly, a right shift corresponds to replacing by , so these offset codes are also cyclic codes.
A maximum distance separable code, or MDS code, is a linear code attaining the Singleton bound, with . To see the bound, deleting any coordinates is injective on a code of minimum Hamming distance , since two words with the same puncture would differ in at most positions. Therefore and . For a nonzero Reed-Solomon evaluation word, the polynomial has at most distinct polynomial roots, so at least coordinates are nonzero. Nonzero coordinate multipliers do not change these zero positions. This proves for both Reed-Solomon codes and generalized Reed-Solomon codes. Equality can also be exhibited: choose any evaluation points and take their linear factors as ; it vanishes exactly at those points and has weight . Thus
The duality of primitive cyclic Reed-Solomon codes is especially transparent in the evaluation form. Assume first . A vector of has coordinates , ; a vector of has coordinates , . Their standard dot product isEvery monomial in has exponent at least one and at most , and every such power sum vanishes. Thus . Both sides have dimension , givingIn particular has generator . This agrees with the general dual of a cyclic code rule: invert the roots belonging to the complementary factor . The dual is a Reed-Solomon code in the consecutive-zero convention. With the strictly unweighted evaluation definition, its coordinates instead have the form , so it is a generalized Reed-Solomon code; it need not equal the unweighted code of dimension on the same points. This convention distinction is essential. The case is the full word space and its dual is the zero code, obtained by taking .
For code encoding, use the finite-field discrete Fourier transform and its inverse:For a message , put for , and set all other transform coordinates to zero. The inverse discrete Fourier transform returnsThe zero transform coordinates are precisely the root checks defining . This gives non-systematic encoding by evaluation. For systematic polynomial encoding of a cyclic code with a message polynomial of degree less than , put and calculate the remainder of upon division by . Then is divisible by , and the last coefficients are the message coefficients. Both methods use the same generator polynomial and the same ordered powers of .
For bounded-distance decoding, let , put , and assume at most symbol errors. The following description uses the Reed-Solomon key equation and fixes the transform and locator conventions explicitly.
- Compute the syndromes for . The corresponding codeword transform values vanish. An error of value at coordinate contributes , where , so .
- Form . Use the Berlekamp-Massey algorithm, or the polynomial extended Euclidean algorithm applied to and , to solve with , , and . Choose the minimal-degree locator; zero syndrome gives , . The error locator polynomial is , and is the error evaluator polynomial.
- Perform a Chien search: test for . Its distinct zeros identify the erroneous coordinates. A mismatch between the degree and the number of distinct permitted roots is a decoding failure.
- Recover each error value by the Forney algorithm, with the present syndrome offset:
- Set , all other error coordinates to zero, and output . Verify that all root checks vanish and that the correction has weight at most . Recover the message from the unconstrained transform coordinates by , or from the last coefficients if systematic encoding was used.
The denominator in the Forney algorithm is nonzero for distinct locations. The minimum-distance error-detection and correction guarantee gives unique recovery because . If the required locator or a valid correction cannot be found, declare decoding failure. Beyond errors, a received word may lie near a different codeword, so successful root checks alone do not certify recovery of the originally transmitted message. The guaranteed correction radius is symbol errors.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 66 1 Solution Created 2026-10-03 Updated 2026-10-14
Use closest points on two line segments as a small constrained convex optimization problem. Write the two line segments asand put . Minimize the squared Euclidean distance ; minimizing its square also minimizes the distance. Compute the dot productsFor nonzero, nonparallel directions, an interior minimum must satisfy the two derivative equationsTheir determinant is , so the stationary candidate isRetain this candidate only when both parameters lie in the unit interval.
The other possibilities are on the boundary. Define . Minimizing the same quadratic on each of the four edges gives these candidates by orthogonal projection onto a line segment:Evaluate at every retained candidate and choose the smallest. The resulting are the required closest points. The quadratic is convex because it is the squared norm of an affine map. A minimum in the interior is stationary, and a minimum on the boundary minimizes one of these edge restrictions, so the list is exhaustive. Ties correspond to multiple equally valid answers.
Handle degenerate line segments before dividing: if and , set and ; if and , set and ; if both vanish, use the two endpoints. For exactly parallel directions, . The distance depends on a single linear combination of ; any interior minimizing level line reaches the boundary, so the four edge candidates still include a minimum.
For nearly parallel directions, compare with the scale , and solve the interior least-squares problem using QR decomposition or singular value decomposition if necessary. A small determinant should trigger a stable solve, not arbitrary rejection of a possibly valid interior solution. In particular, do not merely clip both coordinates of the infinite-line solution: the dot product couples the two parameters, and changing one changes the optimum for the other.
Past exam of the mathematics course of the University of Cambridge 2007 ia Paper 1 1A i Solution Created 2026-09-24 Updated 2026-10-14
The three spherical basis vectors form an orthonormal basis: their displayed Cartesian components have unit lengths and pairwise zero dot products. For an orthonormal basis, a vector is the sum of its projections onto the basis vectors. Taking the dot product of each Cartesian unit vector with each spherical unit vector therefore gives the inverse change of basis:Equivalently, the change-of-basis matrix is orthogonal, so its matrix inverse is its transpose. These formulas use the stated angular convention for spherical polar coordinates; at a pole the tangential basis vectors still depend on the chosen azimuth.
Past exam of the mathematics course of the University of Cambridge 2007 ia Paper 1 5B i a Solution 2026-10-14
For , the dot product equation says that the angle between and the oriented unit vector satisfies . Thus is fixed. More explicitly, using the orthogonal projection from the introductory solution,Consequently the surface is one infinite nappe of a right circular cone, with apex at the origin, including the apex itself. The cone's axis points along , and its acute semi-angle is . Equivalently, is the cosine of the angle from the oriented axis. Squaring the original equation without retaining the sign of would incorrectly add the opposite nappe of a double circular cone. No base disk is included in this infinite lateral surface.
Past exam of the mathematics course of the University of Cambridge 2007 ia Paper 1 7C ii Solution Created 2026-09-24 Updated 2026-10-14
Set and . The expression in the equation is . Apply the Cauchy-Schwarz inequality in toTheir dot product is , and . Thus the expression is nonnegative, and it is zero precisely when equality holds in Cauchy-Schwarz. That requires . The fourth coordinate forces , and the other three coordinates then giveSubstitution gives , so this unique possible choice really is a solution.
Past exam of the mathematics course of the University of Cambridge 2007 ia Paper 2 12F Solution Created 2026-09-24 Updated 2026-10-14
Let and let the sphere have radius . By rotational invariance, condition on and place it at the north pole. A band at polar angle has surface area , while the sphere has area . Thus the central angle between independent uniform sphere points has densitywith density zero outside that interval.
Condition now on with their angle fixed at . For and to be acute, the unit position vector of must have positive dot products with both unit vectors of and . Hence must lie in the intersection of the two corresponding open hemispheres. The great circles bounding them meet at the two antipodes perpendicular to the plane of . Their common hemisphere region is a spherical lune of opening : when it is a hemisphere of opening , and as the two normals separate, that opening decreases by . More explicitly, take the common boundary antipodes as poles. The longitude conditions each allow an interval of length , with their centres separated by , so the intersection has longitude width .
Integrating the spherical area element over that lune gives area . Thus the conditional probability that the two angles involving are acute is . The remaining angle must itself be acute, so the desired probability isIntegration by parts gives , while . ThereforeThis calculates pairwise acute central angles of three uniform sphere points by conditional area, rather than incorrectly treating the three angle events as independent. Boundary right angles have probability zero, so choosing open rather than closed hemispheres does not change the result.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 53 4 Solution Created 2026-10-03 Updated 2026-10-14
There is a sign inconsistency in the printed model. For the ordinary cross product let . The vector triple-product identity gives . Consequently the printed has gauge curvatureIts gauge curvature cannot instead contain the printed negative quadratic term. For a noncommuting pure gauge potential for this gauge covariant derivative, whereas . Thus the printed gauge kinetic term assigns a nonzero value to a connection obtained by applying the gauge-field transformation law to the zero connection. Literally the printed action has global rotations but not the requested local triplet gauge symmetry. The cross-product convention for an adjoint covariant derivative makes the minimal repair explicit: change the gauge field strength quadratic term to a plus sign, retaining the printed gauge covariant derivative. Changing the sign in the gauge covariant derivative instead would be another consistent convention. The remaining calculation uses the first repair.
The corrected theory has local SO(3) gauge symmetry, equivalently the adjoint-field realization of the SU(2) Lie algebra; its adjoint scalar fields and gauge fields are insensitive to the center of a group of SU(2). Explicitly, andBoth and transform as triplets, so their dot products and the scalar potential are invariant. Assume , and take without loss of generality. For the minima have . Choose the scalar-field vacuum , whose stabilizer consists of rotations around the third axis: the residual gauge symmetry is SO(2), locally U(1).
In unitary gauge write , and . These are the neutral massless gauge field, two charged massive gauge fields and a real radial scalar field. DefineSubstitution gives and . The entire physical-field Lagrangian density is thereforeIn particular ; this directly verifies the scalar field kinetic and vector mass terms. Expanding the scalar potential gives . Comparing the quadratic terms with standard real scalar field and charged-vector mass terms yields the adjoint triplet Higgs spectrum,This also rewrites the purely vector interactions, which are already contained in the displayed gauge field strengths rather than omitted from the theory.
The original symmetry remains unbroken at . The unique minimum is then , with three massless gauge fields and three massless real scalar field components; the quartic scalar field interaction remains. The physical degrees of freedom number . At the two broken generators supply two Goldstone bosons, eaten to give longitudinal gauge-boson polarizations of the charged vectors. The physical count is : two massive vectors, one massless vector and one radial scalar field. The scalar components eaten in unitary gauge are not additional physical particles.
For the broken phase all interactions containing the physical scalar field areMultiplying interaction coefficients by and differentiating with respect to the external fields includes the identical-field factorials. The scalar vertices of an adjoint triplet Higgs model areFor example, the rule contains , whereas the rule contains only from its two identical scalar fields. There are no or vertices: the radial scalar field is neutral under the residual U(1). There is no derivative scalar-vector vertex in this physical spectrum in unitary gauge.
All physical-scalar interaction vertices in the broken triplet Higgs model, with the unbroken-phase scalar vertices shown below; dashed lines are scalars and wavy lines are vectors
. Details. For completeness, if the unbroken phase is chosen, its physical scalar fields are the three components , not a single radial . Expanding its gauge-covariant kinetic term givesWith all momenta incoming and Fourier transform convention , the three unbroken-phase rules areThe first rule follows by differentiating once on each possible scalar: for , the interaction is , which fixes the momentum sign. The remaining rules follow from the quadratic gauge interaction and . There are no unbroken-phase cubic scalar field Feynman vertices.
Past exam of the mathematics course of the University of Cambridge 2008 ia Paper 1 5B a ii Solution Created 2026-09-24 Updated 2026-10-14
Put . The vector triple product identity givesCyclic invariance of the scalar triple product gives . Hence the squared scalar triple product from cyclic cross products isIf an expansion entirely in pairwise dot products is desired, expand the Gram determinant of :Both expressions remain valid for degenerate, including linearly dependent, vectors.
Past exam of the mathematics course of the University of Cambridge 2008 ia Paper 1 5B a Solution 2026-10-14
In suffix notation, repeated indices are summed from one to three. The Levi-Civita symbol and Kronecker delta contraction isFor distinct free index pairs this follows from the two possible matching permutations and their signs; if either pair repeats an index both sides vanish. ThereforeRecognizing the dot products proves the vector triple product identity:
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 2008 ia Paper 1 7C Solution Created 2026-09-24 Updated 2026-10-14
If are orthonormal, any relation gives on taking the dot product with . Thus the vectors are linearly independent. A linearly independent set of vectors in the -dimensional vector space is a basis, proving the claim.
Expand both and in this orthonormal basis, writing . Since , the linear equation becomesComparing the unique basis coefficients gives, when is not an eigenvalue,If , the equation is solvable exactly when for every with . For those indices is arbitrary; for all other indices the displayed formula still applies. Thus repeated eigenvalues require orthogonality to the entire corresponding eigenspace, not merely to one chosen eigenvector. This is the finite-dimensional Fredholm solvability condition for a self-adjoint operator.
For the specific real symmetric matrix, chooseTheir dot products with are , and . At this givesOne can check directly. At , the first coefficient equation would require , which is impossible. Hence there is no solution when ; the nonzero projection onto its eigenspace is the obstruction.
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 77 1 ii Solution Created 2026-10-03 Updated 2026-10-14
Count scalar additions, subtractions, multiplications and divisions for the specific triangle-triangle intersection algorithm above; comparisons and index selection are separate. Computing one plane normal vector uses two vector differences, costing six subtractions, and one cross product, costing six multiplications and three subtractions. The three vertex-to-plane evaluations use nine further coordinate subtractions and three dot products, each with three multiplications and two additions. The first rejection test therefore costsFor randomly located triangles of characteristic size in a box of size , a second triangle straddles the first triangle's plane only when its position is in a slab of relative thickness . Consequently the first plane test rejects almost every pair: the expected arithmetic count for this implementation is , with the constant in the remainder determined by the subsequent branches. This is an average count, rather than the assertion that every input needs 39 operations.
For a generic surviving noncoplanar pair, the symmetric plane test costs another 39 operations, the cross product costs nine, and each of the four slice endpoints needs five scalar operations in the selected coordinate: one subtraction and division for the interpolation fraction, then one subtraction, multiplication and addition for the coordinate. Thus this branch usesA fully executed coplanar test can use six planar edge directions. Each needs two subtractions to form its perpendicular and six two-dimensional dot products, costing operations. Including both plane tests and the parallelism cross product gives an upper count before any early exit. Contact and degeneracy can shorten or change these counts. Precomputed normal vectors or a preliminary axis-aligned bounding box test also change the answer: the latter uses only comparisons after its coordinate extrema are available. The relevant small-triangle average is 39 operations for the specified plane-first implementation; a generic complete test uses 107.
Past exam of the mathematics course of the University of Cambridge 2009 ia Paper 1 5C Solution Created 2026-09-24 Updated 2026-10-14
Use suffix notation, summing repeated indices from one to three. The contraction identity for the Levi-Civita symbol givesHere because is a unit vector. For the second cross product identity, use :The first term vanishes because is symmetric while the Levi-Civita symbol is antisymmetric in those indices. The last equality uses cyclicity and antisymmetry of the scalar triple product.
On the unit sphere, a great circle has radius one, so the spherical distance is its shorter arc length, equal to its central angle in . The dot product of its endpoint unit vectors is the cosine of that angle. HenceFor the angular formulas, take the ordinary nondegenerate convex minor spherical triangle: no pair of vertices is antipodal and the three vertices do not lie on one great circle. These are needed for the displayed denominators and interior angles to be defined. Merely requiring three distinct points, as the PDF does, does not exclude degeneracy.
Put , and . The outgoing unit tangent vectors at areTheir dot product is . Equivalently, they are obtained from the normalized plane normals and by the same right-angle rotation in the tangent plane: , and similarly for . Rotation preserves the dot product, givingSince and , the first proved identity becomes the spherical law of cosines:For the spherical law of sines, take norms in the second proved identity. Writing , and using , givesCyclic permutation gives the corresponding formulas at and . Dividing each by the positive product provesFinally, if all sides equal , the spherical law of cosines givesbecause makes and . Cosine is strictly decreasing on , so every angle of a nondegenerate equilateral spherical triangle is greater than .
Past exam of the mathematics course of the University of Cambridge 2009 ib Paper 2 12G ii Solution Created 2026-09-24 Updated 2026-10-14
Reflection of the sphere in the plane sends to . It preserves dot products, hence the spherical distance between every pair of points. Its stereographic expression isThis is an isometry of the sphere but is not a Möbius transformation: at any finite point, its complex difference quotient is one along real increments and minus one along imaginary increments, so it is not holomorphic. A Möbius transformation is holomorphic away from its pole. The geometric distinction is that this reflection reverses orientation, whereas a Möbius transformation preserves it.
