Learning Objectives
A student will be able to:
 Fit data to linear models.
 Fit data to quadratic models.
 Fit data to trigonometric models.
 Fit data to exponential growth and decay models.
Introduction
In our last lesson we examined functions and learned how to classify and sketch functions. In this lesson we will use some classic functions to model data. The lesson will be a set of examples of each of the models. For each, we will make extensive use of the graphing calculator.
Let’s do a quick review of how to model data on the graphing calculator.
Enter Data in Lists
Press [STAT] and then [EDIT] to access the lists, L1  L6.
View a Scatter Plot
Press 2nd [STAT PLOT] and choose accordingly.
Then press [WINDOW] to set the limits of the axes.
Compute the Regression Equation
Press [STAT] then choose [CALC] to access the regression equation menu. Choose the appropriate regression equation (Linear, Quad, Cubic, Exponential, Sine).
Graph the Regression Equation Over Your Scatter Plot
Go to Y=> [MENU] and clear equations. Press [VARS], then enter and EQ and press [ENTER] (This series of entries will copy the regression equation to your Y = screen.) Press [GRAPH] to view the regression equation over your scatter plot
Plotting and Regression in Excel
You can also do regression in an Excel spreadsheet. To start, copy and paste the table of data into Excel. With the two columns highlighted, including the column headings, click on the Chart icon and select XY scatter. Accept the defaults until a graph appears. Select the graph, then click Chart, then Add Trendline. From the choices of trendlines choose Linear.
Now let’s begin our survey of the various modeling situations.
Linear Models
For these kinds of situations, the data will be modeled by the classic linear equation Our task will be to find appropriate values of and for given data.
Example 1:
It is said that the height of a person is equal to his or her wingspan (the measurement from fingertip to fingertip when your arms are stretched horizontally). If this is true, we should be able to take a table of measurements, graph the measurements in an coordinate system, and verify this relationship. What kind of graph would you expect to see? (Answer: You would expect to see the points on the line .)
Suppose you measure the height and wingspans of nine of your classmates and gather the following data. Use your graphing calculator to see if the following measurements fit this linear model (the line ).
Height (inches)  Wingspan (inches) 

We observe that only one of the measurements has the condition that they are equal. Why aren’t more of the measurements equal to each other? (Answer: The data do not always conform to exact specifications of the model. For example, measurements tend to be loosely documented so there may be an error arising in the way that measurements were taken.)
We enter the data in our calculator in L1 and L2. We then view a scatter plot. (Caution: note that the data ranges exceed the viewing window range of Change the window ranges accordingly to include all of the data, say )
Here is the scatter plot:
Now let us compute the regression equation. Since we expect the data to be linear, we will choose the linear regression option from the menu. We get the equation
In general we will always wish to graph the regression equation over our data to see the goodness of fit. Doing so yields the following graph, which was drawn with Excel:
Since our calculator will also allow for a variety of nonlinear functions to be used as models, we can therefore examine quite a few real life situations. We will first consider an example of quadratic modeling.
Quadratic Models
Example 2:
The following table lists the number of Food Stamp recipients (in millions) for each year after 1990.
years after 1990  Participants 

We enter the data in our calculator in L3 and L4 (that enables us to save the last example’s data). We then will view a scatter plot. Change the window ranges accordingly to include all of the data. Use for and for
Here is the scatter plot:
Now let us compute the regression equation. Since our scatter plot suggests a quadratic model for the data, we will choose Quadratic Regression from the menu. We get the equation:
Let’s graph the equation over our data. We see the following graph:
Trigonometric Models
The following example shows how a trigonometric function can be used to model data.
Example 3:
With the skyrocketing cost of gasoline, more people have looked to mass transit as an option for getting around. The following table uses data from the American Public Transportation Association to show the number of mass transit trips (in billions) between 1992 and 2000.
year  Trips (billions) 

1992  
1993  
1994  
1995  
1996  
1997  
1998  
1999  
2000 
We enter the data in our calculator in L5 and L6, starting in L5 with the number one for 1992 (the first year). We then will view a scatter plot. Change the window ranges accordingly to include all of the data. Use for both and ranges.
Here is the scatter plot:
Now let us compute the regression equation. Since our scatter plot suggests a sine model for the data, we will choose Sine Regression from the menu. We get the equation:
Let us graph the equation over our data. We see the following graph:
This example suggests that the sine over time is a function that is used in a variety of modeling situations.
Caution: Although the fit to the data appears quite good, do we really expect the number of trips to continue to go up and down in the future? Probably not. Here is what the graph looks like when projected an additional ten years:
Exponential Models
Our last class of models involves exponential functions. Exponential models can be used to model growth and decay situations. Consider the following data about the declining number of farms for the years 1980  2005.
Example 4:
The number of dairy farms has been declining over the past years. The following table charts the decline:
Year  Farms (thousands) 

1980  
1985  
1990  
1995  
2000  
2005 
We enter the data in our calculator in L5 (entering the year 1980 as 1, the year 1985 as 2, etc.) and L6. We then will view a scatter plot. Change the window ranges accordingly to include all of the data. For the large values, choose the range with a scale of
Here is the scatter plot:
Now let us compute the regression equation. Since our scatter plot suggests an exponential model for the data, we will choose Exponential Regression from the menu. We get the equation:
Let’s graph the equation over our data. We see the following graph:
In the homework we will practice using our calculator extensively to model data.
Lesson Summary
 Fit data to linear models.
 Fit data to quadratic models.
 Fit data to trigonometric models.
 Fit data to exponential growth and decay models.
Review Questions
 Consider the following table of measurements of circular objects:
 Make a scatter plot of the data.
 Based on your plot, which type of regression will you use?
 Find the line of best fit.
 Comment on the values of and in the equation.
Object  Diameter (cm)  Circumference (cm) 

Glass  
Flashlight  
Aztec calendar  
Tylenol bottle  
Popcorn can  
Salt shaker  
Coffee canister  
Cat food bucket  
Dinner plate  
Ritz cracker 
 Manatees are large, gentle sea creatures that live along the Florida coast. Many manatees are killed or injured by power boats. Here are data on powerboat registrations (in thousands) and the number of manatees killed by boats in Florida from 1987  1997.
 Make a scatter plot of the data.
 Use linear regression to find the line of best fit.
 Suppose in the year 2000, powerboat registrations increase to . Predict how many manatees will be killed.
Year  Boats  Manatees killed 

1987  
1988  
1989  
1990  
1991  
1992  
1993  
1994  
1995  
1996  
1997 
 A passage in Gulliver’s Travels states that the measurement of “Twice around the wrist is once around the neck.” The table below contains the wrist and neck measurements of people.
 Make a scatter plot of the data.
 Find the line of best fit and comment on the accuracy of the quote from the book.
 Predict the distance around the neck of Gulliver if the distance around his wrist is found to be .
Wrist (cm)  Neck (cm) 

 The following table gives women’s average percentage of men’s salaries for the same jobs for each year period from 1960  2005.
 Make a scatter plot of the data.
 Based on your sketch, should you use a linear or quadratic model for the data?
 Find a model for the data.
 Can you explain why the data seems to dip at first and then grow?
Year  Percentage 

1960  
1965  
1970  
1975  
1980  
1985  
1990  
1995  
2000  
2005 
 Based on the model for the previous problem, when will women make as much as men? Is your answer a realistic prediction?
 The average price of a gallon of gas for selected years from 1975  2008 is given in the following table:
 Make a scatter plot of the data.
 Based on your sketch, should you use a linear, quadratic, or cubic model for the data?
 Find a model for the data.
 If gas continues to rise at this rate, predict the price of gas in the year 2012.
Year  Cost 

1975  
1976  
1981  
1985  
1995  
2005  
2008 
 For the previous problem, use a linear model to analyze the situation. Does the linear method provide a better estimate for the predicted cost for the year 2012? Why or why not?
 Suppose that you place in a bank account where it grows exponentially and is compounded annually over the course of six years. The table below shows the amount of money you have at the end of each year.
 Find the exponential model.
 In what year will you triple your original amount?
Year  Amount 

 Suppose that in the previous problem, you started with but maintained the same interest rate.
 Give a formula for the exponential model. (Hint: note the coefficient in the previous answer!)
 How long will it take for the initial amount, , to triple? Explain your answer.
 The following table gives the average daily temperature for Indianapolis, Indiana for each month of the year:
 Construct a scatter plot of the data.
 Find the sine model for the data.
Month  Avg Temp (F) 

Jan  
Feb  
March  
April  
May  
June  
July  
Aug  
Sept  
Oct  
Nov  
Dec 
Review Answers

 Not included.
 Linear.
 is an estimate of , and should be zero but due to error in measurement it is not.
 Not included.
 Not included.
 ; about manatees will be killed in the year 2000. Note: there were actually manatees killed in the year 2000.
 Not included.
 Not included.
 ; .
 Not included.
 Quadratic
 It might be because the first wave of women into the workforce tended to take whatever jobs they could find without regard for salary.
 The data suggest that women will reach in 2025. To find the answer, you set equal to 100 and solve for , and turns out to be approximately 14. Since the years are in 5year intervals, corresponds to 2025. This is unrealistic based on current reports that women still lag far behind men in equal salaries for equal work.
 Not included.
 It appears a cubic model might be appropriate, because of the general upward movement over time, with one dip.
 Since year 2008 was year 34 in our Table 1 input L1, and each unit represents a one year unit, 2012 is represented by , and we want to solve for . So that gives us , or $4.61, as the projected cost per gallon in 2012.
 Linear ; Predicted cost in 2012 is ; the linear model seems to be a better predictor of gas prices than the cubic model, at least early in the year 2012. The linear model is also better because the cubic model only allows for one “dip” and gas prices, although generally trending up as the earth’s supply of oil is consumed, could have multiple dips in the future due to temporary fluctuations in demand.
 Not included.
 ; the amount will triple early in Year .
 The amount will triple early in Year as in the last problem because the exponential equations and both reduce to the same equation and hence have the same solution.
 Not included.