Definition (length under Riemannian metric)

Let an open set $V\subseteq \R^2$ be equipped with a Riemannian metric $p\mapsto \I_p = \pmat{E(p) & F(p) \\ F(p) & G(p)}$.

The length of a smooth curve $γ(t) = (u(t), v(t)): [a,b]\to V$ is $$ \begin{align*} \mathrm{length}(γ) = \int_{a}^{b} \sqrt{E\dot u^2 + 2F\dot u \dot v + G\dot v^2} \d t \equiv \int_{a}^{b} \|\dot γ(t)\|_{\I_{γ(t)}} \d t. \end{align*} $$