**Find all SURJECTIVE functions such that ,**

**.**

Answer: .

Let the equation be .

*All right… Surjective… That means we will be able to let be whatever we want…*

* obviously works, and don’t work. don’t work either. Since the right hand side is symmetric in and , we’d expect the LHS to be basically symmetric as well (hmm we might be able to twiddle take this, at some point), thus we expect to be the only solution. (Constant solutions work but they are not surjective.*

*Turns out that term is hard to control, and we don’t find that easily.*

*We want to show it is injective. Because if it was injective we can twiddle take the equation and show by switching and , from which the solution follows straightaway.*

So LHS, as function of only depends on , and the RHS has only . Thus we see that , i.e. only depends on .

Now, let , then as . Let . We then have . *(This uses surjectivity!!!! It is only because the function is surjective that we can make range over the entire real number.)*

Seems like our injectivity scheme is not going well… Well we will twiddle take the equation anyway.

Define as . That is, is a period of . It is easy to check that this is an equivalence relation that is preserved by addition of equal term.

, or,

.

*This is like a pseudo …. Let’s sub in values and see… *

Let . (by surjectivity it exists.)

In (*) let , we see that .

. LHS, RHS. Thus .

. . Since , . Thus .

.

But since , thus . But .

*So, we tried to show that is injective, but ended up showing . That is still great though, because now we have . All these substitutions are found by trial and error, which makes the problem quite challenging indeed. The idea behind, though, is that if the “” sign is replaced by equal, we will be able to determine by equating coefficients of LHS and RHS of . We are just doing in modulo the set of periods.*

Since , all values in the image of are fixed points of .

But is surjective. Thus , thus every real number is a fixed point. Or, .

Comment: the middle part of finding the is tricky, and it is useful to notice the structure that all difference between pair of number giving off the same value are periods of the function. We used the surjectivity twice, once when showing that they are periods, the other when showing that the image of is the entire real number. The second time, despite that the equation could be reduced to additive Cauchy function, the zero function can still work, so we need to use the surjectivity to do this.