Draw Scatter Plots 2.6 and Best-Fitting Lines Before You wrote equations of lines. Now You will fit lines to data in scatter plots. Wh? So ou can model sports trends, as in Ex. 27. Ke Vocabular scatter plot positive correlation negative correlation correlation coefficient best-fitting line A scatter plot is a graph of a set of data pairs (x, ). If tends to increase as x increases, then the data have a positive correlation. If tends to decrease as x increases, then the data have a negative correlation. If the points show no obvious pattern, then the data have approximatel no correlation. x x x Positive correlation Negative correlation Approximatel no correlation E XAMPLE 1 Describe correlation TELEPHONES Describe the correlation shown b each scatter plot. Cellular Phone Subscribers and Cellular Service Regions, 1995 23 Cellular service regions (thousands) 16 12 8 4 4 8 12 16 x Subscribers (millions) Cellular Phone Subscribers and Corded Phone Sales, 1995 23 Corded phone sales (millions of dollars) 55 45 35 25 4 8 12 16 x Subscribers (millions) The first scatter plot shows a positive correlation, because as the number of cellular phone subscribers increased, the number of cellular service regions tended to increase. The second scatter plot shows a negative correlation, because as the number of cellular phone subscribers increased, corded phone sales tended to decrease. 2.6 Draw Scatter Plots and Best-Fitting Lines 113
CORRELATION COEFFICIENTS A correlation coefficient, denoted b r, is a number from 21 to 1 that measures how well a line fits a set of data pairs (x, ). If r is near 1, the points lie close to a line with positive slope. If r is near 21, the points lie close to a line with negative slope. If r is near, the points do not lie close to an line. r 5 21 r 5 r 5 1 Points lie near line Points do not lie Points lie near line with a negative slope. near an line. with positive slope. E XAMPLE 2 Estimate correlation coefficients Tell whether the correlation coefficient for the data is closest to 21, 2.5,,.5, or 1. a. 15 b. 15 c. 15 1 1 1 5 5 5 2 4 6 x 2 4 6 x 2 4 6 x a. The scatter plot shows a clear but fairl weak negative correlation. So, r is between and 21, but not too close to either one. The best estimate given is r 5 2.5. (The actual value is r ø 2.46.) b. The scatter plot shows approximatel no correlation. So, the best estimate given is r 5. (The actual value is r ø 2.2.) c. The scatter plot shows a strong positive correlation. So, the best estimate given is r 5 1. (The actual value is r ø.98.) GUIDED PRACTICE for Examples 1 and 2 For each scatter plot, (a) tell whether the data have a positive correlation, a negative correlation, or approximatel no correlation, and (b) tell whether the correlation coefficient is closest to 21, 2.5,,.5, or 1. 1. 2. 3. 1 1 1 5 5 5 2 4 6 x 2 4 6 x 2 4 6 x BEST-FITTING LINES If the correlation coefficient for a set of data is near 61, the data can be reasonabl modeled b a line. The best-fitting line is the line that lies as close as possible to all the data points. You can approximate a best-fitting line b graphing. 114 Chapter 2 Linear Equations and Functions
KEY CONCEPT For Your Notebook Approximating a Best-Fitting Line STEP 1 STEP 2 STEP 3 STEP 4 Draw a scatter plot of the data. Sketch the line that appears to follow most closel the trend given b the data points. There should be about as man points above the line as below it. Choose two points on the line, and estimate the coordinates of each point. These points do not have to be original data points. Write an equation of the line that passes through the two points from Step 3. This equation is a model for the data. E XAMPLE 3 Approximate a best-fitting line ALTERNATIVE-FUELED VEHICLES The table shows the number (in thousands) of alternative-fueled vehicles in use in the United States x ears after 1997. Approximate the best-fitting line for the data. x 1 2 3 4 5 6 7 28 295 322 395 425 471 511 548 STEP 1 Draw a scatter plot of the data. STEP 2 Sketch the line that appears to best fit the data. One possibilit is shown. STEP 3 Choose two points that appear to lie on the line. For the line shown, ou might choose (1, 3), which is not an original data point, and (7, 548), which is an original data point. STEP 4 Write an equation of the line. First find the slope using the points (1, 3) and (7, 548). Number of vehicles (thousands) 55 5 45 4 35 (7, 548) 3 (1, 3) 25 2 4 6 8 x Years since 1997 m 5 548 2 3 } 5 } 248 7 2 1 6 ø 41.3 Use point-slope form to write the equation. Choose (x 1, 1 ) 5 (1, 3). 2 1 5 m(x 2 x 1 ) Point-slope form 2 3 5 41.3(x 2 1) Substitute for m, x 1, and 1. ø 41.3x 1 259 Simplif. c An approximation of the best-fitting line is 5 41.3x 1 259. at classzone.com 2.6 Draw Scatter Plots and Best-Fitting Lines 115
E XAMPLE 4 Use a line of fit to make a prediction Use the equation of the line of fit from Example 3 to predict the number of alternative-fueled vehicles in use in the United States in 21. Because 21 is 13 ears after 1997, substitute 13 for x in the equation from Example 3. 5 41.3x 1 259 5 41.3(13) 1 259 ø 796 c You can predict that there will be about 796, alternative-fueled vehicles in use in the United States in 21. LINEAR REGRESSION Man graphing calculators have a linear regression feature that can be used to find the best-fitting line for a set of data. E XAMPLE 5 Use a graphing calculator to find a best-fitting line Use the linear regression feature on a graphing calculator to find an equation of the best-fitting line for the data in Example 3. FIND CORRELATION If our calculator does not displa the correlation coefficient r when it displas the regression equation, ou ma need to select DiagnosticOn from the CATALOG menu. STEP 1 Enter the data into two lists. Press and then select Edit. Enter ears since 1997 in L 1 and number of alternative-fueled vehicles in L 2. L1 L2 28 1 295 2 322 3 395 4 425 L1(2)=1 L3 STEP 3 Make a scatter plot of the data pairs to see how well the regression equation models the data. Press [STAT PLOT] to set up our plot. Then select an appropriate window for the graph. STEP 2 Find an equation of the bestfitting (linear regression) line. Press, choose the CALC menu, and select LinReg(ax1b). The equation can be rounded to 5 4.9x 1 263. LinReg =ax+b a=4.8694762 b=262.83333333 r=.992967757 STEP 4 Graph the regression equation with the scatter plot b entering the equation 5 4.9x 1 263. The graph (displaed in the window x 8 and 2 6) shows that the line fits the data well. Plot1 Plot2 Plot3 On Off Tpe XList:L1 YList:L2 Mark: + c An equation of the best-fitting line is 5 4.9x 1 263. 116 Chapter 2 Linear Equations and Functions
GUIDED PRACTICE for Examples 3, 4, and 5 4. OIL PRODUCTION The table shows the U.S. dail oil production (in thousands of barrels) x ears after 1994. x 1 2 3 4 5 6 7 8 666 656 647 645 625 588 582 58 575 a. Approximate the best-fitting line for the data. b. Use our equation from part (a) to predict the dail oil production in 29. c. Use a graphing calculator to find and graph an equation of the best-fitting line. Repeat the prediction from part (b) using this equation. 2.6 EXERCISES SKILL PRACTICE HOMEWORK KEY 5 WORKED-OUT SOLUTIONS on p. WS1 for Exs. 9, 11, and 25 5 STANDARDIZED TEST PRACTICE Exs. 2, 16, 18, 21, and 28 5 MULTIPLE REPRESENTATIONS Ex. 27 1. VOCABULARY Cop and complete: A line that lies as close as possible to a set of data points (x, ) is called the? for the data points. 2. WRITING Describe how to tell whether a set of data points shows a positive correlation, a negative correlation, or approximatel no correlation. EXAMPLE 1 on p. 113 for Exs. 3 5 DESCRIBING CORRELATIONS Tell whether the data have a positive correlation, a negative correlation, or approximatel no correlation. 3. 4. 5. 6 3 6 4 2 4 2 1 2 2 4 6 8 x 2 4 6 8 x 2 4 6 8 x 6. REASONING Explain how ou can determine the tpe of correlation for a set of data pairs b examining the data in a table without drawing a scatter plot. EXAMPLE 2 on p. 114 for Exs. 7 9 CORRELATION COEFFICIENTS Tell whether the correlation coefficient for the data is closest to 21, 2.5,,.5, or 1. 7. 6 8. 6 9. 6 4 2 2 4 6 8 x 4 2 2 4 6 8 x 4 2 2 4 6 8 x 2.6 Draw Scatter Plots and Best-Fitting Lines 117
EXAMPLES 3 and 4 on pp. 115 116 for Exs. 1 15 BEST-FITTING LINES In Exercises 1 15, (a) draw a scatter plot of the data, (b) approximate the best-fitting line, and (c) estimate when x 5 2. 1. x 1 2 3 4 5 11. x 1 2 3 4 5 1 22 35 49 62 12 11 87 57 42 12. x 12 25 36 5 64 13. x 3 7 1 15 18 1 75 52 26 9 16 45 82 12 116 14. x 5.6 6.2 7 7.3 8.4 15. x 16 24 39 55 68 12 13 141 156 167 3.9 3.7 3.4 2.9 2.6 16. MULTIPLE CHOICE Which equation best models the data in the scatter plot? A 5 15 B 5 2 1 } 2 x 1 26 C 5 2 2 } 5 x 1 19 D 5 2 4 } 5 x 1 33 17. ERROR ANALYSIS The graph shows one student s approximation of the bestfitting line for the data in the scatter plot. Describe and correct the error in the student s work. 2 1 1 2 3 x 4 2 2 4 6 8 x 18. MULTIPLE CHOICE A set of data has correlation coefficient r. For which value of r would the data points lie closest to a line? A r 5 2.96 B r 5 C r 5.38 D r 5.5 EXAMPLE 5 on p. 116 for Exs. 19 2 GRAPHING CALCULATOR In Exercises 19 and 2, use a graphing calculator to find and graph an equation of the best-fitting line. 19. x 78 74 68 76 8 84 5 76 55 93 5.1 5. 4.6 4.9 5.3 5.5 3.7 5. 3.9 5.8 2. x 7 74 78 81 85 88 92 95 98 56. 54.5 51.9 5. 47.3 45.6 43.1 41.6 39.9 21. OPEN-ENDED MATH Give two real-life quantities that have (a) a positive correlation, (b) a negative correlation, and (c) approximatel no correlation. 22. REASONING A set of data pairs has correlation coefficient r 5.1. Is it logical to use the best-fitting line to make predictions from the data? Explain. 23. CHALLENGE If x and have a positive correlation and and z have a negative correlation, what can ou sa about the correlation between x and z? Explain. 5 WORKED-OUT SOLUTIONS 118 Chapter 2 Linear on p. Equations WS1 and Functions 5 STANDARDIZED TEST PRACTICE 5 MULTIPLE REPRESENTATIONS
PROBLEM SOLVING EXAMPLES 3, 4, and 5 on pp. 115 116 for Exs. 24 28 GRAPHING CALCULATOR You ma wish to use a graphing calculator to complete the following Problem Solving exercises. 24. POPULATION The data pairs (x, ) give the population (in millions) of Texas x ears after 1997. Approximate the best-fitting line for the data. (, 19.7), (1, 2.2), (2, 2.6), (3, 2.9), (4, 21.3), (5, 21.7), (6, 22.1), (7, 22.5) 25. TUITION The data pairs (x, ) give U.S. average annual public college tuition (in dollars) x ears after 1997. Approximate the best-fitting line for the data. (, 2271), (1, 236), (2, 243), (3, 256), (4, 2562), (5, 2727), (6, 2928) 26. PHYSICAL SCIENCE The diagram shows the boiling point of water at various elevations. Approximate the best-fitting line for the data pairs (x, ) where x represents the elevation (in feet) and represents the boiling point (in degrees Fahrenheit). Then use this line to estimate the boiling point at an elevation of 14, feet. 27. MULTIPLE REPRESENTATIONS The table shows the numbers of countries that participated in the Winter Olmpics from 198 to 22. Year 198 1984 1988 1992 1994 1998 22 Countries 37 49 57 64 67 72 77 a. Making a List Use the table to make a list of data pairs (x, ) where x represents ears since 198 and represents the number of countries. b. Drawing a Graph Draw a scatter plot of the data pairs from part (a). c. Writing an Equation Write an equation that approximates the best-fitting line, and use it to predict the number of participating countries in 214. 28. EXTENDED RESPONSE The table shows manufacturers shipments (in millions) of cassettes and CDs in the United States from 1988 to 22. Year 1988 199 1992 1994 1996 1998 2 22 Cassettes 45.1 442.2 336.4 345.4 225.3 158.5 76. 31.1 CDs 149.7 286.5 47.5 662.1 778.9 847. 942.5 83.3 a. Draw a scatter plot of the data pairs (ear, shipments of cassettes). Describe the correlation shown b the scatter plot. b. Draw a scatter plot of the data pairs (ear, shipments of CDs). Describe the correlation shown b the scatter plot. c. Describe the correlation between cassette shipments and CD shipments. What real-world factors might account for this? 2.6 Draw Scatter Plots and Best-Fitting Lines 119
29. CHALLENGE Data from some countries in North America show a positive correlation between the average life expectanc in a countr and the number of personal computers per capita in that countr. a. Make a conjecture about the reason for the positive correlation between life expectanc and number of personal computers per capita. b. Is it reasonable to conclude from the data that giving residents of a countr more personal computers will lengthen their lives? Explain. MIXED REVIEW Solve the equation for. Then find the value of for the given value of x. (p. 26) 3. 2x 2 5 1; x 5 8 31. 6 1 x 5 25; x 5 1 32. x 2 4 5 3; x 5 23 33. 23x 1 4 1 5 5 ; x 5 22 34. 2.5 1.25x 5 2; x 5 4 35. x 2 4x 5 9; x 5 6 PREVIEW Prepare for Lesson 2.7 in Exs. 36 41. Evaluate the function for the given value of x. (p. 72) 36. f(x) 5 2x 1 7; f(9) 37. f(x) 5 24x 2 11; f(25) 38. f(x) 5 14 2 x ; f(22) 39. f(x) 5 x 2 1 ; f(1) 4. f(x) 5 26 2 x ; f(4) 41. f(x) 5 2x 1 8 2 1; f(23) Graph the equation. (p. 89) 42. 5 x 1 8 43. 5 2x 2 14 44. 5 5x 1 9 45. 2x 1 5 1 46. 3x 2 2 5 24 47. x 1 3 5 15 QUIZ for Lessons 2.4 2.6 Write an equation of the line that satisfies the given conditions. (p. 98) 1. m 5 25, b 5 3 2. m 5 2, b 5 12 3. m 5 4, passes through (23, 6) 4. m 5 27, passes through (1, 24) 5. passes through (, 7) and (23, 22) 6. passes through (29, 9) and (29, ) Write and graph a direct variation equation that has the given ordered pair as a solution. (p. 17) 7. (1, 2) 8. (22, 8) 9. (5, 216) 1. (12, 4) The variables x and var directl. Write an equation that relates x and. Then find when x 5 8. (p. 17) 11. x 5 4, 5 12 12. x 5 23, 5 28 13. x 5 4, 5 25 14. x 5 12, 5 2 15. CONCERT TICKETS The table shows the average price of a concert ticket to one of the top 5 musical touring acts for the ears 1999 24. Write an equation that approximates the best-fitting line for the data pairs (x, ). Use the equation to predict the average price of a ticket in 21. (p. 113) Years since 1999, x 1 2 3 4 5 Ticket price (dollars), 38.56 44.8 46.69 5.81 51.81 58.71 12 Chapter 2 EXTRA Linear Equations PRACTICE and for Functions Lesson 2.6, p. 111 ONLINE QUIZ at classzone.com