A curve on a surface, joining two given points, that is the shortest curve between the two points. On a sphere, a geodesic is an arc of a great circle through the two given points.
For a curve γ(s), parameterized by arc length s, this is equivalent to the acceleration vector being normal to the surface. A curve γ(s) = r(u(s),v(s)) in a parameterized surface r(u,v) is a geodesic if it satisfies the equations
where E,2F,G are the coefficients of the first fundamental form. See also Christoffel symbols.