Find all functions that satisfy for all .
Solutions — 2
Solution 1
By choosing in the original equation, where is any real number, we get . However, by choosing in the original equation, we get . From these equations together we obtain .
By choosing in equation , we get , however by choosing in equation , we get . Altogether we get or, equivalently, , from which or .
Therefore by either or for every . We can check that both functions indeed satisfy the original equation.
Solution 2
By choosing we get . As can be any real number, this can hold only if .
By choosing , we end up with . Hence for each the equation holds. In the case of this equation gives for every . We get the same result if , because .
However, if and , then we can take in the equation above and divide both sides by ; we obtain , which implies . Now by setting in the equation above we get , therefore for every .