Find all functions $g$ from the Real numbers itself, satisfying $g(x + y) + g(x)g(y) = g(xy) + g(x) + g(y)$

109 Views Asked by At

Find all functions $g$ from the Real numbers to itself, satisfying $g(x + y) + g(x)g(y) = g(xy) + g(x) + g(y) . .(*)$

This is a National Olympiad problem, however, my solution is quite different from the one provided by the author so I need you people to check my solution and tell me if its correct.

Solution:

setting $y = 0$ in $(*)$, we obtain

$g(x) + g(x)g(0) = 2g(0) + g(x)$, or $g(0)(g(x) - 2) = 0$.

So either $g(0) = 0$ or $g(x) = 2$, because$g(0) = 0$, is a valid solution, it follows that $g(x) = x$. $g(x) = 2$ are solutions as well.

1

There are 1 best solutions below

3
On BEST ANSWER

Your solution is not correct. You have not ruled out the possibility that $g(0)=0$ but $g(x)\neq x$ for values of $x$ different from $0$. So it is not correct to conclude that $g(x)=x$ in the case $g(0)=0$.