Logarithms
Explore logarithm rules, graphs, and exponents.
What is a logarithm?
A logarithm answers: to what power must we raise a given base to get this number? Exponentiation starts with a base and an exponent; logarithms recover the exponent from the result.
Here is the base, is the argument, and is the exponent. For example:
This page uses Indonesian notation, with the base at the upper left. International notation writes the same base as a subscript:
Conditions for real logarithms
A valid positive base has positive powers, so a real logarithm cannot take zero or a negative number as its argument. Base one always produces one and cannot identify a unique exponent. Negative bases do not give a real exponential function for every real exponent. The logarithm’s output can be any real number, including zero and negative values.
Why do logarithms exist?
Logarithms fill the gap when the unknown is an exponent. They also convert multiplication into addition and make quantities spanning many orders of magnitude easier to compare.
Find time in a growth model
If a population doubles each period, logarithms tell us how many periods it takes to reach ten times its starting size.
Turn products into sums
Before electronic calculators, logarithm tables turned long multiplication and division into addition and subtraction. Exponent laws explain why this works.
Compare multiplicative changes
Equal ratios become equal differences. Sound levels use this idea: multiplying intensity by ten adds ten decibels, relative to a fixed positive reference intensity.
Common logarithms and natural logarithms
In this lesson, a logarithm without a written base means base ten. The natural logarithm uses Euler’s number as its base and is written with its own symbol. Base two is useful for repeated doubling and binary information.
Always check the base convention in the context you are reading. Changing the base changes the output, but every valid base follows the same rules.
Explore the logarithmic graph
Choose a base and move the input. Compare increasing and decreasing curves, then show the exponential inverse.
The solid blue curve is the logarithm. It passes through and approaches the vertical asymptote without reaching it.
The input stays positive so the logarithm is defined.
Find the exponent
Raising this base to the displayed exponent gives the input, approximately. Displayed outputs are rounded to three decimals.
Increasing
With a base greater than one, larger inputs give larger logarithms.
Common rules
Every rule below comes from the definition and exponent laws. Unless stated otherwise, and whenever used as bases, arguments , and powers are real. Open any derivation to follow the steps.
Order and logarithmic inequalities
For a base greater than one, exponential powers grow as the exponent increases. Their logarithmic inverse therefore preserves order. A base between zero and one gives decreasing powers, so its inverse reverses order. Both arguments must be positive.
For example, the decreasing base reverses the inequality below. Combine the resulting bound with the original domain condition.
Common mistakes
A sum inside a logarithm does not split
The product rule follows from multiplying powers. There is no matching exponent law that turns a sum of arguments into a sum of logarithms. A counterexample is enough to show why that proposed rule fails.
Check the original domain before combining
A positive product does not guarantee that each factor is positive. Keep the separate domain conditions when combining logarithms. Also, the power rule above assumes a positive argument; for a squared nonzero real value the correct expansion uses absolute value.
A logarithm is not a factor you can cancel
Logarithms are functions. Use change of base for a quotient of logarithms; dividing their arguments gives a different expression.
Try it yourself
Work out each answer, then reveal the solution.