**Find all such that .**

*All right, looks old-fashioned. For old-fashioned functional equation whose solutions are probably only the obvious ones, we aim to characterise its properties instead of its specific values. Sleeves up, let’s get to work. *

Answer: and .

(Checking is omitted for it is trivial.)

Let , and .

That is, are sets of second-order fixed points, zeroes, and periods of the function, respectively. We will see why we mentioned these sets very soon.

Let the statement of the question be . The condition looks rather symmetric, but not quite. This gives us space for manipulation.

or .

Having conjectured that only the two aforementioned solutions to the functional equation exist, we aim to rule out the second case.

. Substitution shows that this is NOT a solution. Thus .

Keep going, we are on track.

.

Look, look, these two switch between each other. Better take this information into account. .

But how are we going to exploit the second order fixed points? We have to substitute it into somewhere and compare it with the original value, so we’d better do it with something where and are both present, as in such occasion substituting will make this expression comparable with the original one. Such expression exists in the LHS.

,

as and . If , as and . Thus . If , . Thus in whatever case, .

Look at that. That looks like quite some information isn’t it, especially after we substitute in…

.

That wasn’t a big surprise, since the and are supposed to either cancel or both give vanishing function value anyway. But this expression has an advantage….

, and the LHS of this expression is equal to . Thus,

or .

Once we are here normally there are many ways to finish the problem off.

Claim: .

If , .

If . . If , we can divide both sides by and conclude . If , . Thus .

If only vanishes on , we recall the statement (*), in which , thus . But anyway, thus .

If , then is a period of the function. .

But now, . Thus . Which, since , forces us to have .

Comment: Boring problem, just a few substitutions to crack it open. But the substitutions are not that easy to find, especially the middle part where one needs to play around with the second order fixed point set. The part proving that all zeroes are periods makes use of the ubiquity of on both sides (since it is ubiquitous we let it vanish to reduce the equation down.)