Logarithms

Logarithms are the inverse of exponentiation. They answer the question: "To what power must we raise a base to get a certain number?" They are essential for solving equations where the variable is in the exponent.

Definition of a Logarithm

For b>0b \gt 0 and b1b \neq 1, the logarithmic form and exponential form are equivalent. Observe the relationship between y=bxy = b^x and y=logb(x)y = \log_b(x). They are reflections across the line y=xy = x.

Fundamental Equivalence

The relationship between logarithmic and exponential forms.

logb(x)=y    by=x\log_b(x) = y \iff b^y = x

Variables

SymbolDescriptionUnit
The base of the logarithm and exponent (b > 0, b ≠ 1)-
The argument of the logarithm, equal to the base raised to the power y-
The exponent, or the value of the logarithm-

Common Logarithm

A logarithm with base 1010, written as log(x)\log(x).

Natural Logarithm

A logarithm with base ee (2.718\approx 2.718), written as ln(x)\ln(x).

Note

Interact with the explorer below to visualize the relationship between logarithmic and exponential functions.

Logarithms & Exponentials Explorer

Base (b)2

Domain: x>0x > 0

Base: b>1b > 1

Asymptote: The log curve approaches x=0x = 0 (the y-axis) but never touches it, because by0b^y \neq 0.

Identity: blogb(x)=xb^{\log_b(x)} = x

Logarithmic Function

y=log2(x)y = \log_{2}(x)

Exponential Function

y=2xy = 2^x

Reflection Line

y=xy = x
xy

Properties of Logarithms

These properties allow us to expand or condense logarithmic expressions:

  • Product Rule: logb(xy)=logb(x)+logb(y)\log_b(x \cdot y) = \log_b(x) + \log_b(y)
  • Quotient Rule: logb(xy)=logb(x)logb(y)\log_b\left(\frac{x}{y}\right) = \log_b(x) - \log_b(y)
  • Power Rule: logb(xp)=plogb(x)\log_b(x^p) = p \cdot \log_b(x)
  • Change of Base: logb(a)=logc(a)logc(b)\log_b(a) = \frac{\log_c(a)}{\log_c(b)}

Note

Use the interactive sandbox below to experiment with the Laws of Logarithms. Select a rule and adjust the base and values to visually prove how expanding and condensing expressions yield the exact same numerical result.

Laws of Logarithms Sandbox

Expanded vs Condensed Values
Condensed Left Side
log10(105)\log_{10}(10 \cdot 5)
1.6990
Expanded Right Side
log10(10)+log10(5)\log_{10}(10) + \log_{10}(5)
1.6990
Adjust sliders to watch both condensed and expanded mathematical equations update in real-time, verifying logarithmic parity.

Solving Exponential and Logarithmic Equations

The core strategy for solving these equations relies heavily on using inverse operations to isolate the variable.

Procedure

For Exponential Equations (Variable in Exponent):

  1. Isolate the exponential expression.
  2. Take the logarithm (usually natural log, ln\ln) of both sides.
  3. Use the Power Rule (ln(xp)=pln(x)\ln(x^p) = p \cdot \ln(x)) to bring the variable down from the exponent.
  4. Solve for the variable algebraically.

Procedure

For Logarithmic Equations (Variable in Log Argument):

  1. Condense the expression into a single logarithm using log properties (Product/Quotient rules).
  2. Isolate the log expression.
  3. Rewrite the equation in its equivalent exponential form (e.g., logb(x)=y    by=x\log_b(x) = y \implies b^y = x).
  4. Solve for the variable.
  5. Check for extraneous solutions by ensuring your answer does not result in the log of a negative number or zero in the original equation.

Logarithmic Scale

A logarithmic scale is a way of displaying numerical data over a very wide range of values in a compact way. Each unit of distance on the scale represents a multiplication by the base, not an addition. It is often used for measuring the intensity of earthquakes (Richter scale), sound (decibels), or acidity (pH).

Logarithmic Scale Property

An increase of 11 unit on a base-1010 logarithmic scale means the measured quantity has multiplied by 1010.

L=log10(II0)L = \log_{10} \left( \frac{I}{I_0} \right)

Note

Explore the logarithmic scale by interacting with the simulation below.

Linear vs. Logarithmic Scale

1100M

Linear Scale

Value:

1.0k

Notice how the linear bar barely moves for small values, then shoots off completely for large ones.

Logarithmic Scale (Base 10)

log10(textValue):\\log_{10}(\\text{Value}):

3.0

The logarithmic scale grows proportionally to the exponent, compressing huge ranges into manageable numbers.

Order of Magnitude: An increase of +1+1 on a Base-10 logarithmic scale means the underlying value gets 10 times larger. An increase of +2+2 means it gets 100 times larger.

Richter Scale

A magnitude 6.0 earthquake has 10 times the wave amplitude of a 5.0.

Decibels (dB)

Every 10 dB increase represents a 10-fold increase in sound intensity.

pH Scale

A pH of 4 has 10 times the hydrogen ion concentration of pH 5.

Key Takeaways
  • The Core Idea: log\log is just an exponent. log10(100)=2\log_{10}(100) = 2 because 102=10010^2 = 100.
  • Domain Restriction: You cannot take the logarithm of zero or a negative number.
  • Product/Sum Connection: Logs turn multiplication into addition and division into subtraction.
  • Calculators: Use the Change of Base formula if your calculator only has log\log (base 1010) and ln\ln (base ee).