Calculate Logarithm

Enter a positive number and base to calculate the logarithm:

logb(x) = y means by = x
Change of base formula: logb(x) = ln(x) ÷ ln(b)

What is a Logarithm?

A logarithm is the inverse operation of exponentiation. If b^y = x, then log_b(x) = y. The logarithm tells you what exponent you need to raise the base to in order to get the number.

Mathematical Notation

logb(x) = y
means by = x

Common Logarithms

๐Ÿ“Š Common Logarithm

Base 10: logโ‚โ‚€(x)
Example: logโ‚โ‚€(100) = 2 because 10ยฒ = 100

๐ŸŒฟ Natural Logarithm

Base e: ln(x)
Example: ln(e) = 1 because eยน = e

๐Ÿ’ป Binary Logarithm

Base 2: logโ‚‚(x)
Example: logโ‚‚(8) = 3 because 2ยณ = 8

Logarithm Rules (Laws)

๐Ÿ“ˆ Product Rule

log_b(x ร— y) = log_b(x) + log_b(y)
Example: logโ‚โ‚€(100 ร— 1000) = logโ‚โ‚€(100) + logโ‚โ‚€(1000) = 2 + 3 = 5

โž— Quotient Rule

log_b(x รท y) = log_b(x) - log_b(y)
Example: logโ‚โ‚€(1000 รท 10) = logโ‚โ‚€(1000) - logโ‚โ‚€(10) = 3 - 1 = 2

โšก Power Rule

log_b(x^n) = n ร— log_b(x)
Example: logโ‚‚(8ยณ) = 3 ร— logโ‚‚(8) = 3 ร— 3 = 9

๐Ÿ”„ Change of Base

log_b(x) = log_c(x) รท log_c(b)
Example: logโ‚‚(8) = ln(8) รท ln(2) โ‰ˆ 2.079 รท 0.693 โ‰ˆ 3

Special Values

Expression Value Reason
log_b(1) 0 bโฐ = 1 for any base b
log_b(b) 1 bยน = b
log_b(b^n) n b^n = b^n
logโ‚โ‚€(10) 1 10ยน = 10
ln(e) 1 eยน = e
logโ‚‚(2) 1 2ยน = 2

Applications of Logarithms

๐Ÿงช pH Scale

pH = -logโ‚โ‚€[Hโบ]
Measures acidity of solutions

๐ŸŒ‹ Richter Scale

Earthquake magnitude uses logarithmic scale

๐ŸŽต Decibel Scale

dB = 10 ร— logโ‚โ‚€(Pโ‚/Pโ‚€)
Sound intensity measurement

๐Ÿ’ป Information Theory

Entropy calculations use logโ‚‚

Exponential vs Logarithmic Relationship

Exponential Form Logarithmic Form Example
2ยณ = 8 logโ‚‚(8) = 3 2 to what power equals 8?
10ยฒ = 100 logโ‚โ‚€(100) = 2 10 to what power equals 100?
e^0 = 1 ln(1) = 0 e to what power equals 1?
5^2 = 25 logโ‚…(25) = 2 5 to what power equals 25?

๐Ÿ’ก Pro Tip: Logarithms are extremely useful for working with very large or very small numbers. They convert multiplication and division into addition and subtraction, making complex calculations much simpler!

Logarithm Calculation Methods

  • Direct Calculation: Using built-in functions for common bases (logโ‚โ‚€, ln, logโ‚‚)
  • Change of Base: Convert any logarithm to natural logarithms using the formula log_b(x) = ln(x)/ln(b)
  • Scientific Calculator: Most calculators have dedicated logarithm buttons
  • Log Tables: Historical method using pre-computed logarithm tables

Common Logarithm Values

Number logโ‚โ‚€(x) ln(x) logโ‚‚(x)
1 0 0 0
2 0.3010 0.6931 1
10 1 2.3026 3.3219
e (โ‰ˆ2.718) 0.4343 1 1.4427
100 2 4.6052 6.6439
1000 3 6.9078 9.9658