Find $f(x)$ if: $$f: R \to R$$ $$f(3x) = 3f(x)$$
I've tried to find $f(x)$ by differentiating:
\begin{align}(f(3x))' &= (3f(x))'\\ 3f '(3x) &=3f '(x)\\ f '(3x) &= f '(x)\\ f'(3x) - f '(x) &= 0\\ (f(3x) - f(x))' &= 0\tag{$\dagger$}\\ (2f(x))' &= 0\\ &\Downarrow\\ f(x) &= c\end{align}
for $c$ constant.
I know, that I am wrong, but I don't know why. I think, that my mistake is in $(\dagger)$. But I can't explain why.
Could you please help me to solve this equation and explain, what's wrong?
In the second step $$f'(3x)=\frac{d(f(3x))}{d(3x)}$$ which can't be reconciled with what you've done in $(4)\to(5)$. Indeed, $$\frac{d(f(3x))}{dx}=\frac{d(f(3x))}{d(3x)}\frac{d(3x)}{dx}$$