AP® Precalculus · Unit 2 · Topic 2.11

The Graph of a Logarithmic Function

A logarithmic graph is the mirror image of an exponential graph, reflected across the line y = x. It hugs the y-axis as a vertical asymptote and climbs forever, but slower and slower.

A logarithm answers the question an exponential asks in reverse: log base b of x is the power you raise b to in order to get x. Since b raised to any real power only ever produces a positive number, x must be positive for log base b of x to exist. That's the whole domain: x > 0. So as x creeps toward 0 from the right, the exponent needed to produce such a tiny positive number plunges toward negative infinity. The graph doesn't stop or turn around, it just keeps diving, hugging the y-axis forever without touching it. That vertical line x = 0 is the asymptote, and it exists purely because of the domain restriction, not because of any special algebra trick.

Once past that asymptote, the graph rises, crosses the x-axis at x = 1 (since log base b of 1 = 0 for any valid base), and keeps climbing as x grows. For b > 1, it bends downward, concave down, rising fast at first then flattening its rate of climb, though it never actually flattens into a horizontal line. That last point trips people up: the growth rate slows dramatically, but slow growth is not zero growth, so the function keeps inching upward without bound.

This graph is the mirror image of its inverse exponential function, reflected across the line y = x. Where the exponential has a horizontal asymptote and explodes upward, the log has a vertical asymptote and crawls upward. Keeping that inverse relationship in mind makes transformations of log graphs, shifts, stretches, reflections, much easier to predict.

Key terms

Vertical asymptote
A vertical line the graph approaches but never crosses, here at x = 0 because the log's domain excludes zero and negatives.
Domain
The set of valid inputs; for log base b of x, this is all x > 0.
Concave down
Curving so the graph bends below its tangent lines, like the log graph for b > 1.
Inverse function
A function that reverses another; log base b of x undoes bx, and their graphs reflect across y = x.

Watch it explained

  1. How it worksHow does the vertical asymptote at x = 0 follow straight from the domain of a logarithm?
  2. Worked exampleGraph f(x) = log base 2 of x and mark its intercept, its asymptote, and its concavity.
  3. Common mistakeWhy doesn't a logarithmic graph ever level off at a horizontal asymptote?

Check yourself

Your turn1 of 2
Find the x-intercept of f(x) = log base 7 of x + 1 (solve log base 7 of x, plus 1, equals 0, for x).

End of topic.