College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.

Slides:



Advertisements
Similar presentations
Chapter 3: Functions and Graphs 3.5: Operations on Functions
Advertisements

College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
College Algebra Fifth Edition
FUNCTIONS AND MODELS Chapter 1. Preparation for calculus :  The basic ideas concerning functions  Their graphs  Ways of transforming and combining.
FUNCTIONS AND MODELS New Functions from Old Functions In this section, we will learn: How to obtain new functions from old functions and how to.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
Composition of Functions Suppose we have two money machines, both of which increase any money inserted into them. Machine A doubles our money while Machine.
SFM Productions Presents: Another exciting episode in your continuing Pre-Calculus experience! 1.8Combinations of Functions: Composite Functions.
1.7 Combination of Functions
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Slide 1-1 Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
Precalculus Fifth Edition Mathematics for Calculus James Stewart Lothar Redlin Saleem Watson.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Functions and Models 1. New Functions from Old Functions 1.3.
1.3 New functions from old functions: Transformations.
NEW FUNCTIONS FROM OLD New Functions from Old Functions In this section, we will learn: How to obtain new functions from old functions and how.
Chapter 1 Functions and Graphs Copyright © 2014, 2010, 2007 Pearson Education, Inc Combinations of Functions; Composite Functions.
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2011 Hawkes Learning Systems. All rights reserved. Hawkes Learning Systems: College Algebra.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
FUNCTIONS AND MODELS New Functions from Old Functions In this section, we will learn: How to obtain new functions from old functions and how to.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
Chapter 2 Functions and Graphs Copyright © 2014, 2010, 2007 Pearson Education, Inc Combinations of Functions; Composite Functions.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Copyright © Cengage Learning. All rights reserved. Fundamentals.
Section 2.7 Combining Functions Objectives: To add, subtract, multiply and divide functions. Composition of functions.
WARM UP Let f(x) = write the equation for g(x) in terms of x. 1.g(x) = -3 + f(x) 2. g(x) = f(1/3x) 3.g(x) = ½f(x + 3)
Precalculus Fifth Edition Mathematics for Calculus James Stewart Lothar Redlin Saleem Watson.
Precalculus Fifth Edition Mathematics for Calculus James Stewart Lothar Redlin Saleem Watson.
Functions 2 Copyright © Cengage Learning. All rights reserved.
Operations with Functions
1.3 New Functions from Old Functions
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
2.7 Combining Functions.
Functions and Their Graphs RAFIZAH KECHIL, UiTM PULAU PINANG
Warm-up (10 min. – No Talking)
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
College Algebra Fifth Edition
Copyright 2013, 2009, 2005, 2001, Pearson Education, Inc.
4-2 Operations on Functions
Transformations of Functions
College Algebra Fifth Edition
College Algebra Fifth Edition
Precalculus Mathematics for Calculus Fifth Edition
4-2 Operations on Functions
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
College Algebra Fifth Edition
2-6: Combinations of Functions
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
1.3 New Functions from Old Functions
1.5 Combination of Functions
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
New Functions from Old Functions
Copyright © Cengage Learning. All rights reserved.
2-6: Combinations of Functions
College Algebra Sixth Edition
12 Chapter Chapter 2 Exponential and Logarithmic Functions.
New function graphs from old ones: Using Transformations
Presentation transcript:

College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson

Functions 3

Combining Functions 3.6

Combining Functions In this section, we study: Different ways to combine functions to make new functions.

Sums, Differences, Products and Quotients

Sums, Differences, Products, and Quotients Two functions f and g can be combined to form new functions f + g, f – g, fg, f/g in a manner similar to the way we add, subtract, multiply, and divide real numbers.

Sum of Functions For example, we define the function f + g by: (f + g)(x) = f(x) + g(x) The new function f + g is called the sum of the functions f and g. Its value at x is f(x) + g(x).

Sum of Functions Of course, the sum on the right-hand side makes sense only if both f(x) and g(x) are defined—that is, if x belongs to the domain of f and also to the domain of g. So, if the domain of f is A and that of g is B, then the domain of f + g is the intersection of these domains. That is, A  B.

Differences, Products, and Quotients Similarly, we can define the difference f – g, the product fg, and the quotient f/g of the functions f and g. Their domains are A  B. However, in the case of the quotient, we must remember not to divide by 0.

Algebra of Functions Let f and g be functions with domains A and B. Then, the functions f + g, f – g, fg, and f/g are defined as follows.

E.g. 1—Combinations of Functions & Their Domains Let and. (a)Find the functions f + g, f – g, fg, and f/g and their domains. (b)Find (f + g)(4), (f – g)(4), (fg)(4), and (f/g)(4).

E.g. 1—Functions & Their Domains The domain of f is {x | x ≠ 2} and the domain of g is {x | x ≥ 0}. The intersection of the domains of f and g is: {x | x ≥ 0 and x ≠ 2} = [0, 2)  (2, ∞) Example (a)

E.g. 1—Functions & Their Domains Thus, we have: Example (a)

E.g. 1—Functions & Their Domains Also, Note that, in the domain of f/g, we exclude 0 because g(0) = 0. Example (a)

E.g. 1—Functions & Their Domains Each of these values exist because x = 4 is in the domain of each function. Example (b)

E.g. 1—Functions & Their Domains Example (b)

Graphical Addition The graph of the function f + g can be obtained from the graphs of f and g by graphical addition. This means that we add corresponding y-coordinates—as illustrated in the next example.

E.g. 2—Using Graphical Addition The graphs of f and g are shown. Use graphical addition to graph the function f + g.

E.g. 2—Using Graphical Addition We obtain the graph of f + g by “graphically adding” the value of f(x) to g(x) as shown here. This is implemented by copying the line segment PQ on top of PR to obtain the point S on the graph of f + g.

Composition of Functions

Now, let’s consider a very important way of combining two functions to get a new function. Suppose f(x) = and g(x) = x We may define a function h as:

Composition of Functions The function h is made up of the functions f and g in an interesting way: Given a number x, we first apply to it the function g, then apply f to the result.

Composition of Functions In this case, f is the rule “take the square root.” g is the rule “square, then add 1.” h is the rule “square, then add 1, then take the square root.” In other words, we get the rule h by applying the rule g and then the rule f.

Composition of Functions The figure shows a machine diagram for h.

Composition of Functions In general, given any two functions f and g, we start with a number x in the domain of g and find its image g(x). If this number g(x) is in the domain of f, we can then calculate the value of f(g(x)).

Composition of Functions The result is a new function h(x) = f(g(x)) obtained by substituting g into f. It is called the composition (or composite) of f and g and is denoted by f ◦ g (“f composed with g”).

Composition of Functions—Definition Given two functions f and g, the composite function f ◦ g (also called the composition of f and g) is defined by: (f ◦ g)(x) = f(g(x))

Composition of Functions The domain of f ◦ g is the set of all x in the domain of g such that g(x) is in the domain of f. In other words, (f ◦ g)(x) is defined whenever both g(x) and f(g(x)) are defined.

Composition of Functions We can picture f ◦ g using an arrow diagram.

E.g. 3—Finding the Composition of Functions Let f(x) = x 2 and g(x) = x – 3. (a)Find the functions f ◦ g and g ◦ f and their domains. (b)Find (f ◦ g)(5) and (g ◦ f )(7).

E.g. 3—Finding the Composition We have: and The domains of both f ◦ g and g ◦ f are. Example (a)

E.g. 3—Finding the Composition We have: (f ◦ g)(5) = f(g(5)) = f(2) = 2 2 = 4 (g ◦ f )(7) = g(f(7)) = g(49) = 49 – 3 = 46 Example (b)

Composition of Functions You can see from Example 3 that, in general, f ◦ g ≠ g ◦ f. Remember that the notation f ◦ g means that the function g is applied first and then f is applied second.

E.g. 4—Finding the Composition of Functions If f(x) = and g(x) =, find the following functions and their domains. (a) f ◦ g (b) g ◦ f (c) f ◦ f (d) g ◦ g

E.g. 4—Finding the Composition The domain of f ◦ g is: {x | 2 – x ≥ 0} = {x | x ≤ 2} = (–∞, 2] Example (a)

E.g. 4—Finding the Composition For to be defined, we must have x ≥ 0. For to be defined, we must have 2 – ≥ 0, that is ≤ 2, or x ≤ 4. Example (b)

E.g. 4—Finding the Composition Thus, we have: 0 ≤ x ≤ 4 So, the domain of g ◦ f is the closed interval [0, 4]. Example (b)

E.g. 4—Finding the Composition The domain of f ◦ f is [0, ∞). Example (c)

E.g. 4—Finding the Composition This expression is defined when both 2 – x ≥ 0 and 2 – ≥ 0. The first inequality means x ≤ 2, and the second is equivalent to ≤ 2, or 2 – x ≤ 4, or x ≥ –2. Example (d)

E.g. 4—Finding the Composition Thus, –2 ≤ x ≤ 2 So, the domain of g ◦ g is [–2, 2]. Example (d)

Finding the Composition of Functions The graphs of f and g of Example 4, as well as f ◦ g, g ◦ f, f ◦ f, and g ◦ g, are shown.

Finding the Composition of Functions These graphs indicate that the operation of composition can produce functions quite different from the original functions.

A Composition of Three Functions It is possible to take the composition of three or more functions. For instance, the composite function f ◦ g ◦ h is found by first applying h, then g, and then f as follows: (f ◦ g ◦ h)(x) = f(g(h(x)))

E.g. 5—A Composition of Three Functions Find f ◦ g ◦ h if: f(x) = x/(x + 1) g(x) = x 10 h(x) = x + 3

E.g. 5—A Composition of Three Functions

Decomposition So far, we have used composition to build complicated functions from simpler ones. However, in calculus, it is useful to be able to “decompose” a complicated function into simpler ones—as shown in the following example.

E.g. 6—Recognizing a Composition of Functions Given F(x) =, find functions f and g such that F = f ◦ g. Since the formula for F says to first add 9 and then take the fourth root, we let: g(x) = x + 9 and f(x) =

Then, E.g. 6—Recognizing a Composition of Functions

E.g. 7—An Application of Composition of Functions A ship is traveling at 20 mi/h parallel to a straight shoreline. It is 5 mi from shore. It passes a lighthouse at noon.

(a) Express the distance s between the lighthouse and the ship as a function of d, the distance the ship has traveled since noon. That is, find f so that s = f(d). E.g. 7—An Application of Composition of Functions

(b) Express d as a function of t, the time elapsed since noon. That is, find g so that d = g(t). (c) Find f ◦ g. What does this function represent? E.g. 7—An Application of Composition of Functions

We first draw a diagram as shown. E.g. 7—An Application of Composition of Functions

E.g. 7—Application of Composition We can relate the distances s and d by the Pythagorean Theorem. Thus, s can be expressed as a function of d by: Example (a)

E.g. 7—Application of Composition Since the ship is traveling at 20 mi/h, the distance d it has traveled is a function of t as follows: d = g(t) = 20t Example (b)

E.g. 7—Application of Composition We have: The function f ◦ g gives the distance of the ship from the lighthouse as a function of time. Example (c)