Introduction to Logarithms – Complete Study Guide
Last updated: March 2026 | AP · IB · GCSE · IGCSE · SAT
📑 Quick Navigation
- Introduction to Logarithms
- Understanding the Meaning
- Exponents & Logarithms
- Common Types of Logarithms
- Evaluating Logarithms
- Properties & Rules
- Domain & Restrictions
- Solving Logarithmic Equations
- Graph of a Logarithmic Function
- Real-Life Applications
- Common Student Mistakes
- Exam Tips & Strategies
- Practice Problems
- Logarithm Calculator
- Summary of Key Points
1. Introduction to Logarithms
What Are Logarithms?
Imagine you already know how to raise numbers to powers. You know that 23 = 8, that 102 = 100, and that 54 = 625. Exponentiation starts with a base and an exponent, and produces a result. But what if you know the base and the result, and you want to find the exponent? That is exactly what a logarithm does.
A logarithm asks the question: "To what power must I raise the base to get this number?"
For example: "To what power must I raise 2 to get 8?" The answer is 3, because 23 = 8. We write this as log2(8) = 3.
In simple terms: logarithms are the inverse of exponents. If exponentiation is the "forward" operation (base × base × base = result), then logarithms are the "reverse" operation (given the result, find how many times the base was multiplied).
Why Are Logarithms Important?
Logarithms are one of the most powerful and widely-used tools in all of mathematics. Here is why they matter:
- They tame huge numbers: Logarithms compress enormous numbers into manageable ones. The Richter scale, the pH scale, and the decibel scale all use logarithms to express quantities that range over many orders of magnitude.
- They solve exponential equations: If you have an equation like 2x = 1024, the only way to solve for x algebraically is to take a logarithm: x = log2(1024) = 10.
- They are essential for calculus: The natural logarithm (ln) is one of the most important functions in calculus due to its elegant derivative: d/dx[ln(x)] = 1/x.
- They model real-world phenomena: Radioactive decay, population growth, compound interest, and sound intensity all involve exponential relationships, and logarithms are the key to analysing them.
- They power computer science: Algorithm complexity is measured using logarithms (e.g., binary search runs in O(log n) time). Information theory uses log2 to measure bits of information.
Why Students Find Logarithms Difficult at First
If you feel confused when first encountering logarithms, you are in excellent company. Nearly every student struggles initially for these reasons:
- The notation is unfamiliar: "log2(8)" does not look like anything you have seen before. It takes time to read it naturally.
- It is an inverse operation: We are used to computing "forward" (given base and exponent, find result). Logarithms work "backwards" (given base and result, find exponent), which requires a mental shift.
- Multiple rules to remember: The product rule, quotient rule, power rule, and change of base formula can feel overwhelming at first.
The good news is that logarithms are not actually difficult. They just require practice and the right way of thinking. By the end of this guide, you will find them as natural as multiplication.
2. Understanding the Meaning of a Logarithm
The Definition
b = base | a = argument | c = exponent (the answer)
Let us break this apart piece by piece:
- The base (b): The number being raised to a power. It must be positive and not equal to 1 — i.e., b > 0 and b ≠ 1.
- The argument (a): The number you are taking the logarithm of. It must be positive — i.e., a > 0. You cannot take the log of zero or a negative number in real math.
- The answer (c): The exponent — the power to which the base must be raised. This can be any real number (positive, negative, or zero).
Think of it this way: The logarithm is asking, "The base raised to what gives me the argument?" The answer is the exponent.
Simple Examples — Step by Step
Example 1 — log2(8) = ?
Question: 2 to what power gives 8?
Think: 21 = 2, 22 = 4, 23 = 8 ✓
Answer: log2(8) = 3
Example 2 — log10(100) = ?
Question: 10 to what power gives 100?
Think: 101 = 10, 102 = 100 ✓
Answer: log10(100) = 2
Example 3 — log3(27) = ?
Question: 3 to what power gives 27?
Think: 31 = 3, 32 = 9, 33 = 27 ✓
Answer: log3(27) = 3
Example 4 — log5(1) = ?
Question: 5 to what power gives 1?
Think: Any number to the power 0 equals 1. So 50 = 1 ✓
Answer: log5(1) = 0
This is true for every base: logb(1) = 0 always.
Example 5 — log4(1/16) = ?
Question: 4 to what power gives 1/16?
Think: 1/16 = 1/42 = 4−2
Answer: log4(1/16) = −2
Logarithms can be negative! A negative log value just means the argument is a fraction (less than 1).
3. Connection Between Exponents and Logarithms
Understanding that logarithms and exponents are inverse operations is the single most important concept in this topic. They undo each other, just like addition undoes subtraction and multiplication undoes division.
bc = a ↔ logb(a) = c
These two statements say exactly the same thing in different notation. Learning to convert fluently between them is the key skill.
Conversion Examples
Convert to Logarithmic Form
a) 23 = 8 → log2(8) = 3
b) 102 = 100 → log10(100) = 2
c) 50 = 1 → log5(1) = 0
d) 3−2 = 1/9 → log3(1/9) = −2
e) e1 = e → ln(e) = 1
Convert to Exponential Form
a) log2(32) = 5 → 25 = 32
b) log10(1000) = 3 → 103 = 1000
c) log7(1) = 0 → 70 = 1
d) ln(1) = 0 → e0 = 1
The Inverse Relationship — Cancelling Each Other
Because logarithms and exponents are inverses, they cancel each other out when applied in sequence:
These two identities are extremely powerful for simplification:
- log2(25) = 5 (the log and the base-2 exponent cancel)
- 10log10(50) = 50 (the exponent and the log cancel)
- eln(7) = 7 (e and ln are inverses)
- ln(e−3) = −3 (ln undoes the e)
4. Common Types of Logarithms
While you can have a logarithm with any valid base, two bases are used so frequently that they have their own special notation.
4.1 Common Logarithm (Base 10)
When you see "log" written without a base, it almost always means base 10 (this is the convention in most countries, textbooks, and calculators). It is called the common logarithm because base 10 aligns with our decimal number system.
- log(10) = 1 (because 101 = 10)
- log(100) = 2 (because 102 = 100)
- log(1000) = 3 (because 103 = 1000)
- log(1) = 0 (because 100 = 1)
- log(0.01) = −2 (because 10−2 = 0.01)
4.2 Natural Logarithm (Base e)
The number e (Euler's number) is one of the most important constants in mathematics, approximately equal to 2.71828. The natural logarithm, written as ln, is the logarithm with base e. It is called "natural" because it arises naturally in calculus, continuous growth, and many areas of physics.
- ln(e) = 1 (because e1 = e)
- ln(e2) = 2 (because e2 ≈ 7.389)
- ln(1) = 0 (because e0 = 1)
- ln(e−1) = −1
4.3 Logarithms with Other Bases
You can have a logarithm with any positive base (other than 1). Some examples students often encounter:
- log2(x) — binary logarithm, crucial in computer science.
- log3(x), log5(x), log7(x) — used in various exam questions.
Most calculators only have log (base 10) and ln (base e) buttons. To evaluate other bases, you use the Change of Base Formula (covered in Section 6).
5. Evaluating Basic Logarithms
The systematic method for evaluating any logarithm is: (1) identify the base and argument, (2) rewrite as an exponential equation, (3) solve for the exponent. Let us practise this process.
Example 1 — Evaluate log2(16)
Step 1 – Identify: Base = 2, Argument = 16.
Step 2 – Rewrite: 2x = 16
Step 3 – Solve: 24 = 16, so x = 4.
Answer: log2(16) = 4
Example 2 — Evaluate log10(1000)
Step 1 – Identify: Base = 10, Argument = 1000.
Step 2 – Rewrite: 10x = 1000
Step 3 – Solve: 103 = 1000, so x = 3.
Answer: log10(1000) = 3
Example 3 — Evaluate log4(1/16)
Step 1 – Identify: Base = 4, Argument = 1/16.
Step 2 – Rewrite: 4x = 1/16
Step 3 – Solve: 1/16 = 1/42 = 4−2, so x = −2.
Answer: log4(1/16) = −2
Example 4 — Evaluate ln(e3)
Step 1 – Identify: Base = e, Argument = e3.
Step 2 – Use inverse property: logb(bx) = x, so ln(e3) = 3.
Answer: ln(e3) = 3
Example 5 — Evaluate log5(125)
Step 1 – Identify: Base = 5, Argument = 125.
Step 2 – Rewrite: 5x = 125
Step 3 – Solve: 53 = 125, so x = 3.
Answer: log5(125) = 3
Example 6 — Evaluate log8(2)
Step 1 – Identify: Base = 8, Argument = 2.
Step 2 – Rewrite: 8x = 2
Step 3 – Solve: 8 = 23, so 8x = (23)x = 23x = 21. Therefore 3x = 1, so x = 1/3.
Answer: log8(2) = 1/3
Logarithms can be fractions! This means 81/3 = ∛8 = 2.
6. Properties and Rules of Logarithms
Just as exponents have laws (product rule, quotient rule, power rule), logarithms have corresponding rules. These are derived directly from the exponent laws, using the fact that logarithms are inverse functions of exponents.
6.1 Product Rule
In words: The log of a product equals the sum of the logs. Multiplication inside the log becomes addition outside.
Why it works: If bp = M and bq = N, then M × N = bp × bq = bp+q. Taking log base b: logb(MN) = p + q = logb(M) + logb(N).
Example — Product Rule
Expand: log2(8 × 4)
= log2(8) + log2(4) = 3 + 2 = 5
Check: 8 × 4 = 32, and log2(32) = 5. ✓
6.2 Quotient Rule
In words: The log of a quotient equals the difference of the logs. Division inside the log becomes subtraction outside.
Example — Quotient Rule
Expand: log10(1000 / 10)
= log10(1000) − log10(10) = 3 − 1 = 2
Check: 1000/10 = 100, and log10(100) = 2. ✓
6.3 Power Rule
In words: The log of a power equals the exponent times the log. The exponent "comes down" in front of the log as a multiplier.
Example — Power Rule
Expand: log3(95)
= 5 · log3(9) = 5 × 2 = 10
Check: 95 = 59,049, and 310 = 59,049. ✓
6.4 Log of 1
Why: b0 = 1 for any non-zero b. Since the log asks "b to what power gives 1?", the answer is always 0.
6.5 Log of the Base
Why: b1 = b. The log asks "b to what power gives b?", and the answer is always 1.
6.6 Change of Base Formula
Why this matters: Your calculator only has buttons for log (base 10) and ln (base e). If you need to evaluate log3(50), use: log3(50) = log(50) / log(3) ≈ 1.699 / 0.477 ≈ 3.561.
Example — Change of Base
Evaluate: log7(200)
= log(200) / log(7) = 2.3010 / 0.8451 ≈ 2.723
7. Domain and Restrictions of Logarithms
Logarithms have strict rules about what values are allowed. Understanding these restrictions is crucial for solving equations and graphing.
Rule 1: The Argument Must Be Positive
Why: There is no real number x such that bx is zero or negative (when b is positive). Since exponential functions with positive bases always produce positive outputs, the "input" to a logarithm (the argument) must also be positive.
❌ Invalid Logarithmic Expressions
log(0) — undefined. No power of 10 equals 0.
log(−5) — undefined. No power of 10 equals −5.
ln(−1) — undefined in real numbers.
Rule 2: The Base Must Be Positive and Not 1
Why b > 0: Negative bases create problems with non-integer exponents (e.g., (−2)1/2 is not real). So we require positive bases.
Why b ≠ 1: 1 raised to any power is always 1. So log1(a) would only work if a = 1, and even then, every exponent would be valid. The function is not well-defined, so base 1 is excluded.
Practice — Valid or Invalid?
a) log3(9) — ✅ Valid (base 3 > 0 and ≠ 1, argument 9 > 0)
b) log−2(8) — ❌ Invalid (negative base)
c) log5(0) — ❌ Invalid (argument is 0)
d) ln(−3) — ❌ Invalid (negative argument)
e) log1(10) — ❌ Invalid (base is 1)
f) log0.5(4) — ✅ Valid (base 0.5 > 0 and ≠ 1, argument 4 > 0)
8. Solving Simple Logarithmic Equations
The key technique for solving logarithmic equations is to rewrite the equation in exponential form. Once it is in exponential form, it becomes a standard algebra problem.
Example 1 — Solve log2(x) = 4
Step 1 – Rewrite in exponential form: 24 = x
Step 2 – Evaluate: x = 16
Step 3 – Check: log2(16) = 4 ✓ (because 24 = 16)
Answer: x = 16
Example 2 — Solve log10(x) = 3
Step 1 – Rewrite: 103 = x
Step 2 – Evaluate: x = 1000
Answer: x = 1000
Example 3 — Solve ln(x) = 2
Step 1 – Rewrite: e2 = x
Step 2 – Evaluate: x = e2 ≈ 7.389
Answer: x = e2 ≈ 7.389
Example 4 — Solve log3(x + 1) = 2
Step 1 – Rewrite: 32 = x + 1
Step 2 – Simplify: 9 = x + 1, so x = 8
Step 3 – Check domain: x + 1 = 9 > 0 ✓
Answer: x = 8
Example 5 — Solve log5(2x − 3) = 1
Step 1 – Rewrite: 51 = 2x − 3
Step 2 – Simplify: 5 = 2x − 3 → 2x = 8 → x = 4
Step 3 – Check domain: 2(4) − 3 = 5 > 0 ✓
Answer: x = 4
9. Graph of a Logarithmic Function
Understanding the graph of y = logb(x) is essential for exams and for building intuition about how logarithms behave.
Key Features of y = logb(x) (when b > 1)
- Domain: x > 0 (only positive x-values are allowed).
- Range: All real numbers (−∞, +∞). The output can be any real number.
- Vertical asymptote: x = 0 (the y-axis). The curve approaches the y-axis but never touches or crosses it.
- x-intercept: (1, 0). Because logb(1) = 0 for any base b.
- The point (b, 1): Because logb(b) = 1. For log base 10: the point (10, 1). For ln: the point (e, 1) ≈ (2.718, 1).
- Shape: The curve increases slowly to the right (it grows, but very slowly). It is concave down — it curves downward as it goes right.
- Passes through: (1, 0), (b, 1), (b2, 2), (b3, 3), etc.
The Inverse Relationship with Exponential Graphs
The graph of y = logb(x) is the reflection of y = bx in the line y = x. This makes perfect sense because logarithms and exponents are inverses — if you reflect any function across y = x, you get its inverse.
| Feature | y = bx | y = logb(x) |
|---|---|---|
| Domain | All real numbers | x > 0 |
| Range | y > 0 | All real numbers |
| Asymptote | y = 0 (horizontal) | x = 0 (vertical) |
| Key point | (0, 1) | (1, 0) |
| Passes through | (1, b) | (b, 1) |
What About 0 < b < 1?
When the base is between 0 and 1 (like 1/2), the logarithmic function is decreasing. The graph is reflected horizontally compared to bases greater than 1. For example, log1/2(x) decreases as x increases. However, it still has the same domain (x > 0), range (all real numbers), and vertical asymptote at x = 0.
10. Real-Life Applications of Logarithms
Logarithms are not abstract mathematical oddities — they are used constantly in science, technology, and everyday life. Here are some of the most important applications.
10.1 The pH Scale (Chemistry)
The pH of a solution is defined as pH = −log10[H+], where [H+] is the hydrogen ion concentration. This converts very small concentrations (like 0.0000001) into manageable numbers (like 7). The pH scale runs from 0 to 14, where 7 is neutral (pure water), values below 7 are acidic, and values above 7 are alkaline. Every single pH calculation in chemistry is a direct application of common logarithms.
10.2 The Richter Scale (Earthquakes)
Earthquake magnitude is measured on the Richter scale, which is logarithmic. Each whole-number increase represents a tenfold increase in ground shaking and approximately 31.6 times more energy released. A magnitude 6 earthquake is 10 times more powerful than a magnitude 5, and 100 times more powerful than a magnitude 4. Without logarithms, comparing earthquake strengths would require cumbersome numbers spanning many orders of magnitude.
10.3 Sound Intensity (Decibels)
Sound level in decibels (dB) is calculated using L = 10 log10(I/I₀), where I is the sound intensity and I₀ is the threshold of human hearing. Normal conversation is about 60 dB, a rock concert is about 110 dB, and the threshold of pain is about 130 dB. Because the decibel scale is logarithmic, an increase of 10 dB represents a 10-fold increase in sound intensity. Our ears perceive this as roughly "twice as loud."
10.4 Population Growth and Compound Interest
Exponential growth models use the formula N = N₀ ert. To find when a population reaches a certain size, you solve for t by taking the natural logarithm: t = ln(N/N₀) / r. Similarly, the time required for an investment to double at a given interest rate is found using logarithms: t = ln(2) / r ≈ 0.693/r. These financial and biological calculations are impossible without logarithms.
10.5 Computer Science
Logarithms are fundamental to computer science. The binary search algorithm finds an item in a sorted list of n elements in log2(n) steps. Sorting algorithms like merge sort run in O(n log n) time. Data compression, encryption, and information theory all heavily use logarithms. The concept of a "bit" itself is defined using log2 — the number of bits needed to represent n possibilities is log2(n).
10.6 Astronomy — Stellar Brightness
The apparent magnitude of stars is measured on a logarithmic scale. A difference of 5 magnitudes corresponds to a factor of 100 in brightness. This means each magnitude difference is a factor of 1001/5 ≈ 2.512. The brightest star visible from Earth (Sirius) has a magnitude of about −1.46, while the faintest stars visible to the naked eye have a magnitude of about +6. Without logarithms, the vast range of stellar brightnesses would be impossible to express in a convenient numerical system.
🧪 Practical Example — Calculating pH
Problem: A solution has a hydrogen ion concentration of [H+] = 3.2 × 10−5 mol/L. Find the pH.
Formula: pH = −log10(3.2 × 10−5)
Step 1: log(3.2 × 10−5) = log(3.2) + log(10−5) = 0.505 + (−5) = −4.495
Step 2: pH = −(−4.495) = 4.495
This is acidic (below 7), similar to tomato juice.
💰 Practical Example — Doubling Time for an Investment
Problem: How long does it take an investment to double at 5% annual interest, compounded continuously?
Formula: t = ln(2) / r
Solution: t = ln(2) / 0.05 = 0.6931 / 0.05 = 13.86 years
This is also known as the "Rule of 70" — divide 70 by the interest rate percentage to get the approximate doubling time.
11. Common Student Mistakes
After twenty years of teaching logarithms, these are the errors I see most frequently. Study them carefully — avoiding these mistakes is worth just as many marks as knowing the rules.
❌ Mistake 1: Thinking log(a + b) = log(a) + log(b)
Wrong: log(3 + 5) = log(3) + log(5)
Why it is wrong: The product rule says log(a × b) = log(a) + log(b). The rule involves multiplication, not addition. There is no logarithm rule for sums.
Correct: log(3 + 5) = log(8) ≈ 0.903, while log(3) + log(5) = log(15) ≈ 1.176.
❌ Mistake 2: Confusing the Base and the Argument
Wrong: Reading log2(8) as "8 to the power of 2"
Correct: log2(8) means "2 to what power gives 8?"
❌ Mistake 3: Forgetting the Argument Must Be Positive
Wrong: Solving log2(x − 5) = 3 without checking the domain.
Correct: Always ensure the argument of the log is positive.
❌ Mistake 4: log(a/b) ≠ log(a) / log(b)
Wrong: log(100/10) = log(100) / log(10)
Correct: log(100/10) = log(100) − log(10)
❌ Mistake 5: Misapplying the Power Rule
Wrong: log(x)2 = 2log(x)
Correct: log(x2) = 2log(x)
❌ Mistake 6: Using log Without Knowing the Base
Correct: log = base 10, ln = base e.
12. Exam Tips and Strategies
🎯 Strategy 1
Always read logb(a) as “b to what power equals a?”.
🎯 Strategy 2
Convert to exponential form when solving equations.
🎯 Strategy 3
- Multiplication → Product rule
- Division → Quotient rule
- Exponent → Power rule
🎯 Strategy 4
Always check domain restrictions.
🎯 Strategy 5
Remember logb(1)=0 and logb(b)=1.
🧮 Interactive Logarithm Calculator
Logarithm Calculator
Enter a base and argument to compute logb(a). See the logarithmic value and the equivalent exponential statement.
14. Summary of Key Points
| Concept / Rule | Formula | Key Idea |
|---|---|---|
| Logarithm Definition | logb(a) = c ⟺ bc = a | "b to what power gives a?" |
| Product Rule | logb(MN) = logb(M) + logb(N) | Multiplication → Addition |
| Quotient Rule | logb(M/N) = logb(M) − logb(N) | Division → Subtraction |
| Power Rule | logb(Mp) = p · logb(M) | Exponent comes down as multiplier |
| Log of 1 | logb(1) = 0 | Any base to the power 0 = 1 |
| Log of Base | logb(b) = 1 | Any base to the power 1 = itself |
| Change of Base | logb(a) = log(a)/log(b) | Convert to base 10 or e for calculator |
| Inverse Properties | logb(bx) = x & blogb(x) = x | Log and exponent cancel each other |
| Domain Restriction | Argument must be > 0 | log(0) and log(negative) are undefined |
| Common Log | log(x) = log10(x) | Base 10, used in science and engineering |
| Natural Log | ln(x) = loge(x) | Base e ≈ 2.718, used in calculus |
📌 Final Reminders
- A logarithm asks: "base to what power gives the argument?"
- Logarithms and exponents are inverses — they cancel each other.
- "log" = base 10, "ln" = base e. Know the difference.
- The argument must always be positive — check domain on every equation.
- log(a × b) = log(a) + log(b), but log(a + b) ≠ log(a) + log(b). No sum rule!
- When stuck, convert to exponential form — it makes most problems straightforward.
- Use the change of base formula to evaluate unusual bases on your calculator.
- Always show working and check answers for full exam marks.
🎓 You have completed the Introduction to Logarithms Study Guide!
Bookmark this page for quick revision before your exams. Good luck! 🍀