Logarithm Calculator
Math Class 11 and 12
Common Logarithms
log10(x)
Common log (base 10)
ln(x)
Natural log (base e)
logb(x) = ln(x)/ln(b)
Change of base
e = 2.71828
Euler number
Logarithms: The Complete Guide
Logarithms are one of the most important mathematical concepts, serving as the inverse operation to exponentiation. If exponentiation asks what is the result when we raise a base to a power, logarithms ask the complementary question: what exponent do we need to raise a base to in order to get a given number? This inverse relationship makes logarithms essential for solving exponential equations, analyzing exponential phenomena, and working with logarithmic scales that appear throughout science and engineering.
Definition and Basic Concept
A logarithm answers the question: To what power must we raise a given base to obtain a specific number? Mathematically, if b to the power y equals x, then log base b of x equals y. The base b must be positive and not equal to 1. This fundamental relationship between exponentials and logarithms means that every logarithmic equation can be rewritten in exponential form and vice versa.
Examples:
- Since 2 cubed = 8, we have log base 2 of 8 = 3
- Since 10 squared = 100, we have log(100) = 2 (base 10 is implied when not written)
- Since e to the power 1 = e, we have ln(e) = 1 (natural logarithm)
Types of Logarithms
- Common Logarithm (log or log10): Base 10, widely used in science, engineering, and on calculators
- Natural Logarithm (ln): Base e (approximately 2.71828), essential in calculus and higher mathematics
- Binary Logarithm (log2): Base 2, fundamental in computer science and information theory
- Any Base: Logarithms can have any positive base (except 1)
Fundamental Properties
logb(1) = 0 (any base to power 0 equals 1)
logb(b) = 1 (any base to power 1 equals itself)
logb(b^n) = n (logarithm undoes exponentiation)
b^(logb(x)) = x (exponentiation undoes logarithm)
Laws of Logarithms
These rules allow manipulation of logarithmic expressions:
Product Rule: logb(MN) = logb(M) + logb(N)
Quotient Rule: logb(M/N) = logb(M) - logb(N)
Power Rule: logb(M^n) = n x logb(M)
Change of Base: logb(x) = log10(x) / log10(b) = ln(x) / ln(b)
Example using the power rule: log(1000) = log(10^3) = 3 x log(10) = 3 x 1 = 3
Solving Logarithmic Equations
Example 1: Basic logarithmic equation
log base 2 of x = 5
Converting to exponential form: x = 2^5 = 32
Example 2: Equation with logarithm on both sides
log base 3 of x = log base 3 of 9 + 2
log base 3 of x = 2 + 2 = 4
x = 3^4 = 81
Example 3: Using logarithm properties
log(x) + log(x-3) = 1
Using product rule: log(x(x-3)) = 1
Converting: x(x-3) = 10^1 = 10
x^2 - 3x = 10
x^2 - 3x - 10 = 0
Factoring: (x-5)(x+2) = 0
x = 5 or x = -2 (reject -2 since log requires positive numbers)
Answer: x = 5
Real-World Applications
- Richter Scale: Earthquake magnitude = log10(energy/10^4.4), each whole number represents about 31.6 times more energy
- pH Chemistry: pH = -log[H+], measuring acidity of solutions
- Sound (Decibels): Decibels = 10 x log10(I/I0), measuring sound intensity
- Finance: Compound interest uses logarithms to solve for time: t = ln(A/P)/n x ln(1+r)
- Computer Science: Algorithm complexity O(log n), binary search, tree operations
- Information Theory: Bits = log2(N) to represent N different values
- Radioactive Decay: Half-life calculations use natural logarithms
- Population Growth: Modeling exponential growth and finding doubling time
Graphing Logarithmic Functions
The graph of y = logb(x) has distinctive characteristics:
- Domain: x greater than 0 (only positive numbers have real logarithms)
- Range: All real numbers (-infinity to +infinity)
- Y-intercept: None (the graph never crosses the y-axis)
- X-intercept: (1, 0) since logb(1) = 0
- Passes through: (b, 1) since logb(b) = 1
- Asymptote: Vertical asymptote at x = 0
- Monotonic: Always increasing when b greater than 1, always decreasing when 0 less than b less than 1
Natural Logarithm: Why e is Special
The natural logarithm (base e) appears naturally in calculus because the derivative of ln(x) is simply 1/x. The constant e (approximately 2.71828) is an irrational number that emerges in many contexts: compound interest limits, probability (normal distribution), and natural growth/decay processes. Euler identity e^(i pi) + 1 = 0 is considered one of the most beautiful equations in mathematics.
e = lim(n to infinity) (1 + 1/n)^n approximately equals 2.71828...
This limit appears when calculating continuously compounded interest
Problem-Solving Tips
- Always check that arguments of logarithms are positive
- Convert to exponential form when stuck
- Use logarithm properties to combine or expand expressions
- For equations with different bases, use change of base formula
- Remember that logarithms convert multiplication to addition and exponentiation to multiplication