Structural Characteristics of Logarithmic Functions
Every logarithmic functionf(x)=loga(x) possesses properties that govern its behavior across the domain. These properties — domain, range, monotonicity, injectivity, continuity, asymptotic behavior, and inverse relationship to exponentials — determine how logarithms interact with equations, inequalities, and graphs.
log₂(x) asks: to what power must 2 be raised to give x?
Ask that question for a few values of x, positive, zero and negative.
For 8, 1 and 1/2 there is an answer; for 0 and −4 there is none.
x
power of 2 that gives x
log₂(x)
8
2³ = 8
3
1
2⁰ = 1
0
1/2
2⁻¹ = 1/2
−1
0
none
undefined
−4
none
undefined
Every power of 2 is positive, however large or however negative the exponent.
A logarithm can only return what a power can produce, and powers of a positive base are always positive.
This restriction follows from the definition. The equation loga(x)=y means ay=x. Since a>0 and ay>0 for all real y, the output of any exponential with positive base is strictly positive. No real exponent produces zero or a negative number.
Consequently, loga(0) is undefined — no solution to ay=0 exists. Similarly, loga(−5) is undefined — no real y satisfies ay=−5.
The definition
The domain of loga(x) is the set of positive real numbers, (0,∞): the logarithm is defined exactly where x>0.
THEOREM
The domain of f(x)=loga(x) is the set of all positive real numbers: (0,∞).
So log2(8)=3 and log2(21)=−1, while log2(0) and log2(−4) are undefined.
For a composite argument, the whole argument must be positive.
For composite arguments, the entire expression inside the logarithm must be positive. The function log2(x−3) requires x−3>0, giving domain x>3. The function log5(x2+1) has domain all real numbers, since x2+1>0 for every x.
Finding such a domain comes down to solving an inequality in x: the whole argument is compared with zero. The edge of the answer is the value of x at which the argument itself equals zero, x=3 for log2(x−3).
The argument sets the domain
The section's two composite logarithms. log₂(x − 3) needs x − 3 > 0, so its graph begins at the dashed line x = 3 and nothing exists to the left. log₅(x² + 1) has an argument that is positive for every real x, so its graph runs across the whole axis, touching its lowest value 0 at x = 0.
The domain of a composite logarithm is wherever its whole argument is positive.
The point where the argument equals zero is never part of the domain.
Pitfall: Including the endpoint
Writing the domain of log2(x−3) as x≥3 lets in x=3, where the logarithm is log2(0) and undefined. The domain is x>3, the interval (3,∞).
Near that edge the argument is a small positive number and the logarithm is defined. The edge itself is the place where the definition from the start of this section has to be applied once more.
The rest of the page covers the range, monotonicity, the one-to-one property, continuity, asymptotic behavior, the inverse relationship with exponential functions, a summary and common pitfalls.
Range
THEOREM
The range of f(x)=loga(x) is all real numbers: (−∞,∞).
As x increases from just above zero toward infinity, loga(x) takes every real value exactly once. For a base a>1: near zero, the logarithm plunges toward −∞; at x=1, it equals zero; as x grows large, it increases without bound, though slowly. For 0<a<1 the picture is reflected: it falls from +∞ to −∞.
Pitfall: Thinking a logarithm cannot be negative
Applying "must be positive" to the output instead of the argument makes log2(x)=−3 look impossible. But 2−3=81, so x=81; only the argument has to be positive.
This unlimited range contrasts with the exponential function g(x)=ax, whose range is (0,∞). The domain and range swap between a function and its inverse — logarithms and exponentials exhibit this exchange precisely.
Monotonicity
Logarithmic functions are strictly monotonic — either always increasing or always decreasing throughout their domain.
When a>1, the function f(x)=loga(x) is strictly increasing. If x1<x2, then loga(x1)<loga(x2). Larger inputs produce larger outputs. The functions log2(x), log10(x), and ln(x) all increase.
When 0<a<1, the function f(x)=loga(x) is strictly decreasing. If x1<x2, then loga(x1)>loga(x2). Larger inputs produce smaller outputs. The function log1/2(x) decreases.
This property is critical for solving inequalities.
COROLLARY
Taking logarithms preserves inequality direction when a>1 and reverses it when 0<a<1.
Pitfall: Assuming every logarithm increases
Concluding from 2<4 that log1/2(2)<log1/2(4) treats base 21 like base 2. In fact log1/2(2)=−1 and log1/2(4)=−2, so log1/2(2)>log1/2(4).
The corollary is used whenever two numbers are compared through their logarithms, or a logarithm is removed from both sides of an inequality. What decides the outcome is a single check made before any algebra: whether the base lies above 1 or between 0 and 1.
The bases met most often, 2, 10 and e, all lie above 1. Bases such as 21 or 0.1 appear less often, and they are the ones that fall into the second case.
Logarithmic functions are one-to-one (injective): distinct inputs always produce distinct outputs.
Algebraically: if loga(x)=loga(y), then x=y.
This follows directly from strict monotonicity. A function that is always increasing (or always decreasing) cannot assign the same output to two different inputs — it would have to "turn around," violating monotonicity.
The one-to-one property justifies a key technique for solving equations. When an equation has the form loga(M)=loga(N) with the same base on both sides, the arguments must be equal: M=N. This reduces a logarithmic equation to an algebraic one.
Dropping the logarithms from log3(x)+log3(2)=log3(10) term by term gives x+2=10, so x=8, but log3(8)+log3(2)=log3(16). Condensed first, log3(2x)=log3(10), so x=5.
In the example each side is already a single logarithm with base 3, which is exactly the form the property needs. The arguments 2x+1 and x+5 are then set equal, and a linear equation is left.
Equations met in practice often start further away from that form, with several logarithms on one side joined by sums, differences or coefficients.
The logarithmic equation solver uses this property whenever both sides are single logarithms with the same base.
One-to-one, seen with horizontal lines
Every horizontal line meets log₂ x exactly once, because the curve only ever rises: no two inputs share an output, so log₂(M) = log₂(N) forces M = N. The function log₂(x² + 1) is a different story: its argument falls and then rises again, so the graph turns back at 0 and the line y = 1 meets it at x = ±1. Two inputs share an output, and the one-to-one property fails.
Equating arguments is always valid for log_a; what needs care is the equation that follows when the argument, as a function of x, is not one-to-one.
One hypothesis carries the technique. Drop it to see what goes wrong when the sides are not single logarithms yet.
Click the hypothesis to see what it does and what breaks without it.
If
1loga(M)=loga(N): a single logarithm on each side, same baseclick: drop it
⟹
Then
M=N
Logarithmic functions are strictly monotonic, so they cannot assign the same output to two different inputs. log3(2x+1)=log3(x+5) gives 2x+1=x+5, so x=4.
The function f(x)=loga(x) is continuous on its entire domain (0,∞).
There are no jumps, breaks, or holes in the graph for any x>0. The function transitions smoothly from one value to the next. Small changes in input produce small changes in output.
At the boundary x=0, continuity fails — the function is not defined there. The graph approaches the y-axis but never reaches it. This boundary behavior leads to the vertical asymptote discussed below.
Asymptotic Behavior
THEOREM
The line x=0 (the y-axis) is a vertical asymptote for every logarithmic function.
As x→0+ (approaching zero from the right):
Asymptotic Behavior
x→0+limloga(x)=−∞when a>1
Asymptotic Behavior
x→0+limloga(x)=+∞when 0<a<1
The graph approaches the y-axis without touching it, plunging downward (for a>1) or rising upward (for 0<a<1).
As x→∞:
Asymptotic Behavior
x→∞limloga(x)=+∞when a>1
Asymptotic Behavior
x→∞limloga(x)=−∞when 0<a<1
Growth toward infinity is slow. For a>1, the logarithm increases without bound but at a decelerating rate — doubling the input adds only a fixed constant to the output.
The graph approaches the y-axis without touching it.
Rises upward
+∞
limx→0+loga(x)=+∞
The graph approaches the y-axis without touching it.
Increases without bound
+∞
limx→∞loga(x)=+∞
Growth is slow, at a decelerating rate.doubling the input adds only a fixed constant to the output
Decreases without bound
−∞
limx→∞loga(x)=−∞
loga(x)at the two ends of its domain
Vertical asymptoteThe line x=0 (the y-axis) is a vertical asymptote for every logarithmic function.
Asymptotic BehaviorLearn Math Class
Inverse Relationship with Exponential Functions
The functions f(x)=loga(x) and g(x)=ax are inverses of each other.
Composition in either order returns the input:
Inverse Relationship with Exponential Functions
f(g(x))=loga(ax)=xfor all real x
Inverse Relationship with Exponential Functions
g(f(x))=aloga(x)=xfor all x>0
THEOREM
Graphically, the curves y=loga(x) and y=ax are reflections of each other across the line y=x. Points (p,q) on one curve correspond to points (q,p) on the other.
Domain and range exchange:
ax has domain (−∞,∞) and range (0,∞)
loga(x) has domain (0,∞) and range (−∞,∞)
Asymptotes exchange orientation:
ax has horizontal asymptote y=0
loga(x) has vertical asymptote x=0
This inverse relationship provides the foundation for converting between logarithmic and exponential forms when solving equations.
Inverse Relationship with Exponential FunctionsLearn Math Class
Knowing ax means knowing loga(x): each graph is the other's mirror image in the line y=x.
Summary of Properties
The seven properties above together describe how logarithmic functions behave on their domain and how that behavior shapes work with logarithmic equations, inequalities, and graphs. The table below collects each property in a single row — the statement and the practical consequence — useful as a reference card.
The two base-dependent properties are one fact seen twice: for a>1 the logarithm rises and drops to −∞ near 0; for 0<a<1 it falls and climbs to +∞. Everything else, from the domain to the one-to-one property, works the same for every base.
Common Pitfalls
Four mistakes come up again and again when these properties are put to work. Each one is marked where it happens in the sections above; here each is worked through in full, with the wrong and the right working side by side.
The domain of a composite logarithm is found by solving an inequality, but the inequality is written with ≥ instead of >, so the value that makes the argument zero is let in.
Start
log2(x−3):x−3≥0
Wrong turn
Error here
⟹x≥3
Right path
The argument must be strictly positive.
x−3>0
⟹x>3, that is (3,∞)
Why it happensThe restriction is remembered as "the argument cannot be negative", which leaves zero allowed, as it is for square roots, where 0=0.
How to checkSubstitute the endpoint. x=3 gives log2(0), and no real y satisfies 2y=0, so the endpoint is excluded.
2Thinking a logarithm cannot be negative
The rule that the argument must be positive is applied to the value of the logarithm instead, so an equation or a result with a negative logarithm is declared impossible.
Start
log2(x)=−3
Wrong turn
Error here
⟹no solution,
since a logarithm cannot be negative
Right path
Convert to exponential form.
⟹x=2−3=81
The argument 81 is positive, so the solution is valid.
Why it happensThe domain (0,∞) and the range (−∞,∞) are easy to swap, and most first examples use arguments above 1, whose logarithms are positive for a base above 1.
How to checkAny argument between 0 and 1 gives a negative logarithm when the base is above 1. For example log10(0.01)=−2, since 10−2=0.01.
3Assuming every logarithm increases
Two values of a logarithm are compared by comparing their arguments, with the order kept, even though the base lies between 0 and 1.
Start
2<4
Wrong turn
Error here
⟹log1/2(2)<log1/2(4)
Right path
log1/2 is strictly decreasing, so the order reverses.
log1/2(2)=−1,log1/2(4)=−2,
so log1/2(2)>log1/2(4)
Why it happensThe bases used most often, 2, 10 and e, are all above 1, and "larger input, larger output" becomes a habit.
How to checkCompute both values from the definition. (21)−1=2 and (21)−2=4, so the larger argument has the smaller logarithm.
4Equating arguments before condensing
The one-to-one property is used to drop the logarithms from every term, although one side holds a sum of two logarithms rather than a single one.
Start
log3(x)+log3(2)=log3(10)
Wrong turn
Error here
⟹x+2=10
⟹x=8
Right path
Condense first with the product rule, then apply the property.
log3(2x)=log3(10)
⟹2x=10
⟹x=5
Why it happensThe property is remembered as "remove the logarithms" instead of "if loga(M)=loga(N), then M=N", and its condition, a single logarithm on each side, is skipped.
How to checkSubstitute the answer into the original equation. x=8 gives log3(8)+log3(2)=log3(16), not log3(10). x=5 gives log3(5)+log3(2)=log3(10).
Each slip misreads one property. The argument must be strictly positive, the value of a logarithm can be any real number, a base between 0 and 1 makes the function decreasing, and a sum of logarithms is condensed with the product rule before the arguments are compared. Substituting the endpoint or the answer, or working out two values from the definition of the logarithm, settles each case.
Change the base of a logarithmSingle ruleA log whose base your calculator does not have, or two logs with different bases in one problem: log210, log5x.
Evaluate a logarithmAsk "which exponent?", use the key values, or change the base for a calculator.
Why is the logarithm of a negative number undefined?
+
Because loga(x)=y means ay=x, and a positive base raised to any real power is positive. No exponent y satisfies 2y=−5, so log2(−5) has no answer. The same reasoning rules out zero, since nothing satisfies ay=0. Negative and zero inputs are excluded by the definition, not by convention.Read more →
How do you find the domain of something like log2(x−3)?
+
Set whatever sits inside the logarithm greater than zero and solve. Here x−3>0 gives domain x>3. The rule applies to the whole argument, not just to x, so log5(x2+1) has domain all real numbers because x2+1 is positive for every x. Strictly greater than zero, never equal to it.Read more →
Why does a logarithm grow so slowly?
+
Because each fixed step in the output demands a multiplicative jump in the input. With log2, moving the output from 10 to 11 requires doubling the input, and doubling again adds only one more. Put the other way round, multiplying the input by a constant adds a constant to the output. The curve rises without bound, but at an ever-decelerating rate.Read more →
Why does loga(ax)=x hold for every x, but aloga(x)=x only for x>0?
+
Because the two compositions begin in different places. In loga(ax) the exponential runs first and accepts any real x, handing the logarithm a positive number, so nothing is excluded. In aloga(x) the logarithm runs first and demands a positive input, so x≤0 never gets in. The restriction belongs to whichever function goes first.Read more →
Can a logarithm be negative?
+
Yes. Only the argument has to be positive; the value of the logarithm can be any real number. For a base above 1, every argument between 0 and 1 gives a negative logarithm: log10(0.01)=−2, because 10−2=0.01. So log2(x)=−3 is not impossible; it has the solution x=2−3=81, a positive argument.Read more →
If logarithms are one-to-one, why does log2(x2+1)=1 have two solutions?
+
Because the one-to-one property is about log2, not about the argument. Equating gives x2+1=2, a valid step, but x2+1 takes the same value at x and −x, so both x=1 and x=−1 solve it. The logarithm itself never turns back; the argument does, falling to its lowest value at x=0 and rising again.Read more →
Which properties of a logarithm depend on the base?
+
Only two, and they are one fact seen twice. For a>1 the logarithm increases and drops toward −∞ as x→0+; for 0<a<1 it decreases and climbs toward +∞. The domain (0,∞), the range (−∞,∞), the one-to-one property, continuity and the inverse relationship with ax are the same for every base.Read more →