Precalculus Lesson 4.2: Logarithmic Functions and Their Graphs
12th Grade Math · Chapter 4: Exponential and Logarithmic Functions · Common Core F-LE.A.4
What is in the full lesson (17 activities)
Every item below opens free in the course.
- Video: Logarithms: Introduction
- Video: Logarithms: example 1
- Video: Logarithms: example 2
- Video: Working with natural logarithms: Introduction 1
- Video: Working with natural logarithms: Introduction 2
- Practice questions: Checkpoint 1: Logarithms (5 questions, 6 points)
- Notes: Lesson notes: Introducing Logarithms
- Notes: Lesson notes: Graphs of Logarithms
- Interactive lesson: Interactive lesson: Logarithm Explorer
- Interactive lesson: Interactive practice: Introducing Logarithms Practice
- Interactive lesson: Interactive lesson: Natural Log Lab
- Interactive lesson: Interactive practice: Graphs of Logarithms Practice
- Practice questions: Practice questions (12 questions, 16 points)
- Worksheet: Worksheet: Introducing Logarithms
- Answers: Worksheet answer key: Introducing Logarithms
- Worksheet: Worksheet: Graphs of Logarithms
- Answers: Worksheet answer key: Graphs of Logarithms
A free Precalculus lesson for grade 12 students from OBA School: Logarithmic Functions and Their Graphs, aligned with the Common Core State Standards (CCSS F-LE.A.4). Watch the video, read the explanation and worked examples, then try the practice questions. The full lesson in our free online Precalculus course adds more videos, interactive activities, a self-checking quiz and printable worksheets.
What you will learn
- Switch between index form aˣ = b and logarithm form logₐ b = x
- Evaluate logarithms exactly, including negative and fractional values
- Use logₐ (aˣ) = x and a to the power (logₐ x) = x, and understand logₐ x as the inverse of aˣ
- Use log x (base 10) and ln x (base e) on a calculator, and solve simple equations
Key words
- Logarithm: logₐ b is the power that a must be raised to in order to give b.
- Base: The number a being raised to a power. For logs, a > 0 and a ≠ 1.
- Inverse: A function that reverses another one: logₐ x reverses aˣ.
- log x: The common logarithm, base 10. On a calculator it is the [log] key.
- ln x: The natural logarithm, base e ≈ 2.718. On a calculator it is the [ln] key.
What a logarithm means
"log₂ 16" asks: what power of 2 gives 16? Since 2⁴ = 16, the answer is 4. A logarithm is a power (an index).
Key fact: logₐ b = x is equivalent to aˣ = b (a > 0, a ≠ 1, b > 0)
- logₐ 1 = 0; Reason a⁰ = 1; Example log₁₂ 1 = 0
- logₐ a = 1; Reason a¹ = a; Example log₁₂ 12 = 1
- logₐ 1/a = −1; Reason a⁻¹ = 1/a; Example log₁₂ 1/12 = −1
Worked example: evaluating logarithms exactly
(a) log₃ 81: 3⁴ = 81 (b) log₁₀ 0.001: 10⁻³ = 0.001 (c) log₂ 1/32: 2⁻⁵ = 1/32
(d) log₂₅ 5: 25¹ᐟ² = 5 (e) log₈ 4: 8²ᐟ³ = (³√8)² = 4
Answer: (a) 4 (b) −3 (c) −5 (d) 1/2 (e) 2/3
Changing form and solving simple equations
In aˣ = b the base a stays the base: it becomes the small number in logₐ. The power x is on its own on the other side of the log equation.
Worked example: switching forms
(a) 7³ = 343 becomes log₇ 343 = 3 (b) 9⁻¹ᐟ² = 1/3 becomes log₉ 1/3 = −1/2
(c) log₆ 36 = 2 becomes 6² = 36
Worked example: solving log equations by writing them in index form
(a) log₅ x = 3: x = 5³ (b) logₓ 81 = 4: x⁴ = 81 and the base is positive
(c) log₄ (2x + 1) = 2: 2x + 1 = 16 (d) logₓ 8 = 3/2: x³ᐟ² = 8, so x = 8²ᐟ³
Answer: (a) x = 125 (b) x = 3 (c) x = 7.5 (d) x = 4
Logarithms as the inverse of powers
Raising a to a power and then taking logₐ gets you back where you started, and so does the reverse. So y = logₐ x is the inverse of y = aˣ: its graph is the reflection of y = aˣ in the line y = x.
Key fact: logₐ (aˣ) = x for every x a to the power (logₐ x) = x for every x > 0
Worked example: cancelling
(a) log₆ (6⁻²) (b) 5 to the power (log₅ 7) (c) log₂ (8⁵) = log₂ (2¹⁵)
Answer: (a) −2 (b) 7 (c) 15
The graph shows that logₐ x is only defined for x > 0, but it can take any value, positive or negative.
Base 10, base e and your calculator
Two bases have their own keys. log x (sometimes written lg x) means log₁₀ x, and ln x means logₑ x, where e = 2.71828... The function ln x is the inverse of eˣ.
Key facts: 10ˣ = b ⇔ x = log b eˣ = b ⇔ x = ln b ln (eˣ) = x exp(ln x) = x ln 1 = 0 ln e = 1
Worked example: using the keys
(a) Solve 10ˣ = 50: x = log 50 = 1.69897... (b) Solve eˣ = 7: x = ln 7 = 1.94591...
(c) Find the exact value of ln (e³) + exp(ln 4).
Answer: (a) x = 1.70 (3 s.f.) (b) x = 1.95 (3 s.f.) (c) 3 + 4 = 7
Worked example: estimating without a calculator
Between which two integers does log₂ 100 lie? 2⁶ = 64 < 100 < 128 = 2⁷
Answer: 6 < log₂ 100 < 7
Common mistakes
- Mixing up the power and the answer: log₃ 9 = 2, not 729 (that is 9³).
- Thinking logs cannot be negative or fractions: log₅ 1/25 = −2 and log₉ 3 = 1/2.
- Taking the log of 0 or a negative number. No power of a positive base gives 0 or a negative result.
- Writing logₓ 81 = 4 as x = ± 3. A base must be positive, so x = 3.
- Using the [log] key when the question involves e. For eˣ = 7 you need [ln].
Revision questions
Try these, then check your answers below each one.
Question 1. Find the value of log₂ 64.
Answer: 6
Working: 2⁶ = 64, so log₂ 64 = 6.
Question 2. Find the value of log₅ 1/125.
Answer: -3
Working: 5⁻³ = 1/125, so the answer is −3.
Question 3. What is the value of log₁₆ 4? (Choose from: 1/2; 2; 4; 1/4.)
Answer: 1/2
Working: 16¹/2) = √16 = 4.
Common Core standard
This lesson supports Common Core State Standard CCSS.MATH.CONTENT.HSF.LE.A.4, part of the high school Precalculus course usually taken in Grade 12 in the United States.
Related lessons
- Previous lesson: 4.1 Exponential Functions
- Next lesson: 4.3 Properties of Logarithms
Continue in the full course
This lesson is section 4.2 (USPC0402) of our free Precalculus course for Grade 12. In the full course you get every video for this section, interactive lessons, a self-checking practice quiz, printable worksheets with an answer key, and your progress saved. Go to the full Precalculus course.
This lesson is part of the free Precalculus course. You can also browse all our free US high school math courses: Algebra 1, Geometry, Algebra 2 and Precalculus.