In this answer https://math.stackexchange.com/a/2101475/72031 I proved that we can sometimes avoid the limit $$\lim_{x\to 0}\frac{\sin x} {x} = 1\tag{1}$$ and instead use the simpler limit $$\lim_{x\to 0}\cos x=1\tag{2}$$ to evaluate many limits. Specifically we can use $(2)$ to show that $$\lim_{x\to 0}\frac{\sin nx} {\sin x} =n\tag{3}$$ for all rational $n$. My contention is that the above limit can not be established for irrational values of $n$ just by using $(2)$ and it necessarily requires the use of $(1)$.
Based on this thought I pose the following problem:
Let $f:\mathbb{R} \to\mathbb{R} $ be continuous with $f(0)=0$ and $$\lim_{x\to 0}\frac{f(ax)}{f(x)}=a\tag{4}$$ for all non-zero real values of $a$. Does this imply that $f'(0)$ exist and is nonzero?
I think this is false, but I could not find an easy counter-example. So either a proof or a counter-example is desired.