We discuss logarithms as inverse functions, and how to understand logs from this perspective.
Lecture Video
Text and details
Exponential functions can be difficult to compute - both because numbers can get very large, but also because any values that aren’t nice integers end up being very difficult to calculate with any precision. For example, calculating something like isn’t too hard, but it isn’t too obvious that means , and much worse is solving something like , since isn’t a nice power of .
This is why logarithms were invented. In particular, a logarithm with base “” is defined as the inverse function to the exponential .
The main use of logarithms then, is to undo exponential functions, just like inverse functions undo each other. In other words, one of the primary uses of logarithms is to cancel exponential functions.
Returning to our example of we would isolate in this problem by taking a log base 2 of both sides. This gives us:
Take log base 2 of both sides. | ||
the “” and the base 2 part of undo each other, | ||
resulting in just the exponent on the left | ||
Remember that inverse functions undo each other in either order. In particular, although the above is the most common way to use logs, you can also use exponentiation to undo logs just like you can use logs to undo exponentiation. For example:
exponentiate with base 3 on both sides. | ||
The “” parts undo each other, | ||
leaving just the argument of the on the left. | ||
This second example may seem especially odd, as we don’t usually see logs in an exponent, and we don’t usually use exponentiate both sides of an equality. Nonetheless this is a perfectly valid technique, and importantly it’s the way one “undoes” logarithms and/or exponentials. Using logs to undo exponentials is just like dividing to undo multiplication.