Use the numerator in the original PDF: it contains all squared differentials. The local TeX ends that numerator at , which would not give the stated Riemannian metric.
For the pullback of a Riemannian metric, substitute the embedding . Its differential sends a tangent vector to , so for and . Consequently
The denominator is everywhere positive. For any nonzero tangent vector,
so this is indeed a smooth positive-definite Riemannian metric on .