Skip to main content
OlympiadHQ

Browse · MathNet

Print

72nd Czech and Slovak Mathematical Olympiad

Czech Republic algebra

Problem

Given two odd positive integers and . For each two positive integers satisfying and Martin wrote the fraction on the board. Determine the median of all these fractions, that is a real number such that if we order all the fractions on the board by their values from smallest to largest (fractions with the same value in any order), in the middle of this list will be a fraction with value . (Martin Melicher)
Solution
We show that the median has the value . In the entire solution, denotes this number. Since the given numbers and are odd, the fraction with value is actually written on the board—for example, it is a fraction .

According to the comparison with the number , we call a fraction ▷ small if its value is less than , ▷ mean if its value is equal to , ▷ large if its value is greater than .

The number of all fractions on the board is odd. To show that the middle fraction, when they are ordered by their values, has the value , it is sufficient to prove that the number of small fractions is equal to the number of the large ones. (The latter will also mean that the number of mean fractions is odd, which again confirms their existence.)

We match the fractions written on the board—we couple each fraction with the fraction (and vice versa) if and only if and , which can indeed be rewritten symmetrically as and . Note that the inequalities and apparently hold if and only if and .

It is obvious that only the fraction is „coupled“ with itself and that all the other fractions are actually divided into pairs. If we show that every such pair either consists of one small and one large fraction, or of two mean fractions, we are done.

Thanks to the mentioned symmetry, it suffices to verify that a fraction is small if and only if the fraction is large. The verification is routine:



This completes the solution.

ANOTHER SOLUTION.

Let us look at the problem geometrically—we consider the plane with the Cartesian coordinate system . Each fraction that Martin wrote on the board is represented as a point with coordinates . We thus get exactly those points of our plane, for which and . The set of these points (that we plotted in the figure for a ) we denote by and call it „the grid“. It has the shape of a rectangle with vertices , , and . Since numbers are odd, the center of this rectangle has integer coordinates and . The center is thus itself a point of the grid . Let us add that the line has the slope and let us denote the value of this fraction by as in the first solution.

Note that the grid is point symmetric with the center (in the picture we marked two points and where each of them is reflection of the other one).
Therefore, there is the same number of points from above and below the line . Let us clarify what distinguishes these two equally numerous groups of points „below the line OS“.

The point of the grid lies below the line if and only if the line has a smaller slope than the line , i.e. if holds. Therefore, exactly those points lie under the line that correspond to small fractions , as we called them in the first solution. Similarly, the lattice points of above the line correspond to large fractions. So, there is the same number of small and large fractions.
Final answer
(k+1)/(n+1)

Techniques

FractionsEnumeration with symmetryCartesian coordinates