Visual walkthrough — Change of base formula — proof
Before any symbol, one promise: a logarithm is a question. When we write we are asking "what power must I raise the base to, in order to get the number ?" The answer is a power (an exponent), and that power need not be a whole number.
Step 0 — The single seed fact (a picture of what a log is)
WHAT. The whole proof grows from one fact, valid for :
Term by term: is the base, is the exponent (any real number, possibly negative), is the result. The two-headed arrow means these are the same sentence written two ways.
WHY. We cannot do algebra on a question. But we can do algebra on the exponential form . This flip is our only tool for turning a log into something we can push around.
PICTURE. The left panel shows the log as a "what power?" question; the right panel shows the smooth ramp with whole-number landmarks dotted on it — the ramp fills in every value in between.

See Definition of a logarithm — this seed fact is the one thing you must trust.
Step 1 — Name the mystery
WHAT. Let Here is just a nickname for the number we are hunting — a signed position on the ramp.
WHY. A mystery you can name is a mystery you can chase. Calling the answer lets us write equations about it instead of staring at the log symbol. Nothing has been assumed — is defined to be .
PICTURE. We mark the unknown signed height on the smooth ramp from Step 0, including the region where dips below zero.

Step 2 — Flip to exponential form
WHAT. Apply the seed fact to :
WHY. This is the flip promised in Step 0. Logs are hard to manipulate directly; exponentials are not, because a log of any base can be dropped onto a power and it will slide the exponent down (that's the power law, coming in Step 4). We convert now so that later we have an exponent to grab.
PICTURE. The exponent is the horizontal position on the smooth ramp whose height reaches . When that position sits to the left of zero (). This is Exponential functions read backwards.

Step 3 — Measure both sides with a NEW ruler ()
WHAT. Take of both sides:
Term by term: is our new ruler. For this new ruler to be a valid logarithm at all, its base must obey the very same domain rules from the top of the page: and . Any such works, but in practice we pick a base our calculator understands — usually or the natural log base . We apply to the left side and the right side ; both are positive (Step 2), so both are legal arguments.
WHY. Equality is a balance scale: if you do the same thing to both pans, it stays level. We choose the operation deliberately — it is exactly the tool that will let us peel the exponent off in the next step. Any other function (squaring, adding) would keep trapped in the exponent.
PICTURE. Both sides of the equation get "photographed" through the same base- measuring lens.

Step 4 — The power law drags the exponent down
WHAT. Use the power law :
Term by term: the exponent has jumped down in front to become a multiplier; is a plain fixed number (the signed height of the old base on the new ruler); is another plain number (the signed height of on the new ruler).
WHY. This is the heartbeat of the whole proof. A logarithm's superpower is turning powers into products — see Laws of logarithms. That is why we bothered flipping to exponential form in Step 2: so that Step 4 could liberate from the roof of the power and set it down as an ordinary factor we can divide away.
PICTURE. The little exponent literally slides down and becomes a coefficient.

Step 5 — Isolate (and check the division is legal)
WHAT. Divide both sides by :
WHY — and the degenerate case. You may only divide by something that is not zero. When is ? Exactly when , because forces the argument to be . But a logarithm's base is never allowed to be (a base of can never climb — ), so is baked into the rules. Hence and the division is always safe. No forbidden move ever happens.
PICTURE. The scale is rebalanced by cutting both pans by the same factor ; the panel also shows the "danger zone" crossed out.

Step 6 — Remember what was
WHAT. In Step 1 we set . Substitute it back:
Term by term: argument on top, old base on the bottom, and the new base on both logs. Valid for ; ; and any new base .
WHY. The nickname has done its job; we restore the real name so the result is about the thing we actually wanted.
PICTURE. The final formula with each slot colour-coded to the role it plays.

Step 7 — Why any new base gives the same answer
WHAT. Pick or or (each a valid base, and ) — the value of does not change. Concretely for :
WHY. Changing multiplies both top and bottom by the same stretch factor, and a shared factor cancels. This is the "same power, different ruler" idea: rescaling the ruler cannot change how many 2's fit into 8. This is also what makes solving exponential equations possible on a real calculator.
PICTURE. Three rulers of different spacing, same measured ratio.

The one-picture summary
This single figure compresses all seven steps into one flow: seed fact → name → flip → measure → power law → divide → restore, with the "same ruler cancels" idea riding alongside.

Recall Feynman: tell the whole walkthrough to a friend
"I want — what power turns 2 into 8 — but my calculator only speaks base 10. So I give the unknown answer a name, . Saying ' is that log' is the same as saying . Now I photograph both sides through my base-10 camera: . The magic law lets the exponent slide down front: . I divide by — safe, because base 2 isn't 1 — and get . Put the name back: . Two reminders as I go: the power needn't be a whole number (for it's about , landing between the ramp's whole steps), and it can be negative (for it's ). And if my friend used base instead, they'd get the identical answer, because switching rulers stretches top and bottom the same amount and it cancels."
Solutions
Connections
- Change of base formula — proof — the parent this walkthrough illustrates.
- Definition of a logarithm — the Step 0 seed fact and the domain rules.
- Exponential functions — the Step 2 flip.
- Laws of logarithms — the Step 4 power law.
- Natural logarithm ln — the usual new base .
- Solving exponential equations — where this translator earns its keep.