Quick answer: logax=y means ay=x, for a>0, a=1 and x>0. The main rules are loga(mn)=logam+logan, loganm=logam−logan and logamk=klogam. The change of base formula is logax=logbalogbx, which gives logab⋅logba=1 and alogax=x.
Logarithms are the inverse of the exponential functions in indices and surds.
Definition and conditions
logax=y⟺ay=x
The logarithm is defined only when the base a>0, a=1 and the argument x>0.
| Special value | Result |
|---|
| loga1 | 0 |
| logaa | 1 |
| alogax | x |
| logaax | x |
Laws of logarithms
| Law | Statement |
|---|
| Product | loga(mn)=logam+logan |
| Quotient | loganm=logam−logan |
| Power | logamk=klogam |
| Base power | logakm=k1logam |
| Change of base | logax=logbalogbx |
| Reciprocal | logab=logba1 |
| Chain | logab⋅logbc⋅logcd=logad |
| Swap | alogbc=clogba |
Common values (base 10)
| Number | log10 (approx.) |
|---|
| 2 | 0.3010 |
| 3 | 0.4771 |
| 5 | 0.6990 |
| 7 | 0.8451 |
Number of digits: a positive integer N has ⌊log10N⌋+1 digits. For example, 210=1024, and log10210≈3.01, giving 4 digits.
Logarithmic inequalities
| Base | logax>logay means |
|---|
| a>1 | x>y>0 |
| 0<a<1 | 0<x<y (inequality reverses) |
Worked examples
Example 1: simplify
Find log28+log391−log51.
3+(−2)−0=1.
Example 2: chain rule
Find log34⋅log45⋅log59.
The chain gives log39=2.
Example 3: logarithmic equation
Solve log2(x+1)+log2(x−1)=3.
Step 1: log2(x2−1)=3, so x2−1=8 and x=±3.
Step 2: Both arguments must be positive, so x>1. Answer: x=3.
Example 4: number of digits
How many digits does 320 have?
log10320=20×0.4771=9.542, so it has 10 digits.
Example 5: inequality
Solve log21(x−2)>−1.
The base is less than 1, so the inequality reverses: 0<x−2<2, giving 2<x<4.
Summary table
| Idea | Key result |
|---|
| Definition | logax=y⟺ay=x |
| Change of base | logax=logbalogbx |
| Reciprocal | logab⋅logba=1 |
| Domain | Base positive and not 1; argument positive |
| Base below 1 | Inequalities reverse |
Exam tips
- Always check the domain of every log term after solving; reject roots that make an argument non-positive.
- For products of logs with chained bases, cancel them like fractions.
- Use log102≈0.3010 and log103≈0.4771 for digit-count questions.
Continue with quadratic equations, or see the NIMCET Algebra chapter.
Common mistakes
- Writing log(m+n)=logm+logn.
- Writing lognlogm=logm−logn.
- Forgetting to reverse the inequality when the base is between 0 and 1.
- Keeping roots that make the argument of a log negative.
Frequently Asked Questions
log_a x = log_b x / log_b a, for any valid base b.
What is log_a b × log_b a?
It equals 1.
When is a logarithm defined?
log_a x is defined when a > 0, a ≠ 1 and x > 0.
How do you find the number of digits in a large number?
A positive integer N has ⌊log₁₀ N⌋ + 1 digits.
What happens to a log inequality when the base is less than 1?
The inequality reverses, because the logarithm is decreasing for such a base.