A. Exponential and Logarithmic Functions · Exponential and Logarithmic FunctionsLogarithms: The Exponent You Are Looking For
A1.1About 70 minutes
Learning goals- I can explain that a logarithm is an exponent: log_b x is the power of b that gives x.
- I can describe the logarithm as the inverse of exponentiation (the operation that undoes it).
- I can evaluate simple logarithms such as log₂ 32, log₃ (1/9) and log₄ 8 without a calculator.
- I can explain why log_b 1 = 0, log_b b = 1 and why the logarithm of 0 or a negative number is undefined.
Words to know
logarithm
log_b x is the exponent you put on the base b to get x. So log_b x = y means exactly the same as bʸ = x.
base
The number b that is raised to a power. For logarithms the base must be positive and not equal to 1.
argument
The number x you take the logarithm of, as in log_b x. It must be positive.
inverse operation
An operation that undoes another one. Taking log₂ undoes raising 2 to a power, just as a square root undoes squaring a positive number.
common logarithm
A logarithm with base 10, usually written log x with no base shown.
A question your calculator can't ask directly
You already know how to answer "What is 2⁵?" You multiply: 2 × 2 × 2 × 2 × 2 = 32.
Now turn the question around: "2 to what power gives 32?" You know the answer is 5. But what about "2 to what power gives 50?" or "1.03 to what power gives 2?" That second question is exactly what a bank asks when it works out how long it takes money to double at 3% interest a year.
Questions like these ask for an exponent. Mathematicians gave that missing exponent a name: the logarithm. In this unit you will learn to evaluate logarithms, graph them, use their laws and solve equations where the unknown sits in an exponent. These are skills you will use again in Calculus and Vectors (MCV4U), in first-year university science and engineering, and every time you see a pH value or a decibel reading.
Remember from Grade 11: in Functions (MCR3U) you graphed f(x) = bˣ, used the exponent laws with integer and rational exponents (for example 8^(2/3) = 4), and learned that the inverse of a function undoes it, with the graph reflected in the line y = x. You also met the hint that the inverse of an exponential function is called the logarithmic function. Now we meet it properly.
The definition
For a base b > 0, b ≠ 1, and a number x > 0:
log_b x = y means bʸ = x.
Read log_b x as "log base b of x". In words: the logarithm is the exponent. The two equations are just two ways of writing the same fact.
- 2⁵ = 32, so log₂ 32 = 5.
- 10³ = 1000, so log₁₀ 1000 = 3.
- 3⁻² = 1/9, so log₃ (1/9) = −2.
Notice what lives where. In both forms the base is the same number. In exponential form the answer to the power is the result (32). In logarithmic form that result moves inside the log as the argument, and the logarithm's value is the exponent (5).
2⁵ = 32 and log₂ 32 = 5 say the same thing. The base stays the base; the exponent becomes the value of the logarithm.Say it as a question
Whenever you see log_b x, say to yourself: "b to what power gives x?" For log₃ 81, ask "3 to what power gives 81?" Since 3⁴ = 81, log₃ 81 = 4.
Worked exampleExample 1: Evaluating logarithms of whole numbers
Evaluate (a) log₂ 64, (b) log₅ 125, (c) log₁₀ 100 000.
- (a) 2 to what power gives 64? 2⁶ = 64, so log₂ 64 = 6.
- (b) 5 to what power gives 125? 5³ = 125, so log₅ 125 = 3.
- (c) 10 to what power gives 100 000? Count the zeros: 10⁵ = 100 000, so log₁₀ 100 000 = 5.
Fractions and negative logarithms
A logarithm can be negative. This happens when the argument is between 0 and 1 (for a base bigger than 1). Remember from Grade 11 that b⁻ⁿ = 1/bⁿ.
Worked exampleExample 2: Arguments that are fractions
Evaluate (a) log₂ (1/8), (b) log₃ (1/81), (c) log₁₀ 0.01.
- (a) 1/8 = 1/2³ = 2⁻³. So log₂ (1/8) = −3.
- (b) 1/81 = 1/3⁴ = 3⁻⁴. So log₃ (1/81) = −4.
- (c) 0.01 = 1/100 = 10⁻². So log₁₀ 0.01 = −2.
(a) −3 (b) −4 (c) −2. A negative logarithm does not mean a negative argument. It means the argument is a fraction between 0 and 1.
Fractional logarithms
A logarithm can also be a fraction. Use rational exponents: b^(1/n) is the n-th root of b, and b^(m/n) is the n-th root of b, raised to the power m.
Worked exampleExample 3: Rewrite both numbers with the same base
Evaluate (a) log₄ 2, (b) log₉ 27, (c) log₈ (1/4).
- (a) 2 = √4 = 4^(1/2). So log₄ 2 = 1/2.
- (b) 9 and 27 are both powers of 3. Write 27 as a power of 9: 9^(3/2) = (√9)³ = 3³ = 27. So log₉ 27 = 3/2.
- Another way for (b): let log₉ 27 = y. Then 9ʸ = 27, so (3²)ʸ = 3³, which means 3^(2y) = 3³. Then 2y = 3 and y = 3/2.
- (c) Let log₈ (1/4) = y. Then 8ʸ = 1/4, so (2³)ʸ = 2⁻², which means 3y = −2 and y = −2/3.
Each step to the right on the top line multiplies x by 2. Each step on the bottom line adds 1 to log₂ x. Logarithms turn multiplication into addition.Special values every log has
For any allowed base b:
- log_b 1 = 0, because b⁰ = 1.
- log_b b = 1, because b¹ = b.
- log_b bⁿ = n, because the exponent on b is n. (For example, log₇ 7¹² = 12.)
- b^(log_b x) = x for x > 0. Raising b to "the power of b that gives x" gives x.
The last two facts show that "raise b to a power" and "take log_b" undo each other. That is what it means for the logarithm to be the inverse of exponentiation. In lesson 7 (Exponential and Logarithmic Functions as Inverses) you will see this on a graph.
What you cannot take the log of
With a positive base b, every power bʸ is positive. No power of 2 equals 0, and no power of 2 equals −8. So:
- log_b 0 is undefined, and
- log_b of a negative number is undefined (in the real numbers).
The base also has rules. Base 1 is useless (1ʸ = 1 always, so log₁ 5 would have no answer), and negative or zero bases cause trouble with fractional exponents. So we always use b > 0 and b ≠ 1.
| Exponential form | Logarithmic form | Question it answers |
|---|
| 3⁴ = 81 | log₃ 81 = 4 | 3 to what power is 81? |
| 10⁻¹ = 0.1 | log₁₀ 0.1 = −1 | 10 to what power is 0.1? |
| 16^(1/4) = 2 | log₁₆ 2 = 1/4 | 16 to what power is 2? |
| 7⁰ = 1 | log₇ 1 = 0 | 7 to what power is 1? |
| (1/2)³ = 1/8 | log_(1/2) (1/8) = 3 | 1/2 to what power is 1/8? |
Each row shows one fact written two ways.Worked exampleExample 4: Using the inverse property
Evaluate (a) log₆ 6⁹, (b) 5^(log₅ 13), (c) log₂ (log₃ 9).
- (a) The exponent on 6 is 9, so log₆ 6⁹ = 9.
- (b) log₅ 13 is the power of 5 that gives 13. Raising 5 to that power gives 13.
- (c) Work from the inside out. log₃ 9 = 2 because 3² = 9. Then log₂ 2 = 1.
Just for funThe word logarithm was built from two Greek words, logos (often translated as "ratio") and arithmos ("number"). So a logarithm is a "ratio number"... which is a fancy way of saying "the exponent you were looking for all along."
Hands-on activityFold your way to a logarithm
You need: one sheet of paper (newspaper or printer paper), a pencil and a notebook.
- Fold the sheet in half. Count the layers (2). Fold again (4 layers). Keep going as long as you can. Most people manage 6 or 7 folds.
- Make a table: number of folds n, and number of layers L. You should see L = 2ⁿ.
- Now turn it around. Beside each number of layers, write log₂ L. What do you notice? (It equals the number of folds.)
- Without folding: how many folds would give 1024 layers? How many would give 1 layer? Explain using logarithms.
- A sheet of printer paper is about 0.1 mm thick. If you could keep folding, how many folds would make a stack at least 1 m (1000 mm) thick? (Hint: you need 0.1 × 2ⁿ ≥ 1000, so 2ⁿ ≥ 10 000. Use powers of 2 to find the smallest n.)
What to look for: log₂ L always equals the number of folds. 1024 = 2¹⁰ needs 10 folds; 1 layer needs 0 folds (log₂ 1 = 0). For step 5, 2¹³ = 8192 is too small and 2¹⁴ = 16 384 is enough, so 14 folds. The number of layers grows fast, but the logarithm (the number of folds) grows slowly.
Your turn
1/16 = 2⁻⁴, so log₂ (1/16) = −4.
0.001 = 10⁻³, so the answer is −3.
5 = 25^(1/2), so log₂₅ 5 = 1/2.
Let 4ʸ = 32. Then 2^(2y) = 2⁵, so 2y = 5 and y = 5/2.
6Evaluate log₁₂ 1 and log₁₂ 12.
log₁₂ 1 = 0 (12⁰ = 1) and log₁₂ 12 = 1 (12¹ = 12).
Exponentiation with base 3 undoes log₃, so the answer is 20.
8Explain why log₅ (−25) is undefined.
Every power of 5 is positive, so no exponent y makes 5ʸ = −25. The logarithm of a negative number is undefined.
More practice: on your own
1Evaluate log₂ (1/32) and log_(1/2) 32. Compare them.
1/32 = 2⁻⁵, so log₂ (1/32) = −5. And (1/2)⁻⁵ = 2⁵ = 32, so log_(1/2) 32 = −5 too. Flipping both the base and the argument to their reciprocals leaves the value unchanged.
Let 27ʸ = 9. Then 3^(3y) = 3², so 3y = 2 and y = 2/3.
3Evaluate log₃ √3 and log₃ (1/√3).
√3 = 3^(1/2), so log₃ √3 = 1/2. 1/√3 = 3^(−1/2), so log₃ (1/√3) = −1/2.
4Evaluate log₁₀ (log₂ 1024).
log₂ 1024 = 10 (since 2¹⁰ = 1024). Then log₁₀ 10 = 1.
5Between which two whole numbers is log₃ 50? Explain.
3³ = 27 and 3⁴ = 81. Since 27 < 50 < 81, log₃ 50 is between 3 and 4.
Challenge
1Evaluate log₈ 4 + log₄ 8.
log₈ 4: 2^(3y) = 2², so y = 2/3. log₄ 8: 2^(2y) = 2³, so y = 3/2. Sum: 2/3 + 3/2 = 4/6 + 9/6 = 13/6.
2Find every whole-number base b > 1 for which log_b 64 is a whole number.
We need bⁿ = 64 with b and n whole numbers. Since 64 = 2⁶, b must be a power of 2 whose exponent divides 6: b = 2¹ (n = 6), 2² = 4 (n = 3), 2³ = 8 (n = 2) or 2⁶ = 64 (n = 1). So b = 2, 4, 8 or 64. (b = 16 = 2⁴ fails because 4 does not divide 6: log₁₆ 64 = 3/2.)
3Show that log₂ 3 cannot be a rational number p/q (with p and q positive whole numbers).
Suppose log₂ 3 = p/q. Then 2^(p/q) = 3, so raising both sides to the power q gives 2ᵖ = 3^q. But 2ᵖ is even and 3^q is odd, so they cannot be equal. This contradiction shows log₂ 3 is irrational.
Check your understandingQuiz
1. What is the value of log₂ 16?
2. Which equation means the same as log₅ x = 3?
5. Which of these is undefined?
For parents and teachersBig idea (A1.1): a logarithm is an exponent. log_b x answers "b to what power gives x?" Everything in this unit grows from that single sentence.
How to help: Name a power fact ("10 cubed is 1000") and ask your teen to say it in log form ("log base 10 of 1000 is 3"). Then do the reverse. Five minutes of this back-and-forth builds fluency fast.
Common difficulties:
- Mixing up where the numbers go: in log₂ 32 = 5, the 5 is the exponent, not the result.
- Thinking a negative logarithm means a negative argument. log₂ (1/8) = −3 has a positive argument.
- Forgetting that log_b 1 = 0 (not 1) and that log_b 0 is undefined.
- Not rewriting both numbers with a common base in questions like log₉ 27.