What is a Logarithm? (Intuition & The Inverse of Powers)
A logarithm is the mathematical inverse of exponentiation. If exponentiation asks: "What number do I get when I raise base b to power y?" (e.g., 23 = 8), a logarithm reverses the question: "To what power must I raise base b to produce number x?". In logarithmic notation, this is written as logb(x) = y, which is mathematically identical to by = x.
Logarithms turn massive exponential ranges into manageable, linear scales. Two special bases dominate modern mathematics and science:
• Common Logarithm (log x or log10 x): Uses base 10, foundational to decibels, earthquake scales, and chemistry pH.
• Natural Logarithm (ln x or loge x): Uses Euler's number e ≈ 2.71828, foundational to calculus, biological growth, and continuous compounding interest.
CalcSolver's Logarithm Calculator evaluates log10, natural log (ln), binary log (log2), and arbitrary base logarithms with verified step-by-step change-of-base conversions.
Governing Logarithm Laws & Identities
Logarithmic manipulations follow four core algebraic properties:
How to Calculate Logarithms by Hand (Step-by-Step Guide)
- Set Logarithm Equal to Variable y: Write logb(x) = y.
- Convert to Exponential Form: Rewrite the statement as by = x.
- Express Both Sides with Common Bases: If x can be rewritten as a power of b (e.g., log2(32) ⇒ 2y = 25), equate the exponents directly: y = 5.
- Apply Change of Base for Non-Standard Bases: If base b is not a clean power (e.g., log3(50)), calculate: ln(50) / ln(3) ≈ 3.912 / 1.0986 ≈ 3.56.
- Remember Domain Restrictions: The argument x must be strictly positive (x > 0). Logarithms of zero or negative numbers are undefined on the real number line.
3 In-Depth Worked Examples with Complete Solutions
Example 1: Exact Evaluation via Base Powers
Problem: Evaluate log5(125) and log2(1/16).
Step-by-Step Solution:
- Part 1: Set 5y = 125. Since 53 = 125, y = 3. Therefore, log5(125) = 3.
- Part 2: Set 2y = 1/16. Rewrite 1/16 as 1 / 24 = 2-4.
- Equating exponents: y = -4. Therefore, log2(1/16) = -4.
Final Results: log5(125) = 3, and log2(1/16) = -4
Example 2: Expanding Complex Logarithmic Expressions
Problem: Expand ln[(x3√y) / z5] into individual logarithmic terms.
Step-by-Step Solution:
- Apply quotient rule: ln(x3√y) - ln(z5).
- Apply product rule to numerator: ln(x3) + ln(y1/2) - ln(z5).
- Apply power rule to bring down all exponents: 3·ln(x) + (1/2)·ln(y) - 5·ln(z).
Expanded Form: 3 ln(x) + (1/2) ln(y) - 5 ln(z)
Example 3: Real-World Chemistry (pH Acidity Calculation)
Scenario: In chemistry, pH is defined as pH = -log10[H+], where [H+] is hydrogen ion molar concentration. A lemon juice sample has [H+] = 0.005 M (5.0 × 10-3 moles/liter). Calculate the pH and classify its acidity.
Step-by-Step Solution:
- Formula: pH = -log10(5.0 × 10-3).
- Apply product rule: pH = -[log10(5.0) + log10(10-3)].
- Calculate components: log10(5.0) ≈ 0.699, and log10(10-3) = -3.
- Sum: pH = -[0.699 - 3] = -[-2.301] = 2.30.
Final pH: The lemon juice has a pH of 2.30 (strongly acidic).
Common Logarithm Mistakes to Avoid
- Distributing Across Arguments: log(A + B) does NOT equal log(A) + log(B)! The product rule states log(A · B) = log(A) + log(B).
- Canceling Arguments in Quotients: log(A) / log(B) does NOT equal log(A - B) or log(A/B). log(A)/log(B) is the Change of Base formula.
- Evaluating Negative Arguments: log(-5) is undefined in real numbers because no positive base raised to any real power can yield a negative number.
- Confusing ln and log: ln denotes natural logarithm (base e), while log typically denotes common logarithm (base 10). Using the wrong base changes numerical results significantly.
Real-World & Industry Applications
Logarithmic scales are indispensable across modern science: acoustic loudness decibels dB = 10 log10(I/I0), sound engineering audio equalizer curves, stellar luminosity astronomy magnitudes, and computer science algorithm time complexity (e.g., O(log n) binary search algorithms that search billions of records in just 30 comparisons).