A logarithm is the inverse operation to exponentiation. The logarithm of a given number x is the exponent to which another fixed number, the base b, must be raised to produce that number x. It answers the question, "To what power must the base be raised to get the number?"
Where b is the base, y is the exponent, and x is the argument. The following conditions must be met:
The graph of a logarithmic function y = log_b(x) has a characteristic shape. For a base b > 1, the graph increases slowly from negative infinity, passes through the point (1, 0), and continues to increase. For a base 0 < b < 1, the graph is a reflection across the x-axis and is decreasing. Key features include:
| Property | Formula | Explanation |
|---|---|---|
| Product Rule | \( \log_b(N_1 N_2) = \log_b(N_1) + \log_b(N_2) \) | The logarithm of a product is the sum of the logarithms of its factors. |
| Quotient Rule | \( \log_b \left(\frac{N_1}{N_2}\right) = \log_b(N_1) - \log_b(N_2) \) | The logarithm of a quotient is the difference of the logarithms. |
| Power Rule | \( \log_b(N^{\alpha}) = \alpha \log_b N \) | The logarithm of a number raised to an exponent is the exponent times the logarithm of the number. |
| Change of Base | \( \log_a N = \frac{\log_b N}{\log_b a} \) | Allows conversion from one logarithmic base to another. |
| Reciprocal Rule | \( \log_b a = \frac{1}{\log_a b} \) | Swapping the base and argument of a logarithm results in its reciprocal. |
| Log of 1 | \( \log_b 1 = 0 \) | The logarithm of 1 to any valid base is always zero, since b⁰ = 1. |
| Log of Base | \( \log_b b = 1 \) | The logarithm of a number to the same base is always one, since b¹ = b. |
We can derive the product rule, \( \log_b(xy) = \log_b(x) + \log_b(y) \), from the laws of exponents.
Step 1: Let \( m = \log_b(x) \) and \( n = \log_b(y) \). Convert these logarithmic expressions into their equivalent exponential forms.
Step 2: Multiply x and y together.
Step 3: Apply the exponent rule for multiplication, which states that \( b^m \cdot b^n = b^{m+n} \).
Step 4: Convert this exponential equation back into logarithmic form.
Step 5: Substitute the original expressions for m and n back into the equation to arrive at the product rule.
Science & Research: Logarithms are fundamental to scales that measure wide-ranging quantities. Examples include the pH scale for acidity, the Richter scale for earthquake magnitude, and the stellar magnitude scale for brightness. They linearize exponential data, making trends easier to analyze.
Engineering & Signal Processing: The decibel (dB) scale, used to measure sound intensity and signal power, is logarithmic. This allows for a manageable representation of the vast range of human hearing and signal strengths. Logarithmic plots (Bode plots) are essential for analyzing the frequency response of electronic circuits and control systems.
Computer Science & Information Theory: The complexity of many algorithms, such as binary search, is expressed using logarithms (e.g., O(log n)). In information theory, entropy, which measures the uncertainty or information content, is calculated using logarithms, forming the basis for data compression algorithms.
Finance & Economics: Logarithms are used to model and analyze phenomena with exponential growth, such as compound interest and population growth. Logarithmic returns are often used in financial analysis because they are time-additive.
Earthquake Measurement: The Richter scale uses a base-10 logarithm to measure the magnitude of earthquakes. This means a magnitude 6 earthquake has 10 times the shaking amplitude of a magnitude 5, and 100 times that of a magnitude 4. The logarithmic scale makes it possible to represent a vast range of energies on a simple numerical scale.
Music and Pitch: The perception of musical pitch is logarithmic. Each octave on a piano represents a doubling of frequency. The distance between notes (semitones) corresponds to a constant *ratio* of frequencies, not a constant difference. This logarithmic relationship is why musical scales sound harmonious to our ears.
Photography: The f-stop scale on a camera lens is logarithmic. Each 'stop' up (e.g., from f/2.8 to f/4) halves the amount of light entering the camera. This allows photographers to make consistent, predictable adjustments to exposure across a wide range of lighting conditions.
| Notation | Name | Base | Primary Use |
|---|---|---|---|
| `log(x)` | Common Logarithm | 10 | Scientific scales (pH, Richter), engineering, general computation |
| `ln(x)` | Natural Logarithm | e ≈ 2.718 | Calculus, continuous growth models, physics, advanced mathematics |
| `log₂(x)` | Binary Logarithm | 2 | Computer science, information theory, algorithm analysis |
Incorrectly distributing a logarithm over a sum or difference. Remember that `log_b(x + y)` is NOT equal to `log_b(x) + log_b(y)`. The product rule applies to the logarithm of a product, not a sum.
Forgetting domain restrictions. The argument of a logarithm must always be positive (`x > 0`). When solving equations, always check your final answers to ensure they don't result in taking the logarithm of zero or a negative number.
Mixing up the change of base formula. The correct formula is `log_b(x) = log_a(x) / log_a(b)`. A common error is to flip the numerator and denominator.