A Riemannian metric is a smoothly varying positive-definite inner product on each tangent space of a smooth manifold. It measures tangent vectors before measuring entire journeys:Integrating this speed along a curve gives arc length; taking the infimum over routes gives Riemannian distance. A smooth manifold together with this measuring rule is a Riemannian manifold.
In a coordinate chart , the rule is represented by a smooth positive-definite symmetric matrix :The notation describes the squared infinitesimal line element, rather than an ordinary distance between distinct points. Changing coordinates changes the matrix entries; it preserves the measured norm of the same tangent vector.
For the plane with , the vector has norm and has norm . The coordinate change turns this into : coefficients that look different can describe the same geometry. On a circular cylinder the induced metric similarly becomes Euclidean when unrolled. On a round sphere, polar coordinates give , away from the poles; the apparent degeneracy at a pole belongs to this coordinate choice, not to the Riemannian metric.
The point of the construction is that measurements make sense intrinsically, even without a chosen surrounding Euclidean space. It gives a common starting point for geodesics, curvature encoded by the Riemann curvature tensor, and the Laplace-Beltrami operator. [ref]
https://www.math.ucla.edu/~petersen/RG.pdf. Peter Petersen, Riemannian Geometry, §1.1: smoothly varying tangent-space inner products
. New to topics? Read the docs here!