Is there any functional equation $f(ab+cd)= f(a)+f(b)+f(c)+f(d)$

functional-equations

I am looking for a real, continuous function that satisfies the functional equation
$$
f(ab+cd)= f(a)+f(b)+f(c)+f(d)
$$

where $a,b,c,d$ are real.
This is equivalent to a function satisfying these two functional equations:
$$
f(x+y)=f(x)+f(y)
$$

$$
f(xy)=f(x)+f(y)
$$

or Cauchy's functional equation and the logarithmic functional equation, respectively. I have the suspicion that the only the function $f(x) = 0$ satisfies this, but I am very confused as to how a solution may be found analytically. Thank you in advance.

EDIT: I saw in the comments that if f(x) is defined at zero the answer is trivial. If the domain were restricted to not include zero or even to not include all nonpositive numbers, would the answer change? If so, how? What if the function were discontinuous? Thank you again.

Best Answer

Let $a=b=1, c=x, d=0$. Then $f(1)=f(ab+cd)=f(1)+f(1)+f(x)+f(0)$. Thus $f(x)=C:=-f(1)-f(0)$ for all $x$,i.e., $f=C$ is constant. Then the original equation gives $C=4C$, i.e., $C=0$. So $f=0$ is the only solution, even without assuming continuity.

Related Question