2.5 - Exponential Function Context and Data Modeling

Nikolas

Introduction

Welcome back to AP Precalculus! We are on Unit 2. In the previous articles, we discussed exponential functions very extensively, talking about what they are, their form being , and different ways to apply transformations such as shifting them up or down, or dilating them horizontally or vertically. Today we will be talking about Exponential Function Context and Data Modeling where we use these functions to express different scenarios that are applicable! With no further ado, let’s get started!

Modeling Data with Math

Let’s dive into the following scenario: A company is trying to track the total number of sales a product made over the first year that it was released. To visualize this data, the company took a snapshot of the total number of sales each week and graphed it in a chart, which is shown below:

Figure 2.5.1: Total number of sales vs. number of weeks since launch. Made using Desmos.
Figure 2.5.1: Total number of sales vs. number of weeks since launch. Made using Desmos.

Now the company wants to predict how many total sales they will have by the end of the next year. The issue is that, at the moment, all we have is data, and while data on its own is nice, it doesn’t tell us much besides the general trends on what is happening. This is where regressions come in. Regressions allow us to take a dataset, such as the one shown below, and try to fit a function to the data by changing the constants of the data. For example, if I were to use an exponential regression on the dataset, the calculator will try to find values of and that make the function most closely fit the data. In this case, the optimal values of and were and respectively. Below is the graph of the function .

Figure 2.5.2: An exponential regression. Made using Desmos  .
Figure 2.5.2: An exponential regression. Made using Desmos  .

The regression above is an exponential regression, since it attempts to fit the data to an exponential function. There are many different types of regressions you can use, such as a linear regression (which tries to match the function to a linear equation).

Calculating a regression

The below guide will be using Desmos, as you are given access to it on the Bluebook application. [Editor's Note: More details about Desmos Calculator Usage can be found in Exam Guides section of AP Precalculus]. Please refer to your specific calculator’s manual for advice regarding your calculator

Figure 2.5.3: Function y=x.  Made using Desmos  .
Figure 2.5.3: Function y=x.  Made using Desmos  .

1) Click on the icon above the equations:

Figure 2.5.4: A dropdown menu in 

Desmos.
Figure 2.5.4: A dropdown menu in  Desmos.

2) Click on the table:

Figure 2.5.5: The "table" feature in Desmos.
Figure 2.5.5: The "table" feature in Desmos.

3) Fill in the data into the table

Figure 2.5.6:  The "regression" feature in Desmos.
Figure 2.5.6:  The "regression" feature in Desmos.

Click this icon next to the the table and select your desired regression type.

Figure 2.5.7: The "regression" feature in Desmos.
Figure 2.5.7: The "regression" feature in Desmos.

Modeling Data without a calculator

The AP exam is divided into two parts, one where you are allowed to use your calculator, and one where you aren’t. Using a regression tool on your calculator works for the calculator-allowed section of the test, but is not possible on the calculator-disallowed section of the test. The methods used to solve these problems have been mostly discussed in previous topics, so you should already be familiar with how to solve these. Below are a couple of question formats you might be given on a quiz or the AP exam along with how to solve them.

  • You are provided a dataset of values. Would a linear regression or exponential regression fit the data better?
  • You are given a graph of values. Would a linear regression or exponential regression fit the data better?
  • You are given two points on a function of the form . Find and .
  • As increases by units, increases by a ratio of . The initial value of the function is . Find a function that is the same as the expression above.

You have quite a bunch of options here! Let’s do an example so you can understand a few of these methods.

EXAMPLE 1:

A person is playing a game where the number of points is represented by after each round . Points are used to upgrade tools and armor and a player can earn more points in each round. The following table shows the player’s progress.

Find an exponential function that best models this data.

Take some time to work it out and try to find the ideal function.

The first thing that you may notice is that the data is pretty interesting in the fact that if you try to verify if the data is exponential, the numbers just don’t add up. If we take the points from Round 2 to 1 and divide, we get . However, if we do from Round 3 to 2 and divide, we get . Not the biggest difference, but if we continue, we get and . Something is not right. 

If you have a keen eye, then you may be able to spot that if we subtract from , we get something very close to a sort of exponential function.

Turns out, this does match an exponential function, specifically . As such, we can say that models this well. We subtracted 8 from the table, so it only makes sense that our original table is modeled with the function .

Notice that we had to modify the table a little and realize that there is some constant that is added to the data that makes the data not match up perfectly to an exponential function. This can occur, and it is something to look out for.

EXAMPLE 2:

Jackson deposits $ into a savings account represented by that earns interest annually and is compounded. In terms of , months, find a function that can predict the amount of money Jackson will have in the future, and use the function to find the amount of money he will have in exactly months.

Take some time to figure out this problem. Be a little innovative!

Alright. Firstly, this is a weird-ish problem, because we are technically given all we need, but it is not very clear, but let’s break down everything. If Jackson deposits $ initially, that means that the savings account will start with $. In an exponential function in the form , is the starting value. Since our starting value is , we set .

Next up, realize that Jackson earns four percent of what he has in his account every year, or plus How do we make this into an exponential equation? Well, let’s take a quick example.

If we double something continuously, we can represent it as . Now, it is not wrong to say that this is also . If you don’t see the point yet, let me make it clearer by saying that this is also . If I had two objects and they doubled, I would have four of those objects. I have just gained and added to my total 100% of my objects. This matters because is saying that the first 1.00 is the baseline, and the second 1.00 is how much I gain after each time. As such, wouldn’t mean that I gain , or each time? As such, it only makes sense that .

Our equation is now , and this is correct, right? Well… not quite. You see, Jackson gains every year, but the question asks us to model what happens each month. How do we convert our years into months? Well, we know one year is twelve months (hopefully). If we increase by one (our placeholder variable for a year), then Jackson earns a nice 4%. However, how do we replace with in such a way that if we raise by 12 months, or one year, it will give Jackson that sweet ? Well, can’t we just replace with ? Think about it for a second.

Our equation is now , and we are done with solving for the function. The only step now is to plug in and get an answer.

This is quite a hefty problem, so I am going to walk you through another one of a similar style so that you can lock this type of problem into your mind.

EXAMPLE 3:

In a game, every five waves is one round, and a player begins with health represented by . A player knows that a deadly poison effect takes away a fifth of the player’s total health every round, but each wave causes the player to take damage that compounds. Find an exponential function that models a player’s health each wave, , after receiving the deadly poison effect, and find how many waves it takes for the player’s health to go down to or less.

This one is an interesting scenario, so take your time.

Firstly, the exponential form is . Since the player begins with health, . For the value of , we do . What is the missing number? Well, if we are losing health, then the function must be an exponential decay, which means is from . As such, the missing number must be negative and only makes sense that it is , or . As such, our base is . We have . We can also see this as the player conserving of his health after the damage.

As we know, represents each round, but we have to represent the function in terms of each wave. As we know, five waves is one round. If goes up by , the player loses health. We need to make it so that if goes up by , which is equivalent to one round, the player also loses . As such, only works to replace . Our new function is .

Finally, let’s find out how many waves it takes for the player’s health to go down to or less by setting the function equal to .

Finally, round up because waves are in whole numbers, not in decimals. As such, it will take at least waves to get down to health or less.

e

is a constant that is approximately equal to , and appears frequently in problems involving real-life scenarios. I mean, just know about this constant as it can appear.

Questions