Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 2.2 Functions. Relations and Functions Recall from Section 2.1 how we described one quantity in terms of another. The letter grade you receive.

Similar presentations


Presentation on theme: "Chapter 2.2 Functions. Relations and Functions Recall from Section 2.1 how we described one quantity in terms of another. The letter grade you receive."— Presentation transcript:

1 Chapter 2.2 Functions

2 Relations and Functions Recall from Section 2.1 how we described one quantity in terms of another. The letter grade you receive in mathematics course depends on your numerical score.

3 The amount you pay (in dollars) for gas at the gas station depends on the number of gallons pumped. The dollars spent on entertainment depends on the type of entertainment.

4 We used ordered pairs to represent these corresponding quantities. For example, (3, $5.25) indicates you pay $5.25 for 3 gallons of gas.

5 Since the amount you pay depends on the number of gallons pumped, the amount (in dollars) is called the dependent variable and the number of gallons pumped is called the independent variable.

6 Generalizing, if the value of the variable y depends on the value of the variable x, then y is the dependent variable and x is the independent variable.

7 Because we can write related quantities using ordered pairs, a set of ordered pairs such as {(3, 5.25), (8, 10), (10, 12.50)} is called a relation.

8 Relation A relation is a set of ordered pairs.

9 Function A function is a relation in which, for each value of the first component of the ordered pairs, there is exactly one value of the second component.

10 Note The relation from the beginning of this section representing the number of gallons of gasoline and the corresponding cost is a function such each x- value is paired exactly one y-value.

11 You would not be happy, for example, if you and a friend each pumped 20 gallons of regular gasoline a the same station and you bill was $32 while his bill was $28.

12 Example 1 Deciding Whether Relations Define Functions Decide whether each relation defines a function. F = {(1, 2), (-2, 4), (3, -1)}

13 Example 1 Deciding Whether Relations Define Functions Decide whether each relation defines a function. G = {(1, 1), (1, 2), (2, 3)}

14 Example 1 Deciding Whether Relations Define Functions Decide whether each relation defines a function. H = {(-4, 1), (-2, 1), (-2, 0)}

15 In a function there is exactly one value for the dependent variable, the second component, for each value of the independent variable, the first component. This is what makes functions so important in applications.

16 Relations and functions can also be expressed as a correspondence or mapping from one set to another, as shown in figure 17 for function F and relation H from Example 1.

17 The arrow from 1 to 2 indicates that the ordered pair (1, 2) belongs to F— each first component is paired with exactly one second component.

18 In the mapping for relation H, which is not a function, the first component -2 is paired with two different second components, 1 and 0.

19 x y 1 2 -2 4 3 -1 Since relations and functions are sets of ordered pairs, we can represent them using tables and graphs. y x (-2, 4) (1, 2) (3, -1) Graph of F Figure 18 A table and graph for function F is shown in figure 18.

20 Finally, we can describe a relation or function using a rule that tells how to determine the dependent variable for a specific value of the independent variable.

21 The rule may be given in words: for instance, “the dependent variable is twice the independent variable.” Usually the rule is an equation:

22 Note Another way to think of a function relationship is to think of the independent variable as an input and the dependent variable as an output.

23 This is illustrated by the input-output (function) machine for the function defined by

24 Domain and Range For every relation there are two important set of elements called the domain and the range

25 Domain and Range In a relation, the set of all values of the independent variable (x) is the domain; the set of all values of the dependent variable (y) is the range

26 Example 2 Finding Domains and Ranges of Relations Give the domain and range of each relation. Tell whether the relations defines a function. {(3, -1), (4, 2 ), (4, 5), (8, 8)}

27 Example 2 Finding Domains and Ranges of Relations Give the domain and range of each relation. Tell whether the relations defines a function. 4 6 7 -3 ABCABC (b)

28 Example 2 Finding Domains and Ranges of Relations Give the domain and range of each relation. Tell whether the relations defines a function. x y -5 2 0 2 5 2 (c)

29 Example 3 Finding Domains and Ranges of Relations Give the domain and range of each relation. (-1, 1) (1, 2) (4, -3) (0, -1) (a)

30 Domain Range Example 3 Finding Domains and Ranges of Relations (b) Give the domain and range of each relation.

31 (c) Example 3 Finding Domains and Ranges of Relations Give the domain and range of each relation.

32 (d) Example 3 Finding Domains and Ranges of Relations Give the domain and range of each relation.

33 Since relations are defined by equations, such as y = 2x + 3 and y 2 = x, we must sometimes determine the domain of a relation from its equation. In this book, we assume the following agreement on the domain of a relation.

34 To illustrate this agreement, since any real number can be used as a replacement for x in y = 2x + 3, the domain of this function is the set of all real numbers.

35 As another example, the function defined by y = 1 / x has all real numbers except 0 as domain, since y is undefined if x = 0. In general, the domain of a function defined by an algebraic expression is all real numbers, except those numbers that lead to division by 0 or an even root of a negative number.

36 Determining Functions from Graphs or Equations Most of the relations we have seen in the examples are functions—that is, each x-value corresponds to exactly one y-value. Since each value of x leads to only one value of y in a function, any vertical line drawn through the graph of a function must intersect the graph in at most one point. This is the vertical line test for a function

37 The graph in Figure 19(a) represents a function

38

39

40 Example 4 Using the Vertical Line Test Use the vertical line test to determine whether each relation is a function. (-1, 1) (1, 2) (4, -3) (0, -1) (a)

41 Domain Range Example 4 Using the Vertical Line Test (b) Use the vertical line test to determine whether each relation is a function.

42 (c) Example 4 Using the Vertical Line Test Use the vertical line test to determine whether each relation is a function.

43 (d) Example 4 Using the Vertical Line Test Use the vertical line test to determine whether each relation is a function.

44 Example 5 Identifying Functions Domains and Ranges From Equations Decide whether each relation defines a function and give the domain and range. y = x + 4

45 Example 5 Identifying Functions Domains and Ranges From Equations Decide whether each relation defines a function and give the domain and range.

46 Example 5 Identifying Functions Domains and Ranges From Equations Decide whether each relation defines a function and give the domain and range.

47 Example 5 Identifying Functions Domains and Ranges From Equations Decide whether each relation defines a function and give the domain and range. y 2 = x

48 Example 5 Identifying Functions Domains and Ranges From Equations Decide whether each relation defines a function and give the domain and range.

49 Example 5 Identifying Functions Domains and Ranges From Equations Decide whether each relation defines a function and give the domain and range.

50 Example 5 Identifying Functions Domains and Ranges From Equations Decide whether each relation defines a function and give the domain and range.

51 Example 5 Identifying Functions Domains and Ranges From Equations Decide whether each relation defines a function and give the domain and range.

52

53 Function Notation When a function f is defined with a rule or an equation using x and y for the independent and dependent variables, we say “y is a function of x” to emphasize that y depends on x.

54 We use the notation y = f(x) called function notation, to express this and read f(x) as “f of x.”

55 For example if y = f(x) = 9x – 5 and x = 2, then we find y, or f(2), by replacing x with 2. y = f(x) = 9x - 5 = 9(2) – 5 = 18 – 5 = 13

56 if y = f(x) = 9x - 5 f(0) =

57 if y = f(x) = 9x - 5 f(-3) =

58 Example 6 Using Function Notation Let f(x) = -x 2 + 5x -3 Find f(2)

59 Example 6 Using Function Notation Let f(x) = -x 2 + 5x -3 Find f(q)

60 Example 7 Using Function Notation Let g(x) = 2x + 3 Find g(a+1)

61 Example 8 Using Function Notation Let f(x) = 3x - 7 Find f(3)

62 Example 8 Using Function Notation f = {(-3,5 ), (0,3), (3,1), (6,-1), Find f(3)

63 Example 8 Using Function Notation Find f(3)

64 Example 9 Using Function Notation Find f(3)

65 Example 9 Using Function Notation Find f(3)

66 Example 9 Wrting Equations Using Function Notation Rewrite each equation using function notation. Then find f(-2) and find f(a) y = x 2 + 1

67 Example 9 Wrting Equations Using Function Notation Rewrite each equation using function notation. Then find f(-2) and find f(a) x – 4y = 5

68 Increasing, Decreasing, and Constant Functions Informally speaking, a function increases on an interval of its domain if its graph rises from left to right on the interval. It decreases on an interval of its domain if its graph falls from left to right on the interval. It is constant on an interval of its domain if its graph is horizontal on the interval.

69 Example 2 Finding Domains and Ranges of Relations In Figure 24 the function increases on the interval [-2, 1] because the y-values continue to get larger in that interval.

70 Example 2 Finding Domains and Ranges of Relations It is constant on the interval [1, 4] because the y- values are always 5 for all x-values there.

71 Example 2 Finding Domains and Ranges of Relations In Figure 24 the function decreases on the interval [4, 6] because the y-values continue to get smaller in that interval.

72

73

74

75 Example 10 Determinng Intervals over Which a Function is Increasing, Decreasing, or Constant Determine the intervals over which a function is increasing, decreasing, or constant

76 Example 11 Interpreting a Graph Figure 27 shows the relationship between the number of gallons of water in a small swimming pool and the time in hours. By looking at this graph of the function, we can answer questions about the water level in the pool at various times.

77 Example 11 Interpreting a Graph For example, at the time 0 the pool is empty.

78 Example 11 Interpreting a Graph The water level then increases, stays constant for a while, decreases, then becomes constant again.

79 Example 11 Interpreting a Graph What is the maximum number of gallons of water in the pool? When is the maximum water level first reached?

80 Example 11 Interpreting a Graph For how long is the water level increasing? decreasing? constant?

81 Example 11 Interpreting a Graph How many gallons of water are in the pool after 90 hours?

82 Example 11 Interpreting a Graph Describe a series of events that could account for the water level changes shown in the graph?


Download ppt "Chapter 2.2 Functions. Relations and Functions Recall from Section 2.1 how we described one quantity in terms of another. The letter grade you receive."

Similar presentations


Ads by Google