A log is essentially the inverse of a power function, and can be applied to any number base for example:
23 = 8 so log28 = 3
In other words the log function tells you what power you need to raise 2 to in order to get 8. The subscript number after log tells you the number base you are working to. Here are some other examples:
Outside of pure mathematics, only two log bases are in common use:
Originally logs were useful in multiplication of large numbers since the sum (adding together) of the logs of two numbers is equal to the log of the product (multiplication) of those two numbers:
log (a x b) = log a + log b so a x b = 10log a + log b
This may seem like a very complex way of doing a simple calculation, but in the days before calculators, logs were published in books called log tables and this process made complex calculations much faster for someone used to using the tables.
a = log b so 10a = b | this is the basic definition of a log function. |
log ab = log a + log b | log ab is shorthand for log (a x b) |
log a/b = log a - log b | log a/b is shorthand for log (a ÷ b) |
log bc = c log b | remember that √a is equivalent to a½ so log √b is ½log b |