Mountain climbing problem

From HandWiki
Short description: Mathematical problem
A trivial example.

In mathematics, the mountain climbing problem is a mathematical problem that considers a two-dimensional mountain range (represented as a continuous function), and asks whether it is possible for two mountain climbers starting at sea level on the left and right sides of the mountain to meet at the summit, while maintaining equal altitudes at all times. This problem was named and posed in this form by James V. Whittaker (1966), but its history goes back to Tatsuo Homma (1952), who solved a version of it. The problem has been repeatedly rediscovered and solved independently in different contexts by a number of people (see references below).

Since the 1990s, the problem was shown to be connected to the weak Fréchet distance of curves in the plane,[1] various planar motion planning problems in computational geometry,[2] the inscribed square problem,[3] semigroup of polynomials,[4] etc. The problem was popularized in the article by (Goodman Pach), which received the Mathematical Association of America's Lester R. Ford Award in 1990.[5]

Analysis

The problem can be rephrased as asking whether, for a given pair of continuous functions [math]\displaystyle{ f, g }[/math] with [math]\displaystyle{ f(0)=g(0)=0, f(1)=g(1)=1 }[/math] (corresponding to rescaled versions of the left and right faces of the mountain), it is possible to find another pair of functions [math]\displaystyle{ x_1, x_2 }[/math] with [math]\displaystyle{ x_1(0)=x_2(0)=0, x_1(1)=x_2(1)=1 }[/math] (the climbers' horizontal positions at time [math]\displaystyle{ t }[/math]) such that the function compositions [math]\displaystyle{ f\circ x_1 }[/math] and [math]\displaystyle{ g\circ x_2 }[/math] (the climbers' altitudes at time [math]\displaystyle{ t }[/math]) are the same function.

Finite number of peaks and valleys

An example requiring backtracking. The original image is an animated SVG; click through to view it.

When [math]\displaystyle{ f, g }[/math] have only a finite number of peaks and valleys (local maxima and local minima) it is always possible to coordinate the climbers' movements.[6] This can be shown by drawing out a sort of game tree: an undirected graph [math]\displaystyle{ G }[/math] with one vertex labeled [math]\displaystyle{ (x_1,x_2) }[/math] whenever [math]\displaystyle{ f(x_1)=g(x_2) }[/math] and either [math]\displaystyle{ f(x_1) }[/math] or [math]\displaystyle{ g(x_2) }[/math] is a local maximum or minimum. Two vertices will be connected by an edge if and only if one node is immediately reachable from the other; the degree of a vertex will be greater than one only when the climbers have a non-trivial choice to make from that position.

  • At the vertex [math]\displaystyle{ (0,0) }[/math], the degree is one: the only possible direction for both climbers to go is onto the mountain. Similarly, at [math]\displaystyle{ (1,1) }[/math] the degree is one, because both climbers can only return down the mountain.
  • At a vertex where one climber is at a peak or a valley and the other one is not, then the degree is two: the climber at the peak or valley has two choices of which way to go, and the other climber can only go one way.
  • At a vertex where both climbers are at peaks or both climbers are at valleys, the degree is four: both climbers may choose independently of each other which direction to go.
  • At a vertex where one climber is at a peak and the other is at a valley, the degree is zero: such positions are unreachable. (That is, if such a vertex exists, then the graph [math]\displaystyle{ G }[/math] is not connected.)

According to the handshaking lemma, every connected component of an undirected graph has an even number of odd-degree vertices. Since the only odd-degree vertices in all of [math]\displaystyle{ G }[/math] are [math]\displaystyle{ (0,0) }[/math] and [math]\displaystyle{ (1,1) }[/math], these two vertices must belong to the same connected component. That is, [math]\displaystyle{ G }[/math] must contain a path from [math]\displaystyle{ (0,0) }[/math] to [math]\displaystyle{ (1,1) }[/math]. That path tells how to coordinate the climbers' movement to the summit.

It has been observed that for a mountain with n peaks and valleys the length of this path (roughly corresponding to the number of times one or the other climber must "backtrack") can be as large as quadratic in n.[1]

This technique breaks down when [math]\displaystyle{ f, g }[/math] have an infinite number of local extrema. In that case, [math]\displaystyle{ G }[/math] would not be a finite graph, so the handshaking lemma would not apply: [math]\displaystyle{ (0,0) }[/math] and [math]\displaystyle{ (1,1) }[/math] might be connected but only by a path with an infinite number of vertices, possibly taking the climbers "infinite time" to traverse.

Infinite number of peaks and valleys

The following result is due to (Huneke 1969):

Suppose [math]\displaystyle{ f }[/math] and [math]\displaystyle{ g }[/math] are continuous functions from [math]\displaystyle{ [0,1] }[/math] to [math]\displaystyle{ [0,1] }[/math] with [math]\displaystyle{ f(0)=g(0)=0 }[/math] and [math]\displaystyle{ f(1)=g(1)=1 }[/math], and such that neither function is constant on an interval. Then there exist continuous functions [math]\displaystyle{ s }[/math] and [math]\displaystyle{ t }[/math] from [math]\displaystyle{ [0,1] }[/math] to [math]\displaystyle{ [0,1] }[/math] with [math]\displaystyle{ s(0)=t(0)=0 }[/math], [math]\displaystyle{ s(1)=t(1)=1 }[/math], and such that [math]\displaystyle{ f\circ s \, = \, g\circ t }[/math], where "[math]\displaystyle{ \circ }[/math]" stands for a composition of functions.

On the other hand, it is not possible to extend this result to all continuous functions. For, if [math]\displaystyle{ f }[/math] has constant height over an interval while [math]\displaystyle{ g }[/math] has infinitely many oscillations passing through the same height, then the first climber may be forced to go back and forth over that interval infinitely many times, making his path to the summit infinitely long.[6] James V. Whittaker (1966) gives a concrete example involving [math]\displaystyle{ x\sin(x^{-1}) }[/math].[6]

Notes

References

External links