A logarithmic function reverses an exponential relationship. Its graph grows slowly for bases greater than 1, has a vertical boundary where its input approaches zero, and changes predictably under shifts and reflections.
The logarithm's input must be positive
The statement means with and Since a real exponential output is positive, the logarithm's domain is Its range is all real numbers.
The graph passes through because and through because For the function increases and is concave down. For it decreases and is concave up.
The vertical asymptote is As approaches zero from the right, tends to negative when There is no real graph to the left of zero for the basic function.
Example: shift and stretch a logarithm
Consider The input condition is so the domain is and the asymptote is
The factor 2 stretches output values vertically, and the added 4 shifts them upward. Start from easy logarithm inputs. When equals 2 and equals 4. When equals 4 and equals 6. When equals and equals 2.
These points and the asymptote show the transformed shape. The output range remains all real numbers because a nonzero vertical stretch and shift do not impose a finite ceiling or floor.
The shifted logarithm begins to the right of x = 1. Easy input powers of 3 locate exact anchor points.
The shifted logarithm begins to the right of . Easy input powers of 3 locate exact anchor points.
Describe this figure
The shifted logarithm begins to the right of . Easy input powers of 3 locate exact anchor points.
Marked points: filled marker at (1.3333, 2); filled marker at (2, 4); filled marker at (4, 6).
Find intercepts by undoing the logarithm
For the same function, find the x-intercept by setting f equal to zero:
Exponentiate to obtain giving This is inside the domain There is no y-intercept because equal to zero is outside the domain.
An asymptote at equal to 1 does not mean the x-intercept is at 1. The asymptote is an excluded boundary; an intercept is an actual point on the graph.
Example: a reflection changes the side of the domain
For the argument must satisfy so The asymptote is approached from the left.
As increases, the argument decreases, so decreases. At equal to 4, the argument is 1 and equals zero. At equal to the argument is and equals 1.
Do not infer that all logarithmic graphs lie to the right of their asymptote. A negative coefficient on inside the logarithm reflects the input direction, placing this graph to the left.
Products and powers are not sums inside a log
Logarithm properties give for positive and , and for positive . There is no corresponding rule splitting into two logs.
For example, but only coincidentally here; using 2 and 6 gives while is not 3. Never infer an identity from one lucky numerical match.
When simplifying, retain domain conditions. A transformed formula can appear to allow inputs that the original logarithm did not.
A vertical reflection changes increase to decrease without moving the vertical asymptote. A horizontal shift moves that asymptote because it changes where the argument reaches zero. Separating those two effects is more reliable than trying to memorize a new graph for every formula.
Try it yourself
For find the domain, asymptote, x-intercept, and whether the graph increases or decreases.
Answer: Domain asymptote Setting equal to zero gives so equals The negative outside coefficient reflects an increasing logarithm vertically, so decreases.
What to remember
Solve the argument inequality first, transform easy anchor points, and use the exponential definition to find intercepts. Distinguish changes inside the logarithm from changes to its output.