Module 6 · Exponential and logarithmic functions · Lesson 38 of 84

Logarithmic functions and their graphs

What a logarithm is, switching between log and exponential form, common and natural logs, and log graphs.

In this lesson · about 22 minutes

  • Explain a logarithm as an exponent
  • Convert between logarithmic and exponential form
  • Evaluate logs, including common and natural logs
  • Graph y = log_b(x) and state its domain and asymptote

Exponents answer "what is 2⁵?" (32). A logarithm answers the reverse question: "2 to what power gives 32?" The answer is 5, and we write log₂(32) = 5.

log_b(x) = y means exactly the same as bʸ = x

Read it as: "the log base b of x is the exponent you put on b to get x." The base stays the base. The log is the exponent.

  • log₃(81) = 4 because 3⁴ = 81.
  • log₅(1/25) = −2 because 5⁻² = 1/25.
  • log_b(1) = 0 and log_b(b) = 1 for any base.
  • You cannot take the log of 0 or a negative number: no power of a positive base gives them.

Two special logs

  • The common log, log(x), has base 10. log(1000) = 3. It powers the decibel and Richter scales.
  • The natural log, ln(x), has base e. ln(e²) = 2. It is the key to continuous growth.

The graph

y = log_b(x) is the inverse of y = bˣ, so its graph is the mirror image across y = x. Everything swaps:

  • It passes through (1, 0) and (b, 1).
  • Domain (0, ∞), range all real numbers.
  • The y-axis, x = 0, is a vertical asymptote.
  • It grows, but very slowly: log₁₀ of a million is only 6.

Shifts work as usual. y = log(x − 3) moves right 3, so its asymptote is x = 3 and its domain is (3, ∞).

Try it · interactive

Logarithm explorer

Pick a base and slide x. The dot on the log curve and the dot on the exponential curve always swap coordinates.

log₂(8) = 3

because 23 = 8

Domain

(0, ∞)

Vertical asymptote

x = 0

x-intercept

(1, 0)

Passes through

(2, 1)

A logarithm answers: “2 to what power gives 8?” The log curve (blue) is the mirror image of the exponential curve y = 2x (red) across the line y = x, because they are inverse functions.

−2246810−4−22468(8, 3)

Whiteboard · watch and try

Thinking in exponents

4 steps
Press Play and the tutor will talk you through it while writing on the board. Pause any time to write on the board yourself.

Tip: press Pause, then use the pen to work along on the board. Space plays and pauses; Ctrl+Z undoes your last mark.

Loading practice…

Check your understanding0 of 5 correct

Question 1

1.Write log₇(49) = 2 in exponential form.

Question 2

2.What is log(10,000)?

Question 3

3.What is ln(e⁵)?

Question 4

4.What is the domain of f(x) = log(x + 2)?

Question 5

5.The graph of y = log₃(x) passes through…

Key terms

Say the meaning to yourself, then tap a card to check.

Quiz score: 0 of 5

Practice sets mastered: 0 of 1

Tip: answer every quiz question correctly first.

Based on Algebra and Trigonometry 2e by Jay Abramson and others (OpenStax, Rice University), openstax.org/details/books/algebra-and-trigonometry-2e, licensed under CC BY-NC-SA 4.0. Noviq Academy rewrote and reorganized the material in its own words and added its own examples, whiteboard lessons, tools and quizzes; this adapted course is free and shared under the same license. Not endorsed by OpenStax or Rice University. Read-aloud and the whiteboard voice use your device's built-in voices, so the voice varies by device.