Given the equation $f(ax) = bf(x)$, with $a, b > 0$, demonstrate that the solution is: $$f(x) = g(\log x)x^{\frac{\log b}{\log a}}$$
where $g(x) = g(x + \log a)$ is an arbitrary periodic function with period $\log(a)$.
By the method of induction I arrived in the particular solution:
$f(x) = Cx^{\frac{\log b}{\log a}}$, where $C$ is an arbitrary constant (case $g(x) =$ constant).
But I could not demonstrate how to get in the generic solution with the associated periodic function $g(x)$. Can someone help me?