Find $f'(0)$ if $f(x)+f(2x)=x\space\space\forall x$
If we assume $f'(0)\in\mathbb R$, then obviously, $f'(0)=\frac{1}{3}$.
But what if we don't assume the derivative exists?
I get this question when I am taking an exam, and I then asked the professor about whether there exist $f$ such that $f'(0)$ doesn't exist but satisfies the condition, but he says he think both exist or not is likely...
What I have tried:
If $f(x)+f(2x)=x\space\space\forall x\in\mathbb R$, $f(x)=\frac{x}{3}$ is the only nice function I have ever thought up$.
If we restrict $dom(f)\in\mathbb R$, I think that any polynomial besides $\frac{x}{3}$ doesn't satisfy the condition, and somethings like $\vert x\vert$ doesn't help neither.
On the other hand, I have tried to think about the equivalence statements with $f(x)+f(2x)=x\space\space\forall x$ in order to prove $f$ must be specific kind of problem s.t.$f'(0)$ exists.
$f(2x)+f(4x)=2x$, so $f(4x)-f(x)=x$.
In general, $$f(2^{2^n}x)-f(x)=x\prod_{k=1}^{n-1}(2^{2^k}+1)\forall n\in\mathbb N, x\in\mathbb R$$
But I don't think this helps.
Can we find $f(2x)-f(x)$ by given condition? I havn't get an idea. But while I am thinking of it, I observe that $g(x)=f(2x)-f(x)$ is on its own satisfying $g(2x)+g(x)=x$.
Will thinking about $f\circ f\circ f\circ f\circ f\circ\dots$ be useful? $f\biggl(f(x)+f(2x)\biggr)+f\biggl(2\bigl(f(x)+f(2x)\bigr)\biggr)=x\space\space\forall x$
Any help will be appreciate. Thank you!