27 Fitting Linear Models to Data

Learning Objectives

In this section you will:

  • Draw and interpret scatter diagrams.
  • Use a graphing utility to find the line of best fit.
  • Distinguish between linear and nonlinear relations.
  • Fit a regression line to a set of data and use the linear model to make predictions.

A professor is attempting to identify trends among final exam scores. His class has a mixture of students, so he wonders if there is any relationship between age and final exam scores. One way for him to analyze the scores is by creating a diagram that relates the age of each student to the exam score received. In this section, we will examine one such diagram known as a scatter plot.

Drawing and Interpreting Scatter Plots

A scatter plot is a graph of plotted points that may show a relationship between two sets of data. If the relationship is from a linear model, or a model that is nearly linear, the professor can draw conclusions using his knowledge of linear functions. (Figure) shows a sample scatter plot.

Scatter plot, titled 'Final Exam Score VS Age'. The x-axis is the age, and the y-axis is the final exam score. The range of ages are between 20s - 50s, and the range for scores are between upper 50s and 90s.
Figure 1. A scatter plot of age and final exam score variables

Notice this scatter plot does not indicate a linear relationship. The points do not appear to follow a trend. In other words, there does not appear to be a relationship between the age of the student and the score on the final exam.

Using a Scatter Plot to Investigate Cricket Chirps

(Figure) shows the number of cricket chirps in 15 seconds, for several different air temperatures, in degrees Fahrenheit[1]. Plot this data, and determine whether the data appears to be linearly related.

Cricket Chirps vs Air Temperature
Chirps 44 35 20.4 33 31 35 18.5 37 26
Temperature 80.5 70.5 57 66 68 72 52 73.5 53
[reveal-answer q=”fs-id2064463″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2064463″]Plotting this data, as depicted in (Figure) suggests that there may be a trend. We can see from the trend in the data that the number of chirps increases as the temperature increases. The trend appears to be roughly linear, though certainly not perfectly so.

Scatter plot, titled 'Cricket Chirps vs. Air Temperature'. The x-axis is the Cricket Chirps in 15 Seconds, and the y-axis is the Temperature (F). The line regression is generally positive.
Figure 2.

[/hidden-answer]

Finding the Line of Best Fit

Once we recognize a need for a linear function to model that data, the natural follow-up question is “what is that linear function?” One way to approximate our linear function is to sketch the line that seems to best fit the data. Then we can extend the line until we can verify the y-intercept. We can approximate the slope of the line by extending it until we can estimate the[latex]\,\frac{\text{rise}}{\text{run}}.[/latex]

Finding a Line of Best Fit

Find a linear function that fits the data in (Figure) by “eyeballing” a line that seems to fit.

[reveal-answer q=”fs-id1497780″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1497780″]

On a graph, we could try sketching a line. Using the starting and ending points of our hand drawn line, points (0, 30) and (50, 90), this graph has a slope of

[latex]\begin{array}{l}\hfill \\ \begin{array}{l}m=\frac{60}{50}\hfill \\ \,\,\,\,=1.2\hfill \end{array}\hfill \end{array}[/latex]

and a y-intercept at 30. This gives an equation of

[latex]T\left(c\right)=1.2c+30[/latex]

where[latex]\,c\,[/latex]is the number of chirps in 15 seconds, and[latex]\,T\left(c\right)\,[/latex]is the temperature in degrees Fahrenheit. The resulting equation is represented in (Figure).

Scatter plot, showing the line of best fit: T(c) = 1.2c + 30. It is titled 'Cricket Chirps Vs Air Temperature'. The x-axis is 'c, Number of Chirps', and the y-axis is 'T(c), Temperature (F)'.
Figure 3.

[/hidden-answer]

Analysis

This linear equation can then be used to approximate answers to various questions we might ask about the trend.

Recognizing Interpolation or Extrapolation

While the data for most examples does not fall perfectly on the line, the equation is our best guess as to how the relationship will behave outside of the values for which we have data. We use a process known as interpolation when we predict a value inside the domain and range of the data. The process of extrapolation is used when we predict a value outside the domain and range of the data.

(Figure) compares the two processes for the cricket-chirp data addressed in (Figure). We can see that interpolation would occur if we used our model to predict temperature when the values for chirps are between 18.5 and 44. Extrapolation would occur if we used our model to predict temperature when the values for chirps are less than 18.5 or greater than 44.

There is a difference between making predictions inside the domain and range of values for which we have data and outside that domain and range. Predicting a value outside of the domain and range has its limitations. When our model no longer applies after a certain point, it is sometimes called model breakdown. For example, predicting a cost function for a period of two years may involve examining the data where the input is the time in years and the output is the cost. But if we try to extrapolate a cost when[latex]\,x=50,[/latex]that is in 50 years, the model would not apply because we could not account for factors fifty years in the future.

Scatter plot, showing the line of best fit. It is titled 'Cricket Chirps Vs Air Temperature'. The x-axis is 'c, Number of Chirps', and the y-axis is 'T(c), Temperature (F)'. The area around the scattered points is enclosed in a box labeled: Interpolation. The area outside of this box is labeled: Extrapolation.
Figure 4. Interpolation occurs within the domain and range of the provided data whereas extrapolation occurs outside.

Interpolation and Extrapolation

Different methods of making predictions are used to analyze data.

The method of interpolation involves predicting a value inside the domain and/or range of the data.

The method of extrapolation involves predicting a value outside the domain and/or range of the data.

Model breakdown occurs at the point when the model no longer applies.

Understanding Interpolation and Extrapolation

Use the cricket data from (Figure) to answer the following questions:

  1. Would predicting the temperature when crickets are chirping 30 times in 15 seconds be interpolation or extrapolation? Make the prediction, and discuss whether it is reasonable.
  2. Would predicting the number of chirps crickets will make at 40 degrees be interpolation or extrapolation? Make the prediction, and discuss whether it is reasonable.
[reveal-answer q=”fs-id1570270″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1570270″]

  1. The number of chirps in the data provided varied from 18.5 to 44. A prediction at 30 chirps per 15 seconds is inside the domain of our data, so would be interpolation. Using our model:
    [latex]\begin{array}{ccc}\hfill \text{T (30)}& =& \text{30 + 1.2(30)}\hfill \\ & =& \text{66 degrees}\hfill \end{array}[/latex]

    Based on the data we have, this value seems reasonable.

  2. The temperature values varied from 52 to 80.5. Predicting the number of chirps at 40 degrees is extrapolation because 40 is outside the range of our data. Using our model:
    [latex]\begin{array}{l}40=30+1.2c\hfill \\ 10=1.2c\hfill \\ \text{ }c\approx 8.33\hfill \end{array}[/latex]

We can compare the regions of interpolation and extrapolation using (Figure).

Scatter plot, showing the line of best fit and where interpolation and extrapolation occurs. It is titled 'Cricket Chirps vs. Air Temperature'. The x-axis is 'c, Number of Chirps', and the y-axis is 'T(c), Temperature (F)'. An additional point is plotted inside of the box to represent an interpolated point. There is another additional point plotted outside of the box to represent an extrapolated point.
Figure 5.

[/hidden-answer]

Analysis

Our model predicts the crickets would chirp 8.33 times in 15 seconds. While this might be possible, we have no reason to believe our model is valid outside the domain and range. In fact, generally crickets stop chirping altogether below around 50 degrees.

Try It

According to the data from (Figure), what temperature can we predict it is if we counted 20 chirps in 15 seconds?

[reveal-answer q=”fs-id1685205″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1685205″]

[latex]54°\text{F}[/latex]

[/hidden-answer]

Finding the Line of Best Fit Using a Graphing Utility

While eyeballing a line works reasonably well, there are statistical techniques for fitting a line to data that minimize the differences between the line and data values[2] . One such technique is called least squares regression and can be computed by many graphing calculators, spreadsheet software, statistical software, and many web-based calculators[3] . Least squares regression is one means to determine the line that best fits the data, and here we will refer to this method as linear regression.

How To

Given data of input and corresponding outputs from a linear function, find the best fit line using linear regression.

  1. Enter the input in List 1 (L1).
  2. Enter the output in List 2 (L2).
  3. On a graphing utility, select Linear Regression (LinReg).

Finding a Least Squares Regression Line

Find the least squares regression line using the cricket-chirp data in (Figure).

[reveal-answer q=”fs-id1587366″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1587366″]

  1. Enter the input (chirps) in List 1 (L1).
  2. Enter the output (temperature) in List 2 (L2). See (Figure).
    L1 44 35 20.4 33 31 35 18.5 37 26
    L2 80.5 70.5 57 66 68 72 52 73.5 53
  3. On a graphing utility, select Linear Regression (LinReg). Using the cricket chirp data from earlier, with technology we obtain the equation:
[latex]T\left(c\right)=30.281+1.143c[/latex][/hidden-answer]

Analysis

Notice that this line is quite similar to the equation we “eyeballed” but should fit the data better. Notice also that using this equation would change our prediction for the temperature when hearing 30 chirps in 15 seconds from 66 degrees to:

[latex]\begin{array}{l}T\left(30\right)=30.281+1.143\left(30\right)\hfill \\ \text{ }=64.571\hfill \\ \text{ }\approx 64.6\text{ degrees}\hfill \end{array}[/latex]
Scatter plot, showing the line of best fit: T(c) = 30.281 + 1.143c. It is titled 'Cricket Chirps vs. Air Temperature'. The x-axis is 'c, Number of Chirps', and the y-axis is 'T(c), Temperature (F)'.
Figure 6.

The graph of the scatter plot with the least squares regression line is shown in (Figure).

Will there ever be a case where two different lines will serve as the best fit for the data?

No. There is only one best fit line.

Distinguishing Between Linear and Nonlinear Models

As we saw above with the cricket-chirp model, some data exhibit strong linear trends, but other data, like the final exam scores plotted by age, are clearly nonlinear. Most calculators and computer software can also provide us with the correlation coefficient, which is a measure of how closely the line fits the data. Many graphing calculators require the user to turn a ”diagnostic on” selection to find the correlation coefficient, which mathematicians label as[latex]\,r\,[/latex]The correlation coefficient provides an easy way to get an idea of how close to a line the data falls.

We should compute the correlation coefficient only for data that follows a linear pattern or to determine the degree to which a data set is linear. If the data exhibits a nonlinear pattern, the correlation coefficient for a linear regression is meaningless. To get a sense for the relationship between the value of[latex]\,r\,[/latex]and the graph of the data, (Figure) shows some large data sets with their correlation coefficients. Remember, for all plots, the horizontal axis shows the input and the vertical axis shows the output.

Correlation coefficients values range from -1.0 - 1.0. Collections of dots representing an example of each kind of correlation coefficient are plotted underneath them. The closer to 1.0 the more the points are grouped tightly to form a line in the positive direction. The closer to -1.0 the more the points are grouped tightly to form a line in the negative direction. The closer to 0 the points are very scattered and do not form a line. Several shapes are displayed at the bottom row, none of which are lines, but all of them have values of 0.
Figure 7. Plotted data and related correlation coefficients. (credit: “DenisBoigelot,” Wikimedia Commons)

Correlation Coefficient

The correlation coefficient is a value,[latex]\,r,[/latex]between –1 and 1.

  • [latex]r>0\,[/latex]suggests a positive (increasing) relationship
  • [latex]r<0\,[/latex]suggests a negative (decreasing) relationship
  • The closer the value is to 0, the more scattered the data.
  • The closer the value is to 1 or –1, the less scattered the data is.

Finding a Correlation Coefficient

Calculate the correlation coefficient for cricket-chirp data in (Figure).

[reveal-answer q=”fs-id2164982″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2164982″]

Because the data appear to follow a linear pattern, we can use technology to calculate[latex]\,r\,[/latex]Enter the inputs and corresponding outputs and select the Linear Regression. The calculator will also provide you with the correlation coefficient,[latex]\,r=0.9509.\,[/latex]This value is very close to 1, which suggests a strong increasing linear relationship.

Note: For some calculators, the Diagnostics must be turned “on” in order to get the correlation coefficient when linear regression is performed: [2nd]>[0]>[alpha][x–1], then scroll to DIAGNOSTICSON.

[/hidden-answer]

Fitting a Regression Line to a Set of Data

Once we determine that a set of data is linear using the correlation coefficient, we can use the regression line to make predictions. As we learned above, a regression line is a line that is closest to the data in the scatter plot, which means that only one such line is a best fit for the data.

Using a Regression Line to Make Predictions

Gasoline consumption in the United States has been steadily increasing. Consumption data from 1994 to 2004 is shown in (Figure).[4] Determine whether the trend is linear, and if so, find a model for the data. Use the model to predict the consumption in 2008.

Year ’94 ’95 ’96 ’97 ’98 ’99 ’00 ’01 ’02 ’03 ’04
Consumption (billions of gallons) 113 116 118 119 123 125 126 128 131 133 136

The scatter plot of the data, including the least squares regression line, is shown in (Figure).

Scatter plot, showing the line of best fit. It is titled 'Gas Consumption VS Year'. The x-axis is 'Year After 1994', and the y-axis is 'Gas Consumption (billions of gallons)'. The points are strongly positively correlated and the line of best fit goes through most of the points completely.
Figure 8.

 

[reveal-answer q=”fs-id1588946″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1588946″]

We can introduce new input variable,[latex]\,t,[/latex]representing years since 1994.

The least squares regression equation is:

[latex]C\left(t\right)=113.318+2.209t[/latex]

Using technology, the correlation coefficient was calculated to be 0.9965, suggesting a very strong increasing linear trend.

Using this to predict consumption in 2008[latex]\,\left(t=14\right),[/latex]

[latex]\begin{array}{l}C\left(14\right)=113.318+2.209\left(14\right)\hfill \\ \text{ }=144.244\hfill \end{array}[/latex]

The model predicts 144.244 billion gallons of gasoline consumption in 2008.[/hidden-answer]

Try It

Use the model we created using technology in (Figure) to predict the gas consumption in 2011. Is this an interpolation or an extrapolation?

[reveal-answer q=”fs-id1608557″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1608557″]

150.871 billion gallons; extrapolation

[/hidden-answer]

Access these online resources for additional instruction and practice with fitting linear models to data.

Key Concepts

  • Scatter plots show the relationship between two sets of data. See (Figure).
  • Scatter plots may represent linear or non-linear models.
  • The line of best fit may be estimated or calculated, using a calculator or statistical software. See (Figure).
  • Interpolation can be used to predict values inside the domain and range of the data, whereas extrapolation can be used to predict values outside the domain and range of the data. See (Figure).
  • The correlation coefficient,[latex]\,r,[/latex]indicates the degree of linear relationship between data. See (Figure).
  • A regression line best fits the data. See (Figure).
  • The least squares regression line is found by minimizing the squares of the distances of points from a line passing through the data and may be used to make predictions regarding either of the variables. See (Figure).

Section Exercises

Verbal

Describe what it means if there is a model breakdown when using a linear model.

[reveal-answer q=”fs-id1412205″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1412205″]

When our model no longer applies, after some value in the domain, the model itself doesn’t hold.

[/hidden-answer]

What is interpolation when using a linear model?

What is extrapolation when using a linear model?

[reveal-answer q=”fs-id926962″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id926962″]

We predict a value outside the domain and range of the data.

[/hidden-answer]

Explain the difference between a positive and a negative correlation coefficient.

Explain how to interpret the absolute value of a correlation coefficient.

[reveal-answer q=”fs-id1570206″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1570206″]

The closer the number is to 1, the less scattered the data, the closer the number is to 0, the more scattered the data.

[/hidden-answer]

Algebraic

A regression was run to determine whether there is a relationship between hours of TV watched per day[latex]\,\left(x\right)\,[/latex]and number of sit-ups a person can do[latex]\,\left(y\right).\,[/latex]The results of the regression are given below. Use this to predict the number of sit-ups a person who watches 11 hours of TV can do.

[latex]\begin{array}{l}y=ax+b\hfill \\ a=-1.341\hfill \\ b=32.234\hfill \\ \text{ }r=-0.896\hfill \end{array}[/latex]

A regression was run to determine whether there is a relationship between the diameter of a tree ([latex]\,x,[/latex]in inches) and the tree’s age ([latex]\,y,[/latex]in years). The results of the regression are given below. Use this to predict the age of a tree with diameter 10 inches.

[latex]\begin{array}{l}y=ax+b\hfill \\ a=6.301\hfill \\ b=-1.044\hfill \\ \text{ }r=-0.970\hfill \end{array}[/latex]
[reveal-answer q=”fs-id2159539″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2159539″]

61.966 years

[/hidden-answer]

For the following exercises, draw a scatter plot for the data provided. Does the data appear to be linearly related?

0 2 4 6 8 10
–22 –19 –15 –11 –6 –2
1 2 3 4 5 6
46 50 59 75 100 136

[reveal-answer q=”1412608″]Show Solution[/reveal-answer][hidden-answer a=”1412608″]Scatter plot with a collection of points appearing at (1,46); (2,50); (3,59); (4,75); (5, 100); and (6,136); they do not appear linear

No.

[/hidden-answer]

100 250 300 450 600 750
12 12.6 13.1 14 14.5 15.2
1 3 5 7 9 11
1 9 28 65 125 216

[reveal-answer q=”1326815″]Show Solution[/reveal-answer][hidden-answer a=”1326815″]Scatterplot with a collection of points at (1,1); (3,9); (5,28); (7,65); (9,125); and (11,216); they do not appear linear

No.

[/hidden-answer]

For the following data, draw a scatter plot. If we wanted to know when the population would reach 15,000, would the answer involve interpolation or extrapolation? Eyeball the line, and estimate the answer.

Year Population
1990 11,500
1995 12,100
2000 12,700
2005 13,000
2010 13,750

For the following data, draw a scatter plot. If we wanted to know when the temperature would reach 28°F, would the answer involve interpolation or extrapolation? Eyeball the line and estimate the answer.

 
Temperature,°F 16 18 20 25 30
Time, seconds 46 50 54 55 62

[reveal-answer q=”2078772″]Show Solution[/reveal-answer][hidden-answer a=”2078772″]Scatterplot with a collection of points at (16,46); (18,50); (20,54); (25,55); and (30,62); they appear nonlinear

Interpolation. About [latex]\,60°F.[/latex]

[/hidden-answer]

Graphical

Side-by-side scatter plots. The first is a scattered correlation in the positive direction. The second is a scattered correlation in the negative direction
Figure 9.
Side-by-side scatter plots. The first has a strong negative correlation with all the points spaced out evenly near the top and center, but more spread out near the bottom. The second has a strong positive correlation, with the points more spread out near the bottom and closer together near the center and top.
Figure 10.

For the following exercises, match each scatterplot with one of the four specified correlations in (Figure) and (Figure).

[latex]r=0.\text{95}[/latex]

[latex]r=-0.\text{89}[/latex]

[reveal-answer q=”fs-id1395980″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1395980″]

[latex]\text{This value of r indicates a strong negative correlation or slope, so C}[/latex]

[/hidden-answer]

[latex]r=-0.26[/latex]

[latex]r=-0.39[/latex]
[reveal-answer q=”fs-id995908″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id995908″]

[latex]\text{This value of r indicates a weak negative correlation, so B}[/latex]

[/hidden-answer]

For the following exercises, draw a best-fit line for the plotted data.

Scatter plot with a domain of 0 to 10 and a range of 4 to 9. The points are at (0,5); (2.1,4.2); (3.5,6); (4.5,6.5); (5.5,6.8); (7,7.4); (8,8.5); (9,8); and (10,9).
Scatter plot with a domain of 0 to 10 and a range of -1 to 4. The points are at (0,1.5); (1.5, -0.1); (2.1,1.9); (3.4, 1.5); (4.5,2.5); (5.8,2.2); (6.8,3.8); (7.8,3.6); (8.8,2); and (10,2.4).
[reveal-answer q=”1729040″]Show Solution[/reveal-answer][hidden-answer a=”1729040″]Scatter plot with domain 0 to 10 and a range from -1 to 4 with the line of best fit drawn going through the points: (0,1.5); (1.5, -0.1); (2.1,1.9); (3.4, 1.5); (4.5,2.5); (5.8,2.2); (6.8,3.8); (7.8,3.6); (8.8,2); and (10,2.4).[/hidden-answer]
Scatter plot with a domain of 0 to 10 and range of 0 to 7 with the points: (0,7.3); (1,7); (2.2,6); (3.6,7); (4.8,6.2); (5.8,4); (6.6,3.8); (7.9,2.4); (8.8,2); and (10,0.1).Scatter plot with a domain of 0 to 10 and a range of 2 to 6 with the points: (0,2.1); (1,3.9); (2.1,3.6); (3.6,3.9); (4.4,4); (5.6,4.2); (6.8,5); (7.8,5); (9,5.6); and (10,6).
 
[reveal-answer q=”1702047″]Show Solution[/reveal-answer][hidden-answer a=”1702047″]Scatter plot with a domain of 0 to 10 and a range of 2 to 6 and the line of best fit going through the points: (0,2.1); (1,3.9); (2.1,3.6); (3.6,3.9); (4.4,4); (5.6,4.2); (6.8,5); (7.8,5); (9,5.6); and (10,6)[/hidden-answer]

Numeric

The U.S. Census tracks the percentage of persons 25 years or older who are college graduates. That data for several years is given in (Figure).[5] Determine whether the trend appears linear. If so, and assuming the trend continues, in what year will the percentage exceed 35%?

Year Percent Graduates
1990 21.3
1992 21.4
1994 22.2
1996 23.6
1998 24.4
2000 25.6
2002 26.7
2004 27.7
2006 28
2008 29.4

The U.S. import of wine (in hectoliters) for several years is given in (Figure). Determine whether the trend appears linear. If so, and assuming the trend continues, in what year will imports exceed 12,000 hectoliters?

Year Imports
1992 2665
1994 2688
1996 3565
1998 4129
2000 4584
2002 5655
2004 6549
2006 7950
2008 8487
2009 9462
[reveal-answer q=”fs-id1629450″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1629450″]

Yes, trend appears linear because[latex]\,r=0.\text{985}\,[/latex]and will exceed 12,000 near midyear, 2016, 24.6 years since 1992.

[/hidden-answer]

(Figure) shows the year and the number of people unemployed in a particular city for several years. Determine whether the trend appears linear. If so, and assuming the trend continues, in what year will the number of unemployed reach 5?

Year Number Unemployed
1990 750
1992 670
1994 650
1996 605
1998 550
2000 510
2002 460
2004 420
2006 380
2008 320

Technology

For the following exercises, use each set of data to calculate the regression line using a calculator or other technology tool, and determine the correlation coefficient to 3 decimal places of accuracy.

[latex]x[/latex] 8 15 26 31 56
[latex]y[/latex] 23 41 53 72 103
[reveal-answer q=”fs-id1689902″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1689902″]

[latex]y=\text{1}.\text{64}0x+\text{13}.\text{8}00,[/latex][latex]r=0.\text{987}[/latex]

[/hidden-answer]

[latex]x[/latex] 5 7 10 12 15
[latex]y[/latex] 4 12 17 22 24
[latex]x[/latex] [latex]y[/latex] [latex]x[/latex] [latex]y[/latex]
3 21.9 10 18.54
4 22.22 11 15.76
5 22.74 12 13.68
6 22.26 13 14.1
7 20.78 14 14.02
8 17.6 15 11.94
9 16.52 16 12.76
[reveal-answer q=”fs-id1843470″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1843470″]

[latex]y=-0.962x+26.86, r=-0.965[/latex]

[/hidden-answer]

[latex]x[/latex] [latex]y[/latex]
4 44.8
5 43.1
6 38.8
7 39
8 38
9 32.7
10 30.1
11 29.3
12 27
13 25.8
 
[latex]x[/latex] 21 25 30 31 40 50
[latex]y[/latex] 17 11 2 –1 –18 –40
[reveal-answer q=”fs-id1704740″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1704740″]

[latex]y=-\text{1}.\text{981}x+\text{6}0.\text{197;}[/latex][latex]r=-0.\text{998}[/latex]

[/hidden-answer]

[latex]x[/latex] [latex]y[/latex]
100 2000
80 1798
60 1589
55 1580
40 1390
20 1202
 
[latex]x[/latex] 900 988 1000 1010 1200 1205
[latex]y[/latex] 70 80 82 84 105 108
[reveal-answer q=”fs-id1475836″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1475836″]

[latex]y=0.\text{121}x-38.841,r=0.998[/latex]

[/hidden-answer]

Extensions

Graph[latex]\,f\left(x\right)=0.5x+10.\,[/latex]Pick a set of five ordered pairs using inputs[latex]\,x=-2,\text{1},\text{5},\text{6},\text{9}\,[/latex]and use linear regression to verify that the function is a good fit for the data.

Graph[latex]\,f\left(x\right)=-2x-10.\,[/latex]Pick a set of five ordered pairs using inputs[latex]\,x=-2,\text{1},\text{5},\text{6},\text{9}\,[/latex]and use linear regression to verify the function.

[reveal-answer q=”fs-id1452340″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1452340″]

[latex]\left(-2,-6\right),\left(1,\text{−12}\right),\left(5,-20\right),\left(6,\text{−22}\right),\left(9,\text{−28}\right);\,[/latex]Yes, the function is a good fit.

[/hidden-answer]

For the following exercises, consider this scenario: The profit of a company decreased steadily over a ten-year span. The following ordered pairs shows dollars and the number of units sold in hundreds and the profit in thousands of over the ten-year span, (number of units sold, profit) for specific recorded years:

[latex]\left(\text{46},600\right),\left(\text{48},\text{55}0\right),\left(50,505\right),\left(\text{52},\text{54}0\right),\left(\text{54},\text{495}\right).[/latex]

Use linear regression to determine a function[latex]\,P\,[/latex]where the profit in thousands of dollars depends on the number of units sold in hundreds.

Find to the nearest tenth and interpret the x-intercept.

[reveal-answer q=”fs-id2490923″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2490923″]

[latex]\left(\text{189}.8,0\right)\,[/latex]If 18,980 units are sold, the company will have a profit of zero dollars.

[/hidden-answer]

Find to the nearest tenth and interpret the y-intercept.

Real-World Applications

For the following exercises, consider this scenario: The population of a city increased steadily over a ten-year span. The following ordered pairs shows the population and the year over the ten-year span, (population, year) for specific recorded years:

[latex]\left(\text{25}00,2000\right),\left(\text{265}0,2001\right),\left(3000,2003\right),\left(\text{35}00,2006\right),\left(\text{42}00,2010\right)[/latex]

Use linear regression to determine a function[latex]\,y,[/latex]where the year depends on the population. Round to three decimal places of accuracy.

[reveal-answer q=”fs-id1794393″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1794393″]

[latex]y=0.00587x+\text{1985}.4\text{1}[/latex]

[/hidden-answer]

Predict when the population will hit 8,000.

For the following exercises, consider this scenario: The profit of a company increased steadily over a ten-year span. The following ordered pairs show the number of units sold in hundreds and the profit in thousands of over the ten year span, (number of units sold, profit) for specific recorded years:

[latex]\left(\text{46},\text{25}0\right),\left(\text{48},\text{3}05\right),\left(50,\text{35}0\right),\left(\text{52},\text{39}0\right),\left(\text{54},\text{41}0\right).[/latex]

Use linear regression to determine a function y, where the profit in thousands of dollars depends on the number of units sold in hundreds.

[reveal-answer q=”fs-id2523562″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2523562″]

[latex]y=\text{2}0.\text{25}x-\text{671}.\text{5}[/latex]

[/hidden-answer]

Predict when the profit will exceed one million dollars.

For the following exercises, consider this scenario: The profit of a company decreased steadily over a ten-year span. The following ordered pairs show dollars and the number of units sold in hundreds and the profit in thousands of over the ten-year span (number of units sold, profit) for specific recorded years:

[latex]\left(\text{46},\text{25}0\right),\left(\text{48},\text{225}\right),\left(50,\text{2}05\right),\left(\text{52},\text{18}0\right),\left(\text{54},\text{165}\right).[/latex]

Use linear regression to determine a function y, where the profit in thousands of dollars depends on the number of units sold in hundreds.

[reveal-answer q=”fs-id2591902″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2591902″]

[latex]y=-\text{1}0.\text{75}x+\text{742}.\text{5}0[/latex]

[/hidden-answer]

Predict when the profit will dip below the $25,000 threshold.

Chapter Review Exercises

Linear Functions

Determine whether the algebraic equation is linear.[latex]\,2x+3y=7[/latex]

[reveal-answer q=”fs-id2095696″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2095696″]

Yes

[/hidden-answer]

Determine whether the algebraic equation is linear.[latex]\,6{x}^{2}-y=5[/latex]

Determine whether the function is increasing or decreasing.

[latex]f\left(x\right)=7x-2[/latex]

[reveal-answer q=”fs-id1625952″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1625952″]

Increasing

[/hidden-answer]

Determine whether the function is increasing or decreasing.

[latex]g\left(x\right)=-x+2[/latex]

Given each set of information, find a linear equation that satisfies the given conditions, if possible.

Passes through[latex]\,\left(\text{7},\text{5}\right)\,[/latex]and[latex]\,\left(\text{3},\text{17}\right)[/latex]

[reveal-answer q=”fs-id2589261″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2589261″]

[latex]y=-\text{3}x+\text{26}[/latex]

[/hidden-answer]

Given each set of information, find a linear equation that satisfies the given conditions, if possible.

x-intercept at[latex]\,\left(\text{6},0\right)\,[/latex]and y-intercept at[latex]\,\left(0,\text{1}0\right)[/latex]

Find the slope of the line shown in the graph.

This is a graph of an increasing line with a y-intercept of -3 and x-intercept of 1 on an x, y coordinate plane. The x and y-axis range from -6 to 6.

[reveal-answer q=”fs-id2555716″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2555716″]

3

[/hidden-answer]

Find the slope of the line graphed.

This is a graph of a line with a y-intercept of -2 and no x-intercepts on an x, y coordinate plane. The x- and y-axis range from -6 to 6

Write an equation in slope-intercept form for the line shown.

This is a graph of a line with a y-intercept of -2 and x-intercept of 1 on an x, y coordinate plane. The x- and y-axis both range from -6 to 6.

[reveal-answer q=”fs-id2134830″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2134830″]

[latex]y=\text{2}x-\text{2}[/latex]

[/hidden-answer]

Does the following table represent a linear function? If so, find the linear equation that models the data.

 
x –4 0 2 10
g(x) 18 –2 –12 –52

Does the following table represent a linear function? If so, find the linear equation that models the data.

 
x 6 8 12 26
g(x) –8 –12 –18 –46
[reveal-answer q=”fs-id2113224″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2113224″]

Not linear.

[/hidden-answer]

On June 1st, a company has $4,000,000 profit. If the company then loses 150,000 dollars per day thereafter in the month of June, what is the company’s profit nthday after June 1st?

For the following exercises, determine whether the lines given by the equations below are parallel, perpendicular, or neither parallel nor perpendicular:

[latex]\begin{array}{c}2x-6y=12\\ -x+3y=1\end{array}[/latex]

[reveal-answer q=”fs-id2757779″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2757779″]

parallel

[/hidden-answer]

[latex]\begin{array}{c}y=\frac{1}{3}x-2\\ 3x+y=-9\end{array}[/latex]

For the following exercises, find the x– and y– intercepts of the given equation

[latex]7x+9y=-63[/latex]

[reveal-answer q=”fs-id2459233″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2459233″]

[latex]\left(–9,0\right);\left(0,–7\right)[/latex]

[/hidden-answer]

[latex]f\left(x\right)=2x-1[/latex]

For the following exercises, use the descriptions of the pairs of lines to find the slopes of Line 1 and Line 2. Is each pair of lines parallel, perpendicular, or neither?

Line 1: Passes through[latex]\,\left(5,11\right)\,[/latex]and[latex]\,\left(10,1\right)[/latex]

Line 2: Passes through[latex]\,\left(-1,3\right)\,[/latex]and[latex]\,\left(-5,11\right)[/latex]

[reveal-answer q=”fs-id1718504″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1718504″]

Line 1:[latex]\,m=-2;[/latex]Line 2:[latex]\,m=-2;[/latex]Parallel

[/hidden-answer]

Line 1: Passes through[latex]\,\left(8,-10\right)\,[/latex]and[latex]\,\left(0,-26\right)[/latex]

Line 2: Passes through[latex]\,\left(2,5\right)\,[/latex]and[latex]\,\left(4,4\right)[/latex]

Write an equation for a line perpendicular to[latex]\,f\left(x\right)=5x-1\,[/latex]and passing through the point (5, 20).

[reveal-answer q=”fs-id2202404″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2202404″]

[latex]y=-0.2x+21[/latex]

[/hidden-answer]

Find the equation of a line with a y– intercept of[latex]\,\left(0,2\right)\,[/latex]and slope[latex]\,-\frac{1}{2}.[/latex]

Sketch a graph of the linear function[latex]\,f\left(t\right)=2t-5.[/latex]

[reveal-answer q=”1798839″]Show Solution[/reveal-answer][hidden-answer a=”1798839″]This is a graph of f of t = 2 times t minus 5 on a x, y coordinate plane. The x-axis ranges from -4 to 6 and the y-axis ranges from -6 to 6. The curve is an increasing linear function that goes through the points (0,-5) and (2.5,0).[/hidden-answer]

Find the point of intersection for the 2 linear functions:[latex]\,\begin{array}{c}x=y+6\\ 2x-y=13\end{array}.[/latex]

A car rental company offers two plans for renting a car.

Plan A: 25 dollars per day and 10 cents per mile

Plan B: 50 dollars per day with free unlimited mileage

How many miles would you need to drive for plan B to save you money?

[reveal-answer q=”fs-id1093901″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1093901″]

More than 250

[/hidden-answer]

Modeling with Linear Functions

Find the area of a triangle bounded by the y axis, the line[latex]\,f\left(x\right)=10-2x,[/latex]and the line perpendicular to[latex]\,f\,[/latex]that passes through the origin.

A town’s population increases at a constant rate. In 2010 the population was 55,000. By 2012 the population had increased to 76,000. If this trend continues, predict the population in 2016.

[reveal-answer q=”fs-id2276060″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2276060″]

118,000

[/hidden-answer]

The number of people afflicted with the common cold in the winter months dropped steadily by 50 each year since 2004 until 2010. In 2004, 875 people were inflicted.

Find the linear function that models the number of people afflicted with the common cold C as a function of the year,[latex]\,t.\,[/latex]When will no one be afflicted?

For the following exercises, use the graph in (Figure) showing the profit,[latex]\,y,[/latex]in thousands of dollars, of a company in a given year,[latex]\,x,[/latex]where[latex]\,x\,[/latex]represents years since 1980.

This graph shows profits starting at 1985 at $10,000 and ending at 2005 at $4,000. The x-axis ranges from 0 to 30 in intervals of 5 and the y –axis goes from 0 to 12,000 in intervals of 2,000.
Figure 11.

Find the linear function y, where y depends on[latex]\,x,[/latex]the number of years since 1980.

[reveal-answer q=”fs-id2637049″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2637049″]

[latex]y=-\text{3}00x+\text{11},\text{5}00[/latex]

[/hidden-answer]

Find and interpret the y-intercept.

For the following exercise, consider this scenario: In 2004, a school population was 1,700. By 2012 the population had grown to 2,500.

Assume the population is changing linearly.

  1. How much did the population grow between the year 2004 and 2012?
  2. What is the average population growth per year?
  3. Find an equation for the population, P, of the school t years after 2004.
[reveal-answer q=”fs-id2468246″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2468246″]

a) 800 b) 100 students per year c)[latex]\,P\left(t\right)=\text{1}00t+\text{17}00[/latex]

[/hidden-answer]

For the following exercises, consider this scenario: In 2000, the moose population in a park was measured to be 6,500. By 2010, the population was measured to be 12,500. Assume the population continues to change linearly.

Find a formula for the moose population,[latex]\,P.[/latex]

What does your model predict the moose population to be in 2020?

[reveal-answer q=”fs-id1016513″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1016513″]

18,500

[/hidden-answer]

For the following exercises, consider this scenario: The median home values in subdivisions Pima Central and East Valley (adjusted for inflation) are shown in (Figure). Assume that the house values are changing linearly.

 
Year Pima Central East Valley
1970 32,000 120,250
2010 85,000 150,000

In which subdivision have home values increased at a higher rate?

If these trends were to continue, what would be the median home value in Pima Central in 2015?

[reveal-answer q=”fs-id1794327″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1794327″]

$91,625

[/hidden-answer]

Fitting Linear Models to Data

Draw a scatter plot for the data in (Figure). Then determine whether the data appears to be linearly related.

0 2 4 6 8 10
–105 –50 1 55 105 160

Draw a scatter plot for the data in (Figure). If we wanted to know when the population would reach 15,000, would the answer involve interpolation or extrapolation?

Year Population
1990 5,600
1995 5,950
2000 6,300
2005 6,600
2010 6,900
[reveal-answer q=”fs-id2208906″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2208906″]

ExtrapolationScatter plot with the points (1990,5600); (1995,5950); (2000,6300); (2005,6600); and (2010,6900).

[/hidden-answer]

Eight students were asked to estimate their score on a 10-point quiz. Their estimated and actual scores are given in (Figure). Plot the points, then sketch a line that fits the data.

Predicted Actual
6 6
7 7
7 8
8 8
7 9
9 10
10 10
10 9

Draw a best-fit line for the plotted data.

Scatter plot of the points: (2,78); (4,81); (6,85); (8,90); and (10,99).

[reveal-answer q=”2160490″]Show Solution[/reveal-answer][hidden-answer a=”2160490″]Scatter plot of: (2,78); (4,81); (6,85); (8,90); and (10,99) and the line of best fit running through these points. The line of best fit goes through most of the points.

[/hidden-answer]

For the following exercises, consider the data in (Figure), which shows the percent of unemployed in a city of people 25 years or older who are college graduates is given below, by year.

 
Year 2000 2002 2005 2007 2010
Percent Graduates 6.5 7.0 7.4 8.2 9.0

Determine whether the trend appears to be linear. If so, and assuming the trend continues, find a linear regression model to predict the percent of unemployed in a given year to three decimal places.

In what year will the percentage exceed 12%?

[reveal-answer q=”fs-id2448110″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2448110″]

2023

[/hidden-answer]

Based on the set of data given in (Figure), calculate the regression line using a calculator or other technology tool, and determine the correlation coefficient to three decimal places.

 
[latex]x[/latex] 17 20 23 26 29
[latex]y[/latex] 15 25 31 37 40

Based on the set of data given in (Figure), calculate the regression line using a calculator or other technology tool, and determine the correlation coefficient to three decimal places.

 
[latex]x[/latex] 10 12 15 18 20
[latex]y[/latex] 36 34 30 28 22
[reveal-answer q=”fs-id2489280″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2489280″]

[latex]y=-1.294x+49.412; r=-0.974[/latex]

[/hidden-answer]

For the following exercises, consider this scenario: The population of a city increased steadily over a ten-year span. The following ordered pairs show the population and the year over the ten-year span (population, year) for specific recorded years:

[latex]\left(\text{3,6}00,2000\right);\left(\text{4,}000,2001\right);\left(\text{4,7}00,2003\right);\left(\text{6,}000,2006\right)[/latex]

Use linear regression to determine a function[latex]\,y,[/latex]where the year depends on the population, to three decimal places of accuracy.

Predict when the population will hit 12,000.

[reveal-answer q=”fs-id2275847″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2275847″]

2027

[/hidden-answer]

What is the correlation coefficient for this model to three decimal places of accuracy?

According to the model, what is the population in 2014?

[reveal-answer q=”fs-id1505698″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1505698″]

7,660

[/hidden-answer]

Chapter Practice Test

Determine whether the following algebraic equation can be written as a linear function.[latex]\,2x+3y=7[/latex]

Determine whether the following function is increasing or decreasing.[latex]\,f\left(x\right)=-2x+5[/latex]

[reveal-answer q=”fs-id2176627″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2176627″]

Decreasing

[/hidden-answer]

Determine whether the following function is increasing or decreasing.[latex]f\left(x\right)=7x+9[/latex]

Find a linear equation that passes through (5, 1) and (3, –9), if possible.

[reveal-answer q=”fs-id2489233″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2489233″]

[latex]y=5x-24[/latex]

[/hidden-answer]

Find a linear equation, that has an x intercept at (–4, 0) and a y-intercept at (0, –6), if possible.

Find the slope of the line in (Figure).

This image is a graph of a decreasing linear function on an x, y coordinate plane. The x and y-axis range from -6 to 6. The line passes through the points (0,2) and (1,0).
Figure 12.
[reveal-answer q=”fs-id2136527″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2136527″]

[latex]m=-2[/latex]

[/hidden-answer]

Write an equation for line in (Figure).

This image is a graph showing a decreasing linear function on an x, y coordinate plane. The x and y axis range from -6 to 6. The line passes through the points (0,-1) and (-.5,0).
Figure 13.
Does (Figure) represent a linear function? If so, find a linear equation that models the data.
 
[latex]x[/latex] –6 0 2 4
[latex]g\left(x\right)[/latex] 14 32 38 44
[reveal-answer q=”fs-id2590722″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2590722″]

Yes,[latex]\,y=3x+32[/latex]

[/hidden-answer]

Does (Figure) represent a linear function? If so, find a linear equation that models the data.

 
x 1 3 7 11
g(x) 4 9 19 12

At 6 am, an online company has sold 120 items that day. If the company sells an average of 30 items per hour for the remainder of the day, write an expression to represent the number of items that were sold[latex]\,n\,[/latex]after 6 am.

[reveal-answer q=”fs-id2549693″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2549693″]

[latex]y=30x+120[/latex]

[/hidden-answer]

For the following exercises, determine whether the lines given by the equations below are parallel, perpendicular, or neither parallel nor perpendicular.

[latex]\begin{array}{c}y=\frac{3}{4}x-9\\ -4x-3y=8\end{array}[/latex]

[latex]\begin{array}{c}-2x+y=3\\ 3x+\frac{3}{2}y=5\end{array}[/latex]

[reveal-answer q=”fs-id2590764″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2590764″]

Neither

[/hidden-answer]

Find the x– and y-intercepts of the equation[latex]\,2x+7y=-14.[/latex]

Given below are descriptions of two lines. Find the slopes of Line 1 and Line 2. Is the pair of lines parallel, perpendicular, or neither?

Line 1: Passes through[latex]\,\left(-2,-6\right)\,[/latex]and[latex]\,\left(3,14\right)[/latex]

Line 2: Passes through[latex]\,\left(2,6\right)\,[/latex]and[latex]\,\left(4,14\right)[/latex]

[reveal-answer q=”fs-id2365321″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2365321″]

Line 1:[latex]\,m=4;[/latex]Line 2:[latex]\,m=4;[/latex]parallel

[/hidden-answer]

Write an equation for a line perpendicular to[latex]\,f\left(x\right)=4x+3\,[/latex]and passing through the point[latex]\,\left(8,10\right).[/latex]

Sketch a line with a y-intercept of[latex]\,\left(0,\text{5}\right)\,[/latex]and slope[latex]\,-\frac{5}{2}.[/latex]

[reveal-answer q=”1801251″]Show Solution[/reveal-answer][hidden-answer a=”1801251″]This image is a graph showing a decreasing linear function on an x, y coordinate plane. The x and y-axis range from -6 to 6. The line passes through the points (0,5) and (2,0) and a slope of: -5/2.

[/hidden-answer]

Graph of the linear function[latex]\,f\left(x\right)=-x+6.[/latex]

For the two linear functions, find the point of intersection:[latex]\begin{array}{c}x=y+2\\ 2x-3y=-1\end{array}.[/latex]

[reveal-answer q=”fs-id2436158″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2436158″]

[latex]\left(7,5\right)[/latex]

[/hidden-answer]

A car rental company offers two plans for renting a car.

Plan A: $25 per day and $0.10 per mile

Plan B: $40 per day with free unlimited mileage

How many miles would you need to drive for plan B to save you money?

Find the area of a triangle bounded by the y axis, the line[latex]\,f\left(x\right)=12-4x,[/latex]and the line perpendicular to[latex]\,f\,[/latex]that passes through the origin.

[reveal-answer q=”fs-id2804285″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2804285″]

16.94 square units

[/hidden-answer]

A town’s population increases at a constant rate. In 2010 the population was 65,000. By 2012 the population had increased to 90,000. Assuming this trend continues, predict the population in 2018.

The number of people afflicted with the common cold in the winter months dropped steadily by 25 each year since 2002 until 2012. In 2002, 8,040 people were inflicted. Find the linear function that models the number of people afflicted with the common cold[latex]\,C\,[/latex]as a function of the year,[latex]\,t.\,[/latex]When will less than 6,000 people be afflicted?

[reveal-answer q=”fs-id2436241″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2436241″]

2083

[/hidden-answer]

This image is a graph showing the company's profit from 1985 at around $15,000 to 2010 at about $32,500. The x-axis goes from 0 to 30 in intervals of 5 and the y-axis goes from 0 to 35,000 in intervals of 5,000.
Figure 14.

For the following exercises, use the graph in (Figure), showing the profit,[latex]y,[/latex]in thousands of dollars, of a company in a given year,[latex]\,x,[/latex]where[latex]\,x\,[/latex]represents years since 1980.

Find the linear function[latex]\,y,[/latex]where[latex]\,y\,[/latex]depends on[latex]\,x,[/latex]the number of years since 1980.

Find and interpret the y-intercept.

[reveal-answer q=”fs-id2363860″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2363860″]

[latex]\left(0,10,625\right);[/latex]In 1980, the profit was $10,625,000.

[/hidden-answer]

In 2004, a school population was 1250. By 2012 the population had dropped to 875. Assume the population is changing linearly.

  1. How much did the population drop between the year 2004 and 2012?
  2. What is the average population decline per year?
  3. Find an equation for the population, P, of the school t years after 2004.

Draw a scatter plot for the data provided in (Figure). Then determine whether the data appears to be linearly related.

 
0 2 4 6 8 10
–450 –200 10 265 500 755

[reveal-answer q=”2804389″]Show Solution[/reveal-answer][hidden-answer a=”2804389″]Scatterplot with a collection of points: (0,-450); (2,-200); (4,10); (6,265); (8,500) and (10,755). The data appears linear.

[/hidden-answer]

Draw a best-fit line for the plotted data.Scatterplot with domain from 2 to 10 and range from 20 from 33. The points plotted are (2,20); (4,23); (6,26); (8,26); and (10,32).

For the following exercises, use (Figure), which shows the percent of unemployed persons 25 years or older who are college graduates in a particular city, by year.

 
Year 2000 2002 2005 2007 2010
Percent Graduates 8.5 8.0 7.2 6.7 6.4

Determine whether the trend appears linear. If so, and assuming the trend continues, find a linear regression model to predict the percent of unemployed in a given year to three decimal places.

[reveal-answer q=”2406477″]Show Solution[/reveal-answer][hidden-answer a=”2406477″]

Scatterplot with a collection of points: (2000,8.5); (2002,8); (2005,7.2); (2007,6.7); and (2010,6.4). The data appears linear

[latex]y=-0.219x+445.990[/latex]

[/hidden-answer]

In what year will the percentage drop below 4%?

Based on the set of data given in (Figure), calculate the regression line using a calculator or other technology tool, and determine the correlation coefficient. Round to three decimal places of accuracy.

 
x 16 18 20 24 26
y 106 110 115 120 125
[reveal-answer q=”fs-id2406661″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2406661″]

[latex]y=1.820x+77.349,r=0.986[/latex]

[/hidden-answer]

For the following exercises, consider this scenario: The population of a city increased steadily over a ten-year span. The following ordered pairs shows the population (in hundreds) and the year over the ten-year span, (population, year) for specific recorded years:

[latex]\left(4,500,2000\right);\left(4,700,2001\right);\left(5,200,2003\right);\left(5,800,2006\right)[/latex]

Use linear regression to determine a function y, where the year depends on the population. Round to three decimal places of accuracy.

Predict when the population will hit 20,000.

[reveal-answer q=”fs-id2621270″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id2621270″]

2070

[/hidden-answer]

What is the correlation coefficient for this model?

Glossary

correlation coefficient
a value,[latex]\,r,[/latex]between –1 and 1 that indicates the degree of linear correlation of variables, or how closely a regression line fits a data set.
extrapolation
predicting a value outside the domain and range of the data
interpolation
predicting a value inside the domain and range of the data
least squares regression
a statistical technique for fitting a line to data in a way that minimizes the differences between the line and data values
model breakdown
when a model no longer applies after a certain point

  1. Selected data from http://classic.globe.gov/fsl/scientistsblog/2007/10/. Retrieved Aug 3, 2010
  2. Technically, the method minimizes the sum of the squared differences in the vertical direction between the line and the data values.
  3. For example, http://www.shodor.org/unchem/math/lls/leastsq.html
  4. http://www.bts.gov/publications/national_transportation_statistics/2005/html/table_04_10.html
  5. Based on data from http://www.census.gov/hhes/socdemo/education/data/cps/historical/index.html. Accessed 5/1/2014.

License

Icon for the Creative Commons Attribution 4.0 International License

Algebra and Trigonometry OpenStax Copyright © 2015 by OpenStax is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book