Introduction
Welcome! In this lesson, we’ll focus on logarithmic functions in context and how they are used for data modeling. Building on our understanding of exponential functions, we’ll see how logarithmic functions act as their inverses and help describe situations involving proportional growth or repeated multiplication. You’ll learn how to construct logarithmic models using proportions, input-output pairs, transformations, and technology-based regressions. By interpreting numerical results in real-world contexts, you’ll use these models to analyze data and make predictions about dependent variables.
Essential Knowledge from the CED
According to the AP Precalculus Course and Exam Description (CED), these are the key ideas you’ll be expected to understand about exponential functions for the exam:
- Logarithmic functions are inverses of exponential functions and are used to model situations involving proportional growth or repeated multiplication. In these models, input values change proportionally over equal-length output intervals. If the output value is a whole number, it represents how many times the initial value has been multiplied by a constant proportion.
- A logarithmic function model can be constructed using a known proportion and a real zero, or by using two given input-output pairs.
- Logarithmic function models can be created by applying transformations to the parent function , depending on the characteristics of the context or data set.
- Technology can be used to construct logarithmic models from data using logarithmic regression.
- The natural logarithm function, , is often especially useful for modeling real-world phenomena.
- Logarithmic function models can be used to predict values of the dependent variable.
Logarithmic Functions as Inverses of Exponential Functions
Logarithmic functions are the inverses of exponential functions, which means they reverse exponential growth. Exponential functions show how a quantity grows by being multiplied by the same factor over and over, while logarithmic functions tell us how many times that multiplication happens. Because of this, logarithmic functions are useful for modeling proportional growth instead of constant change.
In logarithmic models, equal increases in the output match proportional changes in the input. This means the input does not increase by the same amount each time, but by the same factor. When the output of a logarithmic function is a whole number, it shows how many times the original value was multiplied by a constant factor. This helps explain real-world situations where growth is fast at first and then slows down.
Let’s look at an example!
As you can see here, the -values are increasing by a factor of each time, not by adding the same number. Each time the -value is multiplied by , the -value increases by . This shows a logarithmic relationship modeled by . The y-value tells us how many times must be multiplied by to reach the given -value.
Constructing a Logarithmic Model from Given Information
A logarithmic function model can be created when key information about a situation is known. One way is by using a known proportion and a real zero. For example, suppose a bacteria culture starts with and triples every hour. We can track the growth in a table:
From this table, we can see that each time the bacteria count triples, the number of hours increases by . This situation can be modeled by the logarithmic function:
Another method is using two input-output pairs. For example, consider sound intensity:
From this table, we can see that increasing the sound by a factor of increases the intensity by 1. This pattern can be modeled by the logarithmic function:
Building Logarithmic Models Using Transformations
Transformations let us adjust this basic function to match real-world data. The main types are:
- Vertical stretch or compression – multiply by a number to make the graph steeper or flatter
- Horizontal shift – add or subtract inside the log to move the graph left or right
- Vertical shift – add or subtract outside the log to move the graph up or down
Example:
Suppose we are modeling how long it takes a car to slow down depending on the braking force applied. From the data, we notice:
- The car takes at least to start slowing (so we need a vertical shift)
- The effect of braking is stronger than in the parent function (so we stretch it vertically)
We can write the transformed model as:
As you can see in the table, multiplying by makes the time increase faster as braking force increases, and adding accounts for the minimum delay. This shows how transformations adjust the parent logarithmic function to match real-world data.
Using Technology and the Natural Logarithm to Model Data
The natural logarithm function, , is often especially useful for modeling real-world phenomena. It is helpful for situations involving continuous growth or decay, like populations, chemical reactions, or other processes that change proportionally over time. Logarithmic models can then be used to predict values of the dependent variable.
A useful calculator that can be used on the AP exam is Desmos. When doing regression, always make sure to enable log mode, as it will then be able to configure the inputted equation into a curve instead of a line. This allows you to enter data and perform logarithmic regression, which finds the logarithmic function that best fits a set of data points.
Quick note: To make a table in Desmos, simply type ‘table’ and Desmos will automatically build a table to input points in.
Let’s look at an example:
Suppose a scientist is tracking the concentration of a medicine in the bloodstream over the first few hours after it is administered. The data collected is:
First, we have to find the regression of this model using technology. This will give the logarithmic function that best fits the data and can later be used to predict the concentration at times not recorded in the table.

Let’s say we want to figure out what the concentration of the medicine would be after . Once we have the logarithmic regression function, we can simply plug in to estimate the concentration at that time. This shows how logarithmic models allow us to make predictions based on the pattern of the data.

The line intersects the graph at the . For the AP exam, rounding to three decimal places, the concentration of the medicine at is approximately .
Let’s say we wanted to figure out when the concentration reaches a specific value, like . Using the regression graph in Desmos, we can draw a horizontal line at and see where it intersects the curve. The -value of that intersection will give us the approximate time when the concentration reaches .

Looking at the above graph, the horizontal line at intersects the graph at the . For the AP exam, rounding to three decimal places, the concentration of occurs at approximately 4.883 hours.
Let’s look at another situation. Suppose a biologist is studying the population of a small fish species in a pond. The population grows quickly at first but then slows as resources become limited. The biologist collects the following data:
First, we would use technology, like Desmos, to perform a logarithmic regression and find the function that best fits the data. Once the regression function is created, we can use it to make predictions about the population at times not listed in the table.

If we wanted to know the population after 5 months, we could type into Desmos and, by looking at where this vertical line at intersects the regression graph, find the estimated population at that time.

From the graph, we can tell that the vertical line at intersects the regression graph at the . For the AP exam, rounding to three decimal places, the estimated population of the fish after 5 months is approximately .
Let’s say we wanted to figure out when the population reaches . We can type into Desmos and look at the regression graph. By seeing where the horizontal line at intersects the curve, we can find the x-value of that point, which gives the approximate number of months it takes for the population to reach 450.

Looking at the graph, it can be the horizontal line at intersects the regression graph at . For the AP exam, rounding to three decimal places, the population reaches 450 fish at approximately 6.593 months.
