geodesic deviation

what is the condition for inertial motion in general relativity? why does the distance between two objects following their respective geodesics change at least quadratically with proper time in a gravitational field? what’s specifically this dependence for (i) pairs of galaxies in cosmology and (ii) the two mirrors in a gravitational wave interferometer?