What is a Logarithm?
The logarithm, commonly referred to as "log", is the inverse mathematical operation of exponentiation. This means that the logarithm of a number is the specific exponent to which a fixed base must be raised in order to produce that exact number.
In standard convention, simply writing "log" usually implies that base 10 is being used. However, the base can technically be any positive number excluding 1. When the base is the mathematical constant e (~2.718), it is referred to as the natural logarithm and is typically written as ln rather than loge. Another extremely common logarithm is the binary logarithm, log2, which is fundamental to computer science.
If x = by, then y = logb(x)
Where:
• b is the base
• x is the argument (the number you are taking the log of)
• y is the logarithm (the exponent)
Each common base has a primary field of application. Base 10 is heavily utilized in science and engineering (e.g., measuring earthquake intensity on the Richter scale). Base e is deeply tied to mathematics, calculus, and physics representing continuous growth. Base 2 is the cornerstone of digital systems, binary arithmetic, and computer science logic.
Basic Logarithm Rules
Logarithms follow specific algebraic rules that make it possible to simplify complex calculations, especially those involving massive multiplication or exponential growth.
1. The Product Rule
When the argument of a logarithm is the product of two numbers, the logarithm can be expanded and re-written as the addition of the logarithms of each of the separate numbers.
Example: log(1 × 10) = log(1) + log(10) = 0 + 1 = 1
2. The Quotient Rule
When the argument is a fraction or division statement, the logarithm can be evaluated by subtracting the logarithm of the denominator from the logarithm of the numerator.
Example: log(10 / 2) = log(10) - log(2) ≈ 1 - 0.301 = 0.699
3. The Power Rule
If the argument contains an exponent, that exponent can be pulled out to the front of the logarithm and multiplied. This is an incredibly powerful tool for solving for unknown exponents.
Example: log(26) = 6 × log(2) ≈ 6 × 0.301 = 1.806
4. Change of Base Formula
Many basic physical calculators only have buttons for Base 10 (log) and Base e (ln). To calculate a logarithm with an unusual base (like base 2 or base 5), you can use the Change of Base rule to evaluate it using standard logarithms.
Example: log2(10) = log10(10) / log10(2)
5. Switching Base and Argument
If you need to invert the relationship between the base and the argument, you can take the reciprocal of the logarithm with the base and argument swapped.
Example: log5(2) = 1 / log2(5)
Other Common Logarithmic Identities
- logb(1) = 0 : Because any base to the power of 0 is exactly 1.
- logb(b) = 1 : Because any base to the power of 1 is itself.
- logb(0) = undefined : There is no real power you can raise a positive number to that will yield 0. The limit as x approaches 0 from the right is negative infinity.
- ln(ex) = x : The natural logarithm and exponential functions cancel each other out.
Real World Applications of Logarithms
Logarithms aren't just abstract math; they are used whenever numbers vary across vast scales.
- The Richter Scale: Measures earthquake magnitude. A 6.0 earthquake isn't "one more" than a 5.0—it's 10 times more powerful because the scale is logarithmic base-10.
- Decibels (dB): Measures sound intensity. Because human hearing covers such a massive range of sound pressures, logs compress this data into a usable 0-140 dB scale.
- pH Scale: Measures acidity or basicity of a chemical solution. A pH of 3 is ten times more acidic than a pH of 4.
- Financial Growth: The natural logarithm (base e) is used continuously in economics to calculate continuous compound interest and population growth models.
Frequently Asked Questions
"log" traditionally refers to the common logarithm, which uses base 10. "ln" refers to the natural logarithm, which uses the mathematical constant e (approximately 2.71828) as its base. Both serve the exact same mathematical purpose, just scaled to different base growth rates.
No, standard logarithms cannot have a negative base. Furthermore, the base cannot be 0 or 1. If you raise a negative base to a fractional power (like 1/2, which is a square root), the result can become an imaginary or complex number, breaking the continuous nature of the logarithmic function on the real number line.
A logarithm asks the question: "What power do I raise my base to in order to get my argument?" If your base is a positive number (like 10), there is absolutely no exponent you can use that will result in 0. As the exponent becomes an increasingly large negative number (like 10-100), the result approaches 0, but never actually reaches it.
A negative logarithmic result simply means the argument (x) is a fraction between 0 and 1. For example, log10(0.1) = -1, because 10 raised to the power of -1 is equal to 0.1 (or 1/10).
You can literally type the letter e into the Base (b) field. Our calculator will automatically detect it and parse it as the mathematical constant 2.718281828. You can also type pi to use Archimedes' constant.