Presentation is loading. Please wait.

Presentation is loading. Please wait.

Graphs and Graphing Utilities. -5-4-3-212345 5 4 3 2 1 -2 -3 -4 -5 Origin (0, 0) Definitions The horizontal number line is the x-axis. The vertical number.

Similar presentations


Presentation on theme: "Graphs and Graphing Utilities. -5-4-3-212345 5 4 3 2 1 -2 -3 -4 -5 Origin (0, 0) Definitions The horizontal number line is the x-axis. The vertical number."— Presentation transcript:

1 Graphs and Graphing Utilities

2 -5-4-3-212345 5 4 3 2 1 -2 -3 -4 -5 Origin (0, 0) Definitions The horizontal number line is the x-axis. The vertical number line is the y-axis. The point of intersection of these axes is their zero points, called the origin.

3 -5-4-3-212345 5 4 3 2 1 -2 -3 -4 -5 2 nd quadrant1 st quadrant 3 rd quadrant 4 th quadrant Definitions The axes divide the plane into four quarters, called quadrants. Each point in the rectangular coordinate system corresponds to an ordered pair of real numbers, (x, y).

4 Example Plot the point (3,2). Start at the origin and move 3 units to the right. From that point, move 2 units up. Now plot your point.

5

6 Text Example Sketch the graph of y = x 2 – 4. Let x = 3, then y = x 2 – 4 = 9 – 4 = 5. The ordered pair (3, 5) is a solution to the equation y = x 2 – 4. We also say that (3, 5) satisfies the equation.

7 (3, 5)y = 3 2 – 4 = 9 – 4 = 53 (2, 0)y = 2 2 – 4 = 4 – 4 = 02 (1, -3)y = 1 2 – 4 = 1 – 4 = -31 (0, -4)y = (0) 2 – 4 = 0 – 4 = -40 (-1, -3)y = (-1) 2 – 4 = 1 – 4 = -3 (-2, 0)y = (-2) 2 – 4 = 4 – 4 = 0-2 (-3, 5)y = (-3) 2 – 4 = 9 – 4 = 5-3 Ordered Pair (x, y)y = x 2 – 4x Text Example Cont. First, find several ordered pairs that are solutions to the equation.

8 -5-4-3-212345 5 4 3 2 1 -2 -3 -4 -5 Text Example Cont. Now, we plot these ordered pairs as points in the rectangular coordinate system.

9 Example Graph 4y + 5x = 20. Substitute zero for x: 4y = 20 or y = 5. Hence, the y-intercept is (0,5). Substitute zero for the y: 5x = 20 or x = 4. Hence, the x-intercept is (4,0).

10

11 Graphs and Graphing Utilities

12 Lines and Slope

13 Definition of Slope The slope of the line through the distinct points (x 1, y 1 ) and (x 2, y 2 ) is where x 2 – x 1 = 0. Definition of Slope The slope of the line through the distinct points (x 1, y 1 ) and (x 2, y 2 ) is where x 2 – x 1 = 0. Change in y Change in x = Rise Run = y 2 – y 1 x 2 – x 1 (x 1, y 1 ) x1x1 y1y1 x2x2 y2y2 (x 2, y 2 ) Rise y 2 – y 1 Run x 2 – x 1 x y

14 The Possibilities for a Line’s Slope Positive Slope x y m > 0 Line rises from left to right. Zero Slope x y m = 0 Line is horizontal. m is undefined Undefined Slope x y Line is vertical. Negative Slope x y m < 0 Line falls from left to right.

15 Point-Slope Form of the Equation of a Line The point-slope equation of a nonvertical line of slope m that passes through the point (x 1, y 1 ) is y – y 1 = m(x – x 1 ).

16 Text Example Write the point-slope form of the equation of the line passing through (-1,3) with a slope of 4. Then solve the equation for y. Solution We use the point-slope equation of a line with m = 4, x 1 = -1, and y 1 = 3. This is the point-slope form of the equation. y – y 1 = m(x – x 1 ) Substitute the given values. y – 3 = 4[x – (-1)] We now have the point-slope form of the equation for the given line. y – 3 = 4(x + 1) We can solve the equation for y by applying the distributive property. y – 3 = 4x + 4 y = 4x + 7 Add 3 to both sides.

17 Slope-Intercept Form of the Equation of a Line The slope-intercept equation of a nonvertical line with slope m and y-intercept b is y = mx + b.

18 Graphing y=mx+b Using the Slope and y-Intercept Graphing y = mx + b by Using the Slope and y- Intercept Plot the y-intercept on the y-axis. This is the point (0, b). Obtain a second point using the slope, m. Write m as a fraction, and use rise over run starting at the y-intercept to plot this point. Use a straightedge to draw a line through the two points. Draw arrowheads at the ends of the line to show that the line continues indefinitely in both directions.

19 Text Example Graph the line whose equation is y = 2/3 x + 2. Solution The equation of the line is in the form y = mx + b. We can find the slope, m, by identifying the coefficient of x. We can find the y-intercept, b, by identifying the constant term. y = 2/3 x + 2 The slope is 2/3. The y-intercept is 2.

20 Text Example cont. Graph the line whose equation is y = 2/3x + 2. We plot the second point on the line by starting at (0, 2), the first point. Then move 2 units up (the rise) and 3 units to the right (the run). This gives us a second point at (3, 4). -5-4-3-212345 5 4 3 2 1 -2 -3 -4 -5 Solution: We need two points in order to graph the line. We can use the y- intercept, 2, to obtain the first point (0, 2). Plot this point on the y-axis.

21 Equation of a Horizontal Line A horizontal line is given by an equation of the form y = b where b is the y-intercept.

22 Equation of a Vertical Line A vertical line is given by an equation of the form x = a where a is the x-intercept.

23 General Form of the Equation of a Line Every line has an equation that can be written in the general form Ax + By + C = 0 Where A, B, and C are three real numbers, and A and B are not both zero.\

24 Text Example Find the slope and the y-intercept of the line whose equation is 2x – 3y + 6 = 0. Solution The equation is given in general form. We begin by rewriting it in the form y = mx + b. We need to solve for y. This is the given equation. 2x – 3y + 6 = 0 To isolate the y-term, add 3 y on both sides. 2x + 6 = 3y Reverse the two sides. (This step is optional.) 3y = 2x + 6 The coefficient of x, 2/3, is the slope and the constant term, 2, is the y-intercept. Divide both sides by 3. y = 2/3x + 2

25 Equations of Lines Point-slope form: y – y 1 = m(x – x 1 ) Slope-intercept form: y = m x + b Horizontal line: y = b Vertical line: x = a General form:Ax + By + C = 0

26 Slope and Parallel Lines If two nonvertical lines are parallel, then they have the same slope. If two distinct nonvertical lines have the same slope, then they are parallel. Two distinct vertical lines, both with undefined slopes, are parallel.

27 Text Example Write an equation of the line passing through (-3, 2) and parallel to the line whose equation is y = 2x + 1. Express the equation in point-slope form and y- intercept form. Solution We are looking for the equation of the line shown on the left. Notice that the line passes through the point (-3, 2). Using the point-slope form of the line’s equation, we have x 1 = -3 and y 1 = 2. y = 2x + 1 -5-4-3-212345 5 4 3 2 1 -2 -3 -4 -5 (-3, 2) Rise = 2 Run = 1 y – y 1 = m(x – x 1 ) y 1 = 2x 1 = -3

28 Text Example cont. Write an equation of the line passing through (-3, 2) and parallel to the line whose equation is y = 2x + 1. Express the equation in point-slope form and y- intercept form. Solution Parallel lines have the same slope. Because the slope of the given line is 2, m = 2 for the new equation. -5-4-3-212345 5 4 3 2 1 -2 -3 -4 -5 (-3, 2) Rise = 2 Run = 1 y = 2x + 1 y – y 1 = m(x – x 1 ) y 1 = 2m = 2x 1 = -3

29 Text Example cont. Write an equation of the line passing through (-3, 2) and parallel to the line whose equation is y = 2x + 1. Express the equation in point-slope form and y- intercept form. Solution The point-slope form of the line’s equation is y – 2 = 2[x – (-3)] y – 2 = 2(x + 3) Solving for y, we obtain the slope-intercept form of the equation. y – 2 = 2x + 6 Apply the distributive property. y = 2x + 8 Add 2 to both sides. This is the slope-intercept form of the equation.

30 Slope and Perpendicular Lines If two nonvertical lines are perpendicular, then the product of their slopes is –1. If the product of the slopes of two lines is –1, then the lines are perpendicular. A horizontal line having zero slope is perpendicular to a vertical line having undefined slope. Slope and Perpendicular Lines If two nonvertical lines are perpendicular, then the product of their slopes is –1. If the product of the slopes of two lines is –1, then the lines are perpendicular. A horizontal line having zero slope is perpendicular to a vertical line having undefined slope. Two lines that intersect at a right angle (90°) are said to be perpendicular. There is a relationship between the slopes of perpendicular lines. 90°

31 Example Find the slope of any line that is perpendicular to the line whose equation is 2x + 4y – 4 = 0. Solution We begin by writing the equation of the given line in slope- intercept form. Solve for y. 2x + 4y – 4 = 0 This is the given equation. 4y = -2x + 4 To isolate the y-term, subtract x and add 4 on both sides. Slope is –1/2. y = -2/4x + 1 Divide both sides by 4. The given line has slope –1/2. Any line perpendicular to this line has a slope that is the negative reciprocal, 2.

32 Lines and Slope

33 Distance and Midpoint Formulas; Circles

34 The Distance Formula The distance, d, between the points (x 1, y 1 ) and (x 2,y 2 ) in the rectangular coordinate system is

35 Example Find the distance between (-1, 2) and (4, -3). Solution Letting (x 1, y 1 ) = (-1, -3) and (x 2, y 2 ) = (2, 3), we obtain

36 The Midpoint Formula Consider a line segment whose endpoints are (x 1, y 1 ) and (x 2, y 2 ). The coordinates of the segment's midpoint are To find the midpoint, take the average of the two x-coordinates and of the two y- coordinates.

37 Text Example Find the midpoint of the line segment with endpoints (1, -6) and (-8, -4). Solution To find the coordinates of the midpoint, we average the coordinates of the endpoints. (-7/2, -5) is midway between the points (1, -6) and (-8, -4).

38 Definition of a Circle A circle is the set of all points in a plane that are equidistant from a fixed point called the center. The fixed distance from the circle’s center to any point on the circle is called the radius. Radius: r (x, y) (h, k) Center Any point on the circle

39 The Standard Form of the Equation of a Circle Radius: r (x, y) (h, k) Center Any point on the circle The standard form of the equation of a circle with center (h, k) and radius r is (x – h) 2 + (y – k) 2 = r 2.

40 Example Find the center and radius of the circle whose equation is (x – 2) 2 + (y + 3) 2 = 9 and graph the equation. Solution In order to graph the circle, we need to know its center, (h, k), and its radius r. We can find the values of h, k, and r by comparing the given equation to the standard form of the equation of a circle. (x – 2) 2 + (y + 3) 2 = 9 h is 2. (x – 2) 2 + (y – (-3)) 2 = 3 2 k is –3.r is 3.

41 Example cont. Find the center and radius of the circle whose equation is (x – 2) 2 + (y + 3) 2 = 9 and graph the equation. Solution We see that h = 2, k = -3, and r = 3. Thus, the circle has center (2, -3) and a radius of 3 units. Plot the center, (2, -3), and find 3 additional points by going up, right, down, and left of the center by 3 units. 12345 3 2 1 -2 -3 -4 -5 -6 3 (2, -3)

42 General Form of the Equation of a Circle The general form of the equation of a circle is x 2 + y 2 + Dx + Ey + F = 0.

43 Distance and Midpoint Formulas; Circles

44 Basics of Functions

45 Definition of a Relation A relation is any set of ordered pairs. The set of all first components of the ordered pairs is called the domain of the relation, and the set of all second components is called the range of the relation.

46 Example SolutionThe domain is the set of all first components. Thus, the domain is {1994,1995,1996,1997,1998}. The range is the set of all second components. Thus, the range is {56.21, 51.00, 47.70, 42.78, 39.43}. Find the domain and range of the relation {(1994, 56.21), (1995, 51.00), (1996, 47.70), (1997, 42.78), (1998, 39.43)}

47 Definition of a Function A function is a correspondence between two sets X and Y that assigns to each element x of set X exactly one element y of set Y. For each element x in X, the corresponding element y in Y is called the value of the function at x. The set X is called the domain of the function, and the set of all function values, Y, is called the range of the function.

48 Text Example SolutionWe begin by making a figure for each relation that shows set X, the domain, and set Y, the range, shown below. Determine whether each relation is a function. a. {(1, 6), (2, 6), (3, 8), (4, 9)}b. {(6,1),(6,2),(8,3),(9,4)} 12341234 689689 DomainRange (a) Figure (a) shows that every element in the domain corresponds to exactly one element in the range. No two ordered pairs in the given relation have the same first component and different second components. Thus, the relation is a function. 689689 12341234 DomainRange (b) Figure (b) shows that 6 corresponds to both 1 and 2. This relation is not a function; two ordered pairs have the same first component and different second components.

49 Text Example SolutionWe substitute 2, x + 3, and -x for x in the definition of f. When replacing x with a variable or an algebraic expression, you might find it helpful to think of the function's equation as f (x) = x 2 + 3x + 5. If f (x) = x 2 + 3x + 5, evaluate: a. f (2) b. f (x + 3) c. f (-x) a. We find f (2) by substituting 2 for x in the equation. f (2) = 2 2 + 3 2 + 5 = 4 + 6 + 5 = 15 Thus, f (2) = 15.

50 Text Example cont. Solution b. We find f (x + 3) by substituting x + 3 for x in the equation. f (x + 3) = (x + 3) 2 + 3(x + 3) + 5 If f (x) = x 2 + 3x + 5, evaluate: a. f (2) b. f (x + 3) c. f (-x) Equivalently, f (x + 3) = (x + 3) 2 + 3(x + 3) + 5 = x 2 + 6x + 9 + 3x + 9 + 5 = x 2 + 9x + 23. Square x + 3 and distribute 3 throughout the parentheses.

51 Text Example cont. Solution c. We find f (-x) by substituting -x for x in the equation. f (-x) = (-x) 2 + 3(-x) + 5 If f (x) = x 2 + 3x + 5, evaluate: a. f (2) b. f (x + 3) c. f (-x) Equivalently, f (-x) = (-x) 2 + 3(-x) + 5 = x 2 –3x + 5.

52 Definition of a Difference Quotient The expression for h not equal to 0 is called the difference quotient.

53 Example Find the domain of the function.

54 Example Find the domain of the function.

55 Example cont. Solution

56 Basics of Functions

57 Graphs of Functions

58 Text Example SolutionThe graph of f (x) = x 2 + 1 is, by definition, the graph of y = x 2 + 1. We begin by setting up a partial table of coordinates. Graph f (x) = x 2 + 1. To do so, use integer values of x from the set {-3, -2, -1, 0, 1, 2, 3} to obtain seven ordered pairs. Plot each ordered pair and draw a smooth curve through the points. Use the graph to specify the function's domain and range. (-1, 2)f (-1) = (-1) 2 + 1 = 2 (0, 1)f (0) = 0 2 + 1 = 10 (-2, 5)f (-2) = (-2) 2 + 1 = 5-2 (-3, 10)f (-3) = (-3) 2 + 1 = 10-3 (x, y) or (x, f (x))f (x) = x 2 + 1x

59 Text Example cont. Now, we plot the seven points and draw a smooth curve through them, as shown. The graph of f has a cuplike shape. The points on the graph of f have x-coordinates that extend indefinitely far to the left and to the right. Thus, the domain consists of all real numbers, represented by (-oo, oo). By contrast, the points on the graph have y-coordinates that start at 1 and extend indefinitely upward. Thus, the range consists of all real numbers greater than or equal to 1, represented by [1, oo). Solution (3, 10)f (3) = (3) 2 + 1 = 103 (2, 5)f (2) = (2) 2 + 1 = 52 (1, 2)f (1) = 1 2 + 1 = 21 (x, y) or (x, f (x))f (x) = x 2 + 1x Domain: all Reals 10 9 8 7 6 5 4 3 2 1 1 234-4-3-2 Range: [1, oo)

60 Obtaining Information from Graphs You can obtain information about a function from its graph. At the right or left of a graph, you will find closed dots, open dots, or arrows. A closed dot indicates that the graph does not extend beyond this point and the point belongs to the graph. An open dot indicates that the graph does not extend beyond this point and the point does not belong to the graph. An arrow indicates that the graph extends indefinitely in the direction in which the arrow points.

61 Text Example Solution a. Because (-1, 2) is a point on the graph of f, the y-coordinate, 2, is the value of the function at the x-coordinate, -1. Thus, f (-l) = 2. Similarly, because (1, 4) is also a point on the graph of f, this indicates that f (1) = 4. Use the graph of the function f to answer the following questions. What are the function values f (-1) and f (1)? What is the domain of f (x)? What is the range of f (x)? -5-4-3-212345 5 4 3 2 1 -2 -3 -4 -5

62 Solution b. The open dot on the left shows that x = -3 is not in the domain of f. By contrast, the closed dot on the right shows that x = 6 is. We determine the domain of f by noticing that the points on the graph of f have x-coordinates between -3, excluding -3, and 6, including 6. Thus, the domain of f is { x | -3 < x < 6} or the interval (-3, 6]. -5-4-3-212345 5 4 3 2 1 -2 -3 -4 -5 Text Example cont. Use the graph of the function f to answer the following questions. What are the function values f (-1) and f (1)? What is the domain of f (x)? What is the range of f (x)?

63 Solution c. The points on the graph all have y-coordinates between -4, not including -4, and 4, including 4. The graph does not extend below y = -4 or above y = 4. Thus, the range of f is { y | -4 < y < 4} or the interval (-4, 4]. -5-4-3-212345 5 4 3 2 1 -2 -3 -4 -5 Use the graph of the function f to answer the following questions. What are the function values f (-1) and f (1)? What is the domain of f (x)? What is the range of f (x)? Text Example cont.

64 The Vertical Line Test for Functions If any vertical line intersects a graph in more than one point, the graph does not define y as a function of x.

65 Text Example Solutiony is a function of x for the graphs in (b) and (c). Use the vertical line test to identify graphs in which y is a function of x. x y a. x y b. x y c. x y d. x y a. y is not a function since 2 values of y correspond to an x-value. x y b. y is a function of x. x y c. y is a function of x. x y d. y is not a function since 2 values of y correspond to an x-value.

66 Increasing, Decreasing, and Constant Functions Constant f (x 1 ) < f (x 2 ) (x 1, f (x 1 )) (x 2, f (x 2 )) Increasing f (x 1 ) < f (x 2 ) (x 1, f (x 1 )) (x 2, f (x 2 )) Decreasing f (x 1 ) < f (x 2 ) (x 1, f (x 1 )) (x 2, f (x 2 )) A function is increasing on an interval if for any x 1, and x 2 in the interval, where x 1 < x 2, then f (x 1 ) < f (x 2 ). A function is decreasing on an interval if for any x 1, and x 2 in the interval, where x 1 f (x 2 ). A function is constant on an interval if for any x 1, and x 2 in the interval, where x 1 < x 2, then f (x 1 ) = f (x 2 ).

67 Solution a. The function is decreasing on the interval (-oo, 0), increasing on the interval (0, 2), and decreasing on the interval (2, oo). Describe the increasing, decreasing, or constant behavior of each function whose graph is shown. -5-4-3-212345 5 4 3 1 -2 -3 -4 -5 -4-3-212345 5 4 3 2 1 -2 -3 -4 -5 a.b. Text Example

68 Solution b. Although the function's equations are not given, the graph indicates that the function is defined in two pieces. The part of the graph to the left of the y- axis shows that the function is constant on the interval (-oo, 0). The part to the right of the y-axis shows that the function is increasing on the interval (0, oo). Describe the increasing, decreasing, or constant behavior of each function whose graph is shown. -5-4-3-212345 5 4 3 1 -2 -3 -4 -5 -4-3-212345 5 4 3 2 1 -2 -3 -4 -5 a.b. Text Example cont.

69 Definitions of Relative Maximum and Relative Minimum 1.A function value f(a) is a relative maximum of f if there exists an open interval about a such that f(x) > f(x) for all x in the open interval. 2.A function value f(b) is a relative minimum of f if there exists an open interval about b such that f(b) < f(x) for all x in the open interval.

70 The Average Rate of Change of a Function Let (x 1, f(x 1 )) and (x 2, f(x 2 )) be distinct points on the graph of a function f. The average rate of change of f from x 1 to x 2 is

71 Definition of Even and Odd Functions The function f is an even function if f (-x) = f (x) for all x in the domain of f. The right side of the equation of an even function does not change if x is replaced with -x. The function f is an odd function if f (-x) = -f (x) for all x in the domain of f. Every term in the right side of the equation of an odd function changes sign if x is replaced by -x.

72 Example Identify the following function as even, odd, or neither: f(x) = 3x 2 - 2. Solution: We use the given function’s equation to find f(-x). f(-x) = 3(-x) 2 -2 = 3x 2 - 2. The right side of the equation of the given function did not change when we replaced x with -x. Because f(-x) = f(x), f is an even function.

73 Even Functions and y-Axis Symmetry The graph of an even function in which f (- x) = f (x) is symmetric with respect to the y- axis.

74 Odd Functions and Origin Symmetry The graph of an odd function in which f (-x) = - f (x) is symmetric with respect to the origin.

75 Graphs of Functions

76 Transformations of Functions

77 Vertical Shifts y = f (x) + c y = f (x)y = f (x) - c y = f (x) c c Let f be a function and c a positive real number. The graph of y = f (x) + c is the graph of y = f (x) shifted c units vertically upward. The graph of y = f (x) – c is the graph of y = f (x) shifted c units vertically downward.

78 Example Use the graph of y = x 2 to obtain the graph of y = x 2 + 4.

79 Example cont. Use the graph of y = x 2 to obtain the graph of y = x 2 + 4. Step 1Graph f (x) = x 2. The graph of the standard quadratic function is shown. Step 2Graph g(x) = x 2 +4. Because we add 4 to each value of x 2 in the range, we shift the graph of f vertically 4 units up.

80 Horizontal Shifts y = f (x + c) y = f (x)y = f (x - c) y = f (x) cc Let f be a function and c a positive real number. The graph of y = f (x + c) is the graph of y = f (x) shifted to the left c units. The graph of y = f (x + c) is the graph of y = f (x) shifted to the right c units.

81 Text Example Use the graph of f (x) to obtain the graph of h(x) = (x + 1) 2 – 3. -5-4-3-212345 5 4 3 2 1 -2 -3 -4 -5 Solution Step 1Graph f (x) = x 2. The graph of the standard quadratic function is shown. Step 2Graph g(x) = (x + 1) 2. Because we add 1 to each value of x in the domain, we shift the graph of f horizontally one unit to the left. Step 3Graph h(x) = (x + 1) 2 – 3. Because we subtract 3, we shift the graph vertically down 3 units.

82 Reflection about the x-Axis The graph of y = - f (x) is the graph of y = f (x) reflected about the x-axis.

83 Reflection about the y-Axis The graph of y = f (-x) is the graph of y = f (x) reflected about the y-axis.

84 10 9 8 7 6 5 4 3 2 1 1 234-4-3-2 f (x) = x 2 h(x) = 2x 2 g(x) = ›x 2 Stretching and Shrinking Graphs Let f be a function and c a positive real number. If c > 1, the graph of y = c f (x) is the graph of y = f (x) vertically stretched by multiplying each of its y-coordinates by c. If 0 < c < 1, the graph of y = c f (x) is the graph of y = f (x) vertically shrunk by multiplying each of its y-coordinates by c.

85 Sequence of Transformations A function involving more than one transformation can be graphed by performing transformations in the following order. 1. Horizontal shifting 2. Vertical stretching or shrinking 3. Reflecting 4. Vertical shifting

86 Example Use the graph of f(x) = x 3 to graph g(x) = (x+3) 3 - 4 Solution: Step 1: Because x is replaced with x+3, the graph is shifted 3 units to the left.

87 Example Use the graph of f(x) = x 3 to graph g(x) = (x+3) 3 - 4 Solution: Step 2: Because the equation is not multiplied by a constant, no stretching or shrinking is involved.

88 Example Use the graph of f(x) = x 3 to graph g(x) = (x+3) 3 - 4 Solution: Step 3: Because x remains as x, no reflecting is involved.

89 Example Use the graph of f(x) = x 3 to graph g(x) = (x+3) 3 - 4 Solution: Step 4: Because 4 is subtracted, shift the graph down 4 units.

90 Transformations of Functions

91 Combinations of Functions; Composite Functions

92 The Sum of Functions Let f and g be two functions. The sum f + g is the function defined by (f + g)(x) = f(x) + g(x) The domain of f + g is the set of all real numbers that are common to the domain of f and the domain of g.

93 Example Let f(x) = 2x+1 and g(x) = x 2 -2. Find f + g, f - g, fg, and f/g. Solution: f+g = 2x+1 + x 2 -2 = x 2 +2x-1 f-g = (2x+1) - (x 2 -2)= -x 2 +2x+3 fg = (2x+1)(x 2 -2) = 2x 3 +x 2 -4x-2 f/g = (2x+1)/(x 2 -2)

94 Definitions: Sum, Difference, Product, and Quotient of Functions Let f and g be two functions. The sum of f + g, the difference f – g, the product fg, and the quotient f /g are functions whose domains are the set of all real numbers common to the domains of f and g, defined as follows: Sum: (f + g)(x) = f (x)+g(x) Difference:(f – g)(x) = f (x) – g(x) Product:(f g)(x) = f (x) g(x) Quotient:(f / g)(x) = f (x)/g(x), provided g(x) does not equal 0

95 The Composition of Functions The composition of the function f with g is denoted by f o g and is defined by the equation (f o g)(x) = f (g(x)). The domain of the composite function f o g is the set of all x such that x is in the domain of g and g(x) is in the domain of f.

96 Text Example Given f (x) = 3x – 4 and g(x) = x 2 + 6, find: a. (f o g)(x) b. (g o f)(x) Solution a. We begin with (f o g)(x), the composition of f with g. Because (f o g)(x) means f (g(x)), we must replace each occurrence of x in the equation for f by g(x). f (x) = 3x – 4 This is the given equation for f. (f o g)(x) = f (g(x)) = 3g(x) – 4 = 3(x 2 + 6) – 4 = 3x 2 + 18 – 4 = 3x 2 + 14 Replace g(x) with x 2 + 6. Use the distributive property. Simplify. Thus, (f o g)(x) = 3x 2 + 14.

97 Solution b. Next, we find (g o f )(x), the composition of g with f. Because (g o f )(x) means g(f (x)), we must replace each occurrence of x in the equation for g by f (x). g(x) = x 2 + 6 This is the given equation for g. (g o f )(x) = g(f (x)) = (f (x)) 2 + 6 = (3x – 4) 2 + 6 = 9x 2 – 24x + 16 + 6 = 9x 2 – 24x + 22 Replace f (x) with 3x – 4. Square the binomial, 3x – 4. Simplify. Thus, (g o f )(x) = 9x 2 – 24x + 22. Notice that (f o g)(x) is not the same as (g o f )(x). Text Example cont. Given f (x) = 3x – 4 and g(x) = x 2 + 6, find: a. (f o g)(x) b. (g o f)(x)

98 Combinations of Functions; Composite Functions

99 Inverse Functions

100 Definition of the Inverse Function Let f and g be two functions such that f (g(x)) = x for every x in the domain of g and g(f (x)) = x for every x in the domain of f. The function g is the inverse of the function f, and denoted by f -1 (read “f-inverse”). Thus, f ( f - 1 (x)) = x and f -1 ( f (x)) = x. The domain of f is equal to the range of f -1, and vice versa.

101 Text Example Show that each function is the inverse of the other: f (x) = 5x and g(x) = x/5. Solution To show that f and g are inverses of each other, we must show that f (g(x)) = x and g( f (x)) = x. We begin with f (g(x)). f (x) = 5x f (g(x)) = 5g(x) = 5(x/5) = x. Next, we find g(f (x)). g(x) = 5/x g(f (x)) = f (x)/5 = 5x/5 = x. Notice how f -1 undoes the change produced by f.

102 Finding the Inverse of a Function The equation for the inverse of a function f can be found as follows: 1.Replace f (x) by y in the equation for f (x). 2.Interchange x and y. 3.Solve for y. If this equation does not define y as a function of x, the function f does not have an inverse function and this procedure ends. If this equation does define y as a function of x, the function f has an inverse function. 4.If f has an inverse function, replace y in step 3 with f - 1 (x). We can verify our result by showing that f ( f -1 (x)) = x and f -1 ( f (x)) = x.

103 Find the inverse of f (x) = 7x – 5. Solution Step 1 Replace f (x) by y. y = 7x – 5 Step 2 Interchange x and y. x = 7y – 5 This is the inverse function. Step 3 Solve for y. x + 5 = 7y Add 5 to both sides. x + 5 = y 7 Divide both sides by 7. Step 4 Replace y by f -1 (x). x + 5 7 f -1 (x) = Rename the function f -1 (x). Text Example

104 The Horizontal Line Test For Inverse Functions A function f has an inverse that is a function, f –1, if there is no horizontal line that intersects the graph of the function f at more than one point.

105 Example Does f(x) = x 2 +3x-1 have an inverse function?

106 Example Solution: This graph does not pass the horizontal line test, so f(x) = x 2 +3x-1 does not have an inverse function.

107 Inverse Functions

108 Modeling with Functions

109 Text Example You are choosing between two long-distance telephone plans. Plan A has a monthly fee of $20 with a charge of $0.05 per minute for all long-distance calls. Plan B has a monthly fee of $5 with a charge of $0.10 per minute for all long-distance calls. a.Express the monthly cost for plan A, f, as a function of the number of minutes of long-distance calls in a month, x. b.Express the monthly cost for plan B, g, as a function of the number of minutes of long-distance calls in a month, x. c.For how many minutes of long-distance calls will the costs for the two plans be the same?

110 Text Example cont. You are choosing between two long-distance telephone plans. Plan A has a monthly fee of $20 with a charge of $0.05 per minute for all long-distance calls. Plan B has a monthly fee of $5 with a charge of $0.10 per minute for all long-distance calls. a.Express the monthly cost for plan A, f, as a function of the number of minutes of long-distance calls in a month, x. Solution: a.The monthly cost for plan A is the monthly fee, $20, plus the per-minute charge, $0.05, times the number of minutes of long-distance calls, x. f(x) = 20 + 0.05 * x

111 Text Example cont. You are choosing between two long-distance telephone plans. Plan A has a monthly fee of $20 with a charge of $0.05 per minute for all long-distance calls. Plan B has a monthly fee of $5 with a charge of $0.10 per minute for all long-distance calls. b. Express the monthly cost for plan B, g, as a function of the number of minutes of long-distance calls in a month, x. Solution: b. The monthly cost for plan B is the monthly fee, $5, plus the per-minute charge, $0.10, times the number of minutes of long-distance calls, x. f(x) = 5 + 0.10 * x

112 Text Example cont. c. For how many minutes of long-distance calls will the costs for the two plans be the same? Solution: c.We are interested in how many minutes of long-distance calls, x, result in the same monthly costs, f and g, for the two plans. Thus, we must set the equations for f and g equal to each other. We then solve the resulting linear equation for x. 0.05x + 20 = 0.10x + 5 20 = 0.05x + 5 15 = 0.05x 300 minutes = x

113 Area of a Rectangle and a Square The area A of a rectangle with length l and width w is given by: A = lw. The area A of a square with one side measuring s linear units is given by: A = s 2

114 Example You decide to cover the path shown with bricks. a.Find the area of the path. b.If the path requires four bricks for every square foot, how many bricks are needed for the project?

115 Example cont. Because the area of a rectangle is A=lw, we divide the figure into two rectangles. Then we use the length and width of each rectangle to determine the total area. A = (3ft)(13ft) = 39ft 2 A = (3ft)(6ft+3ft) = (3ft)(9ft) = 27 ft 2 Total Area = 39ft 2 + 27ft 2 = 66ft 2 Solution:

116 Area of a Triangle The area A of a triangle with height h and base b is given by A = (1/2)bh.

117 Area of a Trapezoid The area A of a trapezoid with parallel bases a and b and height h is given by the formula A = (1/2)h(a+b)

118 Circles A circle is a set of points in the plane equally distant from a given point, its center. The radius, r, is a line segment from the center to any point on the circle. The diameter, d, is a line segment through the center whose endpoints lie on the circle. The circumference, C, of a circle with diameter d and radius r is C =  d or C = 2  r. The area, A, of a circle with radius r is A =  r 2

119 Example Which of the following is the better buy: a large pizza with a 16-inch diameter for $15.00 or a medium pizza with an 8-inch diameter for $7.50?

120 Example cont. The better buy is the pizza with the cheaper price per square inch. Large pizza: A =  r 2 =  (8in) 2 = 64  in 2 =201in 2 Small pizza: A =  r 2 =  (4in) 2 = 16  in 2 =50in 2 Large pizza = $15.00 / 201in 2 = $0.07/in 2 Small pizza = $7.50 / 50in 2 = $0.15/in 2 The larger pizza is the better buy. Solution:

121 Volume of Rectangular Solid: V = lwh

122 Volume of a Right Circular Cylinder: V =  r 2 h

123 Volume of a Cone: V = (1/3)(  )r 2 h

124 Volume of a Sphere:V = (4/3)(  )r 3

125 Modeling with Functions


Download ppt "Graphs and Graphing Utilities. -5-4-3-212345 5 4 3 2 1 -2 -3 -4 -5 Origin (0, 0) Definitions The horizontal number line is the x-axis. The vertical number."

Similar presentations


Ads by Google