✦ScienexySCIENCE KNOWLEDGE LIBRARY
General science · SCI-FORM-ALG-032

Change-of-Base Formula for Logarithms

The change-of-base formula expresses a logarithm with one base in terms of logarithms with another valid base.

\(log_{\mathrm{b}}(x) = log_{\mathrm{c}}(x) / log_{\mathrm{c}}(b)\)

What this formula means

Definition

The change-of-base formula expresses a logarithm with one base in terms of logarithms with another valid base.

Interpretation

A logarithm can be evaluated using any convenient logarithmic base, provided both the argument and original base satisfy the logarithm's domain requirements.

Mathematical Significance

The formula allows logarithms to be calculated using common logarithms or natural logarithms, which is particularly useful when a calculator does not directly support the required base.

Special Cases

Common Logarithm

log_b(x) = log₁₀(x) / log₁₀(b).

Natural Logarithm

log_b(x) = ln(x) / ln(b).

Same Base

If c = b, then log_b(x) = log_b(x)/log_b(b) = log_b(x).

Scientific principle

Principle

Inverse Relationship Between Exponentiation and Logarithms

Derivation

StepExplanationExpression

1

Let the logarithm of x to base b be y.

y = log_b(x)

2

Rewrite the logarithmic equation in exponential form.

b^y = x

3

Take logarithms of both sides using another valid base c.

log_c(b^y) = log_c(x)

4

Apply the power rule of logarithms.

y log_c(b) = log_c(x)

5

Divide by log_c(b), which is non-zero because b is not 1.

y = log_c(x)/log_c(b)

6

Replace y with its original logarithmic expression.

log_b(x) = log_c(x)/log_c(b)

Result

A logarithm can be converted from one valid base to another by dividing the logarithm of its argument by the logarithm of its original base.

Variables and their meanings

SymbolMeaningDescription

b

Original base

The base of the logarithm being converted.

c

New base

The valid logarithmic base used to perform the conversion.

x

Logarithmic argument

The positive number whose logarithm is being calculated.

log_b(x)

Original logarithm

The logarithm of x to base b.

log_c(x)

Converted numerator

The logarithm of x using the new base c.

log_c(b)

Conversion denominator

The logarithm of the original base using the new base.

SI units and conversions

Si Unit

Dimensionless

Dimensional Formula

Dimensionless

Unit Explanation

Logarithms are dimensionless mathematical quantities. Their arguments must be dimensionless ratios or numerical values interpreted consistently.

Unit Conversions

No items supplied.

Conditions of use

  • The original base b must be positive and different from 1.

  • The new base c must be positive and different from 1.

  • The argument x must be positive in the real logarithm system.

  • The denominator log_c(b) must be non-zero.

  • The same new base must be used in the numerator and denominator.

Limitations and assumptions

  • The formula does not define real logarithms of non-positive arguments.

  • A logarithm with base 1 is undefined.

  • A base of zero or a negative real base is not valid for ordinary real logarithms.

  • Numerical calculations may be affected by rounding errors when the denominator is very close to zero.

Step-by-step worked examples

ProblemGivenSolutionAnswer

Evaluate log₂(8) using natural logarithms.

  • b = 2

  • x = 8

  • c = e

StepExplanationCalculation

1

Apply the natural-logarithm change-of-base formula.

log₂(8) = ln(8)/ln(2)

2

Use the fact that 8 = 2³.

ln(8) = ln(2³) = 3ln(2)

3

Simplify the ratio.

3ln(2)/ln(2) = 3

3

Evaluate log₅(25) using common logarithms.

  • b = 5

  • x = 25

  • c = 10

StepExplanationCalculation

1

Apply the change-of-base formula.

log₅(25) = log₁₀(25)/log₁₀(5)

2

Use 25 = 5².

log₁₀(25) = 2log₁₀(5)

3

Simplify.

2log₁₀(5)/log₁₀(5) = 2

2

Real-world applications

ApplicationExplanation

Scientific Calculators

The formula allows logarithms with arbitrary valid bases to be calculated using common or natural logarithm functions.

Computer Science

Changing logarithmic bases is useful when analysing algorithms whose growth rates use different logarithmic bases.

Information Theory

Changing the logarithm base changes the unit used to measure information, such as bits or nats.

Scientific Modelling

The formula helps transform logarithmic equations into forms suitable for numerical computation.

Formula Meaning

Definition

The change-of-base formula expresses a logarithm with one base in terms of logarithms with another valid base.

Interpretation

A logarithm can be evaluated using any convenient logarithmic base, provided both the argument and original base satisfy the logarithm's domain requirements.

Mathematical Significance

The formula allows logarithms to be calculated using common logarithms or natural logarithms, which is particularly useful when a calculator does not directly support the required base.

Special Cases

Common Logarithm

log_b(x) = log₁₀(x) / log₁₀(b).

Natural Logarithm

log_b(x) = ln(x) / ln(b).

Same Base

If c = b, then log_b(x) = log_b(x)/log_b(b) = log_b(x).

Sources and further reading

No source has been supplied for this item yet. Treat the claim as needing editorial verification.

← Back to Formula Hub · Suggest a correction or source