Historical Context & Motivation
Before calculators and computers existed, mathematicians and scientists needed a practical way to handle extremely large and extremely small numbers. Multiplying two ten-digit numbers by hand is tedious and error-prone. In the late sixteenth century, astronomers spent enormous amounts of time performing these calculations to track the motion of planets and stars. The logarithm was invented precisely to solve this problem — it transforms multiplication into addition, making calculations dramatically faster and more reliable.
The central question that logarithms answer is deceptively simple: if we know a base and a result, what exponent was used? For example, 2 raised to what power gives 32? The logarithm provides the machinery to answer this question systematically, and as we will see, the resulting function has a beautifully distinctive shape with powerful modeling applications.
Core Principles & Definitions
A logarithm is fundamentally the inverse of an exponential function. If you are comfortable with the idea that 2³ = 8, then you already understand the seed of logarithmic thinking: log₂(8) = 3. The logarithm asks, "what exponent do I need?" Let's formalize the core ideas that make logarithmic functions work.
Definition of a Logarithm
Common & Natural Logs
Domain & Range
Inverse Relationship
Visual Explanation — The Logarithmic Curve
The graph of a logarithmic function has a distinctive shape that reflects its nature as the inverse of an exponential. It rises steeply for small positive values of x, then gradually flattens out as x increases. This "diminishing returns" behavior is central to why logarithmic models are used in science. The following diagram shows y = log₂(x) alongside its inverse y = 2x and the mirror line y = x.
Notice the key features visible in the diagram. First, the log curve passes through (1, 0) regardless of the base, because any number raised to the power 0 equals 1. Second, the curve increases without bound as x grows, but it does so at a decreasing rate — each time x doubles, y only increases by 1. Third, as x approaches 0 from the right, the curve plunges downward toward negative infinity, creating the vertical asymptote at x = 0. These features are what make logarithmic functions so useful for compressing wide-ranging data into manageable scales.
Mathematical Framework — Laws of Logarithms
Just as exponents follow predictable rules (like aᵐ × aⁿ = aᵐ⁺ⁿ), logarithms have their own set of laws. These laws are direct consequences of exponent rules, and they are essential for simplifying expressions, solving equations, and transforming between logarithmic and exponential forms. The IB syllabus expects you to know and apply all of the following.
Transformations & Key Features of Logarithmic Graphs
Just like other functions you've studied, logarithmic functions can be shifted, stretched, and reflected. Understanding these transformations is crucial because IB questions frequently present logarithmic functions in the general form y = a × logb(x − h) + k and ask you to identify features like asymptotes, intercepts, and domain.
| Transformation | Equation Form | Effect on Graph | Asymptote |
|---|---|---|---|
| Vertical shift | y = logb(x) + k | Shifts graph up (k > 0) or down (k < 0) | x = 0 (unchanged) |
| Horizontal shift | y = logb(x − h) | Shifts graph right (h > 0) or left (h < 0) | x = h |
| Vertical stretch/compress | y = a × logb(x) | Steeper (|a| > 1) or flatter (|a| < 1) | x = 0 (unchanged) |
| Reflection in x-axis | y = −logb(x) | Flips graph upside down | x = 0 (unchanged) |
Worked Example — Solving a Logarithmic Equation
Let's work through a typical IB-style problem that combines logarithmic laws with equation solving. This example demonstrates how to use the product and power laws, convert between logarithmic and exponential form, and verify your answer.
Logarithmic vs. Exponential vs. Power Models
In the IB course, you encounter several types of function models. Knowing when to choose a logarithmic model instead of an exponential or power model is a key skill. Each model suits a different type of growth or decay behavior. The table below compares these three model types across several criteria.
| Feature | Exponential: y = abˣ | Power: y = axⁿ | Logarithmic: y = a + b ln(x) |
|---|---|---|---|
| Growth behavior | Increases faster and faster (or decays) | Increases at a rate dependent on n | Rapid initial growth, then levels off |
| Typical real-world use | Population growth, radioactive decay, compound interest | Area vs. length, gravitational force | Decibel scale, pH, Richter scale, learning curves |
| Key question it answers | How much is there after time t? | How does output scale with input? | How big is this on a compressed scale? |
| Asymptote | Horizontal (y = 0 for decay) | None in general | Vertical (x = 0 or x = h) |
| Shape on scatter plot | J-curve (growth) or decay curve | Curve through origin | Steep rise then flattening |
Connections to Advanced Topics
The logarithmic functions you learn in SL 2.5 are not just a self-contained topic — they form a bridge to several more advanced mathematical ideas. Understanding where logarithms lead will help you see their importance in the broader curriculum and in HL Mathematics if you choose to continue.
| SL 2.5 Foundation | Advanced Connection |
|---|---|
| log laws (product, quotient, power) | Simplifying expressions in calculus (e.g., differentiating products via logarithmic differentiation) |
| Solving exponential equations using logs | Modeling half-life and continuous growth/decay (SL 2.10 and beyond) |
| The natural logarithm ln(x) | The integral ∫(1/x) dx = ln|x| + C, a cornerstone of HL Calculus |
| Change of base formula | Information theory (log₂ for bits) and entropy in physics and computer science |
| Logarithmic scales (e.g., Richter, pH) | Log-log and semi-log plots for linearizing data in the IA and science courses |
One particularly powerful connection worth previewing is the idea of linearization. If you suspect your data follows an exponential model y = abx, you can take the logarithm of both sides to get log(y) = log(a) + x × log(b). This transforms the exponential relationship into a linear one, which is much easier to analyze and graph. This technique is invaluable for the Internal Assessment and for science courses where you need to determine whether data fits an exponential pattern.
Practice Problems
Lesson Summary
A logarithm is the inverse of an exponential function: if bx = a, then logb(a) = x. The domain of y = logb(x) is x > 0, the range is all real numbers, and the graph has a vertical asymptote at x = 0 and passes through the point (1, 0). The three key laws — product (log of a product = sum of logs), quotient (log of a quotient = difference of logs), and power (log of a power = exponent × log) — allow you to simplify expressions and solve equations. The change of base formula lets you evaluate any logarithm using your calculator's log or ln button.
When solving logarithmic equations, always check solutions against domain restrictions to eliminate extraneous answers. Logarithmic models are ideal for real-world data that grows rapidly at first and then levels off (diminishing returns), and they power familiar scales like the Richter scale, decibels, and pH. Transformations of the parent function follow the same rules as other functions: vertical/horizontal shifts move the curve and its asymptote, while vertical stretches and reflections change its steepness and orientation.