Sub topic 4
Special values every logarithm shares
Assume you know the laws of exponents, basic algebra, function notation, and the idea that inverse functions undo one another. This chapter uses logarithm notation such as log_b(x), where b is the base and x is the argument.
A logarithm has a valid base only when b > 0 and b ≠ 1. Its argument must be positive. The definition is:
log_b(x) = y exactly when b^y = x.
This definition makes several values immediate.
The value of `log_b(1)`
For every valid base, an exponent of zero produces 1:
b^0 = 1
Therefore, the exponent needed to produce 1 is zero:
log_b(1) = 0
For example:
log_2(1) = 0because2^0 = 1log_10(1) = 0because10^0 = 1ln(1) = 0becausee^0 = 1
The base can change, but this result does not.
The value of `log_b(b)`
An exponent of one leaves a number unchanged:
b^1 = b
Therefore:
log_b(b) = 1
Examples include:
log_2(2) = 1log_10(10) = 1ln(e) = 1
These two identities are useful when simplifying larger expressions.
| Logarithmic expression | Equivalent exponential statement | Value |
|---|---|---|
| `log_b(1)` | `b^0 = 1` | `0` |
| `log_b(b)` | `b^1 = b` | `1` |
| `log_b(b^k)` | `b^k = b^k` | `k` |
More values from the definition
The same reasoning works for any integer or fractional exponent:
log_b(b^k) = k
For instance:
log_5(125) = 3because125 = 5^3log_7(1/7) = -1because1/7 = 7^-1log_9(3) = 1/2because3 = 9^(1/2)
The last example shows why fractional exponents matter. Since the square root of 9 is 3, the exponent required to reach 3 from base 9 is one-half.
import math
print(math.log2(1)) # 0.0
print(math.log10(10)) # 1.0
print(math.log(125, 5)) # 3.0
print(math.log(1 / 7, 7)) # -1.0
print(math.log(3, 9)) # 0.5Computer results may display 0.0 or 1.0 because Python stores these values as floating-point numbers. The mathematical values are exactly zero, one, three, negative one, and one-half.
A quick visual check
Recognizing these values helps you check work before applying longer logarithm laws.
Exercise
Evaluate log_4(1) + log_4(4) + log_4(16).
Show answer
0 + 1 + 2 = 3, because 4^0 = 1, 4^1 = 4, and 4^2 = 16.
Exercise
Explain why log_3(1/3) = -1.
Show answer
1/3 = 3^-1, so the exponent needed to produce 1/3 from base 3 is -1.