Let
f(x)=1+x1.i)
f(f(x))=f(1+x1)=1+1+x11.This function is defined for x such that
1+1+x1=0⟹−1=1+x1⟹x=−1,and
−1−x=1⟹x=−2.ii)
f(x1)=1+x11.iii)
f(cx)=1+cx1.iv)
f(x+y)=1+x+y1.v)
f(x)+f(y)=1+x1+1+y1.vi)
f(cx)=f(x)⟹1+cx1=1+x1⟹1+x=1+cx⟹x=cx⟹x(c−1)=0.This means that either x=0 or c=1. Now notice that if x=0, then c can take on any value and satisfy the equality. Therefore, for any value of c∈R, we can set x=0 so that
f(cx)=f(x)=f(0).vii) We have that for c=1,
f(cx)=f(1⋅x)=f(x).So the equality holds for any x in the domain of f(x). Now, we prove by contradiction that it is the only value of c for which the equality holds for two different numbers x.
Suppose that c=1. Then c−1=0 and, by the equality in vi),
x(c−1)=0⟹x=0.Hence, there are no two different numbers x that satisfy f(cx)=f(x) for c other than c=1.