A short introduction is given about direct variational methods and their relation to Galerkin and moment methods, all flexible and powerful approaches for finding approximate solutions to difficult physical equations. An application of these methods is given in the form of the variational problem of minimizing the discomfort experienced during different journeys, between two fixed horizontal points while keeping the travel time constant. The analysis is shown to provide simple, yet accurate, approximate solutions of the problem and illustrates the usefulness and the power of direct variational and moment methods. It also demonstrates the problem of a priori assessing the accuracy of the approximate solutions and illustrates that the variational solution does not necessarily provide a more accurate solution than that obtained by moment methods.

1.
R. P.
Feynman
,
R. B.
Leighton
, and
M.
Sands
, “
The principle of least action
” in
The Feyman Lectures on Physics
(
Addison-Wesley
,
Reading, MA
,
1964
).
2.
R.
Courant
and
D.
Hilbert
,
Methods of Mathematical Physics
(
Interscience Publisher
,
New York
,
1953
).
3.
I. M.
Gelfand
and
S. V.
Fomin
,
Calculus of Variations
(
Prentice Hall
,
Englewood Cliffs, NJ
,
1963
).
4.
F. Y. M.
Wan
,
Introduction to the Calculus of Variations and Its Applications
(
Chapman & Hall
,
New York
,
1995
).
5.
L.
Komzsik
,
Applied Calculus of Variations for Engineers
(
CRC Press/Taylor and Francis Group
,
Boca Raton, FL
,
2009
).
6.
B. A.
Finlayson
,
The Method of Weighted Residuals and Variational Principles
(
Academic Press
,
New York
,
1972
).
7.
S. H.
Schot
, “
Jerk: The time rate of change of acceleration
,”
Am. J. Phys.
46
,
1090
1094
(
1978
).
8.
D.
Anderson
,
F.
Anderson
,
P.
Anderson
,
A.
Billander
,
M.
Desaix
, and
M.
Lisak
, “
The optimal journey from A to B
,”
Am. J. Phys.
76
,
863
866
(
2008
).
9.
D. J.
Kaup
and
T. K.
Vogel
, “
Quantitative measurement of variational approximations
,”
Phys. Lett. A
362
,
289
297
(
2007
).
AAPT members receive access to the American Journal of Physics and The Physics Teacher as a member benefit. To learn more about this member benefit and becoming an AAPT member, visit the Joining AAPT page.