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.
Logarithm of one and of the base
Ask which exponent produces one, then which produces the base itself.
Inverse identities
Exponentiation and logarithms undo each other when the bases match. The exponent can be any real number.
Product rule
Multiplying powers with the same base adds their exponents. Here both factors must be positive.
Quotient rule
Dividing powers with the same base subtracts their exponents. Both numerator and denominator must be positive.
Power rule
Raising a power to another power multiplies the exponents. This holds for any real exponent when the argument is positive.
Root rule
A root is a fractional power, so this follows directly from the power rule. The root index is a positive integer.
Reciprocal argument
Taking the reciprocal changes the sign of the exponent. This is the power rule with exponent negative one.
Change of base
Use any valid new base. The denominator is nonzero because the original base is not one. This is how a calculator evaluates other bases with natural logarithms.
Reciprocal bases
Swapping a valid base and a valid argument gives the reciprocal. Both numbers must be positive and different from one.
Chain rule for bases
An intermediate base cancels through change of base. The intermediate number must be a valid base; the final argument only needs to be positive.
Powers in the base and argument
Combine change of base with the power rule. The exponent on the base must be nonzero, otherwise the new base would be one.
Equal logarithms, equal arguments
For the same valid base, each output corresponds to exactly one positive input. This lets you solve logarithmic equations after checking the domain.
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.
Evaluate a fractional argument
Expand a combined expression
Solve an exponential equation
Solve and reject the invalid root