Here we go again, basics of the basics. Faced with the following question.
Definitions
Logarithm base a
of x
is by definition a number such as:
$$a^{\log_a x} = x$$
i.e. that answers the question "what power do I have to raise a
in order to get x
". I've read this answer about why logarithms can't be negative-based but that leaves out the case of "well-behaved" negative numbers.
$$(-2)^{3} = -8$$
so it is natural to expect that using the definition above and setting a = -2
and x = -8
we can define a logarithm in this case:
$$\log_{-2} (-8) = 3$$
which breaks the rule that requires the base of the logarithm to be positive and not 1, but sort of makes sense.
Question
Following the rule of the base change, we can now do the following:
$$3 = \log_{-2} (-8) = {\log_2 (-8)\over \log_2 (-2)}$$
and now, that definitely makes no sense because on the left side we have something that's well-defined and on the right side we have something that's not defined at all, because there is no power that 2
can be raised to to yield -2
or -8
. So my question is - where is the mistake? Which definition went wrong?