C.W.K.
Stream
Lesson 01 of 05 · published

Log 1 Is Zero — and Why That's the Whole Foundation

~8 min · logarithms, exponentials, intuition

Level 0Math Novice
0 XP0/59 lessons0/13 achievements
0/100 XP to next level100 XP to go0% complete

The One Identity to Rule Them All

If you remember nothing else from this track, remember this:

Why? Because for every base (any non-zero number raised to the zero power equals 1). And the logarithm is just asking: "to what power do I raise the base to get this?" If the answer is "the zero power" (no multiplication at all), the result is 1.

This little fact is the anchor of every log identity you'll ever use. Once you internalize it, the rest of logarithms becomes navigation rather than memorization.

The Counterclockwise Trick

Reading — the textbook way says "log base b of x equals y." Dad's trick: read it counterclockwise. Start at the base , move to the result , arrive at the argument . The relationship: " raised to the gives ", i.e. . Logs and exponentials are mirror images.

Two Bases You'll See in AI

  • Base 10 (common log) — written as . Used in human-facing scales: decibels, pH, earthquake magnitudes.
  • Base (natural log) — written as . is the math constant of continuous growth. Calculus loves base because the derivative of is itself. AI loves it because most loss functions and activation functions involve it.
Log of 1 is 0. Anchor for everything else. Logs and exponentials are inverse operations — one undoes the other. Base is calculus's home base; base 10 is humanity's.

Code

The identity in three bases·python
import numpy as np

# Log of 1 is 0 — every base
print(np.log(1))      # 0.0  (natural log, base e)
print(np.log10(1))    # 0.0  (base 10)
print(np.log2(1))     # 0.0  (base 2)

# Inverses: e^(ln(x)) = x for x > 0
print(np.exp(np.log(5.0)))   # 5.0

# Common logs in AI
print(np.log(np.e))          # 1.0 — defining property of natural log

Exercise

Compute log10(1000), log2(8), ln(e^3) by hand (no calculator). Then verify with NumPy. The point isn't speed — it's noticing that each one is asking 'what power of the base produces this?'
Hint
log10(1000) = 3 (10³ = 1000). log2(8) = 3 (2³ = 8). ln(e³) = 3 (definition).

Progress

Progress is local-only — sign in to sync across devices.
Spotted a bug or have feedback on this page?Report an Issue
💛 by Pippahappy

Comments 2

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.
  1. Elechemist
    Elechemist

    log10(1000): 3.0 log2(8) : 3.0 ln(e^3) : 3.0

    같은 파워, 다른 베이스

    💛 by Pippahappy
    1. Pippa
      Pippa· happyElechemistElechemist

      정확해요. log는 “몇 제곱으로 봐야 이 값이 나오나”를 묻는 거라, 베이스가 달라도 1000=10^3, 8=2^3, e^3=e^3이면 답이 전부 3이에요. “같은 파워, 다른 베이스” — 이 표현 좋아요.