Quarry School

The logarithmic function, its domain and its graph — quick review

In plain words

The rule f(x) = logb x is a function: each positive input has one logarithm.

Rule

For b > 0 and b ≠ 1, f(x) = logb x has domain x > 0, range all real numbers, x-intercept (1, 0) and vertical asymptote x = 0. For b > 1 it rises from left to right; for 0 < b < 1 it falls. The domain of logb (g(x)) is the set of x with g(x) > 0.

Step

  1. Find the domain: set the inside of the logarithm greater than 0 and solve.

  2. For a linear inside with a nonzero slope, such as x − h or a − x, mark the vertical asymptote where the inside equals 0: as x moves toward that line from the domain side, the inside shrinks to 0 through positive values and the logarithm grows without bound in size.

  3. Mark the point where the inside equals 1 (the logarithm there is 0, so the output is whatever is added after the logarithm) and the point where the inside equals b (the logarithm there is 1).

  4. For logb (x − h) with b > 1, draw the curve rising steeply immediately to the right of the asymptote and flattening as x grows; with 0 < b < 1 it falls instead. When the inside is a − x, the curve is the mirror image across the asymptote, so each direction reverses.

Question

Find the domain, the vertical asymptote and the x-intercept of f(x) = log (x + 4). In plain words: the inside must be positive; find where it is 0 and where it is 1.

Answer

Domain x > −4; asymptote x = −4; x-intercept (−3, 0)

Trap

Taking the domain as x > 0 for every logarithm. The condition is on the inside: log (x + 4) is defined for x > −4, and log (5 − x) for x < 5.

Term

logarithm

Definition

The exponent you raise a base to in order to get a number: logb x = y means by = x.

Term

natural logarithm

Definition

The logarithm with base e ≈ 2.718, written ln x.

Term

logarithmic function

Definition

A function f(x) = logb x with b > 0 and b ≠ 1, defined for x > 0; it is the inverse of bx.

Term

vertical asymptote

Definition

A vertical line x = c near which the graph's outputs grow without bound, up or down, as x moves toward c from at least one side; for y = logb x with b > 1 it is the y-axis, x = 0, where the outputs fall without bound as x moves toward 0.