How would one calculate the log of a number where the base isn't an integer (in particular, an irrational number)? For example:
$$0.5^x = 8 \textrm{ (where } x = -3\textrm{)}$$
$$\log_{0.5}8 = -3$$
How would you solve this, and how would this work for an irrational base (like $\sqrt{2}$)?
Let's rewrite this in a different way: $$ 0.5^x=8 $$ Take the logarithm with respect to any base $a$ ($a>0$, $a\ne1$): $$ \log_a(0.5^x)=\log_a8 $$ which becomes $$ x\log_a 0.5=\log_a 8 $$ or $$ x=\frac{\log_a 8}{\log_a 0.5} $$ You would stop here weren't from the fact that $8=2^3$ and $0.5=2^{-1}$, so $$ x=\frac{\log_a 8}{\log_a 0.5}=\frac{\log_a 2^3}{\log_a 2^{-1}}= \frac{3\log_a 2}{-\log_a 2}=-3 $$ You need to compute no logarithm, actually.