Particle on Curved Surface under no Force moves along Geodesic

Theorem
Consider a particle $P$ which is constrained to move on a curved surface $C$.

Let $P$ be such that no force acts upon it.

Then $P$ moves along a geodesic.

Proof
{{stub|A consequence of Hamilton's Principle in the calculus of variations.