The most important mathematical application of logarithms is to solving equations involving exponentials. For b> 0, logb(x) is defined to be the inverse function to f(x)=bx. Because of that, [itex]log_b(b^x)= x[/itex] and [itex]b^{log_b(x)}= x[/itex]. It is also helpful that we can always change from one base to another:
[tex]3^x= 2^{log_2(3^x)}[/tex]
[tex]= 2^{x log_2(3)}[/tex]
and log2(3) is just a number.
For example, I can solve the equation 3x= 81 by taking the logarithm, base 3, of both sides: log3(3x)= x= log3(81)= 4 so x= 4. (I know log3(81)= 4 because I know 81= 34 so log3(34)= 4.)
That's what log is: it's the "opposite" of the "exponential" or power function, bx.
Of course, here I could just have written 3x= 81= 34 so, by comparing exponents, x= 4. But what if the problem were 3x= 87 where 87 is not a simple integer power of 3? In that case, I can use either "common logarithm" (base 10) or "natural logarithm" (base e, about 2.718) to get
[tex]log_10(3^x)= log_10(87)[/tex]
so
[tex]x log_10(3)= log_10(87)[/tex]
and
[tex]x= \frac{log_10(87)}{log_10(3)}[/tex]
The point of using "common logarithm" (or "natural logarithm") is that my calculator (in fact the calculator included with Windows that I'm running now) has both common log and natural log keys: log10(87)= 1.9395192526186185246278746662244 according to my calculator, and log10(3)= 0.47712125471966243729502790325512 so x is the quotient of those: x= 4.0650447521106626505692254480397, approximately, just a little larger than 4 which is what we expect since 87 is just a little larger than 81.