Chapter 2 FUNCTIONS Section 2.1Section 2.1Input and Output Section 2.2Section 2.2Domain and Range Section 2.3Section 2.3Piecewise-Defined Functions Section.

Slides:



Advertisements
Similar presentations
College Algebra Acosta/Karowowski.
Advertisements

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.
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
6.1 VERTICAL AND HORIZONTAL SHIFTS 1. Vertical Shift: The Heating Schedule for an Office Building Example 1 To save money, an office building is kept.
Functions Definition A function from a set S to a set T is a rule that assigns to each element of S a unique element of T. We write f : S → T. Let S =
Chapter 1 – Functions and Their Graphs
2.1 INPUT AND OUTPUT Functions Modeling Change: A Preparation for Calculus, 4th Edition, 2011, Connally.
Slide 1-1 Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Function Notation Evaluating a function means figuring out the value of a function’s output from a particular value of the input. Example. Let the function.
Algebra Form and Function by McCallum Connally Hughes-Hallett et al. Copyright 2010 by John Wiley & Sons. All rights reserved. 8.1 Domain and Range Section.
1. Section 2.4 Composition and Inverse Functions 2.
10.1 COMPOSITION OF FUNCTIONS Functions Modeling Change: A Preparation for Calculus, 4th Edition, 2011, Connally.
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
FUNCTIONS AND GRAPHS.
Horizontal and Vertical Lines Vertical lines: Equation is x = # Slope is undefined Horizontal lines: Equation is y = # Slope is zero.
Function Notation Evaluating a function means figuring out the value of a function’s output from a particular value of the input. Example. Let the function.
1 C ollege A lgebra Inverse Functions ; Exponential and Logarithmic Functions (Chapter4) L:17 1 University of Palestine IT-College.
Functions and Models 1. New Functions from Old Functions 1.3.
3.1 INTRODUCTION TO THE FAMILY OF QUADRATIC FUNCTIONS Functions Modeling Change: A Preparation for Calculus, 4th Edition, 2011, Connally.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
Exponential and Logarithmic Functions
Ch 2 Quarter TEST Review RELATION A correspondence between 2 sets …say you have a set x and a set y, then… x corresponds to y y depends on x x is the.
6.1 VERTICAL AND HORIZONTAL SHIFTS Functions Modeling Change: A Preparation for Calculus, 4th Edition, 2011, Connally.
1. Chapter 2 Section 2 Domain and Range 2 If Q = f ( t ), then: (a) the domain of f is the set of input values, t, which yield an output value. (b) the.
Review Chapter 1 Functions and Their Graphs. Lines in the Plane Section 1-1.
FUNCTIONS AND MODELS 1. The fundamental concepts that we deal with in calculus are functions. This chapter prepares the way for calculus by discussing:
Chapter 3 QUADRATIC FUNCTIONS
Chapter 4 EXPONENTIAL FUNCTIONS
1.7 Combinations of Functions; Composite Functions
7 INVERSE FUNCTIONS.
Chapter 5 More on Functions
Definition, Domain,Range,Even,Odd,Trig,Inverse
New Functions from Old Section 1.3.
Average Rate of Change of a Function
2.7 Combining Functions.
Functions and Their Graphs RAFIZAH KECHIL, UiTM PULAU PINANG
Functions and Their Graphs
COMPOSITE AND INVERSE FUNCTIONS
Warm-up (10 min. – No Talking)
CALCULUS AND ANALYTIC GEOMETRY CS 001 LECTURE 02.
Chapter 6 TRANSFORMATIONS OF FUNCTIONS AND THEIR GRAPHS
Exponential and Logarithmic Functions
Copyright © Cengage Learning. All rights reserved.
College Algebra: Lesson 1
Warm-up: Given f(x) = 2x3 + 5 and g(x) = x2 – 3 Find (f ° g)(x)
Transformations of Functions
Exploring Exponential Growth and Decay Models
College Algebra Fifth Edition
3.3: Rational Functions and Their Graphs
3.3: Rational Functions and Their Graphs
1 FUNCTIONS AND MODELS.
Use Inverse Functions Lesson 3.4
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Graphs, Linear Equations, and Functions
College Algebra Fifth Edition
1.3 New Functions from Old Functions
Inequalities Some problems in algebra lead to inequalities instead of equations. An inequality looks just like an equation, except that in the place of.
Copyright © Cengage Learning. All rights reserved.
New Functions from Old Functions
Module 2 Function Transformations,
2.2 DOMAIN AND RANGE.
PIECEWISE DEFINED FUNCTIONS
2.5 CONCAVITY.
Copyright © Cengage Learning. All rights reserved.
Chapter 2 Functions, Equations, and Graphs
Chapter 6 Rational Expressions, Functions, and Equations
Presentation transcript:

Chapter 2 FUNCTIONS Section 2.1Section 2.1Input and Output Section 2.2Section 2.2Domain and Range Section 2.3Section 2.3Piecewise-Defined Functions Section 2.4Section 2.4Preview of Transformations: Shifts Section 2.5Section 2.5Preview of Composite and Inverse Functions Section 2.6Section 2.6Concavity 1 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

2.1 INPUT AND OUTPUT 2 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Finding Output Values: Evaluating a Function Example 4 Let h(x) = x 2 − 3x + 5. Evaluate and simplify the following expressions. (a) h(2) (b) h(a − 2) (c) h(a) − 2 (d) h(a) − h(2) Solution Notice that x is the input and h(x) is the output. It is helpful to rewrite the formula as Output = h(Input) = (Input) 2 − 3 ・ (Input) + 5. (a)For h(2), we have Input = 2, so h(2) = (2) 2 − 3 ・ (2) + 5 = 3. 3 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Finding Output Values: Evaluating a Function Example 4 continued h(x) = x 2 − 3x + 5. Evaluate (b) h(a − 2) (c) h(a) − 2 (d) h(a) − h(2) Solution (b) In this case, Input = a − 2. We substitute and simplify h(a − 2) = (a−2) 2 − 3(a−2) + 5 = a 2 − 4a + 4− 3a = a 2 − 7a (c) First input a, then subtract 2: h(a) − 2 = a 2 − 3a + 5 − 2 = a 2 − 3a + 3. (d) Using h(2) = 3 from part (a): h(a) − h(2) = a 2 − 3a + 5 − 3 = a 2 − 3a Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Finding Input Values: Solving Equations Example 6 (a) Suppose (a)Find an x-value that results in f(x) = 2. Solution (a) To find an x-value that results in f(x) = 2, solve the equation Now multiply by (x − 4): 4(x − 4) = 1 or 4x − 16 = 1, so x = 17/4 = The x-value is (Note that the simplification (x − 4) / (x − 4) = 1 in the second step was valid because x − 4 ≠ 0.) 5 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Finding Output Values from Tables Example 8(a) The table shows the revenue, R = f(t), received by the National Football League (NFL) from network TV as a function of the year, t, since (a) Evaluate and interpret f (20). Solution (a) The table shows f (20) = Since t = 20 in the year 1995, we know that NFL’s revenue from TV was $1097 million in the year Year, t (since 1975) Revenue, R (m. $) Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Finding Input/Output Values from Graphs Exercise 44 (a) and (c) (a) Evaluate f (2) and explain its meaning. ( c) Solve f (w) = 4.5 and explain what the solutions mean. Solution (a) f (2) ≈ 7, so 7 thousand individuals were infected 2 weeks after onset. (c) If you imagine a horizontal line drawn at f = 4.5, it would intersect the graph at two points, at approximately w = 1 and w = 10. This would mean that 4.5 thousand individuals were infected with influenza both one week and ten weeks after the epidemic began. An epidemic of influenza spreads through a city. The figure to the right shows the graph of I = f(w), where I is the number of individuals (in thousands) infected w weeks after the epidemic begins. w f(w)f(w) I 7 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

2.2 DOMAIN AND RANGE 8 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Definitions of Domain and Range If Q = f (t), then the domain of f is the set of input values, t, which yield an output value. the range of f is the corresponding set of output values, Q. If Q = f (t), then the domain of f is the set of input values, t, which yield an output value. the range of f is the corresponding set of output values, Q. 9 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Choosing Realistic Domains and Ranges Example 2 Algebraically speaking, the formula T = ¼ R + 40 can be used for all values of R. However, if we use this formula to represent the temperature, T, as a function of a cricket’s chirp rate, R, as we did in Chapter 1, some values of R cannot be used. For example, it does not make sense to talk about a negative chirp rate. Also, there is some maximum chirp rate R max that no cricket can physically exceed. The domain is 0 ≤ R ≤ R max The range of the cricket function is also restricted. Since the chirp rate is nonnegative, the smallest value of T occurs when R = 0. This happens at T = 40. On the other hand, if the temperature gets too hot, the cricket will not be able to keep chirping faster, T max = ¼ R max The range is 40 ≤ T ≤ T max 10 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Using a Graph to Find the Domain and Range of a Function A good way to estimate the domain and range of a function is to examine its graph. The domain is the set of input values on the horizontal axis which give rise to a point on the graph; The range is the corresponding set of output values on the vertical axis. 11 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Using a Graph to Find the Domain and Range of a Function Analysis of Graph for Example 3 A sunflower plant is measured every day t, for t ≥ 0. The height, h(t) in cm, of the plant can be modeled by using the logistic function Solution The domain is all t ≥ 0. However if we consider the maximum life of a sunflower as T, the domain is 0 ≤ t ≤ T. To find the range, notice that the smallest value of h occurs at t = 0. Evaluating gives h(0) = 10 cm. This means that the plant was 10 cm high when it was first measured on day t = 0. Tracing along the graph, h(t) increases. As t-values get large, h(t)-values approach, but never reach, 250. This suggests that the range is 10 ≤ h(t) < 250. h(t)h(t) t time (days) h height of sunflower (cm) 12 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Using a Formula to Find the Domain and Range of a Function Example 4 State the domain and range of g, where g(x) = 1/(x – 2). Solution The domain is all real numbers except those which do not yield an output value. The expression 1/(x – 2) is defined for any real number x except 2 (division by 0 is undefined). Therefore, Domain: all real x, x ≠ 2. The range is all real numbers that the formula can return as output values. It is not possible for g(x) to equal zero, since 1 divided by a real number is never zero. All real numbers except 0 are possible output values, since all nonzero real numbers have reciprocals. Therefore, Range: all real values, g(x) ≠ Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

2.3 PIECEWISE-DEFINED FUNCTIONS 14 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

A Piecewise-Defined Function Example A function may employ different formulas on different parts of its domain. Such a function is said to be piecewise defined. For example, the function graphed has the following formulas: y = x 2 y = 6 - x x y 15 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

The Absolute Value Function The Absolute Value Function is defined by 16 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Graph of y = |x| The Domain is all real numbers, The Range is all nonnegative real numbers. (0,0) (1,1) (2,2) (3,3) (-1,1) (-2,2) (-3,3) 17 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally -2 -3

2.4 PREVIEW OF TRANSFORMATIONS: SHIFTS 18 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Vertical Shift If g(x) is a function and k is a positive constant, then the graph of y = g(x) + k is the graph of y = g(x) shifted vertically upward by k units. y = g(x) − k is the graph of y = g(x) shifted vertically downward by k units. If g(x) is a function and k is a positive constant, then the graph of y = g(x) + k is the graph of y = g(x) shifted vertically upward by k units. y = g(x) − k is the graph of y = g(x) shifted vertically downward by k units. 19 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Horizontal Shift If g(x) is a function and h is a positive constant, then the graph of y = g(x + h) is the graph of y = g(x) shifted horizontally to the left by h units. y = g(x − h) is the graph of y = g(x) shifted horizontally to the right by h units. If g(x) is a function and h is a positive constant, then the graph of y = g(x + h) is the graph of y = g(x) shifted horizontally to the left by h units. y = g(x − h) is the graph of y = g(x) shifted horizontally to the right by h units. 20 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Combining Horizontal and Vertical Shifts Example 8 Let g be the transformation of the heating schedule function, H = f(t), given by g(t) = f(t − 2) − 5. (a) Sketch the graph of H = g(t). (b) Describe in words the heating schedule determined by g. Solution The function g represents a schedule that is both 2 hours later and 5 degrees cooler than the original schedule. 21 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Inside Versus Outside Changes Since the horizontal shift in the heating schedule, q(t) = f(t + 2), involves a change to the input value, it is called an inside change to f. Similarly the vertical shift, p(t) = f(t) + 5, is called an outside change because it involves changes to the output value. 22 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

2.5 PREVIEW OF COMPOSITE AND INVERSE FUNCTIONS 23 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Composition of Functions For two functions f(t) and g(t), the function f(g(t)) is said to be a composition of f with g. The function f(g(t)) is defined by using the output of the function g as the input to f. For two functions f(t) and g(t), the function f(g(t)) is said to be a composition of f with g. The function f(g(t)) is defined by using the output of the function g as the input to f. 24 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Composition of Functions Example 3 (a) Let f(x) = 2x + 1 and g(x) = x 2 − 3. (a) Calculate f(g(3)) and g(f(3)). Solution (a) We want f(g(3)). We start by evaluating g(3). The formula for g gives g(3) = 3 2 − 3 = 6, so f(g(3)) = f(6). The formula for f gives f(6) = 2 ・ = 13, so f(g(3)) = 13. To calculate g(f(3)), we have g(f(3)) = g(7), because f(3) = 7. Then g(7) = 7 2 − 3 = 46, so g(f(3)) = 46. Notice that, f(g(3)) ≠ g(f(3)). 25 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Composition of Functions Example 3 (b) Let f(x) = 2x + 1 and g(x) = x 2 − 3. (b) Find formulas for f(g(x)) and g(f(x)). Solution (b) In general, the functions f(g(x)) and g(f(x)) are different: f(g(x)) = f(x 2 – 3) = 2 ˑ (x 2 – 3) + 1 = 2x 2 – = 2x 2 – 5 f(g(x)) = f(x 2 – 3) = 2 ˑ (x 2 – 3) + 1 = 2x 2 – = 2x 2 – 5 g(f(x)) = g(2x + 1) = (2x + 1) 2 – 3 = 4x 2 + 4x + 1 – 3 = 4x 2 + 4x – 2 g(f(x)) = g(2x + 1) = (2x + 1) 2 – 3 = 4x 2 + 4x + 1 – 3 = 4x 2 + 4x – 2 26 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Inverse Functions The roles of a function’s input and output can sometimes be reversed. For example, the population, P, of birds on an island is given, in thousands, by P = f(t), where t is the number of years since In this function, t is the input and P is the output. If the population is increasing, knowing the population enables us to calculate the year. Thus we can define a new function, t = g(P), which tells us the value of t given the value of P instead of the other way round. For this function, P is the input and t is the output. The functions f and g are called inverses of each other. A function which has an inverse is said to be invertible. 27 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Inverse Function Notation If we want to emphasize that g is the inverse of f, we call it f −1 (read “f-inverse”). To express the fact that the population of birds, P, is a function of time, t, we write P = f(t). To express the fact that the time t is also determined by P, so that t is a function of P, we write t = f −1 (P). The symbol f −1 is used to represent the function that gives the output t for a given input P. Warning: The −1 which appears in the symbol f −1 for the inverse function is not an exponent. 28 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Finding a Formula for the Inverse Function Example 6 The cricket function, which gives temperature, T, in terms of chirp rate, R, is T = f(R) = ¼ ・ R Find a formula for the inverse function, R = f −1 (T ). Solution The inverse function gives the chirp rate in terms of the temperature, so we solve the following equation for R: T = ¼ ・ R + 40, giving T − 40 = ¼ ・ R, R = 4(T − 40). Thus, R = f −1 (T ) = 4(T − 40). 29 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Domain and Range of an Inverse Functio n Functions that possess inverses have a one- to-one correspondence between elements in their domain and elements in their range. The input values of the inverse function f −1 are the output values of the function f. Thus, the domain of f −1 is the range of f. Similarly, the domain of f is the range of f Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Domain and Range of an Inverse Functio n For the cricket function, T = f(R) = ¼ R + 40, if a realistic domain is 0  R  160, then the range of f is 40  T  80. The domain of f −1 is then 40  T  80 and the range is 0  R  Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

A Function and its Inverse Undo Each Other The functions f and f −1 are called inverses because they “undo” each other when composed: f(f -1 (x)) = f(f -1 (x)) = x Example 7 Given T = f(R) = ¼ ・ R + 40 R = f −1 (T ) = 4(T − 40), then f(f -1 (T)) = ¼ ・ (4(T − 40)) + 40 = T – = T and f -1 f(R)) = 4( ¼ ・ R + 40 − 40) = R 32 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

2.6 CONCAVITY 33 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Concavity and Rates of Change The function giving salary S, in $1000s, as a function of t, time in years since being hired, is shown in the figure. Since the rate of change increases with time, the slope of the graph increases as t increases, so the graph bends upward. We say such graphs are concave up. 34 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Increasing and Decreasing Functions; Concavity Increasing and concave downDecreasing and concave down Decreasing and concave upIncreasing and concave up 35 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally

Summary: Increasing and Decreasing Functions; Concavity If f is a function whose rate of change increases (gets less negative or more positive as we move from left to right), then the graph of f is concave up. That is, the graph bends upward. If f is a function whose rate of change decreases (gets less positive or more negative as we move from left to right), then the graph of f is concave down. That is, the graph bends downward. If a function has a constant rate of change, its graph is a line and it is neither concave up nor concave down. 36 Functions Modeling Change: A Preparation for Calculus, 5th Edition, 2014, Connally