Variational Methods in Geometry