I'm using a publicly available textbook to revise some maths and learn a bit of basic astrophysics. The section on logarithms discusses power laws and log log graphs.
It uses the following generalised example of $y = ax^k$ can be plotted as $\log y = \log a + k \log x$. This results in a straight line graph where the gradient is equal to $k$ and the intercept gives the value of $\log a$. But how can there be an intercept? When $x = 0$ isn't $k \log x$ undefined?
At the moment I'm just pretending that it's a trick that we play so that we can use a useful graph to infer the result rather than a precise calculation? i.e. $\log x$ is effectively $0$ at the origin rather than undefined.