#846
Find all functions such that
for any reals .
Solution
Solution by AIME4096.
We claim that the complete solution set consists precisely of the functions obtained as follows. Define , partition into components of the four types described below, let act by shifting one step forward along every chain and by interchanging the two elements of every two-cycle, with , and then set . Equivalently, every non-cyclic chain is of the form for either all or all , with the terms pairwise distinct, and . These functions all work for every . We now wish to prove that these are the only solutions. Let denote the assertion . Since ranges over all of , the original equation is equivalent to for every . Define . Then the equation becomes for every .
Lemma 1. The function is injective and .
Proof. Suppose . Applying the functional equation to and gives and . Since , the left-hand sides are equal, and therefore . Hence , so is injective. Substituting gives . Since , injectivity gives .
Lemma 2. For every , if we define for , then for every . Consequently, there exist unique such that for every .
Proof. Since , applying the equation for to gives
The characteristic polynomial of this recurrence is . Thus its general solution is . The constants are uniquely determined by and , namely and .
Lemma 3. Every connected component of the functional graph of is exactly one of the following:
- the singleton , with ;
- a two-cycle with , where and ;
- a one-sided infinite chain of pairwise distinct real numbers satisfying ;
- a two-sided infinite chain of pairwise distinct real numbers satisfying .
Proof. Since is injective, every element has at most one predecessor. Therefore every connected component of the directed graph of is either a cycle, a one-sided chain, or a two-sided chain. Suppose a component is a cycle. Then its elements form a periodic sequence satisfying . By Lemma , . If this sequence is periodic, then the term involving must vanish, so . Hence , which has period when , and gives the singleton when . Thus the only possible cycles are and two-cycles . If the component is not a cycle, injectivity implies that it is either a ray indexed by or a bi-infinite chain indexed by . The terms must be pairwise distinct, since otherwise the same real number would occur at two different positions and would not define a single-valued map on the component. This proves the lemma, meaning we can now state the complete classification.
We now claim that a function satisfies for all if and only if, after defining , the real line can be partitioned into components of the four types in Lemma , with acting by on every chain and by on every two-cycle. Equivalently, every non-cyclic chain is of the form for either all or all , with the terms pairwise distinct, and . Note that necessity follows from Lemmas . Conversely, suppose that is partitioned into components of the stated types, and define by shifting one step forward along every chain and interchanging the two elements of every two-cycle, with . For a chain, the recurrence gives . For a two-cycle, if , then , and the same holds for . It is also immediate for . Therefore for every .
Thus the complete solution set is the above family of functions. In particular, there are many nonlinear solutions. For example, let
Both and are invariant under multiplication by and by , so for every . Therefore
is a nonlinear solution. The two linear solutions are obtained from the two homogeneous choices . Note that these are only two members of the full solution family described above.