Graphing Logarithmic Functions
Connect a logarithm’s domain to shifts and asymptotes.
Builds on Changing the Base
The bigger question: How long does repeated growth take?
On this page
Idea
A logarithm graph is an exponential graph reflected in the line . Everything about its shape follows from that one fact.
The exponential had a horizontal floor it never touched. Reflecting turns that floor into a vertical wall.
Rule
has domain and range every real
the line is a vertical asymptote
the curve passes through for every base
How it is used
1. Two shapes, and the base picks one
| Base | Shape | Example |
|---|---|---|
| rises, slowly and forever | ||
| falls, slowly and forever |
The two are mirror images in the -axis, because .
2. Three points fix the curve
Every logarithm graph passes through the same three landmarks, written in terms of its base.
For that is , and . Plot those, follow the shape, and the sketch is done.
Try this. Compare bases 2 and 0.5: growth becomes decay. Move the input to 1; the logarithm is zero for either base.
3. The asymptote is a wall, not a floor
As shrinks towards the curve dives without limit, but never crosses to the left.
There is no bottom. The values are unbounded below, which is what "range is every real " means.
Going the other way the curve keeps climbing, just very slowly: needs to double to gain a single unit of height.
4. It is the exponential, reflected
| domain | every real | |
| range | every real | |
| asymptote | horizontal, | vertical, |
| passes through |
Each row is the previous one with the coordinates swapped. That is what reflecting in does.
5. Shifts move the wall
The asymptote sits wherever the argument is zero.
A constant added outside, as in , lifts the curve but leaves the wall where it was.
Worked example
Describe the graph of .
Remember
the asymptote sits where the argument is zero and a constant outside shifts up, not sideways
- Find the wall. The argument is zero at , so that is the vertical asymptote and the domain is .
- Use to get the first point. The argument is when .
- Use for the second. The argument is when .
- The base is above , so the curve rises. It climbs from the wall at through and , gaining one unit each time doubles.
Try it yourself.
Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.
Hint 1 · Find a starting point
Find where the argument approaches zero from above.
Hint 2 · Take the next step
The domain condition is x − 2 > 0.
Show the reasoning
Answer: x = 2
As x approaches 2 from the right, ln(x−2) decreases without bound.
Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.
Explore
Both curves are drawn here. Drag the probe and watch the pair move together.
The green logarithm and the blue exponential are the same curve seen from two sides of the dashed line . Whenever the probe sits at on one, its partner sits at on the other. The exponential flattens onto its horizontal floor on the left; the logarithm dives down its vertical wall near . Those are the same behaviour with the axes exchanged.
Now change the base. Above both curves climb; below both fall. The reflection holds either way, because it comes from the definition rather than from the shape.
Try this. Compare bases 2 and 0.5: growth becomes decay. Move the input to 1; the logarithm is zero for either base.
Pause before the next idea.
Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.