The graph of y=loga(x) has a characteristic shape: a curve passing through (1,0), approaching a vertical asymptote at x=0, and extending infinitely in both vertical directions. The base determines whether the curve rises or falls, and transformations shift, stretch, and reflect the basic shape. Understanding these graphs reinforces the properties of logarithms and provides geometric insight into inequalities.
The Basic Shape
The graph of y=loga(x) for a>1 rises slowly from left to right. Starting from extreme negative y-values near the y-axis, the curve crosses through (1,0), continues through (a,1), and extends upward without bound as x increases.
The curve is concave down throughout — it bends toward the x-axis. Growth slows as x increases: the gap between loga(10) and loga(100) equals the gap between loga(1) and loga(10). Each multiplication of x by a adds exactly 1 to the output.
For 0<a<1, the shape mirrors vertically. The curve descends from upper left toward lower right, still passing through (1,0) but now through (a,1) where a<1 means this point lies to the left of x=1.
Domain and Range on the Graph
The domain (0,∞) appears as the horizontal extent of the graph. The curve exists only for x>0 — nothing appears on or to the left of the y-axis.
The range (−∞,∞) appears as the vertical extent. The curve spans all y-values, extending upward and downward without bound.
No horizontal asymptote exists. As x→∞, the function continues increasing (for a>1) or decreasing (for 0<a<1), never leveling off. This contrasts with exponential functions, which have horizontal asymptotes.
The Vertical Asymptote
The line x=0 is a vertical asymptote for every logarithmic function.
As x→0+:
x→0+limloga(x)=−∞for a>1
x→0+limloga(x)=+∞for 0<a<1
The graph approaches the y-axis but never touches or crosses it. For a>1, the curve plunges downward as it nears the asymptote. For 0<a<1, the curve rises upward.
Under horizontal transformations, the asymptote shifts. The function y=loga(x−h) has vertical asymptote at x=h.
Key Points
Three points anchor any logarithmic graph:
(1,0): Every logarithm satisfies loga(1)=0. This point lies on every logarithmic curve regardless of base.
(a,1): Every logarithm satisfies loga(a)=1. For y=log2(x), this is (2,1). For y=log10(x), this is (10,1). For y=ln(x), this is (e,1)≈(2.718,1).
(1/a,−1): Since loga(1/a)=loga(a−1)=−1. For y=log2(x), this is (0.5,−1).
When sketching, plot these points first. The curve passes through all three, approaching the vertical asymptote as x→0+.
Effect of Base on Shape
The base controls both direction and steepness.
For a>1: the function increases. Larger bases produce flatter curves. The graph of y=log10(x) rises more slowly than y=log2(x) because base 10 requires larger x-values to achieve the same output.
For 0<a<1: the function decreases. The graph of y=log1/2(x) is the reflection of y=log2(x) across the x-axis. In general, log1/a(x)=−loga(x).
Comparing common and natural logarithms: ln(x) rises faster than log(x) because e<10. The natural logarithm reaches output 1 at x=e≈2.718, while the common logarithm reaches 1 at x=10.
Horizontal Shifts
The function y=loga(x−h) shifts the graph horizontally by h units.
When h>0, the shift is rightward. The vertical asymptote moves from x=0 to x=h. The point (1,0) moves to (1+h,0).
When h<0, the shift is leftward. The asymptote moves to x=h (a negative value), and the domain becomes x>h.
Example: y=log2(x−3) has asymptote at x=3, passes through (4,0) and (5,1), and has domain x>3.
Example: y=ln(x+2) has asymptote at x=−2, passes through (−1,0) and (e−2,1), and has domain x>−2.
Vertical Shifts
The function y=loga(x)+k shifts the graph vertically by k units.
When k>0, the shift is upward. When k<0, the shift is downward.
The vertical asymptote remains at x=0 — vertical shifts do not affect the asymptote location. The domain remains x>0.
Example: y=log3(x)+2 passes through (1,2) and (3,3), with asymptote still at x=0.
Example: y=ln(x)−1 passes through (1,−1) and (e,0).
Stretches and Compressions
The function y=c⋅loga(x) stretches or compresses the graph vertically.
When ∣c∣>1, the graph stretches away from the x-axis. When 0<∣c∣<1, the graph compresses toward the x-axis.
The point (1,0) remains fixed — multiplying zero by any constant gives zero. The point (a,1) moves to (a,c).
Example: y=2log2(x) passes through (1,0) and (2,2). The graph is stretched vertically by factor 2.
Example: y=21ln(x) passes through (1,0) and (e,0.5). The graph is compressed vertically by factor 1/2.
The asymptote remains at x=0, and the domain remains x>0.
Reflections
Reflections flip the graph across an axis.
y=−loga(x): reflection across the x-axis. The point (a,1) becomes (a,−1). An increasing logarithm becomes decreasing, and vice versa. This is equivalent to changing the base: −loga(x)=log1/a(x).
y=loga(−x): reflection across the y-axis. The domain changes from x>0 to x<0. The asymptote moves from x=0 to x=0 (still the y-axis, approached from the left). The point (a,1) becomes (−a,1).
Example: y=−log2(x) passes through (1,0), (2,−1), and (4,−2).
Example: y=log2(−x) passes through (−1,0), (−2,1), and has domain x<0.
Writing Equations from Graphs
To determine the equation of a transformed logarithmic graph:
Step 1: Identify the vertical asymptote. If at x=h, the function includes (x−h) as the argument.
Step 2: Find a point on the graph, typically where the curve crosses a convenient location. Use this to determine the base or verify it.
Step 3: Check for vertical stretch/compression by comparing the vertical distance between known points.
Step 4: Check for vertical shift by noting if (1+h,k) lies on the curve for k=0.
Example: A graph has asymptote at x=2, passes through (3,0) and (4,1).
Asymptote at x=2 suggests y=loga(x−2). The point (3,0) confirms: loga(3−2)=loga(1)=0. The point (4,1) gives: loga(2)=1, so a=2.
Equation: y=log2(x−2).
Inverse Relationship with Exponential Graphs
The graphs of y=loga(x) and y=ax are reflections of each other across the line y=x.
Every point (p,q) on the logarithmic curve corresponds to a point (q,p) on the exponential curve. The curves intersect the line y=x at the same location only if ac=c for some c.
Asymptote correspondence:
y=ax has horizontal asymptote y=0
y=loga(x) has vertical asymptote x=0
Domain and range exchange:
ax: domain (−∞,∞), range (0,∞)
loga(x): domain (0,∞), range (−∞,∞)
Graphing both functions on the same axes with the line y=x demonstrates this inverse relationship visually. The symmetry confirms that each function undoes the other.