Browse · MathNet
PrintInternational Mathematical Olympiad
algebra
Problem
Assume that a function satisfies the following condition: For every such that , we have . Prove that whenever .
Solution
Define . The condition on then rewrites as follows: For every such that , we have . This condition may in turn be rewritten in the following form: If , then the number lies (non-strictly) between and . Notice here that the function also satisfies , since On the other hand, the relation we need to prove reads now as Again, this condition is equivalent to the same one with replaced by . If for all , then () is obvious; so in what follows we consider the other case. We split the solution into a sequence of lemmas, strengthening one another. We always consider some value of with and denote .
Lemma 1. Assume that . Then on the interval the function attains at most two values - namely, and, possibly, some . Similarly, if , then attains at most two values on - namely, and, possibly, some .
Proof. We start with the first claim of the lemma. Notice that , so the considered interval is nonempty. Take any with (if it exists). If , then yields , so which is impossible. Thus, and hence by () we get . Now, for any with we similarly get . Therefore, the number (which is smaller than each of and ) cannot lie between and , which by () implies that . Hence may attain only two values on ( ], namely and . To prove the second claim, notice that , so attains at most two values on , i.e., and, possibly, some . Passing back to , we get what we need.
Lemma 2. If , then is constant on . Similarly, if , then is constant on .
Proof. Again, it suffices to prove the first claim only. Assume, for the sake of contradiction, that there exist with ; by Lemma 1 , we may assume that and . Notice that , so there exists a such that . By Lemma 1, we have either or . In the former case, by () we have which contradicts . In the second case, by () we have which contradicts . Thus the lemma is proved.
Lemma 3. If , then for all . Similarly, if , then for all .
Proof. Again, we only prove the first claim. By Lemmas 1 and 2, this claim may be violated only if takes on a constant value on ( ). Choose any with . By (), we have In particular, we have . Applying Lemma 2 to in place of , we obtain that is constant on . By (2) again, we have ; so . But , which is a contradiction.
Now we are able to finish the solution. Assume that for some . Denote and ; by ( ), we have , so , and hence . On the other hand, since and , Lemma 3 shows that should attain a constant value on ( ) and a constant value on . Since these intervals overlap, we get the final contradiction.
---
Alternative solution.
As in the previous solution, we pass to the function satisfying () and notice that we need to prove the condition (1). We will also make use of the function . If is constant, then (1) is clearly satisfied. So, in the sequel we assume that takes on at least two different values. Now we collect some information about the function .
Claim 1. For any , all the solutions of are bounded.
Proof. Fix any with . Assume first that . Now, for any with , by () we have , or . Since and are constant, we get what we need. If , we may switch to the function for which we have . By the above arguments, we obtain that all the solutions of are bounded, which is equivalent to what we need. As an immediate consequence, the function takes on infinitely many values, which shows that the next claim is indeed widely applicable.
Claim 2. If , then .
Proof. By (), we have , so , as required.
Claim 3. Assume that for some . Then for all .
Proof. If , then the triple ( ) violates Claim 2. If , then the triple violates Claim 2. If , then the triple violates Claim 2. The only possible cases left are .
In view of Claim 3, we say that an interval (which may be open, closed, or semi-open) is a Dirichlet interval if the function takes on just two values on . Assume now, for the sake of contradiction, that (1) is violated by some . By Claim 3, is a Dirichlet interval. Set is a Dirichlet interval and is a Dirichlet interval . Clearly, . By Claim 1, and are finite. Denote , and . Suppose first that there exists a with . By the definition of , the interval ( ] is not Dirichlet, so there exists an such that . The function attains at least three distinct values on , namely , and . Claim 3 now yields ; the equality is impossible by the choice of , so in fact . Applying () to the pairs ( ) and ( ) we obtain , whence , or . This is a contradiction.
Thus, for all . Applying the same argument to , we get for all . Finally, choose some with and denote . As before, we choose with and obtain . Choose any ; by the above arguments, we have and . As before, we apply () to the pairs and obtaining , or . This is a final contradiction.
Lemma 1. Assume that . Then on the interval the function attains at most two values - namely, and, possibly, some . Similarly, if , then attains at most two values on - namely, and, possibly, some .
Proof. We start with the first claim of the lemma. Notice that , so the considered interval is nonempty. Take any with (if it exists). If , then yields , so which is impossible. Thus, and hence by () we get . Now, for any with we similarly get . Therefore, the number (which is smaller than each of and ) cannot lie between and , which by () implies that . Hence may attain only two values on ( ], namely and . To prove the second claim, notice that , so attains at most two values on , i.e., and, possibly, some . Passing back to , we get what we need.
Lemma 2. If , then is constant on . Similarly, if , then is constant on .
Proof. Again, it suffices to prove the first claim only. Assume, for the sake of contradiction, that there exist with ; by Lemma 1 , we may assume that and . Notice that , so there exists a such that . By Lemma 1, we have either or . In the former case, by () we have which contradicts . In the second case, by () we have which contradicts . Thus the lemma is proved.
Lemma 3. If , then for all . Similarly, if , then for all .
Proof. Again, we only prove the first claim. By Lemmas 1 and 2, this claim may be violated only if takes on a constant value on ( ). Choose any with . By (), we have In particular, we have . Applying Lemma 2 to in place of , we obtain that is constant on . By (2) again, we have ; so . But , which is a contradiction.
Now we are able to finish the solution. Assume that for some . Denote and ; by ( ), we have , so , and hence . On the other hand, since and , Lemma 3 shows that should attain a constant value on ( ) and a constant value on . Since these intervals overlap, we get the final contradiction.
---
Alternative solution.
As in the previous solution, we pass to the function satisfying () and notice that we need to prove the condition (1). We will also make use of the function . If is constant, then (1) is clearly satisfied. So, in the sequel we assume that takes on at least two different values. Now we collect some information about the function .
Claim 1. For any , all the solutions of are bounded.
Proof. Fix any with . Assume first that . Now, for any with , by () we have , or . Since and are constant, we get what we need. If , we may switch to the function for which we have . By the above arguments, we obtain that all the solutions of are bounded, which is equivalent to what we need. As an immediate consequence, the function takes on infinitely many values, which shows that the next claim is indeed widely applicable.
Claim 2. If , then .
Proof. By (), we have , so , as required.
Claim 3. Assume that for some . Then for all .
Proof. If , then the triple ( ) violates Claim 2. If , then the triple violates Claim 2. If , then the triple violates Claim 2. The only possible cases left are .
In view of Claim 3, we say that an interval (which may be open, closed, or semi-open) is a Dirichlet interval if the function takes on just two values on . Assume now, for the sake of contradiction, that (1) is violated by some . By Claim 3, is a Dirichlet interval. Set is a Dirichlet interval and is a Dirichlet interval . Clearly, . By Claim 1, and are finite. Denote , and . Suppose first that there exists a with . By the definition of , the interval ( ] is not Dirichlet, so there exists an such that . The function attains at least three distinct values on , namely , and . Claim 3 now yields ; the equality is impossible by the choice of , so in fact . Applying () to the pairs ( ) and ( ) we obtain , whence , or . This is a contradiction.
Thus, for all . Applying the same argument to , we get for all . Finally, choose some with and denote . As before, we choose with and obtain . Choose any ; by the above arguments, we have and . As before, we apply () to the pairs and obtaining , or . This is a final contradiction.
Techniques
Functional Equations