In general, the proper time from a point to a (infinitesimally) nearby point under a metric is given by:
Generally because these metric coefficients multiply onto identical terms .
Therefore if a world line is parameterised by from to , then the total proper time experienced on that line is
Now put and take the two outside the square root, giving
This is just an integral involving the known functions , and the derivatives of (with respect to ).
Suppressing function dependencies, using for derivative with respect to the path parameter and summing repeated indices implicitly gives a more compact way of writing this: