Piecewise and Step Functions

Slides:



Advertisements
Similar presentations
Step functions The graph of a step function is not linear – it consists of horizontal line segments, usually having a closed circle on one end and an open.
Advertisements

STEP FUNCTIONS 3.9. INTRODUCTION In 2007, the U.S. postage rate for first class flats was $0.70 for the first ounce plus $0.17 for each additional ounce.
FUNCTIONS AND MODELS Chapter 1. Preparation for calculus :  The basic ideas concerning functions  Their graphs  Ways of transforming and combining.
1. 2. Warm-Up Domain Range INQ:______________ INT:______________
Square-Root Functions
OBJECTIVES: 1. DETERMINE WHETHER A GRAPH REPRESENTS A FUNCTION. 2. ANALYZE GRAPHS TO DETERMINE DOMAIN AND RANGE, LOCAL MAXIMA AND MINIMA, INFLECTION POINTS,
Graphs of Functions Lesson 3.
Students are expected to: Construct and analyse graphs and tables relating two variables. Solve problems using graphing technology. Develop and apply.
§ 2.2 Graphs of Functions.
Lesson 3-9: More On Functions Objective Students will: Find composite functions Evaluate composite functions for a given value.
What are piecewise functions? A __________ function consists of different function rules for different parts of the domain. 1. Graph f(x) = x
Introduction A step function is a function that is a series of disconnected constant functions. This type of function is also referred to as a stair.
§ 2.2 Graphs of Functions. Blitzer, Algebra for College Students, 6e – Slide #2 Section 2.2 Graphs of Functions The graph of a function is just the graph.
Piecewise Functions and Step Functions
Functions Copyright © J. Mercer, A function is a number-machine that transforms numbers from one set called the domain into a set of new numbers.
Piecewise & Greatest Integer Functions
It’s time to put the FUN in FUNCTIONS!!! Piecewise and Step Functions.
Check it out! : Comparing Linear Functions.
Chapter 3: Functions and Graphs 3.1: Functions Essential Question: How are functions different from relations that are not functions?
Math 2: Unit 5B Day 3 How do we solve problems using piecewise functions, step functions, and greatest integer functions?
Math II Unit 5 (Part 1). Solve absolute value equations and inequalities analytically, graphically and by using appropriate technology.
Copyright © Cengage Learning. All rights reserved. 4 Quadratic Functions.
2.6 Special Functions Step functions Greatest integer functions Piecewise functions.
Lesson 2-3: Piecewise and Absolute Value Functions
Section 1.7 Piecewise Functions. Vocabulary Absolute Value Function – a piecewise function, written as f(x)=, where f(x) 0 for all values of x. Greatest.
Dear Power point User, This power point will be best viewed as a slideshow. At the top of the page click on slideshow, then click from the beginning.
Then/Now Identify and graph step functions. Identify and graph absolute value and piecewise-defined functions.
6.NS.6c Find and position integers and other rational numbers on a horizontal or vertical number line.
9-1 Quadratic Equations and Functions Warm Up Warm Up Lesson Presentation Lesson Presentation California Standards California StandardsPreview.
Special Functions Lesson 9-7 Splash Screen LEARNING GOAL Understand how to identify and graph step functions, absolute value functions and piecewise-defined.
2.7 Piecewise Functions p. 114 Up to now, we’ve been looking at functions represented by a single equation. In real life, however, functions are represented.
Chapter 2: Functions and Models Lesson 7: Step Functions Mrs. Parziale.
Adding Integers on a Number Line
Piecewise Functions.
Objectives Write and graph piecewise functions.
Splash Screen. Then/Now You identified and graphed linear, exponential, and quadratic functions. Identify and graph step functions. Identify and graph.
Tell Me Everything You Can About The Graph Below.
Piecewise Functions. Up to now, we’ve been looking at functions represented by a single equation. In real life, however, functions are represented by.
Piecewise Functions Pieces of 2 or more relations Final graph is a function (passes vert. line test) CALCULATOR: – Y= (function)(restriction) – Restriction:
2-6 Special Functions Objectives Students will be able to: 1) identify and graph step, constant, and identity functions 2) Identify and graph absolute.
October 14, 2011 At the end of today, you will be able to Identify and graph step, constant, identity functions, piecewise functions, and absolute value.
Splash Screen. Then/Now You identified and graphed linear, exponential, and quadratic functions. Identify and graph step functions. Identify and graph.
Ch 4-3 Piecewise and Stepwise Functions C.N.Colon ALGEBRA-HP SBHS.
Step Functions Vocabulary Step Functions- Functions whose graphs look like steps Greatest Integer Function- the function such that for every real number.
REVIEW A relation is a set of ordered pairs. {(2,3), (-1,5), (4,-2), (9,9), (0,-6)} This is a relation The domain is the set of all x values.
Section 1 Chapter Copyright © 2012, 2008, 2004 Pearson Education, Inc. Objectives 2 Additional Graphs of Functions 11.1 Recognize the graphs of.
Warm Up Find each square root Solve each inequality. 5. x + 5 ≥ ≤ 3x Compare. Write , or = ≤ 4x – –
Domain and Range.
2-2 Extension Part 2: Piecewise Functions
Foundation of Functions Relations and Functions/ Domain and Range
Objectives Vocabulary Write and graph piecewise functions.
2.6: Special Functions Algebra 2.
LESSON 2–6 Special Functions.
Piecewise and Step Functions
Splash Screen.
Piecewise Functions.
Warm Up State the domain and range of the following equations:
piecewise-defined function
2.5 Piecewise Functions.
2-6 Special Functions.
CHAPTER 2: More on Functions
Chapter 2 More on Functions.
1 FUNCTIONS AND MODELS.
Ch 1.3: Graphs of functions
Step functions Greatest integer functions Piecewise functions
Graphing Step (Greatest Integer) Functions
Piecewise Functions.
Warm Up Find each square root Solve each inequality.
Unit 4: Transformations and piecewise functions
Presentation transcript:

Piecewise and Step Functions It’s time to put the FUN in FUNCTIONS!!! Here are the notes for Module 2, Lesson 2 on Piecewise and Step Functions. Let’s start putting the fun in functions!

Lines… So far, you have done a lot of work with LINES. However, lines aren’t helpful when we are trying to model real-world situations. In this lesson, we are going to begin to add more to your “toolkit” of functions, so that you can begin to tackle more relevant problems to life. ARE YOU READY???  So far, you have done a lot of work with LINES. However, lines aren’t helpful when we are trying to model real-world situations. In this lesson, we are going to begin to add more to your “toolkit” of functions, so that you can begin to tackle more relevant problems to life. Are you ready?

The Greatest Integer Function y = [x] means “the greatest integer not greater than x” For example, [2.4], means “the greatest integer not greater than 2.4.” So, [2.4] = 2. Here are some other examples: [3] = 3 [-2.2] = -3 [5.8] = 5 y = [x] means “the greatest integer not greater than x” For example, [2.4], means “the greatest integer not greater than 2.4.” So, [2.4] = 2. Here are some other examples: [3] = 3 [-2.2] = -3 [5.8] = 5

Greatest Integer Function, continued Notice that your answer will always be an integer. Because we can input any number in for x, but only get integers as our output y, we need to look at this graph because it probably looks VERY different from all of the others we have studied so far. Notice that your answer will always be an integer. Because we can input any number in for x, but only get integers as our output y, we need to look at this graph because it probably looks VERY different from all of the others we have studied so far.

Let’s graph y = [x] using a table of values: -.5 -1 -.1 0.4 0.8 1 1.2 1.8 2 2.3 3 3.2 3.7 Let’s graph y = [x] using a table of values:

Because this graph looks like a staircase, we also call it a “step” function. Notice the open circle at the end of each step. These occur when we “jump” to the next integer. The domain of y = [x] would be all real numbers, because we can substitute any number in for x and get a result. The range of y = [x] would be the set of integers, because even though we can substitute decimals or fractions, our answer will always be an integer. Notice the open circle at the end of each step. These occur when we “jump” to the next integer. The domain of y = [x] would be all real numbers, because we can substitute any number in for x and get a result. The range of y = [x] would be the set of integers, because even though we can substitute decimals or fractions, our answer will always be an integer.

Another Example: y = 2[x – 1] -2 0.4 0.8 1 1.2 1.8 2 2.3 3 4 3.2 We can plug in different numbers for x to determine the corresponding y-values. Then, we can graph our step function.

y = 2[x – 1] continued Notice the steps are further apart this time: there are 2 spaces between each one. Also, the step at x = 0 has shifted to the right 1 unit. The domain of y = 2[x – 1] is all real numbers. The range of y = 2[x – 1] is all even integers, because we will only get even integers as outputs.

Another Example: y = 0.5[x] + 2 2 0.4 0.8 1 2.5 1.2 1.8 3 2.3 3.5 3.2 We can plug in different numbers for x to determine the corresponding y-values. Then, we can graph our step function.

y = 0.5[x] + 2 continued Notice the steps are closer together this time: there is a half of a space between each one. Also, the step at x = 0 has shifted up 2 units. The domain of y = 0.5[x] + 2 is all real numbers. The range of y = 0.5[x] + 2 is the set of numbers {…, - 1.5, -1, -0.5, 0, 0.5, …}, because these are the numbers we will get as outputs. Notice the steps are closer together this time: there is a half of a space between each one. Also, the step at x = 0 has shifted up 2 units. The domain of y = 0.5[x] + 2 is all real numbers. The range of y = 0.5[x] + 2 is the set of numbers {…, -1.5, -1, -0.5, 0, 0.5, …}, because these are the numbers we will get as outputs.

Transformations of y = [x] General form: y = a[x – h] + k There will be a units between steps. The graph will shift h units right for [x – h] and h units left for [x + h]. The graph will shift up k units for +k and down k units for –k. General form: y = a[x – h] + k There will be a units between steps. The graph will shift h units right for [x – h] and h units left for [x + h]. The graph will shift up k units for +k and down k units for –k.

Graphing Step Functions on the Calculator Go to y = as usual. Input your function. You can find the greatest integer function by going to MATH, moving over to NUM, and choosing #5 int(. For example, y = [x] + 2 would be put in as y = int(x) + 2. Then, graph. Go to y = as usual. Input your function. You can find the greatest integer function by going to MATH, moving over to NUM, and choosing #5 int(. For example, y = [x] + 2 would be put in as y = int(x) + 2. Then, graph.

Graphing Step Functions on the Calculator continued Notice that it looks like the steps are connected, which we know is not the case. This is because of your calculator’s mode. Press MODE, and change CONNECTED to DOT. Then, graph again. There are our steps! Notice that it looks like the steps are connected, which we know is not the case. This is because of your calculator’s mode. Press MODE, and change CONNECTED to DOT. Then, graph again. There are our steps!

Step Functions in the Real World Cell phone plans: You pay one price for a specific number of minutes. If you want more minutes, you pay more money. Think of each step as a plan. The Post Office: You pay postage to mail things based on their weight. One stamp allows you to mail something that weighs up to17 ounces. Past the 17 ounces, you must add another stamp, which means two stamps allows you to mail up to 34 ounces. Think of each step as representing the weight you can mail per stamp. Cell phone plans: You pay one price for a specific number of minutes. If you want more minutes, you pay more money. Think of each step as a plan. The Post Office: You pay postage to mail things based on their weight. One stamp allows you to mail something that weighs up to17 ounces. Past the 17 ounces, you must add another stamp, which means two stamps allows you to mail up to 34 ounces. Think of each step as representing the weight you can mail per stamp.

Now let’s talk about piecewise functions. Piecewise functions are defined on various intervals. In other words, we will have different pieces of functions depending on our x-values. For example: This means that we will graph f(x) = -x for all x-values less than 0, and we will graph f(x) = 2x + 3 for all x-values greater than or equal to 0. Let’s take a look at this graph. Piecewise functions are defined on various intervals. In other words, we will have different pieces of functions depending on our x-values. For example: This means that we will graph f(x) = -x for all x-values less than 0, and we will graph f(x) = 2x + 3 for all x-values greater than or equal to 0. Let’s take a look at this graph. For example, [2.4], means “the greatest integer not greater than 2.4.” So, [2.4] = 2. Here are some other examples: [3] = 3 [-2.2] = -3 [5.8] = 5

More About Piecewise Functions If , we could find functional values for different values of x. For example, to find f(3), we would use the second piece of the function since 3 is greater than or equal to 0. f(3) = 2(3) + 3 = 9 To find f(-2), we would use the first piece of the function since -2 is less than 0. f(-2) = -(-2) = 2 If , we could find functional values for different values of x. For example, to find f(3), we would use the second piece of the function since 3 is greater than or equal to 0. f(3) = 2(3) + 3 = 9 To find f(-2), we would use the first piece of the function since -2 is less than 0. f(-2) = -(-2) = 2

Let’s graph f(x) = -x, where x must be less than 0. Let’s graph f(x) = 2x+3, where x must be greater than or equal to 0.\ Let’s graph f(x) = -x, where x must be less than 0. Let’s graph f(x) = 2x+3, where x must be greater than or equal to 0.

All together, here is the graph of our piecewise function: The domain would be all real numbers, and the range would be all real numbers greater than 0. All together, here is the graph of our piecewise function: The domain would be all real numbers, and the range would be all real numbers greater than 0.

Other Examples The domain would be x < -2 and x 0. The range would be y -5. The domain would be x < -2 and x 0. The range would be y -5. The domain would be all real numbers. The range would be y > 4/5.

Piecewise Functions in the Real World There are so many ways that piecewise functions are used every day. A t-shirt company sells t-shirts for $12 apiece if you buy 10 or less. If you are willing to buy between 11 and 50, they will cut you a deal and sell them to you for $10 apiece. If you are willing to buy more than 50, they will sell them to you for $8 apiece. There are so many ways that piecewise functions are used every day. A t-shirt company sells t-shirts for $12 apiece if you buy 10 or less. If you are willing to buy between 11 and 50, they will cut you a deal and sell them to you for $10 apiece. If you are willing to buy more than 50, they will sell them to you for $8 apiece.