← College Algebra

College Algebra

Logarithmic Functions

Lesson

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

log⁡b(x)=y  ⟺  by=x\log_b(x) = y \iff b^y = x

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

Three facts that fall out of the definition:

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

The graph of y=log⁡b(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

log⁡2(32)=?\log_2(32) = ?

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

log⁡2(32)=log⁡2(25)=5\log_2(32) = \log_2(2^5) = 5

Worked example 2

log⁡8(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}.

log⁡8(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

log⁡2(8)=?\log_2(8) = ?

Problem 2

log⁡3(9)=?\log_3(9) = ?

Problem 3

log⁡5(25)=?\log_5(25) = ?

Problem 4

log⁡10(1000)=?\log_{10}(1000) = ?

Practice

Standard problems matching the lesson.

Problem 5

log⁡2(16)=?\log_2(16) = ?

Problem 6

log⁡2(1)=?\log_2(1) = ?

Problem 7

log⁡3(27)=?\log_3(27) = ?

Problem 8

log⁡4(64)=?\log_4(64) = ?

Problem 9

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

Problem 10

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

Problem 11

log⁡10(0.01)=?\log_{10}(0.01) = ?

Problem 12

log⁡2(32)=?\log_2(32) = ?

Problem 13

log⁡3(81)=?\log_3(81) = ?

Problem 14

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

Challenge

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

Problem 15

log⁡4(2)=?\log_4(2) = ?

Problem 16

log⁡8(2)=?\log_8(2) = ?

Problem 17

log⁡9(3)=?\log_9(3) = ?

Problem 18

log⁡27(3)=?\log_{27}(3) = ?

Problem 19

log⁡4(8)=?\log_4(8) = ?

Problem 20

log⁡8(4)=?\log_8(4) = ?

Problem 21

log⁡25(125)=?\log_{25}(125) = ?

Problem 22

log⁡2(2)=?\log_2(\sqrt{2}) = ?

Practice

Standard problems matching the lesson.

Problem 23

Earthquake magnitude M = log₁₀(10000). Find M.

Problem 24

Find log₁₀(1000).

Challenge

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

Problem 25

Compute log₁₀(0.001).

Ask the tutor

Stuck on a concept? Want another example? Ask anything about this topic.

Type your own question below, or tap one of the suggestions. The tutor can re-explain the lesson, work through a specific problem with you, generate fresh practice tuned to where you are, or check your reasoning.

Quiz

Test yourself on this topic →

10 questions, no hints. About 5 minutes.