250 likes | 835 Views
Piecewise Functions 2.7. What is a piecewise function? How are they evaluated, graphed, written, and used? What is a step function? What is a greatest integer function?. Piecewise Function Definition.
E N D
Piecewise Functions 2.7 What is a piecewise function? How are they evaluated, graphed, written, and used? What is a step function? What is a greatest integer function?
Piecewise Function Definition Functions represented by a combination of equations, each corresponding to a part of the domain.
Evaluating a Piecewise Function Evaluate f(x) when (a) x=0, (b) x=2, and (c) x=4. f(x) = x + 2, if x < 2 2x + 1, if x ≥ 2 • f(x) = x+2 f(0) =0+2=2 • f(x) = 2x+1 f(2) = 2(2)+1=5 • f(x) = 2x+1 f(3) = 2(3) +1=7
Graphing a Piecewise Function 1 0 2 3
Step Function The last example was called a step function because its graph resembles a set of stair steps. Another example of a step function is the greatest integer function. This function is denoted by g(x)=[[x]]. For every real number x, g(x) is the greatest integer less than or equal to x. This graph is on page 115 in your book.
Write equations for the piecewise function whose graph is shown. Write the equation for the ray to the left of x=0. y=x+2, if x<0 (2,2) (0,2) (-2,0) Write the equation of the ray to the right of x=0 (0,0) y=x, if x≥0
Greatest Integer Function The greatest integer function is an example of a step function that uses integers. This function is denoted by g(x)=[[x]]. For every real number x, g(x) is the greatest integer less than or equal to x. y = x x y 0 1 2 0, if 0 ≤ x < 1 1, if 1 ≤ x < 2 2, if 2 ≤ x < 3
3 3 2 2 1 1 1 1 3 3 -1 -1 2 2 -3 -3 -2 -2 -1 -1 -2 -2 -3 -3 Step Functions A step function is a piecewise function that consists of different constant range values for different intervals of the domain of the function. Greatest integer function Rounding-up function Rounding-down function
http://www.icoachmath.com/SiteMap/Greatest_Integer_Function.htmlhttp://www.icoachmath.com/SiteMap/Greatest_Integer_Function.html http://www.5min.com/Video/Graphing-the-Greatest-Integer-Function-160960905
Using a Step and Piecewise Function Turn to page 116 in your book.
What is a piecewise function? • How are they evaluated, graphed, written, and used? • What is a step function? • What is a greatest integer function?
Assignment 2.7 13-29 odd, Page 117, 35-39, 50-51