How to graph logarithmic functions: Points, shifts, and reflections
If you can plot a few powers of 3, you already have the points you need to graph a logarithm. We’ll swap the coordinates, then see what happens when we shift and reflect the graph. The video uses a different shift and adds a vertical compression.
Start with the exponential inverse
For a base with , a logarithm tells us the exponent on that base. The same relationship can be written in two ways:
The inverse of is . Swapping the coordinates of each point reflects the exponential curve across . For example, on the exponential becomes on the logarithm. The same idea applies to , which uses base .
Plot a few points and mark the asymptote
It’s easiest to choose small integer values for and use to find the matching inputs. For instance, gives .
| Input x | Output y |
|---|---|
Powers of 3 are positive, so the logarithm’s domain is . As decreases without bound in , approaches zero from the right. That gives the vertical asymptote . The logarithm can produce any real output, so its range is all real numbers.
The parent logarithm increases when and decreases when . Either way, its x-intercept is because .
Example: Shift right, then reflect across the x-axis
Replacing with moves each point one unit to the right. The parent’s point moves to , and the asymptote moves from to .
Multiplying the output by keeps the same and changes the sign of , so the reflection is across the x-axis. The point becomes . The domain remains , and stays on both graphs because its y-coordinate is zero.
Find the new domain and asymptote from the input
For , the input to the logarithm has to be positive. Set to find the domain, . Its boundary is the vertical asymptote . The changes outside the logarithm change the outputs, so they don’t move that boundary.