Subjects / Math / Exponents and logarithms
What a logarithm asks
The key idea: a log is a question
An exponent tells you how many times to multiply. In the base is 2, the exponent is 3, and the result is 8.
A logarithm runs that backwards. Instead of giving you the exponent, it hides it and asks for it:
asks: what exponent do I put on to get ?
Three readings, one question each time.
- asks: what power of 2 makes 8? Since , the answer is 3. So .
- asks: what power of 10 makes 1000? Three tens multiplied give 1000, so .
- asks: what power of 3 makes ? A negative exponent flips the number over, and , so the answer is .
Try it: the exponential and the log, side by side
The mint curve is . The iris curve is . Point P sits on the mint curve and point Q sits on the iris curve. Drag either point, use the slider, or focus a point and press the arrow keys. Watch the two statements below the graph: the same three numbers appear in both, just in different places.
- (point P)
- (point Q)
- (the mirror)
Same fact, two ways
base exponent resultsame colours in both statements
The result c is rounded, so both lines are close, not exact.
Try this
- Pick base 2 and set the exponent to 3. The result is 8, so P is at (3, 8) and Q is at (8, 3). The log form says , the same question as above.
- Set the exponent to 0. Both curves pass through a point where they say 1: P is at (0, 1) and Q is at (1, 0). Change the base. Does that spot move? Anything to the power 0 is 1, so every log has .
- Slide the exponent below zero. The result turns into a fraction, getting smaller but never reaching 0 and never going negative. Try base 1/2 too: its curve goes down instead of up, and the mirror still works.
Why the mirror works
Look at the dashed line . Point P is and point Q is . Q is P with its two numbers swapped, and swapping the two numbers of a point is the same as reflecting it across that dashed line. The short connector crosses the dashed line at a right angle, with P and Q the same distance from it.
This is the whole reason the curves match up. Exponentials turn an exponent into a result. Logs turn that result back into the exponent. Each one undoes the other:
Try the first with numbers: . The log found the exponent, and the exponential used it right away to get back to 8.
What this means for the domain
Look at the iris curve. It hugs the vertical axis but never touches it, and nothing of it lives at . That is the mirror of the mint curve, which stays above the horizontal axis and never reaches 0 or goes below it.
The base of a log is always a positive number other than 1. A power of a positive base is always positive, so a log has nothing to say about 0 or a negative number. In , the input must bepositive. The answer can be any number, including negative ones; it is only the input that is restricted.