What Is a Logarithm? Logs Explained Simply
What a logarithm actually asks, how to switch between log form and exponent form, the values every log shares, why you cannot take the log of a negative number, and how the log graph mirrors the exponential.
You know how to answer . A logarithm answers the opposite question: . The missing exponent is , so we write , read "log base 2 of 8 is 3".
A logarithm is an exponent. Whenever you see , ask: $b$ to what power gives $x$?
Switching forms
Every log statement can be rewritten as an exponent statement and back again. The base stays the base.
3 to what power gives 81?
Logs can be negative or fractional, because exponents can.
Values every log shares
, because . And , because . These hold for every base.
Two bases are so common they get their own shorthand. usually means , and , the natural log, means .
Logs undo exponentials
Taking undoes raising to the power , and the other way round:
So the log function is the inverse of the exponential function, and its graph is the exponential's reflection in the line .
Inverse functions: reflections in .
You cannot take the log of zero or a negative number. No power of a positive base gives or anything negative, so has no real value.
Why logs are useful
Logs turn huge ranges into manageable ones. Earthquake magnitudes, sound levels in decibels and the pH of a solution are all logarithmic scales: one step up means ten times more. And whenever the unknown is an exponent, as in , a logarithm is the tool that gets it down.
Solve .
- 1
Rewrite in log form.
Common questions
- What does log base 2 of 8 mean?
It asks what power of gives . Since , .
- Why can't you take the log of a negative number?
A positive base raised to any real power is always positive. No exponent can produce a negative number or zero, so those logs are undefined.
The Logarithms lesson has worked examples and unlimited practice that adapts to you.