Functionals: An Introduction to Variational Calculus by way of Variation of Parameters: Approximating the Geodesic

The introductory form of calculus of variations involves finding an unknown function, y = y(x),  which maximizes or minimizes a specified definite integral of y(x).

As an introductory problem, we might as a question such as, "of all paths that traverse a rolling landscape, which one is the shortest?"  The y(x) that minimizes the total length is called the geodesic.

The total length of a path over a fixed surface can be written as  an integral of the unknown y(x) (this is worked out in the accompanying lecture notes)
L[y(x)] = "index_30.gif"= "index_31.gif"
Suppose that the "hill" has the shape h(x) = "index_32.gif".

Here, the "real" problem of finding the geodesic from the infinite set of all paths connecting y(x=0) = 0 to y(x=1) = 1  will be replaced by looking at all second-order polynomials: y(x) = a + bx + c"index_33.gif" and then minimizing over the (constrained) parameters. This will be compared with the exact calculation which we will work out below via calculus of variations.

We specify a landscape and an arbitrary quadratic path (a function of three parameters)

"index_34.gif"

Illustrate this surface and identify the starting and ending points.

"index_35.gif"

"index_36.gif"

The general path must satisfy the boundary conditions:

"index_37.gif"

"index_38.gif"

There is one remaining free variable, it can be determined by minimizing the integral

"index_39.gif"

"index_40.gif"

To get an idea of how the path' s distance compares with its shape, we can manipulate the path and display that path' s length

Interactive Path Modification and Length Calculation

"index_41.gif"

"index_42.gif"


Created by Wolfram Mathematica 6.0  (26 November 2007) Valid XHTML 1.1!