Relation and Functions 77
Relation and Functions 77
and Functions
• Lesson 2-1 Analyze relations and functions.
Key Vocabulary
• Lessons 2-2 and 2-4 Identify, graph, and write • linear equation (p. 63)
linear equations. • linear function (p. 63)
• Lesson 2-3 Find the slope of a line. • slope (p. 68)
• Lesson 2-5 Draw scatter plots and find prediction • slope-intercept form (p. 75)
equations. • point-slope form (p. 76)
• Lessons 2-6 and 2-7 Graph special functions, linear
inequalities, and absolute value inequalities.
7. c ⫹ d 8. 4c ⫺ b 9. a2 ⫺ 5a ⫹ 3
a⫺b a⫹c
10. 2b2 ⫹ b ⫹ 7 11. ᎏᎏ 12. ᎏᎏ
c⫺d b⫹c
For Lessons 2-6 and 2-7 Evaluate Expressions with Absolute Value
Evaluate each expression if x = ⫺3, y = 4, and z = ⫺4.5. (For review, see Lesson 1-4.)
19. x 20. y 21. 5x
22. ⫺2z 23. 5y ⫹ z 24. ⫺3x ⫹ y ⫺ x ⫹ z
Reading and Writing As you read and study the chapter, write notes, examples,
and graphs under the tabs.
Functions
{(ⴚ3, 1), (0, 2), (2, 4)} {(ⴚ1, 5), (1, 3), (4, 5)} {(5, 6), (ⴚ3, 0), (1, 1), (ⴚ3, 6)}
Domain Range Domain Range Domain Range
⫺3 1 ⫺1 ⫺3 0
0 2 1 3 1 1
2 4 4 5 5 6
You can use the vertical line test to determine whether a relation is a function.
O
x O x
In Example 1, there is no vertical line that contains more than one of the points.
Therefore, the relation is a function.
Lesson 2-1 Relations and Functions 57
Example 2 Vertical Line Test
GEOGRAPHY The table shows the population of the Population
state of Indiana over the last several decades. Graph this Year
(millions)
information and determine whether it represents a
function. 1950 3.9
1960 4.7
1970 5.2
1980 5.5
Population of Indiana 1990 5.5
Study Tip 7
6.1
2000 6.1
5.5
Vertical Line Test 6 Source: U.S. Census Bureau
Population
4.7
(millions)
You can use a pencil to 5
Use the vertical line test. Notice
represent a vertical line. 4 5.5
5.2 that no vertical line can be drawn
Slowly move the pencil to 3
the right across the graph 3.9 that contains more than one of
2 the data points. Therefore, this
to see if it intersects the
0 relation is a function. Notice also
graph at more than one ’50 ’60 ’70 ’80 ’90 ’00
point. Year
that each year is paired with only one
population value.
⫺1 ⫺1 ⫺1
← (⫺2, 0)
0 ⫺2 0 O x
1 ⫺1 1 (⫺1, ⫺1)
2 2 2 (2,⫺2)
Guided Practice Determine whether each relation is a function. Write yes or no.
GUIDED PRACTICE KEY 4. D R 5. 6. y
x y
3 1 5 2 (᎐1 , 4)
2 5 (2, 3)
⫺6
10 2
(2, 2)
15 2
(3 , 1)
20 2
O x
Graph each relation or equation and find the domain and range. Then determine
whether the relation or equation is a function.
7. {(7, 8), (7, 5), (7, 2), (7, 1)} 8. {(6, 2.5), (3, 2.5), (4, 2.5)}
9. y 2x 1 10. x y2
11. Find f(5) if f(x) x2 3x. 12. Find h(2) if h(x) x3 1.
SPORTS For Exercises 35–37, use the table that shows the leading home run and
runs batted in totals in the American League for 1996–2000.
1996 1997 1998 1999 2000
Year 1996 1997 1998 1999 2000
HR 52 56 56 48 47
RBI 148 147 157 165 145
Source: The World Almanac
35. Make a graph of the data with home runs on the horizontal axis and runs batted
in on the vertical axis.
36. Identify the domain and range.
37. Does the graph represent a function? Explain your reasoning.
Sports FINANCE For Exercises 38–41, use the table that shows a Year Price
The major league record company’s stock price in recent years.
1997 $39
for runs batted in (RBIs) is 38. Write a relation to represent the data.
191 by Hack Wilson. 1998 $43
39. Graph the relation.
Source: www.baseball- 1999 $48
almanac.com 40. Identify the domain and range. 2000 $55
41. Is the relation a function? Explain your reasoning. 2001 $61
2002 $52
GOVERNMENT For Exercises 42–45, use the table below that shows the number
of members of the U.S. House of Representatives with 30 or more consecutive
years of service in Congress from 1987 to 1999.
56. WRITING IN MATH Answer the question that was posed at the beginning of
the lesson.
How do relations and functions apply to biology?
Include the following in your answer:
• an explanation of how a relation can be used to represent data, and
• a sentence that includes the words average lifetime, maximum lifetime, and
function.
Extending A function whose graph consists of disconnected points is called a discrete function.
the Lesson A function whose graph you can draw without lifting your pencil is called a
continuous function. Determine whether each function is discrete or continuous.
59. f (x ) 60. f (x )
O x
O x
Getting Ready for PREREQUISITE SKILL Solve each equation. Check your solution.
the Next Lesson (To review solving equations, see Lesson 1-3.)
1 1
70. x 3 2 71. 4 2y 0 72. 0 x 3 73. x 4 1
2 3
62 Chapter 2 Linear Relations and Functions
Linear Equations
A linear function is a function whose ordered pairs satisfy a linear equation. Any
linear function can be written in the form f(x) ⫽ mx ⫹ b, where m and b are real
numbers.
c. h(x, y) ⴝ 2xy This is not a linear function because the two variables are
multiplied together.
b. The term 2117 in the function represents the atmospheric pressure at the
surface of the water. How many times as great is the pressure at a depth of
350 feet as the pressure at the surface?
Military Divide the pressure 350 feet below the surface by the pressure at the surface.
To avoid decompression
23,992
sickness, it is recommended ᎏᎏ ⬇ 11.33 Use a calculator.
2117
that divers ascend no faster
than 30 feet per minute. The pressure at that depth is more than 11 times as great as the pressure at the
Source: www.emedicine.com surface.
So, A ⫽ 2, B ⫽ 1, and C ⫽ 3.
3
b. ⴚᎏᎏx ⴝ 3y ⴚ 2
5
3
⫺ᎏᎏx ⫽ 3y ⫺ 2 Original equation
5
3
⫺ᎏᎏx ⫺ 3y ⫽ ⫺2 Subtract 3y from each side.
5
3x ⫹ 15y ⫽ 10 Multiply each side by ⫺5 so that the coefficients are integers and A ⱖ 0.
c. 3x ⴚ 6y ⴚ 9 ⴝ 0
3x ⫺ 6y ⫺ 9 ⫽ 0 Original equation
3x ⫺ 6y ⫽ 9 Add 9 to each side.
x ⫺ 2y ⫽ 3 Divide each side by 3 so that the coefficients have a GCF of 1.
x2
Concept Check 1. Explain why f(x) is a linear function.
2
y
Guided Practice State whether each equation or function is linear. Write yes or no. If no, explain your
reasoning.
GUIDED PRACTICE KEY 4. x2 y2 4 5. h(x) 1.1 2x
Find the x-intercept and the y-intercept of the graph of each equation. Then graph
the equation.
9. y 3x 5 10. x y 2 0
11. 3x 2y 6 12. 4x 8y 12
www.algebra2.com/extra_examples Lesson 2-2 Linear Equations 65
Application ECONOMICS For Exercises 13 and 14, use the following information.
On January 1, 1999, the euro became legal tender in 11 participating countries
in Europe. Based on the exchange rate on March 22, 2001, the linear function
d(x) 0.8881x could be used to convert x euros to U.S. dollars.
13. On that date, what was the value in U.S. dollars of 200 euros?
14. On that date, what was the value in euros of 500 U.S. dollars?
Online Research Data Update How do the dollar and the euro compare
today? Visit www.algebra2.com/data_update to convert among currencies.
Find the x-intercept and the y-intercept of the graph of each equation. Then graph
the equation.
39. 5x 3y 15 40. 2x 6y 12 41. 3x 4y 10 0
42. 2x + 5y 10 0 43. y x 44. y 4x 2
45. y 2 46. y 4 47. x 8
48. x 1 49. f(x) 4x 1 50. g(x) 0.5x 3
68. TAX Including a 6% sales tax, a paperback book costs $8.43. What is the price
before tax? (Lesson 1-3)
Simplify each expression. (Lesson 1-1)
69. (9s ⫺ 4) ⫺ 3(2s ⫺ 6) 70. [19 ⫺ (8 ⫺ 1)] ⫼ 3
Getting Ready for BASIC SKILL Find the reciprocal of each number.
the Next Lesson 71. 3 72. ⫺4
1
73. ᎏᎏ 74. ⫺ᎏᎏ
2
2 3
1 3
75. ⫺ᎏᎏ 76. 3ᎏᎏ 77. 2.5 78. ⫺1.25
5 4
www.algebra2.com/self_check_quiz Lesson 2-2 Linear Equations 67
Slope
change in y-coordinates
Study Tip slope ⫽ ᎏᎏᎏ
change in x-coordinates
O x
Slope y ⫺y
⫽ᎏ
2
ᎏ1
The formula for slope is x2 ⫺ x1
often remembered as
rise over run, where The slope of a line is the same, no matter what two points on the line are used.
the rise is the difference
in y-coordinates and the Slope of a Line
run is the difference in
x-coordinates. • Words The slope of a line is the ratio of the change in y-coordinates to the
change in x-coordinates.
• Symbols The slope m of the line passing through (x1, y1) and (x2, y2) is given
y2 ⫺ y1
by m ⫽ ᎏ ᎏ, where x1 ⫽ x2.
x2 ⫺ x1
If the line rises to If the line is If the line falls to the If the line is vertical,
the right, then the horizontal, then right, then the slope then the slope is
slope is positive. the slope is zero. is negative. undefined.
y y y y
(3, 3) (⫺3, 2) (3, 2) (0, 3)
(⫺2, 3)
x x
O x O x O (3, 0) O
(⫺2, ⫺2)
(⫺2, ⫺2)
In the Investigation, you saw that lines that have the same slope are parallel.
These and other similar examples suggest the following rule.
Parallel Lines
Study Tip • Words In a plane, nonvertical lines • Model y
with the same slope are same
Horizontal Lines parallel. All vertical lines are slope
All horizontal lines are parallel.
O x
parallel because they all
have a slope of 0.
Mark Luisa
5–4 1 4–5 1
m = or m = or –
2 – (–1) 3 2 – (–1) 3
Guided Practice Find the slope of the line that passes through each pair of points.
GUIDED PRACTICE KEY 4. (1, 1), (3, 1) 5. (1, 0), (3, 2) 6. (3, 4), (1, 2)
Graph the line passing through the given point with the given slope.
3
7. (2, 1), 3 8. (3, 4),
2
Graph the line that satisfies each set of conditions.
9. passes through (0, 3), parallel to graph of 6y 10x 30
10. passes through (4, 2), perpendicular to graph of 3x 2y 6
11. passes through (1, 5), perpendicular to graph of 5x 3y 3 0
Lesson 2-3 Slope 71
Application WEATHER For Exercises 12–14, use the table that shows the temperatures at
different times on March 23, 2002.
Time 8:00 A.M. 10:00 A.M. 12:00 P.M. 2:00 P.M. 4:00 P.M.
Temp (°F) 36 47 55 58 60
12. What was the average rate of change of the temperature from 8:00 A.M. to
10:00 A.M.?
13. What was the average rate of change of the temperature from 12:00 P.M. to
4:00 P.M.?
14. During what 2-hour period was the average rate of change of the temperature
the least?
Extra Practice
1
冢 1
冣冢
1 2
23. ᎏᎏ, ⫺ᎏᎏ , ᎏᎏ, ᎏᎏ
2 3 4 3 冣 24. 冢ᎏᎏ, ᎏᎏ冣, 冢ᎏᎏ, ᎏᎏ冣
1 2
2 3
5 1
6 4
See page 830. 25. (a, 2), (a, ⫺2) 26. (3, b), (⫺5, b)
1
27. Determine the value of r so that the line through (6, r) and (9, 2) has slope ᎏᎏ.
3
28. Determine the value of r so that the line through (5, r) and (2, 3) has slope 2.
Number (millions)
tapes shipped by manufacturers to
800 CDs
retailers in recent years.
600
37. Find the average rate of change of
400 Cassettes
the number of CDs shipped from
200
1991 to 2000.
0
38. Find the average rate of change of 1991 1993 1995 1997 1999 2001
the number of cassette tapes shipped Year
from 1991 to 2000. Source: Recording Industry Association of America
39. Interpret the sign of your answer to
Exercise 38.
TRAVEL For Exercises 40–42, use the following information. Time Distance
Mr. and Mrs. Wellman are taking their daughter to college. (h) (mi)
The table shows their distance from home after various
amounts of time. 0 0
1 55
40. Find the average rate of change of their distance from
home between 1 and 3 hours after leaving home. 2 110
41. Find the average rate of change of their distance from 3 165
home between 0 and 5 hours after leaving home. 4 165
42. What is another word for rate of change in this 5 225
situation?
51. GEOMETRY Determine whether quadrilateral ABCD with vertices A(⫺2, ⫺1),
B(1, 1), C(3, ⫺2), and D(0, ⫺4) is a rectangle. Explain.
53. WRITING IN MATH Answer the question that was posed at the beginning of
the lesson.
How does slope apply to the steepness of roads?
Include the following in your answer:
• a few sentences explaining the relationship between the grade of a road and
the slope of a line, and
• a graph of y ⫽ 0.08x, which corresponds to a grade of 8%. (A road with a
grade of 6% to 8% is considered to be fairly steep. The scales on your x- and
y-axes should be the same.)
www.algebra2.com/self_check_quiz Lesson 2-3 Slope 73
Standardized 54. What is the slope of the line shown in the graph at y
Test Practice the right?
3 2 2 3
A ⫺ᎏᎏ B ⫺ᎏᎏ C ᎏᎏ D ᎏᎏ
2 3 3 2
55. What is the slope of a line perpendicular to a O x
1
line with slope ⫺ᎏᎏ?
2
1 1
A ⫺2 B ⫺ᎏᎏ C ᎏᎏ D 2
2 2
• Write an equation of a line given the slope and a point on the line.
• Write an equation of a line parallel or perpendicular to a given line.
slope y-intercept
If you are given the slope and y-intercept of a line, you can find an equation of the
line by substituting the values of m and b into the slope-intercept form. For example,
if you know that the slope of a line is ⫺3 and the y-intercept is 4, the equation of the
line is y ⫽ ⫺3x ⫹ 4, or, in standard form, 3x ⫹ y ⫽ 4.
You can also use the slope-intercept form to find an equation of a line if you know
the slope and the coordinates of any point on the line.
Lesson 2-4 Writing Linear Equations 75
Example 1 Write an Equation Given Slope and a Point
3
Write an equation in slope-intercept form for the line that has a slope of ⴚ and
2
passes through (ⴚ4, 1).
Substitute for m, x, and y in the slope-intercept form. y
(⫺4, 1)
y mx b Slope-intercept form
⫺3 O x
1 冢冣(4) b (x, y) (4, 1), m 23
3
2
2
16b Simplify.
5 b Subtract 6 from each side.
3
The y-intercept is 5. So, the equation in slope-intercept form is y x 5.
2
If you are given the coordinates of two points on a line, you can use the
point-slope form to find an equation of the line that passes through them.
←
the equation of a line is
y y1 m(x x1), where y y1 m(x x1)
←
←
(x1, y1) are the coordinates of
a point on the line and m is coordinates of point on line
the slope of the line.
Now use the slope and either of the given points with the point-slope form to
write the equation.
y y1 m(x x1) Point-slope form
y 100 0.05(x 1000) m 0.05, (x1, y1) (1000, 100)
y 100 0.05x 50 Distributive Property
y 0.05x 50 Add 100 to each side.
Guided Practice State the slope and y-intercept of the graph of each equation.
GUIDED PRACTICE KEY 4. y 2x 5 5. 3x 2y 10 0
Write an equation in slope-intercept form for the line that satisfies each set of
conditions.
7. slope , passes through 冢2, 冣
3 1
6. slope 0.5, passes through (6, 4)
4 2
8. passes through (6, 1) and (8, 4) 9. passes through (3, 5) and (2, 2)
10. passes through (0, 2), perpendicular to the graph of y x 2
11. Write an equation in slope-intercept form for the y
graph at the right. (0, 7)
Standardized 12. What is an equation of the line through (2, 4) and
Test Practice (3, 1)?
3 26 143
A y x B y x (4, 2)
5 5 55
3 26 3 14
C y x
D y x
5 5 5 5 O x
O x
O x
(0,⫺4)
Write an equation in slope-intercept form for the line that satisfies each set of
conditions.
23. slope 3, passes through (0, ⫺6) 24. slope 0.25, passes through (0, 4)
1 3
25. slope ⫺ᎏᎏ , passes through (1, 3) 26. slope ᎏᎏ, passes through ⫺5, 1)
2 2
27. slope ⫺0.5, passes through (2, ⫺3) 28. slope 4, passes through the origin
29. passes through (⫺2, 5) and (3, 1) 30. passes through (7, 1) and (7, 8)
31. passes through (⫺4, 0) and (3, 0) 32. passes through (⫺2, ⫺3) and (0, 0)
1 1
33. x-intercept ⫺4, y-intercept 4 34. x-intercept ᎏᎏ, y-intercept ⫺ᎏᎏ
3 4
2
35. passes through (4, 6), parallel to the graph of y ⫽ ᎏᎏx ⫹ 5
3
1
36. passes through (2, ⫺5), perpendicular to the graph of y ⫽ ᎏᎏx ⫹ 7
4
1
37. passes through (6, ⫺5), perpendicular to the line whose equation is 3x ⫺ ᎏᎏy ⫽ 3
5
38. passes through (⫺3, ⫺1), parallel to the line that passes through (3, 3) and (0, 6)
GEOMETRY For Exercises 41–43, use the equation d 180(c 2) that gives the
total number of degrees d in any convex polygon with c sides.
41. Write this equation in slope-intercept form.
42. Identify the slope and d-intercept.
43. Find the number of degrees in a pentagon.
44. ECOLOGY A park ranger at Blendon Woods estimates there are 6000 deer in
the park. She also estimates that the population will increase by 75 deer each
year thereafter. Write an equation that represents how many deer will be in the
park in x years.
45. BUSINESS Refer to the signs below. At what distance do the two stores charge
the same amount for a balloon arrangement?
Standardized 53. Find an equation of the line through (0, ⫺3) and (4, 1).
Test Practice A y ⫽ ⫺x ⫹ 3 B y ⫽ ⫺x ⫺ 3 C y⫽x⫺3 D y ⫽ ⫺x ⫹ 3
54. Choose the equation of the line through 冢ᎏᎏ, ⫺ᎏᎏ冣 and 冢⫺ᎏᎏ, ᎏᎏ冣.
1 3 1 1
2 2 2 2
1 5 1
A y ⫽ ⫺2x ⫺ ᎏᎏ B y ⫽ ⫺3x C y ⫽ 2x ⫺ ᎏᎏ D y ⫽ ᎏᎏx ⫹ 1
2 2 2
Extending For Exercises 55 and 56, use the following information.
the Lesson x y
The form ᎏᎏ ⫹ ᎏᎏ ⫽ 1 is known as the intercept form of the equation of a line because
a b
a is the x-intercept and b is the y-intercept.
55. Write the equation 2x ⫺ y ⫺ 5 ⫽ 0 in intercept form.
56. Identify the x- and y-intercepts of the graph of 2x ⫺ y ⫺ 5 ⫽ 0.
Getting Ready for PREREQUISITE SKILL Find the median of each set of numbers.
the Next Lesson (To review finding a median, see pages 822 and 823.)
64. {3, 2, 1, 3, 4, 8, 4} 65. {9, 3, 7, 5, 6, 3, 7, 9}
66. {138, 235, 976, 230, 412, 466} 67. {2.5, 7.8, 5.5, 2.3, 6.2, 7.8}
80 Chapter 2 Linear Relations and Functions
Modeling Real-World Data:
Using Scatter Plots
• Draw scatter plots.
• Find and use prediction equations. Speed (mph) Calories
SCATTER PLOTS To model data with a function, it is helpful to graph the data.
A set of data graphed as ordered pairs in a coordinate plane is called a scatter plot.
A scatter plot can show whether there is a relationship between the data.
PREDICTION EQUATIONS Except for (0, 122.9), the data in Example 1 appear
to lie nearly on a straight line. When you find a line that closely approximates a set
of data, you are finding a line of fit for the data. An equation of such a line is often
called a prediction equation because it can be used to predict one of the variables
given the other variable.
Lesson 2-5 Modeling Real-World Data: Using Scatter Plots 81
To find a line of fit and a prediction equation for a set of data, select two points
that appear to represent the data well. This is a matter of personal judgment, so your
line and prediction equation may be different from someone else’s.
Price ($1000)
150
140
130
120
110
0 2 4 6 8 10
Years Since 1990
Concept Check 1. Choose the scatter plot with data that could best be modeled by a linear function.
a. y b. y c. y d. y
O
O x O x O x x
Guided Practice Complete parts a–c for each set of data in Exercises 4 and 5.
GUIDED PRACTICE KEY a. Draw a scatter plot.
b. Use two ordered pairs to write a prediction equation.
c. Use your prediction equation to predict the missing value.
4. SCIENCE Whether you are climbing a mountain or flying in an airplane, the
higher you go, the colder the air gets. The table shows the temperature in the
atmosphere at various altitudes.
5. TELEVISION As more channels have been added, cable television has become
attractive to more viewers. The table shows the number of U.S. households with
cable service in some recent years.
7. HOCKEY Each time a hockey player scores a goal, up to two teammates may
be credited with assists. The table shows the number of goals and assists for
some of the members of the Detroit Red Wings in the 2000–2001 NHL season.
Goals 31 15 32 27 16 20 8 4 12 12 ?
Assists 45 56 37 30 24 18 17 5 10 7 15
Source: www.detroitredwings.com
8. HEALTH Bottled water has become very popular. The table shows the number
of gallons of bottled water consumed per person in some recent years.
20051 $1,172
1 — projected
Source: U.S. Health Care Financing Administration
Company 1 Company 2
Share Share
Month Month
Price ($) Price ($)
Aug. 25.13 Aug. 31.25
Sept. 22.94 Sept. 32.38
Oct. 24.19 Oct. 32.06
Nov. 22.56 Nov. 32.44
Finance 13. Based only on these data, which stock should Della buy? Explain.
A financial analyst can
advise people about how 14. Do you think investment decisions should be based on this type of reasoning? If
to invest their money and not, what other factors should be considered?
plan for retirement.
Online Research GEOGRAPHY For Exercises 15–18, use the table below that shows the elevation
For information about and average precipitation for selected cities.
a career as a financial
analyst, visit: Average Average
Elevation Elevation
www.algebra2.com/ City Precip. City Precip.
(feet) (feet)
careers (inches) (inches)
Rome, Italy 79 33 London, England 203 30
Algiers, Algeria 82 27 Paris, France 213 26
Istanbul, Turkey 108 27 Bucharest, Romania 298 23
Montreal, Canada 118 37 Budapest, Hungary 456 20
Stockholm, Sweden 171 21 Toronto, Canada 567 31
Berlin, Germany 190 23
Source: World Meteorological Association
Standardized 23. Which line best fits the data in the graph at the right? y
Test Practice A y⫽x B y ⫽ ⫺0.5x ⫹ 4 3
C y ⫽ ⫺0.5x ⫺ 4 D y ⫽ 0.5 ⫹ 0.5x
2
24. A prediction equation for a set of data is y ⫽ 0.63x ⫹ 4.51.
1
For which x value is the predicted y value 6.4?
A 3 B 4.5 O 1 2 3 4x
C 6 D 8.54
25. Divide the data into three approximately equal groups. There should always be
the same number of points in the first and third groups. Find x1, x2, and x3, the
medians of the x values in Groups 1, 2, and 3, respectively. Find y1, y2, and y3,
the medians of the y values in Groups 1, 2, and 3, respectively.
26. Find an equation of the line through (x1, y1) and (x3, y3).
27. Find Y, the y-coordinate of the point on the line in Exercise 26 with an
x-coordinate of x2.
28. The median-fit line is parallel to the line in Exercise 26, but is one-third closer to
(x2, y2). This means it passes through 冢x2, ᎏᎏY ⫹ ᎏᎏy2 冣. Find this ordered pair.
2 1
3 3
29. Write an equation of the median-fit line.
30. Predict the number of prisoners per 100,000 citizens in 2005 and 2010.
Getting Ready for PREREQUISITE SKILL Find each absolute value. (To review absolute value, see Lesson 1-4.)
the Next Lesson
⫺ᎏ3ᎏ
2
38. ⫺3 39. 11 40. 0 41. 42. ⫺1.5
86 Chapter 2 Linear Relations and Functions
A Follow-Up of Lesson 2-5
Lines of Regression
You can use a TI-83 Plus graphing calculator to find a line that best fits a set of data.
This line is called a regression line or line of best fit . You can also use the
calculator to draw scatter plots and make predictions.
INCOME The table shows the median income of U.S. families for the period 1970–1998.
Find and graph a regression equation. Then predict the median income in 2010.
⫺1, the closer the data points are to the line. Notice that the regression line does not pass
If the values of r2 and r are not displayed, use through any of the data points, but comes close
DiagnosticOn from the CATALOG menu. to all of them. The line fits the data very well.
www.algebra2.com/other_calculator_keystrokes
Investigating Slope-Intercept Form 87
Graphing Calculator Investigation Lines of Regression 87
Graphing Calculator Investigation
Exercises
GOVERNMENT For Exercises 1–3, use the table below that shows the population
and the number of representatives in Congress for selected states.
State CA NY TX FL NC IN AL
Population (millions) 29.8 18.0 17.0 12.9 6.6 5.5 4.0
Representatives 52 31 30 23 12 10 7
Source: The World Almanac
BASEBALL For Exercises 4–6, use the table at the right that shows 1985 18.4
the total attendance for minor league baseball in some recent years. 1990 25.2
4. Make a scatter plot of the data. 1995 33.1
5. Find a regression equation for the data. 2000 37.6
6. Predict the attendance in 2010. Source: National Association of
Professional Baseball Leagues
TRANSPORTATION For Exercises 7–11, use the table below that shows the retail
sales of motor vehicles in the United States for the period 1992–1999.
11. How accurate do you think your prediction is? Explain. Sales
Year
($ millions)
RECREATION For Exercises 12–15, use the table at the right that shows 1993 315
the amount of money spent on skin diving and scuba equipment in 1994 322
some recent years. 1995 328
12. Find a regression equation for the data. 1996 340
13. Delete the outlier (1997, 332) from the data set. Then find a new 1997 332
regression equation for the data. 1998 345
14. Use the new regression equation to predict the sales in 2010. 1999 363
15. Compare the new correlation coefficient to the old value and state Source: National Sporting Goods
whether the regression line fits the data better. Association
Examine Since the shop rounds any fraction of an hour up to the next whole
number, each segment on the graph has a circle at the left endpoint and
a dot at the right endpoint.
You learned in Lesson 2-4 that the slope-intercept form of a linear function is
y ⫽ mx ⫹ b, or in functional notation, f(x) ⫽ mx ⫹ b. When m ⫽ 0, the value of the
function is f(x) ⫽ b for every x value. So, f(x) ⫽ b is called a constant function.
The function f(x) ⫽ 0 is called the zero function.
⫺2 3
⫺0.5 3
0 3
O x
1
ᎏᎏ 3
3
x x 1 x x 2
⫺2 3 ⫺2 0
⫺1 2 ⫺1 ⫺1
0 1 0 ⫺2
1 2 1 ⫺1
2 3 2 0
g (x ) x 2
TEACHING TIP
Special Functions
Step Constant Absolute Value Piecewise
Function Function Function Function
f (x ) f (x ) f (x ) f (x )
O x O x O x O x
O x O x
Since this graph consists of multiple Since this graph is a horizontal line,
horizontal segments, it represents a it represents a constant function.
step function.
Concept Check 1. Find a counterexample to the statement To find the greatest integer function of x
when x is not an integer, round x to the nearest integer.
2. Evaluate g(4.3) if g(x) ⫽ [[x ⫺ 5]].
3. OPEN ENDED Write a function involving absolute value for which f(⫺2) ⫽ 3.
92 Chapter 2 Linear Relations and Functions
Guided Practice Identify each function as S for step, C for constant, A for absolute value, or P for
piecewise.
GUIDED PRACTICE KEY 4. f (x ) 5. f (x )
O x
O x
Extra Practice
See page 831.
18. f (x ) 19. f (x ) 20. f (x )
x
O x O
O x
21. TRANSPORTATION Bluffton High School chartered buses so the student body
could attend the girls’ basketball state tournament games. Each bus held a
maximum of 60 students. Draw a graph of a step function that shows the
relationship between the number of students x who went to the game and the
number of buses y that were needed.
www.algebra2.com/self_check_quiz Lesson 2-6 Special Functions 93
TELEPHONE RATES For Exercises 22 and 23, use the following information.
Sarah has a long-distance telephone plan where she pays 10¢ for each minute or part
of a minute that she talks, regardless of the time of day.
22. Graph a step function that represents this situation.
23. Sarah made a call to her brother that lasted 9 minutes and 40 seconds. How
much did the call cost?
1 1
36. f(x) ⫽ x ⫺ ᎏᎏ 37. f(x) ⫽ x ⫹ ᎏᎏ
4 2
冦 冦
40. f(x) ⫽ x if x ⬍ ⫺3 ⫺1 if x ⱕ ⫺2
2 if ⫺3 ⱕ x ⬍ 1 41. g(x) ⫽ x if ⫺2 ⬍ x ⬍ 2
⫺2x ⫹ 2 if x ⱖ 1 ⫺x ⫹ 1 if x ⱖ 2
42. f(x) ⫽ [[x]] 43. g(x) ⫽ [[x]]
f (x )
44. Write the function shown in the graph.
Nutrition O
x
Good sources of vitamin C
include citrus fruits and
juices, cantaloupe, broccoli,
brussels sprouts, potatoes,
sweet potatoes, tomatoes,
and cabbage.
Source: The World Almanac NUTRITION For Exercises 45–47, use the following information.
The recommended dietary allowance for vitamin C is 2 micrograms per day.
45. Write an absolute value function for the difference between the number of
micrograms of vitamin C you ate today x and the recommended amount.
46. What is an appropriate domain for the function?
47. Use the domain to graph the function.
48. INSURANCE According to the terms of Lavon’s insurance plan, he must pay
the first $300 of his annual medical expenses. The insurance company pays 80%
of the rest of his medical expenses. Write a function for how much the insurance
company pays if x represents Lavon’s annual medical expenses.
50. WRITING IN MATH Answer the question that was posed at the beginning of
the lesson.
How do step functions apply to postage rates?
Include the following in your answer:
• an explanation of why a step function is the best model for this situation,
while your gas mileage as a function of time as you drive to the post office
cannot be modeled with a step function, and
• a graph of a function that represents the cost of a first-class letter.
94 Chapter 2 Linear Relations and Functions
51. For which function does f 冢⫺ᎏᎏ冣 ⫽ ⫺1?
1
Standardized 2
Test Practice A f(x) ⫽ 2x B f(x) ⫽ ⫺2x C f(x) ⫽ [[ x]] D f(x) ⫽ [[ 2x]]
52. For which function is the range {yy ⱕ 0}?
A f(x) ⫽ ⫺x B f(x) ⫽ [[ x]] C f(x) ⫽ x D f(x) ⫽ ⫺x
53. Draw a scatter plot in which x is the number of years since 1950.
54. Find a prediction equation.
55. Predict the life expectancy of a person born in 2010.
Getting Ready for PREREQUISITE SKILL Determine whether (0, 0) satisfies each inequality. Write
the Next Lesson yes or no. (To review inequalities, see Lesson 1-5.)
3
60. y ⬍ 2x ⫹ 3 61. y ⱖ ⫺x ⫹ 1 62. y ⱕ ᎏᎏx ⫺ 5
4
63. 2x ⫹ 6y ⫹ 3 ⬎ 0 64. y ⬎ x 65. x ⫹ y ⱕ 3
Height (in.) 74 71 76 70 66 74 72
Weight (lb) 178 147 195 150 138 190 ?
Source: WNBA
5. Graph f(x) ⫽ x ⫺ 1. Identify the domain and range. (Lesson 2-6)
31. Graph all the points on the coordinate plane to the left of the graph of x ⫽ ⫺2.
Write an inequality to describe these points.
32. Graph all the points on the coordinate plane below the graph of y ⫽ 3x ⫺ 5.
Write an inequality to describe these points.
Test Practice Ay ⬍ 3x ⫹ 2 B y ⱕ 3x ⫹ 2
C y ⬎ 3x ⫹ 2 D y ⱖ 3x ⫹ 2
O x
43. Which point satisfies y ⬎ 5x ⫺ 3?
A (2, 2) B (⫺1, 3)
C (3, 7) D (⫺2, 4)
Graphing SHADE( COMMAND You can graph inequalities with a graphing calculator by
Calculator using the Shade( command located in the DRAW menu. You must enter two functions.
• The first function defines the lower boundary of the region to be shaded.
• The second function defines the upper boundary of the region.
• If the inequality is “y ⱕ,” use the Ymin window value as the lower boundary.
• If the inequality is “y ⱖ,” use the Ymax window value as the upper boundary.
Graph each inequality.
44. y ⱖ 3 45. y ⱕ x ⫹ 2 46. y ⱕ ⫺2x ⫺ 4 47. x ⫺ 7 ⱕ y
Years 6 5 3 1 4 3 6 2
Sales ($) 9000 6000 4000 3000 6000 5000 8000 2000
Example Graph the relation {(ⴚ3, 1), (0, 2), (2, 5)} and find the domain y
(2, 5)
and range. Then determine whether the relation is a function.
The domain is {⫺3, 0, 2}, and the range is {1, 2, 5}.
(0, 2)
Graph the ordered pairs. Since each x value is paired with (⫺3, 1)
exactly one y value, the relation is a function.
O x
Exercises Graph each relation or equation and find the domain and range. Then
determine whether the relation or equation is a function.
See Examples 1 and 2 on pages 57 and 58.
9. {(6, 3), (2, 1), (2, 3)} 10. {(5, 2), (2, 4), (1, 1), (5, 2)}
11. y 0.5x 12. y 2x 1
Exercises State whether each equation or function is linear. Write yes or no. If
no, explain your reasoning. See Example 1 on page 63.
17. 3x2 y 6 18. 2x y 11 19. h(x) 兹苶
2x 1
Write each equation in standard form. Identify A, B, and C. See Example 3 on page 64.
2 3
20. y 7x 15 21. 0.5x 0.2y 0.4 22. x y 6
3 4
Find the x-intercept and the y-intercept of the graph of each equation. Then
graph the equation. See Example 4 on page 65.
1
23. y x 4 24. 6x 12y 48 25. y x 9
5
2-3 Slope y
See pages Concept Summary x 2 x1
68–74.
• The slope of a line is the ratio of the change in y-coordinates
y 2 y1 (x 2, y 2)
to the corresponding change in x-coordinates.
y y
m
2
1 (x 1, y 1)
x2 x1
O x
• Lines with the same slope are parallel. Lines with slopes
that are opposite reciprocals are perpendicular.
Chapter 2 Study Guide and Review 101
Chapter 2 Study Guide and Review
Example Find the slope of the line that passes through (⫺5, 3) and (7, 9).
y ⫺y
m⫽ᎏ
2
ᎏ1 Slope formula
x2 ⫺ x1
9⫺3
⫽ ᎏᎏ (x1, y1) ⫽ (⫺5, 3), (x2, y2) ⫽ (7, 9)
7 ⫺ (⫺5)
6 1
⫽ ᎏᎏ or ᎏᎏ Simplify.
12 2
Exercises Find the slope of the line that passes through each pair of points.
See Example 1 on page 68.
26. (⫺6, ⫺3), (6, 7) 27. (5.5, ⫺5.5), (11, ⫺7) 28. (⫺3, 24), (10, ⫺41)
Graph the line passing through the given point with the given slope.
See Example 2 on page 69.
5 1
29. (0, 1), m ⫽ 2 30. (3, ⫺2), m ⫽ ᎏᎏ 31. (⫺5, 2), m ⫽ ⫺ᎏᎏ
2 4
Graph the line that satisfies each set of conditions.
See Examples 4 and 5 on pages 70 and 71.
32. passes through (2, 0), parallel to a line whose slope is 3
1
33. passes through (⫺1, ⫺2), perpendicular to a line whose slope is ᎏᎏ
2
34. passes through (4, 1), perpendicular to graph of 2x ⫹ 3y ⫽ 1
35. passes through (⫺2, 2), parallel to graph of ⫺2x ⫹ y ⫽ 4
Exercises Write an equation in slope-intercept form for the line that satisfies
each set of conditions. See Examples 1, 2, and 4 on pages 76–78.
3
36. slope ᎏᎏ, passes through (⫺6, 9)
4
37. passes through (3, ⫺8) and (⫺3, 2)
38. passes through (⫺1, 2), parallel to the graph of x ⫺ 3y ⫽ 14
39. passes through (3, 2), perpendicular to the graph of 4x ⫺ 3y ⫽ 12
Example WEEKLY PAY The table below shows the median weekly earnings for American
workers for the period 1985–1999. Predict the median weekly earnings for 2010.
⫽ 688 Simplify.
Exercises For Exercises 40–42, use the table that shows the People
number of people below the poverty level for the period Year
(millions)
1980–1998. See Examples 1 and 2 on pages 81 and 82.
1980 29.3
40. Draw a scatter plot.
1985 33.1
41. Use two ordered pairs to write a prediction equation.
1990 33.6
42. Use your prediction equation to predict the number
1995 36.4
for 2010.
1998 34.5
2010 ?
Source: U.S. Census Bureau
f (x ) f (x ) f (x ) f (x )
f (x ) 冀x 冁
O
O x O x O x x
f (x ) |x |
Example Graph x 4y 4. y
Exercises Graph each inequality. See Examples 1–3 on pages 96 and 97.
49. y 3x 5 50. x y 1 51. y 0.5x 4
52. 2x y 3 53. y x 2 54. y x 3
Find the slope of the line that passes through each pair of points.
20. (8, ⫺4), (6, 1) 21. (⫺2, 5), (4, 5) 22. (5, 7), (4, ⫺6)
Graph the line passing through the given point with the given slope.
1
23. (1, ⫺3), 2 24. (⫺2, 2), ⫺ᎏᎏ 25. (3, ⫺2), undefined
3
Write an equation in slope-intercept form for the line that satisfies each
set of conditions.
26. slope ⫺5, y-intercept 11 27. x-intercept 9, y-intercept ⫺4
28. passes through (⫺6, 15), parallel to the graph of 2x ⫹ 3y ⫽ 1
29. passes through (5, 2), perpendicular to the graph of x ⫹ 3y ⫽ 7
RECREATION For Exercises 30–32, use the Year 1995 1996 1997 1998
table that shows the amount Americans
Amount ($ billions) 401.6 429.6 457.8 494.7
spent on recreation in recent years.
Source: U.S. Bureau of Economic Analysis
30. Draw a scatter plot, where x represents
the number of years since 1995.
31. Write a prediction equation.
32. Predict the amount that will be spent on recreation in 2010.
33. STANDARDIZED TEST PRACTICE What is the slope of a line parallel to y ⫺ 2 ⫽ 4(x ⫹ 1)?
1 1
A ⫺4 B ⫺ᎏᎏ C ᎏᎏ D 4
4 4
www.algebra2.com/chapter_test Chapter 2 Practice Test 105
6. If one side of a triangle is three times as long as
Part 1 Multiple Choice a second side and the second side is s units long,
then the length of the third side of the triangle
Record your answers on the answer sheet
can be
provided by your teacher or on a sheet of
paper. A 3s. B 4s.
C 5s. D 6s.
1. In the figure, ⬔B and ⬔BCD are right angles.
苶苶
BC is 9 units, 苶
A苶
B is 12 units, and 苶
C苶
D is 8 units.
What is the area, in square units, of 䉭ACD?
A 36 12 7. Which of the following sets of numbers has the
A B property that the product of any two numbers
B 60
is also a number in the set?
C 72 9 I the set of positive numbers
D 135 II the set of prime numbers
D C
8 III the set of even integers
A I only
2. If x ⫹ 3 is an even integer, then x could be B II only
which of the following?
C III only
A ⫺2 B ⫺1
D I and III only
C 0 D 2
3⫹x 3 3
3. What is the slope of the line that contains the 8. If ᎏᎏ ⫽ ᎏᎏ ⫹ ᎏᎏ, then x ⫽ ______.
7⫹x 7 7
points (15, 7) and (6, 4)? 3
A ᎏᎏ B 3
1 1 7
A ᎏᎏ B ᎏᎏ
4 3 C 7 D 21
3 2
C ᎏᎏ D ᎏᎏ
8 3
Test-Taking Tip
5. If the product of (2 ⫹ 3), (3 ⫹ 4), and (4 ⫹ 5) is Questions 1–9 On multiple-choice questions, try
equal to three times the sum of 40 and x, then to compute the answer first. Then compare your
x ⫽ ______. answer to the given answer choices. If you don’t
A 43 B 65 find your answer among the choices, check your
calculations.
C 105 D 195
106 Chapter 2 Linear Relations and Functions
Aligned and
verified by
3t 5t Column A Column B
1 1 1
1 ᎏᎏ ᎏᎏ ⫺ ᎏᎏ
12. If 0.85x ⫽ 8.5, what is the value of ᎏᎏ? 4 m 4
x
19. y
13. In 䉭ABC, what is the value of
w ⫹ x ⫹ y ⫹ z? P
Q
B
O x
y˚
w˚
60˚ x˚ z˚
A C
the x-coordinate the y-coordinate
14. In an election, a total of 4000 votes were cast of point Q of point P
for three candidates, A, B, and C. Candidate
C received 800 votes. If candidate B received 20. The cost of 3 bananas and 2 apples is $1.50.
more votes than candidate C and candidate
A received more votes than candidate B, cost of one apple cost of one banana
what is the least number of votes that
candidate A could have received? 21. The average (arithmetic mean) of three
integers, x, y, and z is 30.
15. If the points P(⫺2, 3), Q(2, 5), and R(2, 3) are the average
vertices of a triangle, what is the area of the (arithmetic mean) 30
triangle? of x, y, z, and 29
22. y m
16. How many of the first one hundred positive
integers contain the digit 7? (0, k )