Skip to main content
OlympiadHQ

Browse · MathNet

Print

Singapore Mathematical Olympiad (SMO)

Singapore algebra

Problem

Find all functions such that .
Solution
There are 4 solutions, namely Let (1) be the original equation. The first 3 solutions can be easily verified. The last solution can be verified by considering the cases when have the same parity, and when they don't. We proceed to prove these are the only solutions.

Put : or

Put : (2)

Put : (3)

Case 1. . From (2) and (3) we get and . Therefore , so is an odd function. Putting in (2) yields , so or . Putting in (1), yields Case 1.1. . (4) becomes . Thus implies . Since , for all . Since is odd, for all which is the second solution.

Case 1.2. . (4) becomes . Since , . From here we can easily show for all which is the first solution.

Case 1.3. . (4) becomes . Since , . Putting and then yield and which is not an integer. Thus there is no solution.

Case 2. . Substituting in (2) yields which implies . Thus or . Similarly, substituting in (2) yields or . Thus can be either , , , or . Putting in (3), we get implying is even which rules out and .

Putting in (1), we get Case 2.1. . We will inductively prove this leads to the function , . It suffices to show the function is periodic with period 2. For this is already true.

Suppose we have proven the periodicity for all , where is a positive integer. This implies . Since , combining (4) and (5) and substituting , we get Similarly, substituting , we get Thus the function is periodic with period 2 in the range as well. The induction is complete and we have found our fourth solution.

Case 2.2. . Similarly to Case 2.1, we can inductively prove the function is periodic with period 2, thus yielding the function , the third solution.
Final answer
All solutions are: (1) f(x) = x for all integers x; (2) f(x) = 0 for all integers x; (3) f(x) = 2 for all integers x; (4) f(x) = 1 for odd integers x and f(x) = 2 for even integers x.

Techniques

Functional EquationsInduction / smoothing