where V1,V2 are supplementary subvectorspaces of the Q-vectorspace R such that ln2∈V2 and v1:R→V1 and v2:R→V2 are the projections of a real in V1,V2. This includes the particular solution f(x)=−2sgn(x) when V2=R.
f(x)={csgn(x)exp(v1(ln∣x∣))0if x=0if x=0
where c∈(−∞,−2)∪(−2,−1)∪(0,∞) is a constant such that ln∣c+1∣ln∣2c∣∈/Q∖{1}, V1,V2 are Q-supplementary subvectorspaces of R such that ln∣c+1∣∈V1 and ln21+2c1∈V2, and v1:R→V1 and v2:R→V2 are the projections of a real in V1,V2. This includes the particular solution f(x)=x when c=1 and V1=R.
f(x)={cexp(v1(ln∣x∣))0if x=0if x=0
where c∈(−1,∞)∖{0} is a constant such that ln∣c+1∣ln∣2c∣∈/Q∖{1}, V1,V2 are Q-supplementary subvectorspaces of R such that ln∣c+1∣∈V1 and ln21+2c1∈V2, and v1:R→V1 and v2:R→V2 are the projections of a real in V1,V2. This includes the particular solution f(x)=∣x∣ when c=1 and V1=R.
If f(1)=0, then P(x,x)⇒f(2f(x2))=f(x)2+f(x2) while P(x2,1)⇒f(2f(x2))=f(x2) so f(x)=0 for all x which is one of the aforementioned solutions.
Otherwise, f(1)=0. Let g:R→R such that g(x)=f(1)f(x) for all x, note that no other constant solutions exist for f so g is nonconstant.
P(xy,1)⇒f(x)f(y)+f(xy)=f(2f(xy))=f(xy)f(1)+f(xy), we can calculate g(xy)=g(x)g(y).
P(x,1)⇒f(2f(1)1)f(2f(x))=(f(1)+1)f(2f(1)1)f(x)⇒g(g(x))=ag(x) where a=f(2f(1)1)(1+f(1)1).
Let Q(x,y) be the assertion g(xy)=g(x)g(y).
Q(x,0)⇒g(0)(g(x)−1)=0⇒g(0)=0 since g is nonconstant.
Q(x,1)⇒g(x)(g(1)−1)=0⇒g(1)=1 since g is nonconstant.
Therefore a=ag(1)=g(g(1))=1.
If g(k)=0 for some k=0, then:
Q(kx,k)⇒g(x)=0 which contradicts that g is nonconstant.
Hence g(x)=0 for all x=0, so for all x>0 we have:
Q(x,x)⇒g(x)=g(x)2>0.
Now we can define h:R→R such that h(x)=lng(ex), the equations g(xy)=g(x)g(y) and g(g(x))=g(x) transform into:
h(x+y)=h(x)+h(y) and h(h(x))=h(x).
Let V1={x∣h(x)=x} and V2={x∣h(x)=0}. Since h(x−h(x))=h(x)+h(−h(x))=h(x)−h(h(x))=0, any element decomposes as:
h(x)=h(v1)+h(v2)=v1+0=v1
where v1=h(x)∈V1 and v2=x−h(x)∈V2. Finally, V1∩V2={0} and V1,V2 are closed under addition and multiplication by a rational scalar, so R=V1⊕V2 where ⊕ denotes direct sum and R is a Q-vectorspace. So if v1:R→V1 and v2:R→V2 are the projections of a real in V1,V2 then h(x)=v1(x) for all x.
Let c=f(1). Back to the original equation, substitution of f(x)=cg(x) gives g(2c)=c+1.
Q(−1,−1)⇒g(−1)∈{−1,1}.
Let u=ln∣2c∣ and v=ln∣c+1∣.
Case 1:g(−1)=−1
Q(x,−1)⇒g(−x)=−g(x), so g(x)=sgn(x)exp(h(ln∣x∣)).
From g(x)>0 for all x>0 we have g(x)<0 for all x<0. Given g(2c)=c+1, we have sgn(2c)=sgn(c+1) and so this restricts c∈(−∞,−1]∪(0,∞). Now we have h(u)=v. Therefore v∈V1 and by additivity h(v−u)=0 so v−u∈V2.
If v=0 then (since c=0) c=−2, we obtain the first nontrivial solution set, since −u=−ln4∈V2⇒ln2∈V2.
Otherwise, suppose u,v are Q-linearly dependent with u=v. We obtain v−u=(1−q)v so since v∈V1, v−u∈V1 as well and since V1∩V2={0} we must have v−u=0, i.e. u=v.
In the case that either u=v or u,v are Q-linearly independent, we have the second nontrivial solution set, ensuring that v=ln∣c+1∣∈V1 and v−u=ln21+2c1∈V2.
Case 2:g(−1)=1
Q(x,−1)⇒g(−x)=g(x), so g(x)=exp(h(ln∣x∣)).
From g(x)>0 for all x>0 we have g(x)>0 for all x=0. Given g(2c)=c+1, we have c∈(−1,∞)∖{0}. As before, h(u)=v so v∈V1 and v−u∈V2. Our v=0 case is impossible this time, since it implies c=−2.
If u,v are Q-linearly dependent with u=v then as before this is impossible.
If u,v are Q-linearly independent, or dependent with u=v, then we have the third nontrivial solution set. Verification of the solution sets follows by working backwards.