Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2007/iii/paper-47/4/a/solution
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 47 4 a Solution by
Codex 0 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.
New to topics? Read the docs here!