Mountain climbing problem

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 & Yap (1989), 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 f , g {\displaystyle f,g} with f ( 0 ) = g ( 0 ) = 0 , f ( 1 ) = g ( 1 ) = 1 {\displaystyle f(0)=g(0)=0,f(1)=g(1)=1} (corresponding to rescaled versions of the left and right faces of the mountain), it is possible to find another pair of functions x 1 , x 2 {\displaystyle x_{1},x_{2}} with x 1 ( 0 ) = x 2 ( 0 ) = 0 , x 1 ( 1 ) = x 2 ( 1 ) = 1 {\displaystyle x_{1}(0)=x_{2}(0)=0,x_{1}(1)=x_{2}(1)=1} (the climbers' horizontal positions at time t {\displaystyle t} ) such that the function compositions f x 1 {\displaystyle f\circ x_{1}} and g x 2 {\displaystyle g\circ x_{2}} (the climbers' altitudes at time t {\displaystyle t} ) 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 f , g {\displaystyle f,g} 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 G {\displaystyle G} with one vertex labeled ( x 1 , x 2 ) {\displaystyle (x_{1},x_{2})} whenever f ( x 1 ) = g ( x 2 ) {\displaystyle f(x_{1})=g(x_{2})} and either f ( x 1 ) {\displaystyle f(x_{1})} or g ( x 2 ) {\displaystyle g(x_{2})} 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 ( 0 , 0 ) {\displaystyle (0,0)} , the degree is one: the only possible direction for both climbers to go is onto the mountain. Similarly, at ( 1 , 1 ) {\displaystyle (1,1)} 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 G {\displaystyle G} 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 G {\displaystyle G} are ( 0 , 0 ) {\displaystyle (0,0)} and ( 1 , 1 ) {\displaystyle (1,1)} , these two vertices must belong to the same connected component. That is, G {\displaystyle G} must contain a path from ( 0 , 0 ) {\displaystyle (0,0)} to ( 1 , 1 ) {\displaystyle (1,1)} . 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 f , g {\displaystyle f,g} have an infinite number of local extrema. In that case, G {\displaystyle G} would not be a finite graph, so the handshaking lemma would not apply: ( 0 , 0 ) {\displaystyle (0,0)} and ( 1 , 1 ) {\displaystyle (1,1)} 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 f {\displaystyle f} and g {\displaystyle g} are continuous functions from [ 0 , 1 ] {\displaystyle [0,1]} to [ 0 , 1 ] {\displaystyle [0,1]} with f ( 0 ) = g ( 0 ) = 0 {\displaystyle f(0)=g(0)=0} and f ( 1 ) = g ( 1 ) = 1 {\displaystyle f(1)=g(1)=1} , and such that neither function is constant on an interval. Then there exist continuous functions s {\displaystyle s} and t {\displaystyle t} from [ 0 , 1 ] {\displaystyle [0,1]} to [ 0 , 1 ] {\displaystyle [0,1]} with s ( 0 ) = t ( 0 ) = 0 {\displaystyle s(0)=t(0)=0} , s ( 1 ) = t ( 1 ) = 1 {\displaystyle s(1)=t(1)=1} , and such that f s = g t {\displaystyle f\circ s\,=\,g\circ t} , where " {\displaystyle \circ } " stands for a composition of functions.

On the other hand, it is not possible to extend this result to all continuous functions. For, if f {\displaystyle f} has constant height over an interval while g {\displaystyle g} 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 x sin ( x 1 ) {\displaystyle x\sin(x^{-1})} .[6]

Notes

  1. ^ a b Buchin et al. (2007).
  2. ^ Goodman, Pach & Yap (1989).
  3. ^ Pak (2010).
  4. ^ Baird & Magill (1997).
  5. ^ "Mountain Climbing, Ladder Moving, and the Ring-Width of a Polygon", Writing Awards, Mathematical Association of America, 1990, retrieved 2015-12-19.
  6. ^ a b c Whittaker (1966).

References

  • Baird, B. B.; Magill, K. D. Jr. (1997), "Green's R {\displaystyle {\mathcal {R}}} , D {\displaystyle {\mathcal {D}}} and H {\displaystyle {\mathcal {H}}} relations for generalized polynomials", Semigroup Forum, 55 (3): 267–293, doi:10.1007/PL00005929, MR 1469444, S2CID 120449490.
  • Buchin, Kevin; Buchin, Maike; Knauer, Christian; Rote, Günter; Wenk, Carola (2007), "How difficult is it to walk the dog?", Proc. 23rd European Workshop on Computational Geometry (Graz, 2007), pp. 170–173.
  • Goodman, Jacob E.; Pach, János; Yap, Chee-K. (1989), "Mountain climbing, ladder moving, and the ring-width of a polygon" (PDF), American Mathematical Monthly, 96 (6): 494–510, doi:10.2307/2323971, JSTOR 2323971, MR 0999412.
  • Homma, Tatsuo (1952), "A theorem on continuous functions", Kodai Mathematical Seminar Reports, 4: 13–16, doi:10.2996/kmj/1138843207, MR 0049988.
  • Huneke, John Philip (1969), "Mountain climbing", Transactions of the American Mathematical Society, 139: 383–391, doi:10.2307/1995331, JSTOR 1995331, MR 0239013.
  • Jiménez López, Víctor (1999), "An elementary solution to the mountain climbers' problem", Aequationes Mathematicae, 57 (1): 45–49, doi:10.1007/s000100050069, MR 1675749, S2CID 121912365.
  • Keleti, Tamás (1993), "The mountain climbers' problem", Proceedings of the American Mathematical Society, 117 (1): 89–97, doi:10.2307/2159702, JSTOR 2159702, MR 1123655.
  • Lipiński, J. S. (1957), "Sur l'uniformisation des fonctions continues", Bull. Acad. Polon. Sci. Cl. III, 5: 1019–1021, LXXXV, MR 0095224.
  • McKiernan, M. A. (1985), "Mountain climbing: an alternate proof", Aequationes Mathematicae, 28 (1–2): 132–134, doi:10.1007/BF02189402, MR 0781218, S2CID 120938782.
  • Mioduszewski, J. (1962), "On a quasi-ordering in the class of continuous mappings of a closed interval into itself", Colloquium Mathematicum, 9 (2): 233–240, doi:10.4064/cm-9-2-233-240, MR 0143181.
  • Pak, Igor (2010), Lectures on Discrete and Polyhedral Geometry, p. 39.
  • Sikorski, R.; Zarankiewicz, K. (1955), "On uniformization of functions. I", Fundamenta Mathematicae, 41 (2): 339–344, doi:10.4064/fm-41-2-339-344, MR 0072465.
  • Tucker, Alan (1995), "The parallel climbers puzzle" (PDF), Math Horizons, 3 (2): 22–24, doi:10.1080/10724117.1995.11974954.
  • Whittaker, James V. (1966), "A mountain-climbing problem", Canadian Journal of Mathematics, 18: 873–882, doi:10.4153/CJM-1966-087-x, MR 0196013, S2CID 124117059..
  • The Parallel Mountain Climbers Problem, a description and a Java applet solution.