Browse · MathNet
PrintIranian Mathematical Olympiad
Iran algebra
Problem
Find all functions such that
i. if and only if .
ii. if and only if .
iii. For all real numbers ; .
i. if and only if .
ii. if and only if .
iii. For all real numbers ; .
Solution
We shall firstly prove following lemmas;
Lemma 1. For any real number , the length of the interval is at most 2. Proof. If we have hence we have .
Lemma 2. If the interval has length 2, then there is a real number such that . Proof. If then by condition 2 there is so we have . But the length of is at most 2 hence we have , this completes our proof.
Lemma 3. f is an injective function and for any r the length of f(r) is 2. Proof. Using preceding lemmas it is enough to show that if then . Assume the contrary, let be an interval of length 2 such that then by lemma 2 there exists such that . Now we have which contradicts .
Define a new function such that for all , is the midpoint of . Since we know the length of we can forget about and work with . We apt to find all bijective functions such that:
Lemma 4. g is strictly increasing. Proof. It suffices to prove if then . We firstly consider the case . For each by condition 2 and we have so we can deduce that and have different signs, similarly we can deduce that have the same sign (they are both opposite to the sign of ). Hence we have . We prove by induction on (We only prove the case that the other case is similar). For the base if then . We know that hence by the second condition we have We know by induction that hence we have .
Lemma 5. we have . Proof. We know that is bijective so it suffices to prove that . Assume that then we have . Now if we have hence by condition 1; so we get .
By the last lemma we obtain that there is only one function that satisfies the condition of the problem and that function is: It is easy to check that this function actually works. ■
Lemma 1. For any real number , the length of the interval is at most 2. Proof. If we have hence we have .
Lemma 2. If the interval has length 2, then there is a real number such that . Proof. If then by condition 2 there is so we have . But the length of is at most 2 hence we have , this completes our proof.
Lemma 3. f is an injective function and for any r the length of f(r) is 2. Proof. Using preceding lemmas it is enough to show that if then . Assume the contrary, let be an interval of length 2 such that then by lemma 2 there exists such that . Now we have which contradicts .
Define a new function such that for all , is the midpoint of . Since we know the length of we can forget about and work with . We apt to find all bijective functions such that:
Lemma 4. g is strictly increasing. Proof. It suffices to prove if then . We firstly consider the case . For each by condition 2 and we have so we can deduce that and have different signs, similarly we can deduce that have the same sign (they are both opposite to the sign of ). Hence we have . We prove by induction on (We only prove the case that the other case is similar). For the base if then . We know that hence by the second condition we have We know by induction that hence we have .
Lemma 5. we have . Proof. We know that is bijective so it suffices to prove that . Assume that then we have . Now if we have hence by condition 1; so we get .
By the last lemma we obtain that there is only one function that satisfies the condition of the problem and that function is: It is easy to check that this function actually works. ■
Final answer
Let n = floor(x). Define g(x) by: - if n is even: g(x) = (x - n)^2 + n; - if n is odd: g(x) = sqrt(x - n) + n. Then the unique solution is f(x) = [g(x) - 1, g(x) + 1].
Techniques
Injectivity / surjectivityExistential quantifiersLinear and quadratic inequalities