Add some text on defining variational problems