Login
📚 Modeling, Functions, and Graphs
Chapters ▾

1.6 Linear Regression

We have spent most of this chapter analyzing models described by graphs or equations. To create a model, however, we often start with a quantity of data. Choosing an appropriate function for a model is a complicated process. In this section, we consider only linear models and explore methods for fitting a linear function to a collection of data points. First, we fit a line through two data points.

Fitting a Line through Two Points

If we already know that two variables are related by a linear function, we can find a formula from just two data points. For example, variables that increase or decrease at a constant rate can be described by linear functions.

In 1991, there were 64.6 burglaries per 1000 households in the United States. The number of burglaries reported annually declined at a roughly constant rate over the next decade, and in 2001 there were 28.7 burglaries per 1000 households. (Source: U.S. Department of Justice)

  1. Find a function for the number of burglaries, B , as a function of time, t , in years, since 1990.
    y = _____
  2. State the slope as a rate of change.
    m is __________
    What does the slope tell us about this problem?
    _____
    (in the years 1991 to 2001).
  1. Because t = 0 corresponds to 1990, we have the two points ( 1 , 64.6 ) and ( 11 , 28.7 ) to compute the slope m = m . Using the point-slope formula with either point and then simplifying, we find that y = func
  2. 3.59 burglaries per 1000 households per year. From 1991 to 2001, the burglary rate declined by 3.59 burglaries per 1000 households every year.

In 1991, there were 64.6 burglaries per 1000 households in the United States. The number of burglaries reported annually declined at a roughly constant rate over the next decade, and in 2001 there were 28.7 burglaries per 1000 households. (Source: U.S. Department of Justice)

  1. Find a function for the number of burglaries, B , as a function of time, t , in years, since 1990.
  2. State the slope as a rate of change. What does the slope tell us about burglaries?
  1. Because t = 0 corresponds to 1990, we have the two points ( 1 , 64.6 ) and ( 11 , 28.7 ) to compute the slope m = 3.59 . Using the point-slope formula with either point and then simplifying, we find that B = 68.19 3.59 t
  2. 3.59 burglaries per 1000 households per year. From 1991 to 2001, the burglary rate declined by 3.59 burglaries per 1000 households every year.

What are the two steps to find the equation of a line through two points?

_____

Compute the slope, use the point-slope formula

What are the two steps to find the equation of a line through two points?

  1. Draw the line, use the point-slope formula
  2. Compute the slope, find the y -intercept
  3. Compute the slope, use the point-slope formula
  4. Find the intercepts, compute the slope

Scatterplots

Empirical data points in a linear relation may not lie exactly on a line. There are many factors that can affect experimental data, including measurement error, the influence of environmental conditions, and the presence of related variable quantities.

  1. Plot the data points. Do the points lie on a line?
    _____
  2. Draw a line that fits the data.
x 1.49 3.68 4.95 5.49 7.88 8.41
y 2.69 3.7 4.6 5.2 7.2 7.3
  1. No. A scatterplot is shown below.
  2. See the graph below

Graphs for both parts (a) and (b):

  1. scatterplot
  2. scatterplot with regression line
  1. Plot the data points. Do the points lie on a line?
  2. Draw a line that fits the data.
  x   1.49 3.68 4.95 5.49 7.88 8.41
  y   2.69 3.7 4.6 5.2 7.2 7.3
  1. scatterplot

    No, the points do not lie on a line.
  2. scatterplot with regression line

The graph in Example is called a scatterplot. The points on a scatterplot may or may not show some sort of pattern. Consider the three plots shown below.

  • In figure (a), the data points resemble a cloud of gnats; there is no apparent pattern to their locations.
  • In figure (b), the data follow a generally decreasing trend, but certainly do not all lie on the same line.
  • The points in figure (c) are even more organized; they seem to lie very close to an imaginary line.
three scatterplots

Can two points on a scatterplot have the same x -coordinate? Can two points have the same y -coordinate?

_____

Yes, Yes

Can two points on a scatterplot have the same x -coordinate? Can two points have the same y -coordinate?

If the data in a scatterplot are roughly linear, we can estimate the location of an imaginary line of best fit that passes as close as possible to the data points. We can then use this line to make predictions about the data.

Linear Regression

One measure of a person's physical fitness is the body mass index, or BMI. Your BMI is the ratio of your weight in kilograms to the square of your height in centimeters. Thus, thinner people have lower BMI scores, and fatter people have higher scores. The Centers for Disease Control considers a BMI between 18.5 and 24.9 to be healthy.

The points on the scatterplot below show the BMI of Miss America from 1921 to 1991. From the data in the scatterplot, can we see a trend in Americans’ ideal of female beauty?

Miss America BMI scatterplot

We can estimate a line of best fit by drawing the line that passes through:

_____

None of these

We can estimate a line of best fit by drawing the line that passes through:

  1. The first and last data points
  2. Two data points in the middle
  3. Either of these
  4. None of these
hominid brains scatterplot

Human brains consume a large amount of energy, about 16 times as much as muscle tissue per unit weight. In fact, brain metabolism accounts for about 25% of an adult human's energy needs, as compared to about 5% for other mammals. As hominid species evolved, their brains required larger and larger amounts of energy, as shown in the figure. (Source: Scientific American, December 2002.)

  1. Draw a line of best fit through the data points.
  2. Estimate the amount of energy used by the brain of a hominid species that lived three million years ago.
    _____%
  1. A graph is below.
  2. About 10.5%

A graph for part (a):

scatterplot with regression line

Human brains consume a large amount of energy, about 16 times as much as muscle tissue per unit weight. In fact, brain metabolism accounts for about 25% of an adult human's energy needs, as compared to about 5% for other mammals. As hominid species evolved, their brains required larger and larger amounts of energy, as shown in the figure. (Source: Scientific American, December 2002.)

hominid brains scatterplot
  1. Draw a line of best fit through the data points.
  2. Estimate the amount of energy used by the brain of a hominid species that lived three million years ago.
  1. scatterplot with regression line
  2. About 10.5%

The process of predicting an output value based on a straight line that fits the data is called linear regression, and the line itself is called the regression line. The equation of the regression line is usually used (instead of a graph) to predict values.

How many data points must a good regression line pass through?

_____

None: the regression line does not need to pass through any of the data points.

How many data points must a good regression line pass through?

  1. Three
  2. Two
  3. One
  4. None
manatee deaths

The number of manatees killed by watercraft in Florida waters has been increasing since 1975. Data are given at 5-year intervals in the table. (Source: Florida Fish and Wildlife Conservation Commission)

YearManatee deaths
1975 6
1980 16
1985 33
1990 47
1995 42
2000 78
  1. Draw a regression line through the data points shown in the figure.
  2. Find an equation for the regression line, using t 0 in 1975.
    y = _____
  3. Use the regression equation to estimate the number of manatees killed by watercraft in 1998.
    _____ manatees
  1. A graph is below.
  2. y = f
  3. killed

A graph for part (a) is below.

scatterplot with regression line

The number of manatees killed by watercraft in Florida waters has been increasing since 1975. Data are given at 5-year intervals in the table. (Source: Florida Fish and Wildlife Conservation Commission)

YearManatee deaths
1975 6
1980 16
1985 33
1990 47
1995 42
2000 78
manatee deaths
  1. Draw a regression line through the data points shown in the figure.
  2. Find an equation for the regression line, using t 0 in 1975.
  3. Use the regression equation to estimate the number of manatees killed by watercraft in 1998.
  1. scatterplot with regression line
  2. y = 4.7 + 6.2 t
  3. 65 manatees

Describe a strategy for sketching a line of best fit by eye.

_____

Describe a strategy for sketching a line of best fit by eye.

Linear Interpolation and Extrapolation

Using a regression line to estimate values between known data points is called interpolation. Making predictions beyond the range of known data is called extrapolation.

Exampleb illustrates an important fact about extrapolation: If we try to extrapolate too far, we may get unreasonable results. For example, if we use our model to predict the BMI of Miss America 2520 (when t = 600 ), we get

y = 20.68 0.04 ( 600 ) = 3.32

Even if the Miss America pageant is still operating in 600 years, the winner cannot have a negative BMI. Our linear model provides a fair approximation for 1920–1990, but if we try to extrapolate too far beyond the known data, the model may no longer apply.

We can also use interpolation and extrapolation to make estimates for nonlinear functions. Sometimes a variable relationship is not linear, but a portion of its graph can be approximated by a line.

height versus age graph

For example, the graph at right shows a child’s height each month. The graph is not linear because her rate of growth is not constant; her growth slows down as she approaches her adult height. However, over a short time interval the graph is close to a line, and that line can be used to approximate the coordinates of points on the curve.

If you add more data points to the scatterplot, could the regression line change?

_____

Yes

If you add more data points to the scatterplot, could the regression line change?

  1. Yes
  2. No
  3. Only the slope could change.
  4. Only the intercept could change.

Emily was 82 centimeters tall at age 36 months and 88 centimeters tall at age 48 months.

  1. Find a linear equation that approximates Emily's height in terms of her age over the given time interval. Let t be Emily's age in months.
    y = _____
  2. Use linear interpolation to estimate Emily's height when she was 38 months old, and extrapolate to predict her height at age 50 months.
    Age 38 months: _____ cm
    Age 50 months: _____ cm
  3. Predict Emily's height at age 25 (300 months).
    Age 25 years: _____ cm
    Is your answer reasonable? _____
  1. y = 64 + 0.5 t
  2. 83 cm, 89 cm
  3. 214 cm; No

Emily was 82 centimeters tall at age 36 months and 88 centimeters tall at age 48 months.

  1. Find a linear equation that approximates Emily's height in terms of her age over the given time interval. Let t be Emily's age in months.
  2. Use linear interpolation to estimate Emily's height when she was 38 months old, and extrapolate to predict her height at age 50 months.
  3. Predict Emily's height at age 25 (300 months). Is your answer reasonable?
  1. y = 64 + 0.5 t
  2. 83 cm, 89 cm
  3. 214 cm; No

Explain the difference between interpolation and extrapolation.

_____

Explain the difference between interpolation and extrapolation.

Estimating a line of best fit is a subjective process. Rather than base their estimates on such a line, statisticians often use the least squares regression line.

least squares line

This regression line minimizes the sum of the squares of all the vertical distances between the data points and the corresponding points on the line, as shown at left. Many calculators are programmed to find the least squares regression line, using an algorithm that depends only on the data, not on the appearance of the graph.

Use your calculator’s statistics features to find the least squares regression equation for the data in Practice 2.

  1. The equation: y = _____
  2. Plot the data and the graph of the regression equation.
  1. y = 1.34 + 0.71 x
  2. A graph is below.

A graph for part (b):

GC scatterplot with regression line
  1. Use your calculator’s statistics features to find the least squares regression equation for the data in Practice 2.
  2. Plot the data and the graph of the regression equation.
  1. y = 1.34 + 0.71 x
  2. GC scatterplot with regression line

Section Summary

Vocabulary

Look up the definitions of new terms in the Glossary.

  • Scatterplot
  • Least squares regression line
  • Extrapolate
  • Regression line
  • Interpolate
  • Linear regression

CONCEPTS

  1. Data points may not lie exactly on the graph of an equation.
  2. Points in a scatterplot may or may not exhibit a pattern.
  3. We can approximate a linear pattern by a regression line.
  4. We can use interpolation or extrapolation to make estimates and predictions.
  5. If we extrapolate too far beyond the known data, we may get unreasonable results.

STUDY QUESTIONS

  1. What is a regression line?
  2. State two formulas you will need to calculate the equation of a line through two points.
  3. Explain the difference between interpolation and extrapolation.
  4. In general, should you have more confidence in figures obtained by interpolation or by extrapolation? Why?

SKILLS

Practice each skill in the Homework problems listed.

  1. Find the equation of a line through two points: #1–6, 29–36
  2. Draw a line of best fit: #7–18
  3. Find the equation of a regression line: #11–28, 37–40
  4. Use interpolation and extrapolation to make predictions: #11–40

Homework 1.6

In Problems 1–6, we find a linear model from two data points.

  1. Make a table showing the coordinates of two data points for the model. (Which variable should be plotted on the horizontal axis?)
  2. Find a linear equation relating the variables.
  3. State the slope of the line, including units, and explain its meaning in the context of the problem.

It cost a bicycle company $ 9000 to make 40 touring bikes in its first month of operation and $ 15 , 000 to make 125 bikes during its second month. Express the company's monthly production cost, C , in terms of the number, x , of bikes it makes.

  1. x 50 125
    y 9000 15 , 000
  2. C = 5000 + 80 x
  3. m = 80 dollars/bike, so it costs the company $ 80 per bike it manufactures.

Flying lessons cost $ 645 for an 8 -hour course and $ 1425 for a 20 -hour course. Both prices include a fixed insurance fee. Express the cost, C , of flying lessons in terms of the length, h , of the course in hours.

Under ideal conditions, Andrea's Porsche can travel 312 miles on a full tank ( 12 gallons of gasoline) and 130 miles on 5 gallons. Express the distance, d , Andrea can drive in terms of the amount of gasoline, g , she buys.

  1. g 12 5
    d 312 130
  2. d = 26 g
  3. m = 26 miles/gallon, so the Porche's fuel efficiency is 26 miles per gallon.

On an international flight, a passenger may check two bags each weighing 70 kilograms, or 154 pounds, and one carry-on bag weighing 50 kilograms, or 110 pounds. Express the weight, p , of a bag in pounds in terms of its weight, k , in kilograms.

A radio station in Detroit, Michigan, reports the high and low temperatures in the Detroit/Windsor area as 59 F and 23 F, respectively. A station in Windsor, Ontario, reports the same temperatures as 15 C and 5 C. Express the Fahrenheit temperature, F , in terms of the Celsius temperature, C .

  1. C 15 5
    F 59 23
  2. F = 32 + 9 5 C
  3. m = 9 5 , so an increase of 1 C is equivalent to an increase of 9 5 F.

Ms. Randolph bought a used car in 2000. In 2002, the car was worth $ 9000 , and in 2005 it was valued at $ 4500 . Express the value, V , of Ms. Randolph's car in terms of the number of years, t , she has owned it.

Each regression line can be improved by adjusting either m or b . Draw a line that fits the data points more closely.

scatterplot and line
scatterplot and line
scatterplot and line
scatterplot and line
scatterplot and line
scatterplot and line

In Problems 11 and 12, use information from the graphs to answer the questions.

The scatterplot shows the ages of 10 army drill sergeants and the time it took each to run 100 meters, in seconds.

scatterplot
  1. What was the hundred-meter time for the 25-year-old drill sergeant?
  2. How old was the drill sergeant whose hundred-meter time was 12.6 seconds?
  3. Use a straightedge to draw a line of best fit through the data points.
  4. Use your line of best fit to predict the hundred-meter time of a 28-year-old drill sergeant.
  5. Choose two points on your regression line and find its equation.
  6. Use the equation to predict the hundred-meter time of a 40-year-old drill sergeant and a 12 year-old drill sergeant. Are these predictions reasonable?
  1. 12 seconds
  2. 39
  3. scatterplot with regression line
  4. 11.6 seconds
  5. y = 8.5 + 0.1 x
  6. 12.7 seconds; 10.18 seconds; The prediction for the 40-year-old is reasonable, but not the prediction for the 12-year-old.

The scatterplot shows the outside temperature and the number of cups of cocoa sold at an outdoor skating rink snack bar on 13 consecutive nights.

scatterplot
  1. How many cups of cocoa were sold when the temperature was 2 C?
  2. What was the temperature on the night when 25 cups of cocoa were sold?
  3. Use a straightedge to draw a line of best fit through the data points
  4. Use your line of best fit to predict the number of cups of cocoa that will be sold at the snack bar if the temperature is 7 C.
  5. Choose two points on your regression line and find its equation.
  6. Use the equation to predict the number of cups of cocoa that will be sold when the temperature is 10 C and when the temperature is 24 C. Are these predictions reasonable?

With Americans' increased use of faxes, pagers, and cell phones, new area codes are being created at a steady rate. The table shows the number of area codes in the United States each year. (Source: USA Today, NeuStar, Inc.)

Year 1997 1998 1999 2000 2001 2002 2003
Number of area codes 151 186 204 226 239 262 274
  1. Let t represent the number of years after 1995 and plot the data. Draw a line of best fit for the data points.
  2. Find an equation for your regression line.
  3. How many area codes do you predict for 2010?
  1. scatterplot with regression line
  2. y = 121 + 19.86 t
  3. 419

The number of mobile homes in the United States has been increasing since 1960. The data in the table are given in millions of mobile homes. (Source: USA Today, U.S. Census Bureau)

Year 1960 1970 1980 1990 2000
Number of mobile homes 0.8 2.1 4.7 7.4 8.8
  1. Let t represent the number of years after 1960 and plot the data. Draw a line of best fit for the data points
  2. Find an equation for your regression line.
  3. How many mobile homes do you predict for 2010?

Teenage birth rates in the United States declined from 1991 to 2000. The table shows the number of births per 1000 women in selected years. (Source: U.S. National Health Statistics)

Year 1991 1993 1995 1996 1997 1998
Births 62.1 59.6 56.8 54.4 52.3 51.1
  1. Let t represent the number of years after 1990 and plot the data. Draw a line of best fit for the data points.
  2. Find an equation for your regression line.
  3. Estimate the teen birth rate in 1994.
  4. Predict the teen birth rate in 2010.
  1. scatterplot with regression line
  2. y = 64.2 1.63 t
  3. 58 births per 1000 women
  4. 32 births per 1000 women

The table shows the minimum wage in the United States at five-year intervals. (Source: Economic Policy Institute)

Year 1960 1965 1970 1975 1980 1985 1990 1995 2000
Minimum wage 1.00 1.25 1.60 2.10 3.10 3.35 3.80 4.25 5.15
  1. Let t represent the number of years after 1960 and plot the data. Draw a line of best fit for the data points.
  2. Find an equation for your regression line.
  3. Estimate the minimum wage in 1972.
  4. Predict the minimum wage in 2010.

Life expectancy in the United States has been rising since the nineteenth century. The table shows the U.S. life expectancy in selected years. (Source: http://www.infoplease.com)

Year 1950 1960 1970 1980 1990 2000
Life expectancy at birth 68.2 69.7 70.8 73.7 75.4 77
  1. Let t represent the number of years after 1950, and plot the data. Draw a line of best fit for the data points.
  2. Find an equation for your regression line.
  3. Estimate the life expectancy of someone born in 1987.
  4. Predict the life expectancy of someone born in 2010.
  1. scatterplot with regression line
  2. y = 0.18 t + 67.9
  3. 74.9 years
  4. 79 years

The table shows the per capita cigarette consumption in the United States at five-year intervals. (Source: http://www.infoplease.com)

Year 1980 1985 1990 1995 2000
Per capita cigarette consumption 3851 3461 2827 2515 2092
  1. Let t represent the number of years after 1980, and plot the data. Draw a line of best fit for the data points.
  2. Find an equation for your regression line.
  3. Estimate the per capita cigarette consumption in 1998.
  4. Predict the per capita cigarette consumption in 2010.

"The earnings gap between high-school and college graduates continues to widen, the Census Bureau says. On average, college graduates now earn just over $ 51 , 000 a year, almost twice as much as high-school graduates. And those with no high-school diploma have actually seen their earnings drop in recent years." The table shows the unemployment rate and the median weekly earnings for employees with different levels of education. (Source: Morning Edition, National Public Radio, March 28, 2005)

Years of
education
Unemployment
rate
Weekly
earnings ($)
Some
high school
no diploma
10 8.8 396
High-school
graduate
12 5.5 554
Some college
no degree
13 5.2 622
Associate's
degree
14 4.0 672
Bachelor's
degree
16 3.3 900
Master's
degree
18 2.9 1064
Professional
degree
20 1.7 1307
  1. Plot years of education on the horizontal axis and weekly earnings on the vertical axis.
  2. Find an equation for the regression line.
  3. State the slope of the regression line, including units, and explain what it means in the context of the data.
  4. Do you think this model is useful for extrapolation or interpolation? For example, what weekly earnings does the model predict for someone with 15 years of education? For 25 years? Do you think these predictions are valid? Why or why not?
  1. scatterplot with regression line
  2. y = 90.49 t 543.7
  3. 90.49 dollars/year: Each additional year of education corresponds to an additional $ 90.49 in weekly earnings.
  4. No: The degree or diploma attained is more significant than the number of years. So, for example, interpolation for the years of education between a bachelor's and master's degree may be inaccurate because earnings with just the bachelor's degree will not change until the master's degree is attained. And the years after the professional degree will not add significantly to earnings, so extrapolation is inappropriate.

The table shows the birth rate (in births per woman) and the female literacy rate (as a percent of the adult female population) in a number of nations. (Source: UNESCO, The World Fact Book, EarthTrends)

CountryLiteracy rateBirth rate
Brazil 88.6 1.93
Egypt 43.6 2.88
Germany 99 1.39
Iraq 53 4.28
Japan 99 1.39
Niger 9.4 6.75
Pakistan 35.2 4.14
Peru 82.1 2.56
Philippines 92.7 3.16
Portugal 91 1.47
Russian Federation 99.2 1.27
Saudi Arabia 69.3 4.05
United States 97 2.08
  1. Plot the data with literacy rate on the horizontal axis. Draw a line of best fit for the data points.
  2. Find an equation for the regression line.
  3. What values for the input variable make sense for the model? What are the largest and smallest values predicted by the model for the output variable?
  4. State the slope of the regression line, including units, and explain what it means in the context of the data.

The table shows the amount of carbon released into the atmosphere annually from burning fossil fuels, in billions of tons, at 5-year intervals from 1950 to 1995. (Source: www.worldwatch.org)

Year 1950 1955 1960 1965 1970 1975 1980 1985 1990 1995
Carbon
emissions
1.6 2.0 2.5 3.1 4.0 4.5 5.2 5.3 5.9 6.2
  1. Let t represent the number of years after 1950 and plot the data. Draw a line of best fit for the data points.
  2. Find an equation for your regression line.
  3. Estimate the amount of carbon released in 1992.
  1. scatterplot with regression line
  2. y = 1.6 + 0.11 t
  3. 6.2 billion tons

High-frequency radiation is harmful to living things because it can cause changes in their genetic material. The data below, collected by C. P. Oliver in 1930, show the frequency of genetic transmutations induced in fruit flies by doses of X-rays, measured in roentgens. (Source: C. P. Oliver, 1930)

Dosage
(roentgens)
285 570 1640 3280 6560
Percentage of
mutated genes
1.18 2.99 4.56 9.63 15.85
  1. Plot the data and draw a line of best fit through the data points.
  2. Find an equation for your regression line.
  3. Use the regression equation to predict the percent of mutations that might result from exposure to 5000 roentgens of radiation.

Bracken, a type of fern, is one of the most successful plants in the world, growing on every continent except Antarctica. New plants, which are genetic clones of the original, spring from a network of underground stems, or rhizomes, to form a large circular colony. The graph shows the diameters of various colonies plotted against their age. (Source: Chapman et al.,1992)

bracken colony diameter vs age
  1. Calculate the rate of growth of the diameter of a bracken colony, in meters per year.
  2. Find an equation for the line of best fit. (What should the vertical intercept of the line be?)
  3. In Finland, bracken colonies over 450 meters in diameter have been found. How old are these colonies?
  1. 0.34 meters per year
  2. y = 0.34 x ( b = 0 because the plant has zero size until it begins.)
  3. Over 1300 years

The European sedge warbler can sing several different songs consisting of trills, whistles, and buzzes. Male warblers who sing the largest number of songs are the first to acquire mates in the spring. The data below show the number of different songs sung by several male warblers and the day on which they acquired mates, where day 1 is April 20. (Source: Krebs and Davies, 1993)

Number
of songs
41 38 34 32 30 25 24 24 23 14
Pairing day 20 24 25 21 24 27 31 35 40 42
  1. Plot the data points, with number of songs on the horizontal axis. A regression line for the data is y = 0.85 x + 53 . Graph this line on the same axes with the data.
  2. What does the slope of the regression line represent?
  3. When can a sedge warbler that knows 10 songs expect to find a mate?
  4. What do the intercepts of the regression line represent? Do these values make sense in context?

One of the factors that determines the strength of a muscle is its cross-sectional area. The data below show the cross-sectional area of the arm flexor muscle for several men and women, and their strength, measured by the maximum force they exerted against a resistance. (Source: Davis, Kimmet, Autry, 1986)

WomenArea (sq cm) 11.5 10.8 11.7 12.0 12.5 12.7 14.4 14.4 15.7
Strength (kg) 11.3 13.2 13.2 14.5 15.6 14.8 15.6 16.1 18.4
MenArea (sq cm) 13.5 13.8 15.4 15.4 17.7 18.6 20.8
Strength (kg) 15.0 17.3 19.0 19.8 20.6 20.8 26.3
  1. Plot the data for both men and women on the same graph using different symbols for the data points for men and the data points for women.
  2. Are the data for both men and women described reasonably well by the same regression line? Draw a line of best fit through the data.
  3. Find the equation of your line of best fit, or use a calculator to find the regression line for the data.
  4. What does the slope mean in this context?
  1. scatterplot with regression line
  2. Yes
  3. y = 1.29 x 1.62
  4. The slope, 1.29 kg/sq cm, tells us that strength increases by 1.29 kg when the muscle cross-sectional area increases by 1 sq cm.

Astronomers use a numerical scale called magnitude to measure the brightness of a star, with brighter stars assigned smaller magnitudes. When we view a star from Earth, dust in the air absorbs some of the light, making the star appear fainter than it really is. Thus, the observed magnitude of a star, m , depends on the distance its light rays must travel through the Earth's atmosphere. The observed magnitude is given by

m = m 0 + k x

where m 0 is the actual magnitude of the star outside the atmosphere, x is the air mass (a measure of the distance through the atmosphere), and k is a constant called the extinction coefficient. To calculate m 0 , astronomers observe the same object several times during the night at different positions in the sky, and hence for different values of x . Here are data from such observations. (Source: Karttunen et al., 1987)

AltitudeAir mass, x Magnitude, m
50 1.31 0.90
35 1.74 0.98
25 2.37 1.07
20 2.92 1.17
  1. Plot observed magnitude against air mass, and draw a line of best fit through the data.
  2. Find the equation of your line of best fit, or use a calculator to find the regression line for the data.
  3. Find the equation of your line of best fit, or use a calculator to find the regression line for the data.
  4. What is the value of the extinction coefficient? What is the apparent magnitude of the star outside Earth's atmosphere?

Six students are trying to identify an unknown chemical compound by heating the substance and measuring the density of the gas that evaporates. (Density = mass/volume.) The students record the mass lost by the solid substance and the volume of the gas that evaporated from it. They know that the mass lost by the solid must be the same as the mass of the gas that evaporated. (Source: Hunt and Sykes, 1984)

StudentABCDEF
Volume of
gas ( cm 3 )
48 60 24 81 76 54
Loss in
mass (mg)
64 81 32 107 88 72
  1. Plot the data with volume on the horizontal axis. Which student made an error in the experiment?
  2. Ignoring the incorrect data point, draw a line of best fit through the other points.
  3. Find an equation of the form y = k x for the data. Why should you expect the regression line to pass through the origin?
  4. Use your equation to calculate the mass of 1000  cm 3 (one liter) of the gas.
  5. Here are the densities of some gases at room temperature:
    Hydrogen 8 mg/liter
    Nitrogen 1160 mg/liter
    Oxygen 1330 mg/liter
    Carbon dioxide 1830 mg/liter

    Which of these might have been the gas that evaporated from the unknown substance?

Use your answer to part (d) to calculate the density of the gas. 1  cm 3 = 1  milliliter .

  1. E
  2. scatterplot with regression line
  3. y = 1.33 x ; There should be no loss in mass when no gas evaporates.
  4. 1333 mg
  5. Oxygen

The formulas for many chemical compounds involve ratios of small integers. For example, the formula for water, H 2 0, means that two atoms of hydrogen combine with one atom of oxygen to make one water molecule. Similarly, magnesium and oxygen combine to produce magnesium oxide. In this problem, we will discover the chemical formula for magnesium oxide. (Source: Hunt and Sykes, 1984)

  1. Twenty-four grams of magnesium contain the same number of atoms as sixteen grams of oxygen. Complete the table showing the amount of oxygen needed if the formula for magnesium oxide is MgO , Mg 2 O , or MgO 2 .
    Grams of MgGrams of
    O (if MgO)
    Grams of
    O (if Mg 2 O)
    Grams of
    O (if MgO 2 )
    24 16
    48
    12
    6
  2. Graph three lines on the same axes to represent the three possibilities, with grams of magnesium on the horizontal axis and grams of oxygen on the vertical axis.
  3. Here are the results of some experiments synthesizing magnesium oxide.
    ExperimentGrams of
    Magnesium
    Grams
    of oxygen
    1 15 10
    2 22 14
    3 30 20
    4 28 18
    5 10 6

    Plot the data on your graph from part (b). Which is the correct formula for magnesium oxide?

For Problems 29–32,

  1. Use linear interpolation to give approximate answers.
  2. What is the meaning of the slope in the context of the problem?

The temperature in Encino dropped from 81 F at 1 a.m. to 73 F at 5 a.m. Estimate the temperature at 4 a.m.

  1. 75 F
  2. The slope of 2 degrees/hour says that temperatures are dropping at a rate of 2 per hour.

Newborn blue whales are about 24 feet long and weigh 3 tons. The young whale nurses for 7 months, at which time it is 53 feet long. Estimate the length of a 1 -year-old blue whale.

A car starts from a standstill and accelerates to a speed of 60 miles per hour in 6 seconds. Estimate the car's speed 2 seconds after it began to accelerate.

  1. 20 mph
  2. The slope of 10 mph/second says the car accelerates at a rate of 10 mph per second.

A truck on a slippery road is moving at 24 feet per second when the driver steps on the brakes. The truck needs 3 seconds to come to a stop. Estimate the truck's speed 2 seconds after the brakes were applied.

In Problems 33–36, use linear interpolation or extrapolation to answer the questions.

The temperature of an automobile engine is 9 Celsius when the engine is started and 51 C seven minutes later. Use a linear model to predict the engine temperature for both 2 minutes and 2 hours after it started. Are your predictions reasonable?

2 min: 21 C; 2 hr: 729 C; The estimate at 2 minutes is reasonable; the estimate at 2 hours is not reasonable.

The temperature in Death Valley is 95 Fahrenheit at 5 a.m. and rises to 110 Fahrenheit by noon. Use a linear model to predict the temperature at 2 p.m. and at midnight. Are your predictions reasonable?

Ben weighed 8 pounds at birth and 20 pounds at age 1 year. How much will he weigh at age 10 if his weight increases at a constant rate?

128 lb.

The elephant at the City Zoo becomes ill and loses weight. She weighed 10 , 012 pounds when healthy and only 9641 pounds a week later. Predict her weight after 10 days of illness.

Birds' nests are always in danger from predators. If there are other nests close by, the chances of predators finding the nest increase. The table shows the probability of a nest being found by predators and the distance to the nearest neighboring nest. (Source: Perrins, 1979)

Distance to
nearest neighbor
(meters)
20 40 60 80 100
Probability of
predators (%)
47 34 32 17 1.5
  1. Plot the data and the least squares regression line.
  2. Use the regression line to estimate the probability of predators finding a nest if its nearest neighbor is 50 meters away.
  3. If the probability of predators finding a nest is 10 % , how far away is its nearest neighbor?
  4. What is the probability of predators finding a nest if its nearest neighbor is 120 meters away? Is your answer reasonable?
  1. y 0.54 x + 58.7
    scatterplot with regression line
  2. 31.7 %
  3. 90 meters
  4. The regression line gives a negative probability, which is not reasonable.

A trained cyclist pedals faster as he increases his cycling speed, even with a multiple-gear bicycle. The table shows the pedal frequency, p (in revolutions per minute), and the cycling speed, c (in kilometers per hour), of one cyclist. (Source: Pugh, 1974)

Speed
(km/hr)
8.8 12.5 16.2 24.4 31.9 35.0
Pedal
frequency (rpm)
44.5 50.7 60.6 77.9 81.9 95.3
  1. Plot the data and the least squares regression line.
  2. Estimate the cyclist's pedal frequency at a speed of 20 kilometers per hour.
  3. Estimate the cyclist's speed when he is pedaling at 70 revolutions per minute.
  4. Does your regression line give a reasonable prediction for the pedaling frequency when the cyclist is not moving? Explain.

In this problem we will calculate the efficiency of swimming as a means of locomotion. A swimmer generates power to maintain a constant speed in the water. If she must swim against an opposing force, the power increases. The following table shows the power expended by a swimmer while working against different amounts of force. (A positive force opposes the swimmer, and a negative force helps her.) (Source: diPrampero et al., 1974, and Alexander, 1992)

Force
(newtons)
3.5 0 0 6 8 10 17 17
Metabolic
power
(watts)
100 190 230 320 380 450 560 600
  1. Plot the data on the grid, or use the StatPlot feature on your calculator. Use your calculator to find the least squares regression line. Graph the regression line on top of the data.
  2. Use your regression line to estimate the power needed for the swimmer to overcome an opposing force of 15 newtons.
  3. Use your regression line to estimate the power generated by the swimmer when there is no force either hindering or helping her.
  4. Estimate the force needed to tow the swimmer at 0.4 meters per second while she rests. (If she is resting, she is not generating any power).
  5. The swimmer's mechanical power (or rate of work) is computed by multiplying her speed times the force needed to tow her at rest. Use your answer to part (d) to calculate the mechanical power she generates by swimming at 0.4 meters per second.
  6. The ratio of mechanical power to metabolic power is a measure of the swimmer's efficiency. Compute the efficiency of the swimmer when there is no external force opposing or helping her.
  1. scatterplot and regression line

    y 22.8 x + 198.5
  2. 540 watts
  3. 198.5 watts
  4. 8.7 newtons
  5. 3.5 watts
  6. about 0.018 or 1.8 %

In this problem, we calculate the amount of energy generated by a cyclist. An athlete uses oxygen slowly when resting but more quickly during physical exertion. In an experiment, several trained cyclists took turns pedaling on a bicycle ergometer, which measures their work rate. The table shows the work rate of the cyclists, in watts, measured against their oxygen intake, in liters per minute. (Source: Pugh, 1974)

Oxygen
consumption
(liters/min)
1 1.7 2 3.3 3.9 3.6 4.3 5
Work rate
(watts)
40 100 180 220 280 300 320 410
  1. Plot the data on the grid, or use the StatPlot feature on your calculator. Use your calculator to find the least squares regression line. Graph the regression line on top of the data.
  2. Find the horizontal intercept of the regression line. What does the horizontal intercept tell you about this situation?
  3. Estimate the power produced by a cyclist consuming oxygen at 5.9 liters per minute.
  4. What is the slope of the regression line? The slope represents the amount of power, in watts, generated by a cyclist for each liter of oxygen consumed per minute. How many watts of power does a cyclist generate from each liter of oxygen?
  5. One watt of power represents an energy output of one joule per second. How many joules of energy does the cyclist generate in one minute?
  6. How many joules of energy can be extracted from each cubic centimeter of oxygen used? (One liter is equal to 1000 cubic centimeters.)

Modeling, Functions, and Graphs by Katherine Yoshiwara (yoshiwarabooks.org), GNU Free Documentation License 1.2 or later. Adapted for the XYZ HTML edition with the authors' permission (recorded 2026-07-04). License: GFDL-1.2-or-later.