Home Blog Algebra Logarithms Explained for Beginners
On this page The definition The three log laws Change of base Solving exponential equations Where logs appear Common mistakes Practice questions Frequently asked questions
A logarithm answers the question: what power do I raise the base to, to get this number? Since 10 3 = 1000 10^3 = 1000 1 0 3 = 1000 , we write log 10 1000 = 3 \log_{10} 1000 = 3 log 10 1000 = 3 . Logarithms undo exponents, turn multiplication into addition, and let you solve equations where the unknown is in the power.
The definition
log b x = y ⟺ b y = x \log_b x = y \iff b^y = x log b x = y ⟺ b y = x
Exponential form
Log form
10 3 = 1000 10^3 = 1000 1 0 3 = 1000
log 10 1000 = 3 \log_{10} 1000 = 3 log 10 1000 = 3
2 6 = 64 2^6 = 64 2 6 = 64
log 2 64 = 6 \log_2 64 = 6 log 2 64 = 6
5 0 = 1 5^0 = 1 5 0 = 1
log 5 1 = 0 \log_5 1 = 0 log 5 1 = 0
e 1 = e e^1 = e e 1 = e
ln e = 1 \ln e = 1 ln e = 1
The natural log ln x \ln x ln x uses base e ≈ 2.71828 e \approx 2.71828 e ≈ 2.71828 . On most calculators, "log" means base 10.
The three log laws
log b ( x y ) = log b x + log b y \log_b(xy) = \log_b x + \log_b y log b ( x y ) = log b x + log b y
log b ( x y ) = log b x − log b y \log_b\left(\frac{x}{y}\right) = \log_b x - \log_b y log b ( y x ) = log b x − log b y
log b ( x k ) = k log b x \log_b(x^k) = k\log_b x log b ( x k ) = k log b x
Example: log 2 8 + log 2 4 = log 2 32 = 5 \log_2 8 + \log_2 4 = \log_2 32 = 5 log 2 8 + log 2 4 = log 2 32 = 5 . Check: 3 + 2 = 5 3 + 2 = 5 3 + 2 = 5 ✓.
Change of base
Calculators usually only have log 10 \log_{10} log 10 and ln \ln ln . For any other base:
log b x = ln x ln b \log_b x = \frac{\ln x}{\ln b} log b x = ln b ln x
Example: log 3 50 = ln 50 ln 3 ≈ 3.912 1.0986 ≈ 3.561 \log_3 50 = \frac{\ln 50}{\ln 3} \approx \frac{3.912}{1.0986} \approx 3.561 log 3 50 = l n 3 l n 50 ≈ 1.0986 3.912 ≈ 3.561 . Check: 3 3.561 ≈ 50 3^{3.561} \approx 50 3 3.561 ≈ 50 ✓.
Solving exponential equations
Solve 2 x = 1024 2^x = 1024 2 x = 1024 . Take logs of both sides and use the power law:
x = log 2 1024 = 10 x = \log_2 1024 = 10 x = log 2 1024 = 10
since 2 10 = 1024 2^{10} = 1024 2 10 = 1024 .
Solve 5 x = 40 5^x = 40 5 x = 40 :
x = ln 40 ln 5 ≈ 2.292 x = \frac{\ln 40}{\ln 5} \approx 2.292 x = ln 5 ln 40 ≈ 2.292
Tip
Logs only work on positive numbers. log ( 0 ) \log(0) log ( 0 ) and log ( − 5 ) \log(-5) log ( − 5 ) are undefined, because no power of a positive base gives zero or a negative number.
Where logs appear
Growth and decay: how long until a population growing 5% a year doubles? Solve ( 1.05 ) t = 2 (1.05)^t = 2 ( 1.05 ) t = 2 to get t = ln 2 ln 1.05 ≈ 14.2 t = \frac{\ln 2}{\ln 1.05} \approx 14.2 t = l n 1.05 l n 2 ≈ 14.2 years.
Scales: decibels, the Richter scale and pH are all logarithmic.
Computing: log 2 n \log_2 n log 2 n is how many times you can halve n n n .
Common mistakes
log ( x + y ) ≠ log x + log y \log(x + y) \ne \log x + \log y log ( x + y ) = log x + log y .
log x ⋅ log y \log x \cdot \log y log x ⋅ log y is not log ( x y ) \log(xy) log ( x y ) .
Using log \log log and ln \ln ln interchangeably. They give different numbers.
Practice questions
Evaluate log 5 125 \log_5 125 log 5 125 .
Write log 6 + log 5 \log 6 + \log 5 log 6 + log 5 as a single log.
Solve 3 x = 20 3^x = 20 3 x = 20 to 3 significant figures.
Answers: 1) 3 3 3 2) log 30 \log 30 log 30 3) x ≈ 2.73 x \approx 2.73 x ≈ 2.73
Try the logarithm calculator in any base, or go the other way with the exponents calculator . Logs also give doubling times and half-lives in exponential growth and decay .
Frequently asked questions
What is log 1? log 1 = 0 in any base, because any base to the power 0 is 1.
What is the difference between log and ln? log usually means base 10, and ln means base e. They are related by ln x = log x × ln 10.
Why can't you take the log of a negative number? A positive base raised to any real power is always positive, so no real answer exists.
Open the calculator →
#logarithms #exponents #algebra
← Previous Permutations vs Combinations: When Order Matters
Next → Limits Explained: Substitution, Factoring and L'Hôpital's Rule