Introduction
Welcome! In this lesson, we’ll focus on logarithmic functions in context and how they are used for data modeling. Building on your understanding of exponential functions, you’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, ln, 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 x-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 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 . This pattern can be modeled by the logarithmic function:
Building Logarithmic Models Using Transformations
We can create logarithmic models by starting with the parent function:
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. Assume that the time it takes to stop can be modeled as . 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 and which you have access to on the AP exam is Desmos. This allows you to enter data and perform logarithmic regression, which finds the logarithmic function that best fits a set of data points.
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.
We can type into Desmos and then, by looking at the vertical line at , see where it intersects the graph. That intersection point will give us the estimated concentration at .

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 .

As you can see, the horizontal line at intersects the graph at the . For the AP exam, rounding to three decimal places, the concentration of occurs at approximately .
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 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.

As you can see, 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 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 value of that point, which gives the approximate number of months it takes for the population to reach .

As you can see, the horizontal line at intersects the regression graph at . For the AP exam, rounding to three decimal places, the population reaches fish at approximately months.
Practice Questions
Questions
- A barista is studying how quickly a cup of hot coffee cools down to room temperature. The temperature decreases rapidly at first and then more slowly over time. The following data is collected, with time in minutes and the temperature in degrees Fahrenheit.
- Find the function in the form that models the temperature of the coffee over time.
- Using the model, estimate the temperature of the coffee after .
- Using the model, determine approximately when the coffee will cool down to .
- A botanist is tracking the growth of a young plant in a controlled greenhouse experiment. The botanist records the plant’s height at various times to understand its growth pattern. The data collected, with time in weeks and height in centimeters, is shown below:
- Find the function in the form that models the plant's height over time.
- Using the model, estimate the temperature of the coffee after minutes.
- Using the model, determine approximately when the plant will reach in height.
Answers to Practice Questions
- Modeling Coffee Cooling
- The answer is . Once generating a table of values in Desmos and performing a logarithmic regression, Desmos finds the best-fit function for the data. This function models the coffee’s temperature in degrees Fahrenheit at time in minutes.
- The answer is approximately . By typing into Desmos and looking at where the vertical line at intersects the regression graph, we can see the estimated temperature after minutes.
- The answer is approximately . By typing into Desmos and looking at where the horizontal line at intersects the regression graph, we can determine the approximate time when the coffee cools to .
- Modeling Plant Growth
- The answer is . Once generating a table of values in Desmos and performing a logarithmic regression, Desmos finds the best-fit function for the data. This function models the plant’s height in centimeters at time in weeks.
- The answer is approximately , rounded to three decimal places. By typing into Desmos and looking at where the vertical line at intersects the regression graph, we can see the estimated height of the plant at .
- The answer is approximately , rounded to three decimal places. By typing into Desmos and looking at where the horizontal line at intersects the regression graph, we can determine the approximate time when the plant reaches .
