Here's a very simple problem whose solution was not obvious to me immediately. Indeed I tried several approaches before stumping into one that worked. After several failed attempts, I asked myself a question that helped me many times before: Have I used all the data?
(The number of yellow dots will automatically be set to the sum of the number of red and blue dots if the "Link" box is checked. Otherwise, the number of yellow dots may be set idependently.)
Let's call the red and blue dots collectively magenta dots. Assume on the contrary that two magenta dots lie inside a yellow interval. Since yellow intervals are shorter than either red or blue ones, the two magenta dots must be of different colors: one red, the other blue. For the definiteness' sake, assume dots a/13 and b17 lie inside the interval (c/30, (c + 1)/30). Then the mediant fraction (a + b)/(13 + 17) = (a + b)/30 lies between a/13 and b/17, i.e. inside the interval (c/30, (c + 1 )/30), which is impossible. Contradiction.
Obviously, the problem can be generalized to arbitrary subdivisions into m red, n blue, and (m + n) yellow intervals as long as m and n are coprime.
The above proof is a proof by reductio ad absurdum. It's direct analog was suggested by W.McWorter.
Consider the combined sequence of red, blue, and yellow dots. May a red dot immediately follow another red dot? No, there bound to be a yellow dot in-between two successive red dots. This is because the yellow intervals are shorter than the red ones.
A blue dot can't follow another blue dot for the same reason. Can it follow a red dot, or vice versa? No, this, too, is impossible. The mediant of a red dot and a blue dot (which is a yellow dot) always squeezes in-between.
Now, we just saw that in the combined sequence of magenta and yellow dots, any two magenta dots are always separated by at least one yellow dot. There are m + n magenta dots and m + n - 1 open magenta intervals with no magenta dots in the interior. Not counting the terminal dots at 0 and 1, there are exactly m + n - 1 yellow dots. It thus follows that exactly 1 yellow dot falls into each of the magenta intervals. In other words, magenta and yellow dots interlace. Therefore, every yellow interval (excluding the terminal ones: the leftmost with the left endpoint at 0 and the rightmost with the right endpoint at 1) contains exactly 1 magenta dot.
Professor McWorter has also considered a generalization
|
What's so sacred about m + n? Let m and n be coprime, and let x
be a positive integer. Divide the unit interval into m equal parts with
red dots, divide the unit interval into n equal parts with blue dots,
and divide the unit interval into x equal parts with yellow dots. If
x < m + n, then, by the pigeonhole principle, some pair of consecutive yellow dots contains at least two magenta dots between them. On the other hand, if x > mn, then no consecutive yellow dots contain more than one magenta dot between them because the closest two magenta dots can be
is 1/mn, which is larger than 1/x.
The case x = m + n has been discussed. So what about x greater than m + n but less or equal mn?
What I can do is show that for every x of the form x = my + nz, where y and z are positive integers, there is at most one magenta dot between consecutive yellow dots. So, in one sense, m + n is not sacred because all x of the above form work. In another sense, x = m + n is sacred because it is the only x for which there is exactly one magenta dot between consecutive yellow dots (other than the first and last consecutive pairs which have no magenta dots in between), or, less significantly, m + n is sacred because x = m + n is the smallest x which works.
|
The proof of the generalization is only slightly different from the case already discussed. Assume dots a/m and b/n are located in a yellow interval. Before forming the mediant, observe that a/m = ay/my and b/n = bz/nz. Now, the mediant (ay + bz)/(my + nz) = (ay + bz)/x is a yellow dot inside the yellow interval at hand. Contradiction.
Experimentation with the applet at the beginning of the page easily reveals that McWorter's condition (x = my + nz) is sufficient but not necessary for there being at most one magenta dot in every yellow interval. Nonetheless, as the following example shows, it can't be omitted altogether.
Let m = 8, n = 7, and x = 27. Obviously, 27 can't be written in the form 27 = 8y + 7z with positive y and z. Now, since 3/27 < 1/8 < 1/7 < 4/27, two magenta dots (1/8 and 1/7) fall inside a yellow interval (3/27, 4/27).
Here's another proof of the same result.
Let r = m/n and s = n/m, where m and n are coprime. Consider two sequences of rational numbers
{i(r + 1): 0 < i} and {i(s + 1): 0 < i}
In both sequences, m + n is the first integer. This is because, as we assumed, m and n are coprime. From here, m + n and n are also coprime. i(m + n)/n may only be an integer for i
n and similarly for the second sequence. For the same reason, the two sequence have no common elements below m + n.