The logarithm answers the question: "To what power must I raise
Quick Reference
| Property | Formula |
|---|---|
| Definition | |
| Domain of |
|
| Range of |
|
| Cancellation identities | |
| Product rule | |
| Power rule | |
| Quotient rule | |
| Common logarithm | |
| Natural logarithm | |
| Change of base |
Definition of the Logarithm
For
This unique value of
Let
Equivalently:
Some immediate examples:
The Logarithmic Function
The definition gives
Its domain is
The Inverse Relationship Between and
The logarithm and exponential are inverses of each other. Substituting one into the other yields the cancellation identities:
Because they are inverses, the domain and range swap:
Let
Graphs of Logarithmic Functions
Since
- The graph of
passes through ; the graph of passes through . - The vertical asymptote of the logarithm is the
-axis ( ). - When
, the logarithm is increasing; when , it is decreasing.
Algebraic Properties of Logarithms
Algebraic Properties of Logarithms. Let
- Product rule: The log of a product equals the sum of the logs.
- Power rule: The exponent moves to the front as a coefficient.
- Quotient rule: The log of a quotient equals the difference of the logs.
Proof
These properties follow from the corresponding laws of exponents. Proof of (1). Set
Common and Natural Logarithms
Any positive number other than 1 can serve as a logarithm base, but in practice two bases dominate:
- The common logarithm uses base 10 and is written
(base omitted by convention). - The natural logarithm uses base
and is written .
The common logarithm is widely used in algebraic settings and logarithmic-scale graphs (e.g., pH, decibels). The natural logarithm is the more important one in calculus because
Warning. In computing languages such as Python, MATLAB, C++, and Fortran, the function called log computes the natural logarithm. In most precalculus and calculus textbooks, log without a base means the base-10 logarithm. Always check the convention of the system you are using.
Change of Base Formula
Calculators provide direct keys for
Change of Base Formula. For any positive number
To see how this works, consider computing
The same formula works with