Presentation on theme: "Chapter 2 Linear Functions and Relations. In Chapter 2, You Will… Move from simplifying variable expressions and solving one-step equations and inequalities."— Presentation transcript:
Chapter 2 Linear Functions and Relations
In Chapter 2, You Will… Move from simplifying variable expressions and solving one-step equations and inequalities to working with two variable equations and inequalities. Learn how to represent function relationships by writing and graphing linear equations and inequalities. By graphing data and trend lines, you will understand how the slope of a line can be interpreted in real-world situations.
2-1 Relations and Functions What Youll Learn … To graph relations. To identify functions.
Example 1 Graphing a Relation [(-2,4), (3,-2), (-1,0), (1,5)] [(0,4),(-2,3),(-1,3),(-2,2),(1,-3)] A relation is a set of pairs of input and output numbers.
Finding Domain and Range The domain of a relation is the set of all inputs, or x-coordinates of the ordered pairs. The range of a relation is the set of all outputs, or y-coordinates of the ordered pairs. (2,4),(3,4.5),(4,7.5),(5,7),(6,5),(6,7.5) D= _____________ R= _____________ D= _____________ R= _____________
Using a Mapping Another way to show a relation is to use a mapping diagram, which links elements of the domain with corresponding elements of the range. (-2,-1) (-1,-1) (-2,1) (6,3)
Example 3 Making a Mapping Diagram (0,2) (1,3) (2,4) (2,8) (-1,5) (0,8) (-1,3) (-2,3)
A function is a relation that assigns exactly one value in the range to each value in the domain XY XY
Example 4 Identifying Functions
One way you can tell whether a relation is a function is to analyze the graph of the relation using the vertical line test. If any vertical line passes through more than one point of the graph, the relation is NOT a function.
Which are Functions?
Another way to write a function y = 3x + 4 is f(x)= 3x + 4. You read f(x) as f of x or f is a function of x. The notations g(x) and h(x) also indicate functions of x. Function Notation
Evaluating Functions A function rule is an equation that describes a function. You can think of a function rule as an input-output machine Function Rule InputOutput
3x + 4 Function Rule y = 3x + 4 Evaluating a Function InputOutput XY xy
Evaluating a Function Rule f(n)= -3n – 10 Find f(6). g(x) = -2x² + 7 Find g(6).
Example 6 Real World Connection The area of a square tile is a function of the length of a side of the square. Write a function rule for the area of a square. Evaluate the function for a square tile with side length 3.5 in.
7-6 Function Operations 2.01 Use the composition of functions to model and solve problems; justify results. What youll learn … To add, subtract, multiply and divide functions To find the composite of two numbers
Example 1 Adding and Subtracting Functions Let f(x) = 3x +8 and g(x) = 2x-12. Find f+g and f - g and their domain. Let f(x) = 5x 2 - 4x and g(x) = 5x+1. Find f+g and f - g and their domain.
Example 2 Multiplying and Dividing Functions Let f(x) = x and g(x) = x+1. Find fg and and their domain. Let f(x) = 6x 2 +7x - 5 and g(x) = 2x-1. Find fg and and their domain. fgfg fgfg
Composition of Functions The composition of function g with function f is written as g ° f and is defined as (g ° f)(x)= g(f(x)), where the domain of g ° f consists of the values a in the domain of f such that f(a) is in the domain of g. (g ° f)(x) = g( f(x) ) 2. Then use your answer as the input of the outer function g(x). 1.Evaluate the inner function f(x) first.
Example 3 Composition of Functions Let f(x) = x-2 and g(x) = x 2. Find (g ° f)(-5). Let f(x) = x-2 and g(x) = x 2. Find (f ° g)(x) and evaluate (f ° g)(-5).
Example 4a Real World Connection Suppose you are shopping in the store in the photo. You have a coupon worth $5 off any item. a.Use functions to model discounting an item by 20% and to model applying the coupon. b.Use a composition of your two functions to model how much you would pay for an item if the clerk applies the discount first and then the coupon. c.Use a composition of your two functions to model how much you would pay for an item if the clerk applies the coupon first and then the discount. d.How much more is any item if the clerk applies the coupon first?
Example 4b Real World Connection A store is offering a 10% discount on all items. In addition, employees get a 25% discount. a.Write a composite function to model taking the 10% discount first. b.Write a composite function to model taking the 25% discount first. c.Suppose you are an employee. Which discount would you prefer to take first?
7-7 Inverse Relations and Functions 2.01 Use the composition of functions to model and solve problems; justify results. What youll learn … To find the inverse of a relation or function.
The Inverse of a Function If a relation maps element a of its domain to element b of its range., the inverse relation undoes the relation and maps b back to a. Relation rInverse of r
Example 1 Finding the Inverse of a Relation Find the inverse of relation s. Graph s and its inverse. x011 y1234
Example 2 Interchanging x and y Find the inverse of y = x Does y = x define a function? Is its inverse a function? Explain. Find the inverse of y = 3x Is its inverse a function? Explain.
Example 3 Graphing a Relation and Its Inverse Graph y= x and its inverse, y = +x -3. Graph y= 3x-10 and its inverse.
The inverse of a function is denoted by f -1. Read f -1 as the inverse of f or as f inverse. The notation f(x) is used for functions, but f -1 (x) may be a relation that is not a function.
Example 4a Finding an Inverse Function Consider the function f(x) = x+1. a.Find the domain and range of f. b.Find f -1. c.Find the domain and range of f -1. d.Is f -1 a function? Explain.
Example 4b Finding an Inverse Function Consider the function f(x) = 10 – 3x. a.Find the domain and range of f. b.Find f -1. c.Find the domain and range of f -1. d.Find f -1 (f(3)). e.Find f -1 (f(2)).
Composite of Inverse Functions If f and f-1 are inverse functions then, (f -1 ° f)(x) and (f ° f -1 )(x) = x.
Example 6 Composite of Inverse Functions For f(x) = 5x + 11, find (f -1 ° f)(777). For f(x) = 5x + 11, find (f ° f -1 )(-5802).
2-2 Linear Equations What youll learn … To graph linear equations. To write equations of lines.
Graphing Linear Equations A function whose graph is a line is a linear function. You can represent a linear function with a linear equation, such as y=3x+2. A solution is any ordered pair (x,y) that makes the equation true. Because the y depends on the value of x, y is called the dependent variable and the x is called the independent variable.
Example 1 Graphing a Linear Equation Graph the equations using a table. y=-3x y=½x+3 xy xy
The y intercept of a line is the point in which the line crosses the y-axis. The x intercept of a line is the point in which the line crosses the x-axis. The standard form of a linear equation is Ax +By = C, where A,B and C are real numbers and A and B are not both zero.
Example 2 Real World Connection The equation 3x +2y =120 models the number of passengers who can sit in a train car, where x is the number of adults and y is the number of children. Graph the equation. Describe the domain and range. Explain what the x and y intercepts represent.
Slope The slope of a non-vertical line is the ratio of the vertical change to a corresponding horizontal change. You can calculate the slope by subtracting the corresponding coordinates of two points on the line.
Slope Formula Vertical change (rise) Horizontal change (run) y 2 – y 1 x 2 – x 1 =
Example 3 Finding Slope Find the slope of the line through the points (3,2) and (-9,6). Find the slope of the line through the points (5,2) and (-6,2).
Point-Slope Form When you know the slope and a point on a line, you can use the point-slope form to write an equation of the line. y – y 1 = m (x - x 1 )
Example 4 Writing an Equation Given the Slope and a Point Write in standard form an equation of the line with slope -½ through the point (8,-1). Write in standard form an equation of the line with slope 2 through the point (4, -2).
Example 5 Writing an Equation Given Two Points Write in point slope form an equation of the line through (1,5) and (4,-1). Write in point slope form an equation of the line through (-2,-1) and (-10,17).
Slope Intercept Form Another form of the equation of a line is slope intercept form, which you can use to find the slope by examining the equation. y= mx +b Slopey intercept
Example 6 Finding Slope Using Slope-Intercept Form Find the slope of 4x + 3y = 7. Find the slope of ½x + ¾y = 1
Summary: Equations of Lines Point Slope Form y-y 1 = m(x-x 1 )y- 2= -3(x+4) Standard FormAx + By = C3x + y = -10 Slope Intercept Form y = mx + by = -3x - 10
Special Slopes Horizontal Line Vertical Line Zero SlopeUndefined Slope
Special Slopes Perpendicular LinesParallel Lines Have reciprocal slopes Have same slopes
Example 7 Writing an Equation of a Perpendicular or Parallel Line Write an equation perpendicular to y=5x-3 And through the point (-1,3). Write an equation parallel to y=2/3x+5/8 and through the point (2,1).
2-4 Using Linear Models 2.04 Create and use best-fit mathematical models of linear, exponential, and quadratic functions to solve problems involving sets of data. a) Interpret the constants, coefficients, and bases in the context of the data. b) Check the model for goodness-of-fit and use the model, where appropriate, to draw conclusions or make predictions. What youll learn … To write linear equations that model real-world data. To make predictions from linear models.
Example 1a Real World Connection Jacksonville, Florida has an elevation of 12 ft above sea level. A hot air balloon taking off from Jacksonville rises 50 ft/min. Write an equation to model the balloons elevation as a function of time. Graph the equation.
Example 1b Real World Connection Suppose a balloon begins descending at a rate of 20 ft/min from an elevation of 1350 ft. Write an equation to model the balloons elevation as a function of time. What is true about the slope of this line? Graph the equation. Interpret the h-intercept.
Example 2a Real World Connection A candle is 6 inches tall after burning for 1hour. After 3 hours, it is 5½ inches tall. Write a linear equation to model the height y of the candle after burning x hours. What does the slope represent ? The y intercept? Graph the equation.
Example 2b Real World Connection Another candle is 7 inches tall after burning for 1hour. After 2 hours, it is 5 inches tall. Write a linear equation to model the height y of the candle after burning x hours. How tall will the candle be after burning 11 hours? What was the original height of the candle? When will the candle burn out?
Scatter Plots A scatter plot is a graph that relates two different sets of data by plotting the data as ordered pairs. You can use a scatter plot to determine a relationship between the data sets. A trend line is a line that approximates the relationship between the data sets of a scatter plot. You can use a trend line to make predictions.
Calculator Steps Enter data into lists. Stat Edit Turn on Stat Plot. 2 nd y = Zoom 9 Turn on Diagnostic 2 nd Zero Find the trend line. Stat Calc 4
Trend Line FatCalories Make a scatter plot of the data. Draw a trend line. Estimate the number of calories in a fast-food item that has 14g of fat.
Trend Line HawkLengthWingspan Coopers2136 Crane2141 Gray1838 Harriss2446 Roadside1631 Broad-winged1939 Short-tailed1735 Swansons1946 Make a scatter plot of the data on the calculator. Draw a trend line. Predict the wingspan of a hawk that is 28 inches long.
2-5 Absolute Value Functions and Graphs 2.08 Use equations and inequalities with absolute value to model and solve problems; justify results. a) Solve using tables, graphs, and algebraic properties. What youll learn … To graph absolute value functions.
Graphing Absolute Value Functions A function of the form f(x) = mx+b +c, where m0, is an absolute value function. The vertex of a function is a point where the function reaches a maximum or minimum.
Example 1 Graphing an Absolute Value Function Graph y= 3x+12Graph y= - x
Example 2 Using a Graphing Calculator Graph y= 3 - ½x Vertex _________ Graph y= - 3x+4 +6 Vertex __________
Example 4 Real World Connection Suppose you pass the Betsy Ross House halfway along your trip to school each morning. You walk at a rate of one city block per minute. Sketch a graph of your trip to school based on your distance and time from the Betsy Ross House. Blocks from Ross House Minutes before arrivalMinutes after departure
Example 4 Real World Connection Suppose you ride your bicycle to school at a rate of three city blocks per minute. How would the graph of your trip to school change? Sketch a new graph. Blocks from Ross House Minutes before arrivalMinutes after departure
2-6 Vertical and Horizontal Translations 2.08 Use equations and inequalities with absolute value to model and solve problems; justify results. a) Solve using tables, graphs, and algebraic properties. What youll learn … To analyze vertical translations. To analyze horizontal translations.
Translating Graphs Vertically A translation is an operation that shifts a graph horizontally, vertically or both. It results in a graph of the same slope and size, in a different position. Vertical TranslationHorizontal Translation
Example 1 Comparing Graphs Compare the graphs y = x and y = x -3 Compare the graphs y = x and y = x +5
Rules of Translations Given f(x), then –f(x) is a reflection about the x axis. Given f(x), then f(x) + k moves up k units. Given f(x), then f(x) - k moves down k units. Given f(x), then f(x+k) moves left k units. Given f(x), then f(x-k) moves right k units.
A family of functions is a group of functions with common characteristics. A parent function is the simplest function with these characteristics. A parent function and one or more translations make up a family of functions.
Example 2 Graphing a Vertical Translation For each function, identify the parent function and the value of k. Then graph the function by translating the parent function. a)y = x – 1 b)y = 3x + 5 c)y = x – 3 d)y = - x +2 e)y = x f)y = - x
Example 3a Writing Equations for Vertical Translations Write an equation for each translation. a)y = 2x, 4 units down. b)y = 3x, 2 units down.
Example 3b Writing Equations for Vertical Translations Write an equation for each translation given y = x.
Example 4 Graphing a Horizontal Translation For each function, identify the parent function and the value of k. Then graph the function by translating the parent function. a)y = x + 3 b)y = - x - 2 c)y = x - 1 d)y = - x + ¾
Example 5 Writing Equations for Horizontal Translations Write an equation for each translation given y = x.
Example 6 Real World Connection Describe a possible translation of Figures A and B in the Nigerian textile design below. A B
2-7 Two- Variable Inequalities 2.08 Use equations and inequalities with absolute value to model and solve problems; justify results. a) Solve using tables, graphs, and algebraic properties. What youll learn … To graph linear inequalities. To graph absolute value inequlaities.
Graphing Linear Inequalities A linear inequality is an inequality in two variables whose graph is a region of the coordinate plane that is bounded by a line. To graph a linear inequality, first graph the boundary line. Then decide which side of the line contains solutions to the inequality and whether the boundary line is included.
Example 1a Graphing an Inequality y > 2x + 3 m= ____ b = ____
Example 1b Graphing an Inequality 3x - 5y 10 m= ____ b = ____
Example 2 Real World Connection At least 35 performers of the Big Tent Circus are in the grand finale. Some pile into cars, while others balance on bicycles. Seven performers are in each car, and five performers are on each bicycle. Draw a graph showing all the possible combination of cars and bicycles that could be use in the finale.
Example 3 Graphing Absolute Value Inequalities y x – y + 3 > x + 1
Example 4 Writing Inequalities Write an inequality for each graph. The boundary line is given.
In Chapter 2, You Should Have Moved from simplifying variable expressions and solving one-step equations and inequalities to working with two variable equations and inequalities. Learned how to represent function relationships by writing and graphing linear equations and inequalities. By graphing data and trend lines, you should understand how the slope of a line can be interpreted in real-world situations.