The author describes the contribution of famous mathematician David Hilbert to the development of variational calculus and considers how the later research in this important field was influenced by Hilbert's ideas.