Logarithm
Logarithm
The
logarithm base b of
a number x is the power to
which b must be raised in order to equal x. This
is written logb x.
For example, log2 8 equals
3 since 23 = 8.
See also
Logarithm rules, common logarithm, natural logarithm, change of base formula
Key Formula
logbx=y⟺by=x
Where:
- b = The base of the logarithm (must be positive and not equal to 1)
- x = The argument (the number you are taking the logarithm of; must be positive)
- y = The logarithm's value — the exponent to which b must be raised to get x
Worked Example
Problem: Evaluate log5125.
Step 1: Set up the equivalent exponential equation. Let the unknown logarithm equal y.
log5125=y⟺5y=125
Step 2: Express 125 as a power of 5.
125=53
Step 3: Since the bases match, the exponents must be equal.
5y=53⟹y=3
Answer: log5125=3
Another Example
The first example evaluates a logarithm directly; this example reverses the task by solving for the argument inside the logarithm, reinforcing the conversion between logarithmic and exponential form.
Problem: Solve for x: log3x=4.
Step 1: Rewrite the logarithmic equation in exponential form.
log3x=4⟺34=x
Step 2: Compute the power.
34=81
Step 3: State the solution.
x=81
Answer: x=81
Frequently Asked Questions
What is the difference between a common logarithm and a natural logarithm?
A common logarithm uses base 10 and is written logx (or log10x). A natural logarithm uses the special base e≈2.718 and is written lnx. Both follow the same rules; they differ only in their base. Calculators typically have separate keys for each.
Why can you only take the logarithm of a positive number?
Because no real exponent can make a positive base produce zero or a negative result. For instance, there is no real y for which 10y=−5 or 10y=0. This is why the domain of logbx is x>0.
How do you convert between logarithmic and exponential form?
The statement logbx=y is exactly equivalent to by=x. To convert, identify the base b, the exponent y (the logarithm's value), and the result x (the argument). Moving between these two forms is the single most important skill when working with logarithms.
Logarithm vs. Exponent
| Logarithm | Exponent | |
|---|---|---|
| Definition | The exponent needed to raise a base to get a number | The power to which a base is raised |
| Notation | logbx=y | by=x |
| What it finds | The unknown exponent, given the base and result | The result, given the base and exponent |
| Relationship | Inverse of exponentiation | Inverse of taking a logarithm |
Why It Matters
Logarithms appear throughout algebra, precalculus, and science whenever you need to "undo" an exponential. They are essential for solving exponential growth and decay problems — from compound interest calculations to radioactive half-life equations. You will also use them heavily in calculus, where lnx is one of the core functions you differentiate and integrate.
Common Mistakes
Mistake: Thinking logb(x+y)=logbx+logby.
Correction: The product rule states logb(x⋅y)=logbx+logby. There is no simple rule for logb(x+y). Confusing addition inside the argument with multiplication is one of the most frequent logarithm errors.
Mistake: Forgetting that logb1=0 and logbb=1.
Correction: Since b0=1, the logarithm of 1 in any base is always 0. Since b1=b, the logarithm of the base itself is always 1. Keeping these two benchmarks in mind helps you check your work quickly.
Related Terms
- Base of a Logarithm — The number repeatedly multiplied in a logarithm
- Power — A logarithm finds the unknown power
- Logarithm Rules — Properties for simplifying logarithmic expressions
- Common Logarithm — Logarithm with base 10
- Natural Logarithm — Logarithm with base e ≈ 2.718
- Change of Base Formula — Converts between different logarithm bases
- Exponential Function — The inverse operation of a logarithm
