MathLabs
TheoremProved

The change-of-base formula

Statement

For valid bases b,c>0b,c>0, b,c≠1b,c\ne 1, and x>0x>0, log⁡bx=log⁡cxlog⁡cb\log_b x = \dfrac{\log_c x}{\log_c b}.

Why is it true?

Calculators and computers only implement a logarithm in one or two fixed bases; this formula lets any base be computed from those, by expressing "how many times to multiply by bb" in terms of "how many times to multiply by cc".

Proof sketch

Let y=log⁡bxy=\log_b x. By definition of logarithm, this means by=xb^y=x.

By definition of logarithm again (applied to base cc this time), bb itself can be written as b=clog⁡cbb=c^{\log_c b}. Substitute this into by=xb^y=x: (clog⁡cb)y=x  ⟹  cylog⁡cb=x,(c^{\log_c b})^y = x \;\Longrightarrow\; c^{y\log_c b} = x, using the power-of-a-power rule (cm)y=cmy(c^m)^y=c^{my}.

Take log⁡c\log_c of both sides. By definition, cylog⁡cb=xc^{y\log_c b}=x means exactly log⁡cx=ylog⁡cb\log_c x = y\log_c b (the same injectivity fact au=av⇒u=va^u=a^v \Rightarrow u=v used in the product-law proof guarantees this step is valid, not just "plausible").

Since c≠1c\ne 1 we have log⁡cb≠0\log_c b \ne 0 (because c0=1≠bc^0=1\ne b), so we may divide both sides by log⁡cb\log_c b: y=log⁡cxlog⁡cb.y = \dfrac{\log_c x}{\log_c b}. Recalling y=log⁡bxy=\log_b x gives exactly log⁡bx=log⁡cxlog⁡cb\log_b x = \dfrac{\log_c x}{\log_c b}.

Topics that use this theorem

Step-by-step proofs

No step-by-step proof yet for this theorem.