Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

algebra senior

Problem

Let be a function such that for all Find the sum of all possible values of
Solution
Let and . Setting in the given equation, we get for all . In particular, for , .

Setting in the given equation, we get for all .

Substituting for in equation (1), we get But from equation (2), , so for all .

If , then for all , so attains at most two different values. But by equation (1), this cannot be the case.

Hence, , then , so from equation (1), which means or for all .

Let be a value such that . Then , so by equation (2), , or . Hence, the only value of such that is . Therefore, for all . It is easy to check that this solution works.

Therefore, the sum of all possible values of is
Final answer
-1