After subtracting the same training sample mean, E has vector and principal component scores . The difference from D lies entirely along the first principal component. Its Euclidean distance in the retained plane isThe new point must use the original centring and loadings; recomputing them with E included would change the question.
Expanding the squared Euclidean distances givesFor distinct centroids, chooseA point assigned to has the displayed distance difference at most zero and therefore ; assignment to gives the reverse inequality. The separating hyperplane is the perpendicular bisector of the line segment joining the two centroids. Points tied between them lie on that hyperplane. This is the nearest-centroid decision hyperplane.
The requested nonzero needs the additional assumption . It does not follow from the stated algorithm alone. In one dimension, take and , whose centroids are both zero. A tie rule that retains previous assignments can leave this configuration after an iteration. The inequalities at imply , while the inequality at zero implies , forcing . Thus the unconditional nonzero-separator claim has this degenerate exception.
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 30 3 b Solution Created 2026-10-03 Updated 2026-10-14
Classical multidimensional scaling begins with a symmetric dissimilarity matrix , rather than necessarily with measured coordinates. Its aim is to find a low-dimensional Euclidean configuration representing those dissimilarities. Square the entries, not the matrix product, and defineFor centered coordinates , squared Euclidean distances satisfy with . Multiplication on both sides by annihilates the two single-index terms, proving the double-centering formula.
If is positive semidefinite, use its spectral decomposition to constructKeeping all positive eigenvalues reproduces the original Euclidean distances exactly; their number is the minimal embedding dimension. Keeping fewer gives a low-rank approximation to the Gram matrix. It minimizes squared Gram-matrix error, often called strain, rather than necessarily the sum of squared errors in raw distances. Negative eigenvalues signal that the dissimilarities cannot be represented exactly by Euclidean coordinates; discarding them produces an approximation whose adequacy should be inspected.
In the upper-right sketch, the supplied distances come from four points in a rectangle, and the two-dimensional reconstruction recovers that shape. The overall translation, rotation and reflection of the configuration are not identifiable from distances. Classical scaling reconstructs centered geometry from pairwise distances. If the input distances are computed from centered multivariate observations, classical scaling and principal component analysis give the same score configuration up to an orthogonal transformation: their matrices and share the nonzero squared singular values.
Past exam of the mathematics course of the University of Cambridge 2002 ia Paper 1 5B a Solution Created 2026-09-24 Updated 2026-10-14
Take the scalene triangle vertex set . Its edge lengths are . Each vertex has a different unordered pair of incident edge lengths. A Euclidean isometry preserving the set must preserve these pairs, and therefore fixes every vertex.
To justify rigidity of a scalene triangle fully, Euclidean distances from an arbitrary plane point to these three fixed points determine that point uniquely: subtracting its squared Euclidean distance to the origin from the other two squared Euclidean distances determines its two coordinates. Thus an isometry fixing the three vertices fixes every plane point. Only the identity preserves .
For the general union of group translates, let . Left multiplication by permutes , soTherefore . This containment uses only the group action; the absence of symmetries of is not needed for the containment itself.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 13 1 Solution Created 2026-10-03 Updated 2026-10-14
Put , with a prime number, and . The printed bound needs a size qualification: for , and , all three singletons satisfy the intersection restriction, whereas . The intended nontrivial prime-power modular intersection bound holds when ; without that qualification the universally valid conclusion isWhen this follows simply by counting all -sets. We prove the sharper intended form for .
Choose an integer with and define the integer-valued polynomialFor its top argument is nonnegative. The bottom argument has all its first base- digits equal to . The Lucas theorem therefore givesFor every , consider on the Boolean hypercube. Its multilinear reduction on the Boolean cube has degree at most and integer coefficients: the coefficient of a square-free monomial is an alternating sum of its integer values on Boolean vertices. This observation permits reduction modulo even though the ordinary power-basis coefficients of need not have denominators prime to .
At the characteristic vectors of sets , these reduced polynomials have evaluation matrix equal to the identity modulo . Hence their evaluation functions are linearly independent over . To count the available functions, let have rows indexed by subsets with , columns indexed by all -sets , and entries . Over the rational numbers, for ,Thus the matrix rank over the rational numbers is at most . Every larger integer minor is zero and remains zero modulo , so the same rank bound holds over . This low-degree evaluation rank on a uniform layer proves
For the applications alternative, take a prime number , set , , and let be the modular intersection graph on all -subsets of , joining distinct sets when their intersection has size . An independent set avoids the only possible off-diagonal intersection congruent to modulo , so
First embed as in Euclidean space. The Euclidean distance satisfiesso distance one corresponds exactly to an edge of . Every colour class in a proper graph colouring is an independent set, giving the lower bound on the chromatic number of Euclidean spaceThe Stirling formula gives , where is the binary entropy function. Here the ratio is and , so this is an exponential lower bound along these dimensions.
Second set and represent by the off-diagonal entries , , of the symmetric matrix . This is an injective representation: equality of the matrices would give , and the minus sign would require . The common diagonal can be omitted without changing distances. The Frobenius inner product gives the quadratic sign-vector diameter formulaThe term inside the square is congruent to modulo , and its smallest possible absolute value is one, attained exactly at . Such pairs exist. Consequently the diameter pairs of this finite set in dimension are precisely the edges of . Every part of strictly smaller diameter is an independent set and has at most points. The required number of parts is at least the same exponential ratio, which exceeds for sufficiently large primes. Thus bounded sets need not admit a partition into sets of smaller diameter: this supplies a Kahn-Kalai counterexample to the Borsuk conjecture. Both applications use the prime case of the proved prime-power result.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 68 1 Solution Created 2026-10-03 Updated 2026-10-14
Parameterize the two line segments byPut and abbreviate , , , , and . Minimizing the Euclidean distance is equivalent to minimizing the convex quadratic functionover a closed square. For nonzero nonparallel segment directions, . An interior minimum must satisfywhose unique solution isKeep it as a candidate only if both parameters lie in .
Every remaining minimum lies on the boundary. Define . The four edge minima are the point-to-segment orthogonal projectionsEvaluate at those four pairs and at the admissible interior pair, and return a pair with the smallest value. This solves closest points on two line segments completely: continuity guarantees a minimum, and every interior or boundary location has been tested. Do not independently clamp and : the mixed term couples them. For example, , , and give the line minimizer . Its independently clamped pair has squared distance , whereas the correct edge minimizer has squared distance .
Without general position, explicitly handle these configurations:
- If either segment has zero length, solve a point-to-segment projection; if both do, return the two points. This avoids division by or .
- If the directions are parallel, and the interior linear system is singular. The four edge projections still contain a minimum. Overlapping projected parameter intervals can yield a whole family of closest pairs.
- Collinear segments may overlap, touch, or be disjoint. Overlap gives zero distance with many choices; disjoint intervals give their nearest endpoints.
- Coplanar nonparallel segments can intersect, including endpoint contacts. The same candidate tests return zero distance if the line-intersection parameters lie in the square. Coincident endpoints and equal candidate distances need no arbitrary division or uniqueness assumption.
In floating-point arithmetic, almost-parallel directions require a condition-aware or higher-precision solve; they must not be declared exactly parallel solely because the computed determinant is small. The returned distance is , and the returned points are obtained by substitution into .
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 13 3 Solution Created 2026-10-03 Updated 2026-10-14
Let be the maximum number of positive Euclidean distances from one of the points to the others. It suffices to prove the stronger Székely distinct-distance bound, . Here ; enlarge constants to handle bounded .
First prove the crossing lemma for multigraphs. In an optimal drawing of a loopless multigraph with vertices, edges and maximum parallel multiplicity , crossings of incident edges can be removed by interchanging initial segments, so each remaining crossing involves four distinct vertices. In each parallel class choose one of its edges with probability per edge, selecting none with the remaining probability. Independently keep each vertex with probability . The resulting simple graph has expected edge count , expected vertex count , and expected crossings , where is the original crossing count. Deleting one edge per crossing and using the allowed planar graph edge bound yieldsIf , take to obtainThe case is the ordinary crossing lemma.
We also need the rich line bound. Given lines, connect consecutive incidence points on each line by straight edges. This simple graph has at least edges, where is the total number of incidences, and at most crossings. The crossing lemma gives , proving the Szemerédi–Trotter theorem here rather than assuming it. For lines containing at least points, , and absorbing the additive term givesFor bounded , counting point pairs gives the same estimate with a larger absolute constant. Grouping rich lines into occupancy ranges and summing the resulting geometric series proves
Now form the circular-arc graph for distinct distances. Around every point draw each positive-distance circle centred there; there are at most such circles. A circle with at least three of the original points contributes one edge between each consecutive pair around it. Discard the circles with at most two points. Since the total number of centre-to-point incidences is , the remaining loopless multigraph hasIts circular-arc drawing has crossings: two distinct circles have at most two intersections, and small perturbations remove tangencies and multiple crossings without changing this order.
The apparent difficulty is unbounded parallel multiplicity. The rich-bisector deletion bound controls it. Every centre supporting an arc between fixed endpoints lies on their perpendicular bisector. Distinct parallel arcs come from distinct centres, since their common endpoints determine the radius once the centre is fixed. Thus multiplicity at least makes that line contain at least of the points. For a line with centres, each of its at most circles has at most two consecutive-point arcs symmetric about that line, one at each end of its diameter along the line. The occupancy sum above therefore bounds the number of high-multiplicity arcs by
If there is nothing to prove. Otherwise and . Choose with a sufficiently large absolute constant . The first deletion term is at most a small fixed fraction of and the second is . A remaining multigraph therefore has edges and multiplicity at most . For large , , so the crossing lemma for multigraphs givesRearranging,The whole distinct-distance set contains those distances from the selected point, proving the requested bound. The circular-arc method and the stronger one-point conclusion are due to Székely.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 13 5 Solution Created 2026-10-03 Updated 2026-10-14
The Frankl-Wilson theorem is a striking example of the polynomial method in combinatorics: an intersection restriction creates a family of linearly independent low-degree polynomials, whose dimension bounds the set family. Let be a prime number, let have elements, and let be a set family such that member sizes modulo avoid while every distinct pair has intersection size in modulo . Its general modular form givesIf all members have the same size and , the uniform refinement gives .
For the proof, work over the finite field and associate to the modular intersection polynomialAt the characteristic vector of a set , this equals zero for and is nonzero for . A linear relation among the evaluation functions therefore has every coefficient zero. The multilinear reduction on the Boolean cube, replacing by for , preserves these evaluations and the degree bound . There are possible square-free monomials, proving the general form.
For uniform members, the low-degree evaluation rank on a uniform layer supplies the sharper dimension bound. To verify this without division modulo , form the integer incidence matrix with rows indexed by subsets of size at most , columns indexed by -subsets , and entries . Over the rational numbers, a row with is times the sum of all size- rows containing . Its matrix rank is at most . Every larger integer minor is consequently zero and remains zero modulo , giving the same bound over . The nonzero diagonal evaluation matrix of the then forces .
The theorem, proved by Frankl and Wilson in 1981, extends the theme of the Ray-Chaudhuri–Wilson theorem from ordinary intersection sizes to residues. Modular restrictions can be weaker than exact intersection restrictions yet still force unexpectedly small families. Here are three consequences from one explicit modular intersection graph.
Take , , and let the vertices be all -subsets of , with an edge exactly when the intersection has size . An independent set avoids the only possible off-diagonal intersection congruent to modulo , so applying the Frankl-Wilson theorem with givesA clique has one exact intersection size. Apply the uniform theorem modulo a prime larger than , with , to get . Since there are vertices, this gives the explicit asymmetric Ramsey number bound . It illustrates how algebraic constructions produce graphs with simultaneously restricted cliques and independent sets.
For a geometric application, map each vertex to in . Then , so edges have unit Euclidean distance. Every proper colouring of Euclidean space therefore colours this finite graph, givingThe Stirling formula gives the ratio as , where is the binary entropy function in natural-log units. The positive constant proves an exponential chromatic number of Euclidean space lower bound along these dimensions.
Finally, a quadratic embedding converts this same forbidden intersection into a forbidden diameter pair. Set and . The quadratic sign-vector diameter formula follows from the Frobenius inner product:For distinct members the smallest possible absolute inner product is one, attained exactly when the intersection is . Thus maximum-distance pairs are exactly edges of . The matrices have common diagonal; using their off-diagonal coordinates, multiplied by , realizes them isometrically in dimensions. They are distinct because equal outer products require , and complements have size , not .
Any subset of smaller diameter contains at most points, so a partition into smaller-diameter pieces needs at least pieces. For sufficiently large primes this exceeds , disproving the Borsuk conjecture. This is the mechanism behind the Kahn-Kalai counterexample to the Borsuk conjecture: the number of required pieces grows exponentially in the original set-system parameter while dimension grows quadratically. Their 1993 paper establishes the resulting high-dimensional counterexample.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 46 4 iii Solution Created 2026-10-03 Updated 2026-10-14
Cluster analysis groups observations without given class labels. It starts by deciding what similarity means, usually through a dissimilarity matrix. Euclidean distance is natural for comparable continuous coordinates; a Mahalanobis distance can account for differing scales and correlations when a meaningful nonsingular covariance estimate is available. Scaling and variable selection can change the groups. Binary, ordinal or categorical data may need a different dissimilarity, rather than arbitrary numerical codes and Euclidean distance.
Agglomerative hierarchical clustering begins with singleton groups, repeatedly merges the pair with smallest intergroup dissimilarity, and records the merges in a dendrogram. The height represents the algorithm's merge criterion. Cutting the dendrogram gives partitions at different resolutions, and merges cannot subsequently be reversed. In single-linkage clustering, the criterion is the nearest cross-pair distance; this detects chains and nonconvex groups, but a thin bridge can connect otherwise separated clouds. Complete-linkage clustering uses the farthest cross-pair distance and tends to produce compact groups, at the cost of sensitivity to extreme points. Average-linkage clustering uses the mean cross-pair distance, lying between these two criteria for a given pair of clusters.
For squared Euclidean geometry, Ward clustering merges the pair that least increases the within-group sum of squares. Expanding deviations about the merged mean givesThis favors low within-group dispersion, but interpreting it as a sum-of-squares increase requires Euclidean data. Different software may plot a rescaled height, so the vertical units of a dendrogram from Ward clustering must be stated.
A nonhierarchical alternative is k-means clustering. For a prescribed , minimizeAt fixed assignments, expanding squared distances or differentiating shows that the minimizing is the group mean. At fixed centroids, each point is assigned to a nearest centroid. Alternating these operations does not increase ; with a consistent tie rule and nonempty groups it reaches a locally stable partition. Initialization matters, so use multiple starts, and give an explicit rule for empty groups. It favors roughly spherical clusters and is sensitive to outliers and scaling. It cannot be expected to reproduce a nonconvex single-linkage partition.
An original point configuration and its computed complete-linkage dendrogram with a three-cluster cut
. Details. The sketch displays a constructed point configuration and the complete-linkage merges computed from its actual Euclidean distances. A cut between the within-pair and between-pair merge heights yields three groups. Such visual separation is useful evidence, not proof of a uniquely correct number of populations. Select a resolution using subject knowledge, stability under resampling, separation diagnostics or the change of with . Clustering always gives a partition even for unstructured data, and different distance or linkage choices can yield different sensible summaries. Clustering is an exploratory construction whose conclusions depend on the geometry and the chosen resolution.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 46 4 a Solution Created 2026-10-03 Updated 2026-10-14
Write for two rows of the data matrix and . Three possible dissimilarities for continuous variables are the following.
The Euclidean distance isIt is simple and has the usual geometric interpretation when coordinates have comparable units. Its disadvantage is sensitivity to the numerical scales: a change of units or a high-variance variable can dominate it. Strongly correlated coordinates can also give repeated weight to essentially the same information. Squared Euclidean distance is useful in some methods, but is not itself a metric because it need not satisfy the triangle inequality.
The standardized Euclidean distance iswhere is the sample variance of coordinate across individuals. It measures differences in standard-deviation units and is invariant under positive coordinate rescalings when the scales are estimated consistently. It is useful for differently measured variables, but requires nonzero sample variances, ignores correlations between coordinates and can give excessive influence to a low-variance noisy variable. With fixed positive scales it is a Euclidean distance after a diagonal change of coordinates, so it is a metric.
The Mahalanobis distance iswhere is the pooled sample covariance matrix of all individuals. If is its Cholesky decomposition, then : it is Euclidean distance in whitened coordinates. It adjusts for both scales and correlations, avoiding duplicate weight for highly correlated variables, and is invariant under nonsingular affine transformations when the sample covariance matrix is transformed accordingly. No multivariate normal distribution assumption is required merely to define the distance. However, must be a positive-definite matrix; when there are too few observations or dependent coordinates, its inverse is unavailable. Estimation of can also be unstable and sensitive to outliers. These trade-offs determine whether covariance adjustment is preferable to the simpler distances.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 46 4 c Solution Created 2026-10-03 Updated 2026-10-14
There is a defect in the stated geometric interpretation of the data. The supplied numbers cannot be Euclidean distances, becauseThey violate the triangle inequality; independently, . Nevertheless, both clustering algorithms are defined for this symmetric dissimilarity matrix. The calculations below retain the supplied numbers and use agglomerative clustering of nonmetric dissimilarities, rather than silently inventing Euclidean replacement data.
In single-linkage clustering, the intercluster dissimilarity isThe closest pair is , merging at . Among the remaining clusters the next closest pair is , merging at . The three intercluster dissimilarities are nowConsequently merges with at , using the cross-pair . The remaining point joins at , using . The dendrogram thus hasThe close pairs and are the clearest early groupings. A cut between and produces these two pairs and the singleton ; a cut between and produces and . Single-linkage clustering builds chains through close cross-pairs, so the merge at does not mean every pair in is that close: . The data alone do not prescribe a unique number of clusters.
For complete-linkage clustering, replace the minimum by the maximum:The first two merges remain at and at . SubsequentlyThus joins at . The final maximum between and is , givingBoth the topology and the later heights of the dendrogram change: complete-linkage clustering attaches to before joining that group to , rather than merging the two pairs first. Its control of the largest within-cluster separation makes it less susceptible to the chaining seen with single-linkage clustering.
Single-linkage and complete-linkage dendrograms for the supplied five-subject dissimilarities
. Details. 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 ib Paper 4 16E Solution Created 2026-09-24 Updated 2026-10-14
For fixed endpoints, the Euler-Lagrange equation is . Since has no explicit dependence on , differentiating givesThus , the Beltrami identity.
With , the arc length element and the prescribed speed give the travel-time functionalFor the circular road , this is .
For the integrand , the Beltrami identity simplifies toThe candidate has and the required endpoints. To prove it really minimizes the travel time, rather than merely satisfies a first integral, put . ThenThis is the Euclidean arc length integrand for the inverted curve , whose endpoints are and . Every connecting curve has length at least their Euclidean distance , by the triangle inequality. Equality is attained by the straight line segment . In polar form it gives , hence the proposed . It stays strictly positive throughout the interval. ConsequentlyThis travel-time minimization with speed proportional to squared radius is globally solved by the inversion: its minimum is strictly less than .
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 12 2 Solution Created 2026-10-03 Updated 2026-10-14
There is a genuine qualification missing from the printed bound. With , the family of three singletons has distinct intersections of size zero, which is not congruent to modulo . Nevertheless its size is three, whereas . Thus that bound cannot hold without a restriction on the parameters. The valid prime-power modular intersection bound isIn particular the printed form holds when .
Put with a prime number, and . If , the corrected bound is simply the total number of -sets. Assume henceforth . For an integer , consider the residue detectorFor nonnegative upper arguments, the Lucas theorem and the fact that every base- digit of equals show that is one when and zero otherwise. The assertion also holds for negative upper arguments, using integer-valued generalized binomial coefficients. Indeed the coefficient of in is periodic in the integer exponent modulo : in characteristic , , so multiplying even a formal power series by does not change coefficients of degrees below . Reduce any exponent modulo to obtain the stated detector.
For each , apply that detector to . Its evaluations on form the identity matrix, since the diagonal intersection is and every off-diagonal intersection has a different residue. The detector is represented on Boolean vectors by the multilinear polynomialTo check this expression, evaluate at the characteristic vector of : summing by gives by the coefficient identity for .
Here is the necessary low-degree evaluation rank on a uniform layer, with care about characteristic . Let be the integer incidence matrix whose rows are subsets of size at most , whose columns are all -sets , and whose entries are . Over the rational numbers, for its row satisfiesThus its rational matrix rank is at most . Every larger square minor has integer determinant zero; reducing those determinants modulo gives too. This argument does not divide by a potentially zero element of the finite field. The identity evaluation matrix factors through these incidence rows, so its rank is at most . This proves the qualified bound.
Choose the two-applications alternative. First, the polynomial method in combinatorics yields a constructive lower bound for a diagonal Ramsey number. Let be prime, set , and use all -subsets of as vertices of a complete graph. Color a pair red when its intersection size is modulo , and blue otherwise. A blue clique has size at most by the proved bound with modulus . In a red clique, all distinct intersections belong toFor each vertex of that clique, the polynomial vanishes at all the other vertices' characteristic vectors and is nonzero at its own. Replace repeated powers by on Boolean vectors. Its degree is at most , so the rational version of the same incidence-rank argument bounds a red clique by as well. Therefore this two-coloring has neither color containing a clique of size , andThe usual estimates give and . Thus along this explicit sequence the diagonal Ramsey number exceeds for some absolute . This is substantially larger than any fixed power of .
Second, obtain an exponential lower bound for the chromatic number of Euclidean space. Let , and join two -subsets exactly when their intersection has size . An independent set in this graph avoids that intersection. Among the possible distinct intersection sizes , the only one congruent to modulo is . Hence every independent set has size at most . Embed each vertex as in Euclidean space. Thenso the graph's edges have exactly Euclidean distance one. Each color class must be an independent set, givingThe Stirling formula makes the logarithm of this ratio , where . Since , this is an exponential dimensional lower bound for the chromatic number of Euclidean space. Both applications lie in the valid parameter range of the proved modular bound.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 47 4 a Solution Created 2026-10-03 Updated 2026-10-14
For rows , three useful choices are Euclidean distance, standardized Euclidean distance, and Mahalanobis distance:The Euclidean choice is simple, rotation invariant and appropriate when the original coordinate scales carry comparable meaning. It is sensitive to scale changes, may be dominated by a high-variance variable and gives correlated or duplicate variables repeated influence. Squared Euclidean dissimilarity is sometimes used algorithmically, but removing the square root generally loses the triangle inequality.
The standardized Euclidean choice removes marginal units using fixed positive sample scales . It gives equal marginal weight to variables, but ignores correlations and can magnify noise when an estimated variance is small. Constant variables require omission or an explicitly chosen positive external scale.
The Mahalanobis choice incorporates the full positive-definite sample covariance , so it is Euclidean distance after whitening. It accounts for both scale and redundancy and is invariant under an invertible change of coordinates when is transformed consistently. However estimating requires enough observations and can be sensitive to extreme values; inversion is unstable near singularity and unavailable when is singular. With fixed positive scales or positive-definite , all three square-root expressions are genuine metrics on the measurement space. Their different geometries encode different notions of which individuals should be considered similar.
Past exam of the mathematics course of the University of Cambridge 2011 ia Paper 1 5C Solution Created 2026-09-24 Updated 2026-10-14
In the parametric description, is a point of the straight line and the nonzero vector gives its direction. The real parameter runs through every point of that line. For the cross product description, take another cross product with and use the vector triple product identity:Hence every solution has the representationHere and , as required. Conversely,Thus the perpendicularity assumption is sufficient, and the solutions form a straight line parallel to . When , the vector is perpendicular both to and to every position vector on the line; it is the normal to the plane through the origin containing that line. The point is the perpendicular foot from the origin. Its distance from the origin is , since .
For a general parametric straight line, minimize the squared Euclidean distanceThis strictly convex quadratic function has its unique minimum at , giving the orthogonal projectionFor the cross product description, , so this becomes
For the two planes, put and . Nonparallel unit normals give and . Seek the perpendicular foot in their span, . Its two dot products impose and . Solving gives both requested descriptions of the intersection:andIndeed the vector triple product identity gives . Conversely, since are linearly independent, equality to forces both plane equations. Thus neither description introduces extra points.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 29 2 Solution Created 2026-10-03 Updated 2026-10-07
For the unit-modulus prime values in this question, the Granville-Soundararajan distance isThe second identity uses . Thus it is the Euclidean distance between the finite weighted vectors and . Nonnegativity, symmetry and the triangle inequality follow from that norm representation, and it vanishes exactly when the two prime-value vectors agree. This proves the prime-restriction metric for pretentious distance.
On whole arithmetic functions at fixed it is a pseudometric. For example and have identical values at every prime and zero distance for every , but different values at four. Thus the literal identity-of-indiscernibles assertion needs the prime-restriction quotient.
Since ,For completeness, partial summation and the prime-counting form of the Prime number theorem giveTo verify the constant and the error, replace by in the first expression. Differentiating shows its two contributions combine to plus a constant. The error integral converges absolutely because , and . This proves the Mertens second theorem in the form needed here. In particular the pretentious distance between one and the Möbius function satisfies
For the last request, retain the earlier prime normalization ; the proof also works with the weaker assumption . Without a bound on prime values, the original definition and the absolute convergence of the displayed measure need not apply to an unrestricted multiplicative arithmetic function. For example is multiplicative and squarefree-supported, but for the displayed measure has infinite positive mass: its prime terms alone are , which diverges by the Prime number theorem.
Put , , and use the Fourier transform convention . Since is supported on squarefree integers, the defining property of a multiplicative arithmetic function gives the absolutely convergent Euler productThe bound on prime values gives for squarefree , so the total variation norm of a measure is bounded by ; thus is a finite measure. Expanding the logarithm of the modulus, with an absolute remainder since , givesAll constants here are uniform in . Moreoverusing the pole of the Riemann zeta function. The nonnegative deficits giveIndeed, the replacement of by for costs at mostby the Mertens first theorem, while discarding the terms costs nothing in this lower bound. Thus the large Fourier coefficient criterion for pretentiousness isIn particular,The comparison function is the Archimedean character with this sign because our Fourier transform uses .
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 112 2 iv Solution Created 2026-10-03 Updated 2026-10-06
Choose a maximal subset whose distinct points have Euclidean distance greater than one. The volumetric bound for Euclidean metric nets makes the construction finite: the open Euclidean balls of radius about the points of are disjoint and all lie in , soMaximality means that is a metric net of radius one on the unit sphere. Thus every has some with . Since both are unit vectors,Now intersect the corresponding closed half-spaces:The Cauchy-Schwarz inequality shows that . Conversely, write any nonzero as and choose as above. Then , so . Hence , which also proves boundedness. This convex polytope has at most facets, since redundant inequalities can only reduce their number. It meets the required inclusions with .
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 315 4 b Solution Created 2026-10-03 Updated 2026-10-06
Take an unresolved spherical planet at Euclidean distance , with uniform surface temperature , stationary isotropic emission, and no intervening extinction. Isothermality does not by itself imply blackbody radiation; first derive the geometric result for a uniform emergent specific intensity .
The observer sees the projected disc with apparent solid angle . Integrating its specific intensity over that angle gives the observed spectral radiative fluxwhere is the small angle to the detector normal. For a blackbody, , and the Stefan–Boltzmann law gives . HenceEquivalently, the surface radiative flux is and the luminosity of a spherical blackbody is , leading to the same result by inverse-square dilution. A uniform wavelength-dependent emissivity multiplies the spectral formula; an atmospheric spectrum can require a full angular radiative transfer integral rather than a single Planck function.
Past exam of the mathematics course of the University of Cambridge 2020 ia Paper 1 5C a Solution Created 2026-09-24 Updated 2026-09-29
Expanding the squared Euclidean distances givesThus one may takeThe normal is parallel to , so is its perpendicular bisector. If lies on both and , then , hence it also lies on . Geometrically, the three perpendicular bisectors of the noncollinear triangle concur at its circumcenter.

