In this paper, we will prove a theorem for a functional where we prove that the necessary condition for the extreme of a functional is the variation of the functional to be equal to zero and we will give an example of its application, the problem of the Plateau.