Entropy, extremality, euclidean variations, and the equations of motion