← College Algebra

College Algebra

Logarithmic Functions

Lesson

A logarithm is the inverse of an exponential. The expression logb(x)\log_b(x) asks the question:

logb(x)=y    by=x\log_b(x) = y \iff b^y = x

In words: “logb(x)\log_b(x) is the exponent you put on bb to get xx.”

Three facts that fall out of the definition:

  • logb(1)=0\log_b(1) = 0 — because b0=1b^0 = 1.
  • logb(b)=1\log_b(b) = 1 — because b1=bb^1 = b.
  • logb(bn)=n\log_b(b^n) = n — the answer is the exponent.

The graph of y=logb(x)y = \log_b(x) has domain (0,)(0,\,\infty)(you can’t take a logarithm of zero or a negative number), range all real numbers, and a vertical asymptote at x=0x = 0. Two shorthand notations to know: log(x)\log(x) with no base means base 10 (the common log), and ln(x)\ln(x) means base ee (the natural log).

To evaluate by hand: rewrite the input as a power of the base.

Worked example 1

log2(32)=?\log_2(32) = ?

Rewrite 32 as a power of 2: 32=2532 = 2^5. So:

log2(32)=log2(25)=5\log_2(32) = \log_2(2^5) = 5

Worked example 2

log8(4)=?\log_8(4) = ?

Both 8 and 4 are powers of 2, so write them with that common base: 8=238 = 2^3 and 4=224 = 2^2. The question is: what exponent yy makes (23)y=22(2^3)^y = 2^2? That gives 3y=23y = 2, so y=23y = \tfrac{2}{3}.

log8(4)=23\log_8(4) = \tfrac{2}{3}

How to type your answer

Type a single number — the exponent. Use a slash for fractions. Examples: 5, -2, 1/2, 2/3.

Practice

Work through these. Stuck? Click Get a hint.

Warm-Up

Quick problems to get going.

Problem 1

log2(8)=?\log_2(8) = ?

Problem 2

log3(9)=?\log_3(9) = ?

Problem 3

log5(25)=?\log_5(25) = ?

Problem 4

log10(1000)=?\log_{10}(1000) = ?

Practice

Standard problems matching the lesson.

Problem 5

log2(16)=?\log_2(16) = ?

Problem 6

log2(1)=?\log_2(1) = ?

Problem 7

log3(27)=?\log_3(27) = ?

Problem 8

log4(64)=?\log_4(64) = ?

Problem 9

log2 ⁣(14)=?\log_2\!\left(\tfrac{1}{4}\right) = ?

Problem 10

log5 ⁣(125)=?\log_5\!\left(\tfrac{1}{25}\right) = ?

Problem 11

log10(0.01)=?\log_{10}(0.01) = ?

Problem 12

log2(32)=?\log_2(32) = ?

Problem 13

log3(81)=?\log_3(81) = ?

Problem 14

log2 ⁣(18)=?\log_2\!\left(\tfrac{1}{8}\right) = ?

Challenge

Harder problems — edge cases, trickier numbers, multiple steps.

Problem 15

log4(2)=?\log_4(2) = ?

Problem 16

log8(2)=?\log_8(2) = ?

Problem 17

log9(3)=?\log_9(3) = ?

Problem 18

log27(3)=?\log_{27}(3) = ?

Problem 19

log4(8)=?\log_4(8) = ?

Problem 20

log8(4)=?\log_8(4) = ?

Problem 21

log25(125)=?\log_{25}(125) = ?

Problem 22

log2(2)=?\log_2(\sqrt{2}) = ?