Logarithmic Expressions
A logarithm answers one question: what power do I need? This guide defines logarithms, evaluates the ones you can find by hand, estimates the rest, explains which ones do not exist, and shows how logarithmic scales work.
For a base \(b \gt 0\) with \(b \ne 1\) and a number \(c \gt 0\), \(\log_b c = a\) means \(b^a = c\): the logarithm is the exponent you put on \(b\) to get \(c\). Logarithms undo exponentiation the way subtraction undoes addition. Some values come straight from powers you know; the rest come from estimating between powers or from technology. \(\log c\) with no base means base 10, and \(\ln c\) means base \(e\). On a logarithmic scale, each unit step multiplies the value by the base.
1What a logarithm is
Read \(\log_2 32\) as “the power of 2 that gives 32.” The answer is an exponent, which is why logarithms turn questions about repeated multiplication into questions about counting.
Rewrite \(3^4 = 81\) in logarithmic form and \(\log_2 \frac18 = -3\) in exponential form.
- 1\(\log_b c = a\) and \(b^a = c\) say the same thing: the base raised to the log gives the number.
- 2\(3^4 = 81\) becomes \(\log_3 81 = 4\).
- 3\(\log_2 \frac18 = -3\) becomes \(2^{-3} = \frac18\).
2Values by hand
When the number is a power of the base (or both are powers of a common number), write it that way and read off the exponent. Two values are always the same: \(\log_b 1 = 0\) and \(\log_b b = 1\).
Evaluate \(\log_2 32\), \(\log_3 \frac19\), \(\log 0.001\), \(\log_5 1\), \(\log_7 7\) and \(\log_4 8\).
- 1\(2^5 = 32\), so \(\log_2 32 = 5\). \(3^{-2} = \frac19\), so \(\log_3 \frac19 = -2\).
- 2\(\log\) with no base means base 10: \(10^{-3} = 0.001\), so \(\log 0.001 = -3\).
- 3\(5^0 = 1\) and \(7^1 = 7\): \(\log_5 1 = 0\), \(\log_7 7 = 1\).
- 4\(\log_4 8\): write both as powers of 2. \(4^a = 8\) means \(2^{2a} = 2^3\), so \(a = \frac32\).
“\(\log_3 \frac19 = -2\) because \(3^{-2} = \frac19\).” Back every log value with the matching power.
\(\log_2 32\) is not \(32 \div 2 = 16\). It is the exponent that turns 2 into 32, which is 5.
3Estimating and technology
Bracket the number between two powers of the base to get the whole-number part, then use a calculator for the decimals. Most calculators have keys for base 10 (log) and base \(e\) (ln).
Estimate \(\log_2 20\) and \(\log 50\).
- 1\(2^4 = 16\) and \(2^5 = 32\), and 20 is between them, so \(\log_2 20\) is between 4 and 5, closer to 4. A calculator gives \(\log_2 20 \approx 4.322\).
- 2\(10^1 = 10\) and \(10^2 = 100\), so \(\log 50\) is between 1 and 2. A calculator gives \(\log 50 \approx 1.699\).
4When a logarithm is undefined
A positive base raised to any real power gives a positive result. So you can only take the logarithm of a positive number. The base must be positive and not 1.
Which are undefined: \(\log_3 0\), \(\log_2 (-4)\), \(\log_1 5\)?
- 1\(3^a\) is positive for every real \(a\), so it is never 0 and never negative: \(\log_3 0\) and \(\log_2(-4)\) are undefined.
- 2Every power of 1 is 1, so no power of 1 equals 5. The base 1 is not allowed.
\(\log 0.001 = -3\) is fine: the input 0.001 is positive and the output is negative. What is not allowed is a negative or zero input.
5Logarithmic scales
Some quantities span huge ranges, like sound intensity or earthquake shaking. An even scale crowds the small values together. A logarithmic scale spaces the powers of the base evenly, so each step means “times the base.”
On a base-10 logarithmic scale, where does 300 go, and what value sits at position 1.5?
- 1Position on the scale is the logarithm. \(\log 300 \approx 2.477\): between the marks for 100 and 1000, about halfway.
- 2Position 1.5 stands for \(10^{1.5} \approx 31.62\), not 15 or 55.
On the earthquake magnitude scale, each increase of 1 means the ground shakes 10 times as much. How much more does a magnitude 6.5 quake shake than a magnitude 4.5 quake?
- 1The magnitudes differ by 2 units, and each unit is a factor of 10.
- 2Two factors of 10: \(10^2 = 100\).
Halfway between 10 and 100 on a logarithmic scale is about 31.6, not 55. Positions are logarithms; values are powers.
Quick reference
| Fact | Example |
|---|---|
| \(\log_b c = a \iff b^a = c\) | \(\log_2 32 = 5 \iff 2^5 = 32\) |
| \(\log_b 1 = 0\), \(\log_b b = 1\) | \(\log_5 1 = 0\), \(\log_7 7 = 1\) |
| \(\log\) means base 10, \(\ln\) means base \(e\) | \(\log 1000 = 3\) |
| Input must be positive | \(\log_3 0\), \(\log_2(-4)\) undefined |
| Log scale step | Multiply by the base |