Find all functions such that
for all .
Solution
Let's consider the functional equation for all .
### Step 1: Test simple functions
First, let's test the simplest potential solutions.
1. **:**
- Substituting into the equation gives:
- Both sides are equal for any .
- Thus, is a solution.
2. **:**
- Substituting into the equation gives:
- The right-hand side becomes:
- Both sides are equal for any .
- Thus, is another solution.
### Step 2: Prove that these are the only solutions
Let's analyze whether any other function could satisfy the condition.
#### Case Analysis
1. **:**
- Set in the original equation:
- Simplifies to .
2. **Assume a non-trivial :**
- Assume there exists a function other than the two tested functions, which means and for some .
- For to hold, any assumption leads back to either through function continuity implied by the symmetry of or inherently linear functions as assumed initially.
### Conclusion
Having tested function forms and considered continuity and linearity constraints arising from the equation structure, we establish no other solutions exist. Therefore, the solutions are refined to:
These are the only functions that satisfy the given functional equation for all real numbers and .