Quarry School

Logarithmic functions — quick review

What a logarithm asks

In plain words

Some questions run an exponent backward.

Rule

For b > 0, b ≠ 1 and x > 0: logb x = y means exactly by = x.

Step

  1. Name the base, the exponent and the result.

  2. To write logarithmic form, put the exponent alone: logbase (result) = exponent.

  3. To write exponential form, raise the base to the logarithm's value: basevalue = the input.

  4. Check that the base is positive and not 1, and that the input of the logarithm is positive.

Question

Write 52 = 25 in logarithmic form, and write log4 64 = 3 in exponential form. In plain words: turn a power into a logarithm, then a logarithm into a power.

Answer

log5 25 = 2
43 = 64

Trap

Swapping the parts. log2 8 = 3 is 23 = 8, not 32 = 8 or 83 = 2. The base of the logarithm is the base of the power, and the logarithm's value is the exponent.

Term

logarithm

Definition

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

Term

logarithmic form

Definition

A fact about a power written with a logarithm, logb x = y, so the exponent stands alone.

Values you can find without a calculator

In plain words

Two values hold for every base.

Rule

For b > 0 and b ≠ 1: logb 1 = 0, logb b = 1, logb (bx) = x for every real x, and blogbx = x for every x > 0.

Step

  1. Write the input as a power of the base where you can: 81 = 3⁴, 125 = 5−2, 2 = 212.

  2. Read the exponent: logb (bx) = x.

  3. When the input is not an integer power of the base (as 81 = 3⁴ and 18 = 2−3 are), find the two consecutive integer powers it lies between: for b > 1, if bn < x < bn+1, then n < logb x < n + 1 (n is negative for an input between 0 and 1); for 0 < b < 1 the powers shrink as n grows, so bn+1 < x < bn gives n < logb x < n + 1.

Question

Find log9 3 and log5 5. In plain words: write each input as a power of its base.

Answer

log9 3 = 12
log5 5 = 12

Trap

Reading logb 1 as 1. The logarithm of 1 is 0 in every base, because b⁰ = 1. It is logb b that equals 1.

Term

logarithm

Definition

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

Common and natural logarithms

In plain words

Two bases are used so often that they have their own names and their own calculator keys.

Rule

log x = log10 x and ln x = loge x, each for x > 0. For every real x, log 10x = x and ln ex = x; for x > 0, 10logx = x and elnx = x.

Step

  1. Read log with no base as base 10, and ln as base e.

  2. For an input that is a power of the base, read the exponent: log 10⁴ = 4, ln e−2 = −2.

  3. Otherwise use the LOG or LN key.

  4. Check by raising the base to the answer: 10answer or eanswer should give back the input.

Question

Find log 45 and ln 45 to four decimal places, and check each. In plain words: use the LOG and LN keys, then raise each base to its answer.

Answer

log 45 ≈ 1.6532
ln 45 ≈ 3.8067

Trap

Reading log x as base e, or ln x as base 10. In this unit log with no base is base 10 and ln is base e: log 100 = 2, but ln 100 ≈ 4.605.

Term

logarithm

Definition

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

Term

common logarithm

Definition

The logarithm with base 10, written log x with no base shown.

Term

natural logarithm

Definition

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

The logarithmic function, its domain and its graph

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.