01 Foundations
Exponents and Logarithms
Understand powers, roots, exponent rules, logarithms, and natural logarithms.
mathematics · exponents
Exponents
An exponent tells us how many times a number or variable is multiplied by itself.
For example:
2.1 Multiplying powers with the same base
When multiplying powers with the same base, add the exponents:
2.2 Dividing powers with the same base
When dividing powers with the same base, subtract the exponents:
Here, \(x\ne0\).
2.3 A power raised to another power
When a power is raised to another power, multiply the exponents:
2.4 Zero exponent
Any non-zero number raised to the power zero equals 1:
2.5 Negative exponents
A negative exponent represents a reciprocal:
2.6 Fractional exponents
A fractional exponent represents a root. For example:
More generally:
2.7 Combining exponent rules
For example:
The rules for exponents are useful for simplifying expressions and appear throughout algebra, calculus, and machine learning.
Logarithms
A logarithm is the inverse operation of exponentiation.
If:
then:
In words, \(\log_b(a)\) asks: To what power must the base \(b\) be raised to produce \(a\)?
For example:
Therefore:
3.1 Basic logarithm examples
because \(3^3=27\).
because \(5^0=1\).
because \(10^2=100\).
A logarithm can also produce a fractional or negative result:
because \(2^{1/2}=\sqrt{2}\).
because \(2^{-1}=\frac12\).
3.2 Logarithm rules
Product rule
The logarithm of a product is the sum of the logarithms:
Quotient rule
The logarithm of a quotient is the difference of the logarithms:
Power rule
The exponent can be brought in front as a multiplier:
Logarithms do not distribute over addition:
3.3 Natural logarithms
The natural logarithm is a logarithm with base \(e\), where:
It is written as:
For example:
and:
If:
then exponentiating both sides gives:
Similarly, if:
then:
The natural logarithm appears frequently in calculus, probability, statistics, and machine learning.