Problem:
Find, with proof, all functions such that
for all real such that .
, 2022
Solutions — 2
Solution 1
Solution:
The answer is either for all or for all . These can be checked to work.
Now, I will prove that these are the only solutions. Let be the assertion of the problem statement.
Lemma 1. for all .
Proof. yields . Then, and yield
Thus, we have , so we have or . Plugging in the latter into the first equation above gives us
which gives us or . This proves Lemma 1.
Lemma 2. If for some , then we have for all .
Proof. and give us
Thus we have , so or . Plugging in the latter into the first equation gives us
which gives us either or . Note that since the latter expression doesn't equal , since , we must have that . Thus, we have proved Lemma 2.
Combining these lemmas finishes the problem.
Solution 2
Solution:
Suppose and and that are not all the same. Then we have
Squaring the first equation and subtracting the second equation times the third gives us: , where and . If , it is not too hard to see that we get . If not, then we can let and we substitute into the first equation to get . Thus, we have or . Thus, we have either or .
Thus, or . If the former is true, then for all and such that and , we have . However, this gives that for all . Likewise, if the latter were true, we would have for all , so we are done.