AP Precalculus · Study guide

Logarithmic Expressions

AP® Precalculus · Unit 2 · Exponential and Logarithmic Functions

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.

The idea in one paragraph

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

\[ \log_b c = a \quad \text{means} \quad b^a = c \qquad (b \gt 0,\ b \ne 1,\ c \gt 0) \]

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.

Worked Example 1 Switching forms

Rewrite \(3^4 = 81\) in logarithmic form and \(\log_2 \frac18 = -3\) in exponential form.

  1. 1
    \(\log_b c = a\) and \(b^a = c\) say the same thing: the base raised to the log gives the number.
  2. 2
    \(3^4 = 81\) becomes \(\log_3 81 = 4\).
  3. 3
    \(\log_2 \frac18 = -3\) becomes \(2^{-3} = \frac18\).
Answer: \(\log_3 81 = 4\); \(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\).

Worked Example 2 Values you can find by hand

Evaluate \(\log_2 32\), \(\log_3 \frac19\), \(\log 0.001\), \(\log_5 1\), \(\log_7 7\) and \(\log_4 8\).

  1. 1
    \(2^5 = 32\), so \(\log_2 32 = 5\). \(3^{-2} = \frac19\), so \(\log_3 \frac19 = -2\).
  2. 2
    \(\log\) with no base means base 10: \(10^{-3} = 0.001\), so \(\log 0.001 = -3\).
  3. 3
    \(5^0 = 1\) and \(7^1 = 7\): \(\log_5 1 = 0\), \(\log_7 7 = 1\).
  4. 4
    \(\log_4 8\): write both as powers of 2. \(4^a = 8\) means \(2^{2a} = 2^3\), so \(a = \frac32\).
Answer: 5, \(-2\), \(-3\), 0, 1, \(\frac32\)
Write it like this

“\(\log_3 \frac19 = -2\) because \(3^{-2} = \frac19\).” Back every log value with the matching power.

Common Mistake 1 · Dividing instead of finding the 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).

Worked Example 3 Estimating, then using technology

Estimate \(\log_2 20\) and \(\log 50\).

  1. 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. 2
    \(10^1 = 10\) and \(10^2 = 100\), so \(\log 50\) is between 1 and 2. A calculator gives \(\log 50 \approx 1.699\).
Answer: \(\log_2 20 \approx 4.322\); \(\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.

Worked Example 4 Expressions that have no value

Which are undefined: \(\log_3 0\), \(\log_2 (-4)\), \(\log_1 5\)?

  1. 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.
  2. 2
    Every power of 1 is 1, so no power of 1 equals 5. The base 1 is not allowed.
Answer: All three are undefined.
Common Mistake 2 · Thinking a negative answer means a negative input

\(\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.”

Figure 1. On a logarithmic scale, equal distances mean equal factors. 50 sits at log 50 ≈ 1.70 units from 1, about 70% of the way through the step from 10 to 100.
Worked Example 5 Reading a logarithmic scale

On a base-10 logarithmic scale, where does 300 go, and what value sits at position 1.5?

  1. 1
    Position on the scale is the logarithm. \(\log 300 \approx 2.477\): between the marks for 100 and 1000, about halfway.
  2. 2
    Position 1.5 stands for \(10^{1.5} \approx 31.62\), not 15 or 55.
Answer: 300 at about 2.477; position 1.5 is about 31.62.
Worked Example 6 A logarithmic scale in context

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?

  1. 1
    The magnitudes differ by 2 units, and each unit is a factor of 10.
  2. 2
    Two factors of 10: \(10^2 = 100\).
Answer: 100 times as much shaking.
Common Mistake 3 · Reading a log scale as if it were even

Halfway between 10 and 100 on a logarithmic scale is about 31.6, not 55. Positions are logarithms; values are powers.

Quick reference

FactExample
\(\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 stepMultiply by the base