I am trying to solve the following problem:
Find all the continuous functions $f:\mathbb{R} \to \mathbb{R}$ that satisfy if $a$, $b$ and $c$ are nonzero real numbers such that $a+b+c=0$ then $f(a)+f(b)+f(c)=0$.
I have only proved that $f(0)=0$: Let $f$ be a function that holds the condition in the statement, and let $x$ be a nonzero real number. Because of the hypothesis on $f$, we have that $$f(2x) + f(-x) + f(-x) = 0.$$ Thus, $f(2x) = -2f(-x)$. Since $f$ is continuous, we get that $f(0) = -2f(0)$ as $x\to 0$. It follows that $f(0)=0$.
I guess that the only function that fulfills the statement is $f(x)=mx$ for any real $m$, but I don't know how to show it.
It's easy to prove that $$\begin{align} &f(0) = 0\\ &f(-x) = -f(x) \end{align}$$ And for all $n\in\mathbb{N}$, we have $$f(nx)+f(-(n-1)x)+f(-x)=0$$$$ \Longrightarrow f(nx) = f(x)+f((n-1)x)=...=nf(x) \tag{1}$$ From $(1)$, we deduce easily, by replace $x = \frac{y}{n}$ that $$f\left(\frac{1}{n}y\right)=\frac{1}{n}f\left(y\right) \tag{2}$$ From $(1),(2)$, all $q \in \mathbb{Q}^+$, there exists a way to write $q = \frac{m}{n}$ with $m,n \in \mathbb{N}$ $$f(q) = f\left(\frac{m}{n}\right)=\frac{m}{n}f(1) = q f(1)\tag{3}$$ Finally, for all $x\in \mathbb{R}$, as $\mathbb{Q}$ is dense in $\mathbb{R}$, there exists a sequence $(q_i)_{i=1,...,+\infty}$ such that $$\lim_{i\infty}q_i=r$$ By the continuity of the function $f$, and by using $(3)$, we deduce $$f(r) = f(\lim_{i\infty}q_i)=\lim_{i\infty}f(q_i)=\lim_{i\infty}\left(q_i f(1)\right) = rf(1) $$
Conclusion: the solution is $f(x) = a\cdot x$.