3.2.6 · D3Exponentials & Logarithms

Worked examples — Logarithm — definition as inverse of exponential

3,742 words17 min readBack to topic

Before anything else, one habit. Whenever you see , silently translate it into a question:


The scenario matrix

Here is the full landscape of cases a logarithm problem can live in. Every cell is covered by an example further down.

# Case class What makes it distinct Covered by
A Answer is a positive whole number , base ⇒ exponent positive Example 1
B Answer is zero input exactly — the pivot point Example 2
C Answer is negative input , so exponent dips below Example 3
D Answer is a fraction is a root of the base Example 4
E Base between 0 and 1 (decreasing) signs flip vs. the usual intuition Example 5
F Degenerate input , or the edges and Example 6
G Degenerate base or — no log exists at all Example 6b
H Cancellation identities in disguise nested / Example 7
I Real-world word problem pick the base, translate the story Example 8
J Exam twist — solve for the base the base is the unknown, not the exponent Example 9

We will draw one picture that shows cases A–C and F together on the same graph, because they are all "read a height off the exponential curve and report the exponent" — they only differ in where on the curve you land.

Figure — Logarithm — definition as inverse of exponential

Look at the curve above (it is ). Each labelled dot is one of the inputs we are about to read: the orange dot labelled "Case A" is a point above height (positive exponent); the plum dot labelled "Case B" sits at height (exponent ); the brown dot labelled "Case C" is below height but still above the dashed floor (negative exponent); and the black ✕ labelled "Case F" sits on the line that the curve only approaches and never reaches — so no dot of the curve lands there and the log is undefined. The log just reads the horizontal position of each point on the curve.

Because a log is the inverse of the exponential, we can also draw the log curve directly. The next figure plots — the reflection of in the line — so you can see the answers of every case as a single smooth curve.

Figure — Logarithm — definition as inverse of exponential

On this log curve the horizontal axis is now the input and the vertical axis is the answer . Notice both ends: as slides toward from the right the curve plunges down to (the vertical asymptote , matching Case F's shrinking input), and as grows without bound the curve keeps rising toward — slowly, but forever. Those two "ends" are the complete story of where log values can go.


The worked examples


Recall Active recall — cover the answers
  • ? :::
  • ? :::
  • ? :::
  • ? :::
  • ? :::
  • Why is undefined? ::: never equals ; it only approaches it (asymptote).
  • What does do as ? ::: It rises to , but slowly (input must double to add ).
  • Why is undefined? ::: always, so no power gives (base is illegal).
  • Why is undefined? ::: A negative base flips sign / goes complex, so it is not one-to-one.
  • Simplify . :::
  • Solve . :::

Connections

base illegal

base ok

y not positive

y greater 1

y equals 1

y between 0 and 1

y is a root of b

log_b y asks b to what power is y

Check base legal b greater 0 and b not 1

Illegal base undefined

Check input y greater 0

Illegal input undefined

positive answer

answer is zero

negative answer

fractional answer

base under 1 flips the sign