Holt McDougal Algebra 2 6-3 Piecewise Functions A piecewise function is a function that is a combination of one or more functions. The rule for a piecewise.

Slides:



Advertisements
Similar presentations
5.2 Piecewise Functions CC.9-12.A.CED.2 Create equations in two or more variables to represent relationships between quantities; graph equations on coordinate.
Advertisements

Piecewise Functions 9-2 Warm Up Lesson Presentation Lesson Quiz
6-1 Multiple Representations of Functions Warm Up Lesson Presentation
Slope-Intercept Form 5-7 Warm Up Lesson Presentation Lesson Quiz
Rational Functions 8-4 Warm Up Lesson Presentation Lesson Quiz
1. 2. Warm-Up Domain Range INQ:______________ INT:______________
Transforming Functions
3-3 Writing Functions Warm Up Lesson Presentation Lesson Quiz
Rate of Change and Slope
Objectives Identify independent and dependent variables.
Copyright © Cengage Learning. All rights reserved. Functions.
Bellwork: Graph each line: 1. 3x – y = 6 2. Y = -1/2 x + 3 Y = -2
Objectives Solve quadratic equations by graphing or factoring.
Chapter Piece wise functions.
Slope-Intercept Form 4-6 Warm Up Lesson Presentation Lesson Quiz
Point-Slope Form 4-7 Warm Up Lesson Presentation Lesson Quiz
Objectives Write and graph piecewise functions.
5-6 Point-Slope Form Warm Up Warm Up Lesson Presentation Lesson Presentation California Standards California StandardsPreview.
Point-Slope Form 4-7 Warm Up Lesson Presentation Lesson Quiz
Point-Slope Form 4-7 Warm Up Lesson Presentation Lesson Quiz
3-3 Writing Functions Warm Up Lesson Presentation Lesson Quiz
Chapter Piece wise functions.
Objectives Write and graph piecewise functions.
Warm up. Up to now, we’ve been looking at functions represented by a single equation. In real life, however, functions are represented by a combination.
Do Now 10/23/2015 Write the equation of each line in slope- intercept form. 1. slope of 3 and passes through the point (50, 200) y = 3x slope of.
Lesson 4.7 Topic/ Objective: To evaluate and graph piecewise and step functions. EQ: How can you describe a function represented by more than one equation.
Objectives Transform quadratic functions.
Holt McDougal Algebra 2 Rational Functions Graph rational functions. Transform rational functions by changing parameters. Objectives.
Functions 2 Copyright © Cengage Learning. All rights reserved.
Holt McDougal Algebra Graphing Linear Functions Toolbox 2.3 (a)
Holt Algebra Point-Slope Form Warm Up Find the slope of the line containing each pair of points. 1. (0, 2) and (3, 4) 2. (–2, 8) and (4, 2) 3. (3,
Holt McDougal Algebra Point-Slope Form Graph a line and write a linear equation using point-slope form. Write a linear equation given two points.
6-1 Multiple Representations of Functions Warm Up Lesson Presentation
Copyright © Cengage Learning. All rights reserved.
Splash Screen.
5-6 Slope-Intercept Form Warm Up Lesson Presentation Lesson Quiz
Rate of Change and Slope
Objectives Write and graph piecewise functions.
Objectives Vocabulary Write and graph piecewise functions.
Piecewise Functions 6-3 Warm Up Lesson Presentation Lesson Quiz
2.6: Special Functions Algebra 2.
LESSON 2–6 Special Functions.
Topic 3 – Functions Class 1 – Domain, Range, and End Behavior
Warm Up Problem of the Day Lesson Presentation Lesson Quizzes.
6-8 Transforming Polynomial Functions Warm Up Lesson Presentation
Chapter 7 Functions and Graphs.
piecewise-defined function
Slope-Intercept Form 4-6 Warm Up Lesson Presentation Lesson Quiz
3-3 Writing Functions Warm Up Lesson Presentation Lesson Quiz
3-8 Transforming Polynomial Functions Warm Up Lesson Presentation
Rate of Change and Slope
Slope-Intercept Form 4-6 Warm Up Lesson Presentation Lesson Quiz
Function notation & evaluating functions
3-3 Writing Functions Warm Up Lesson Presentation Lesson Quiz
Point-Slope Form 4-7 Warm Up Lesson Presentation Lesson Quiz
Topic/ Objective: To evaluate and graph piecewise and step functions.
Multiple Representations of Functions
6-1 Multiple Representations of Functions Warm Up Lesson Presentation
Rate of Change and Slope
Slope-Intercept Form 4-6 Warm Up Lesson Presentation Lesson Quiz
Transforming Linear Functions
5-6 Slope-Intercept Form Warm Up Lesson Presentation Lesson Quiz
Point-Slope Form 5-7 Warm Up Lesson Presentation Lesson Quiz
Example 1: Consumer Application
Write the equation of each line in slope-intercept form.
Rate of Change and Slope
Piecewise Functions Students will be able to find the evaluate and graph a piecewise function.
Presentation transcript:

Holt McDougal Algebra Piecewise Functions A piecewise function is a function that is a combination of one or more functions. The rule for a piecewise function is different for different parts, or pieces, of the domain. For instance, movie ticket prices are often different for different age groups. So the function for movie ticket prices would assign a different value (ticket price) for each domain interval (age group).

Holt McDougal Algebra Piecewise Functions When using interval notation, square brackets [ ] indicate an included endpoint, and parentheses ( ) indicate an excluded endpoint. (Lesson 1-1) Remember!

Holt McDougal Algebra Piecewise Functions Create a table and a verbal description to represent the graph. Example 1: Consumer Application Step 1 Create a table Because the endpoints of each segment of the graph identify the intervals of the domain, use the endpoints and points close to them as the domain values in the table.

Holt McDougal Algebra Piecewise Functions The domain of the function is divided into three intervals: Weights under 2 [0, 2) [2, 5) [5, ∞) Weights 2 and under 5 Weights 5 and over Example 1 Continued

Holt McDougal Algebra Piecewise Functions Step 2 Write a verbal description. Mixed nuts cost $8.00 per pound for less than 2 lb, $6.00 per pound for 2 lb or more and less than 5 lb, and $5.00 per pound for 5 or more pounds. Example 1 Continued

Holt McDougal Algebra Piecewise Functions Create a table and a verbal description to represent the graph. Step 1 Create a table Because the endpoints of each segment of the graph identify the intervals of the domain, use the endpoints and points close to them as the domain values in the table. Check It Out! Example 1

Holt McDougal Algebra Piecewise Functions The domain of the function is divided into three intervals: $28 [8, 12) [12, 4) [4, 9) $24 $12 Check It Out! Example 1 Continued Green Fee ($) Time Range (h) 288 A.M. – noon 24 noon – 4 P.M P.M. – 9 P.M.

Holt McDougal Algebra Piecewise Functions Step 2 Write a verbal description. The green fee is $28 from 8 A.M. up to noon, $24 from noon up to 4 P.M., and $12 from 4 up to 9 P.M. Check It Out! Example 1 Continued

Holt McDougal Algebra Piecewise Functions A piecewise function that is constant for each interval of its domain, such as the ticket price function, is called a step function. You can describe piecewise functions with a function rule. The rule for the movie ticket prices from Example 1 on page 662 is shown.

Holt McDougal Algebra Piecewise Functions Read this as “f of x is 5 if x is greater than 0 and less than 13, 9 if x is greater than or equal to 13 and less than 55, and 6.5 if x is greater than or equal to 55.”

Holt McDougal Algebra Piecewise Functions To evaluate any piecewise function for a specific input, find the interval of the domain that contains that input and then use the rule for that interval.

Holt McDougal Algebra Piecewise Functions 2x + 1 if x ≤ 2 x 2 – 4 if x > 2 h(x) = Because –1 ≤ 2, use the rule for x ≤ 2. Because 4 > 2, use the rule for x > 2. h(–1) = 2(–1) + 1 = –1 h(4) = 4 2 – 4 = 12 Example 2A: Evaluating a Piecewise Function Evaluate each piecewise function for x = –1 and x = 4.

Holt McDougal Algebra Piecewise Functions 2 x if x ≤ –1 5x if x > –1 g(x) = Because –1 ≤ –1, use the rule for x ≤ –1. Because 4 > –1, use the rule for x > –1. g(4) = 5(4) = 20 g(–1) = 2 (–1) = 1 2 Example 2B: Evaluating a Piecewise Function

Holt McDougal Algebra Piecewise Functions 12 if x < –3 20 if x ≥ 6 f(x) = Because –3 ≤ –1 < 6, use the rule for –3 ≤ x < 6. f(–1) = 15 Check It Out! Example 2a Evaluate each piecewise function for x = –1 and x = if –3 ≤ x < 6 f(3) = 15 Because –3 ≤ 3 < 6, use the rule for –3 ≤ x < 6.

Holt McDougal Algebra Piecewise Functions 3x if x < 0 5x – 2 if x ≥ 0 g(x) = Because –1 < 0, use the rule for x < 0. Because 3 ≥ 0, use the rule for x ≥ 0. g(3) = 5(3) – 2 = 13 g(–1) = 3(–1) = 4 Check It Out! Example 2b Evaluate each piecewise function for x = –1 and x = 3.

Holt McDougal Algebra Piecewise Functions You can graph a piecewise function by graphing each piece of the function.

Holt McDougal Algebra Piecewise Functions Example 3A: Graphing Piecewise Functions g(x) = 1 4 Graph each function. x + 3 if x < 0 –2x + 3 if x ≥ 0 The function is composed of two linear pieces that will be represented by two rays. Because the domain is divided by x = 0, evaluate both branches of the function at x = 0.

Holt McDougal Algebra Piecewise Functions Example 3A Continued For the first branch, the function is 3 when x = 0, so plot the point (0, 3) with an open circle and draw a ray with the slope 0.25 to the left. For the second branch, the function is 3 when x = 0, so plot the point (0, 3) with a solid dot and draw a ray with the slope of –2 to the right. O ●

Holt McDougal Algebra Piecewise Functions Example 3B: Graphing Piecewise Functions g(x) = 1 2 Graph each function. x – 3 if 0 ≤ x < 4 x 2 – 3 if x < 0 The function is composed of one linear piece and two quadratic pieces. The domain is divided at x = 0 and at x = 4. (x – 4) 2 – 1 if x ≥ 4

Holt McDougal Algebra Piecewise Functions Example 3B Continued No circle is required at (0, –3) and (4, –1) because the function is connected at those points.

Holt McDougal Algebra Piecewise Functions f(x) = Graph the function. 4 if x ≤ –1 –2 if x > –1 The function is composed of two constant pieces that will be represented by two rays. Because the domain is divided by x = –1, evaluate both branches of the function at x = –1. Check It Out! Example 3a

Holt McDougal Algebra Piecewise Functions O ● Check It Out! Example 3a Continued The function is 4 when x ≤ –1, so plot the point (–1, 4) with a closed circle and draw a horizontal ray to the left. The function is –2 when x > –1, so plot the point (–1, –2) with an open circle and draw a horizontal ray to the right.

Holt McDougal Algebra Piecewise Functions g(x) = Graph the function. x + 3 if x ≥ 2 –3x if x < 2 The function is composed of two linear pieces. The domain is divided at x = 2. Check It Out! Example 3b

Holt McDougal Algebra Piecewise Functions Add an open circle at (2, –6) and a closed circle at (2, 5) and so that the graph clearly shows the function value when x = 2. Check It Out! Example 3b Continued x–3xx + 3 –412 – –65 47 O ●

Holt McDougal Algebra Piecewise Functions The distance formula d = rt can be arranged to find rates: r =. Remember! d t Notice that piecewise functions are not necessarily continuous, meaning that the graph of the function may have breaks or gaps. To write the rule for a piecewise function, determine where the domain is divided and write a separate rule for each piece. Combine the pieces by using the correct notation.

Holt McDougal Algebra Piecewise Functions Example 4: Sports Application Jennifer is completing a 15.5-mile triathlon. She swims 0.5 mile in 30 minutes, bicycles 12 miles in 1 hour, and runs 3 miles in 30 minutes. Sketch a graph of Jennifer’s distance versus time. Then write a piecewise function for the graph.

Holt McDougal Algebra Piecewise Functions Step 1 Make a table to organize the data. Use the distance formula to find Jennifer’s rate for each leg of the race. Example 4 Continued

Holt McDougal Algebra Piecewise Functions Step 2 Because time is the independent variable, determine the intervals for the function. Swimming: 0 ≤ t ≤ 0.5 Biking: 0.5 < t ≤ 1.5 Running: 1.5 < t ≤ 2 She swims for half an hour. She bikes for the next hour. She runs the final half hour. Example 4 Continued

Holt McDougal Algebra Piecewise Functions Step 3 Graph the function. After 30 minutes, Jennifer has covered 0.5 miles. On the next leg, she reaches a distance of 12 miles after a total of 1.5 hours. Finally she completes the 15.5 miles after 2 hours. Example 4 Continued

Holt McDougal Algebra Piecewise Functions Step 4 Write a linear function for each leg. Use point-slope form: y – y 1 = m(x – x 1 ). Swimming: d = t Biking: d = 12t – 5.5 Running: d = 6t Use m = 0.5 and (0, 0). Use m = 12 and (0.5, 0.5). Use m = 6 and (1.5, 12.5). The function rule is d(t) = t if 0 ≤ t ≤ t – 5.5 if 0.5 < t ≤ 1.5 6t if 1.5 < t ≤ 2 Example 4 Continued

Holt McDougal Algebra Piecewise Functions Check It Out! Example 4 Shelly earns $8 an hour. She earns $12 an hour for each hour over 40 that she works. Sketch a graph of Shelly’s earnings versus the number of hours that she works up to 60 hours. Then write a piecewise function for the graph. Step 1 Make a table to organize the data. Shelly’s Earnings Hours worked Pay ($/hr) 0–408 >4012

Holt McDougal Algebra Piecewise Functions Step 2 Because the number of hours worked is the independent variable, determine the intervals for the function. 0 ≤ h ≤ 40 h > 40 She works equal to or less than 40 hours. Check It Out! Example 4 Continued She works more than 40 hours.

Holt McDougal Algebra Piecewise Functions Step 3 Graph the function. Shelly earns $8 per hour for 0–40. After 40 hours, she earns $12 per hour. Check It Out! Example 4 Continued

Holt McDougal Algebra Piecewise Functions Step 4 Write a linear function for each leg. Use a point-slope form: y – y 1 = m(x – x 1 ). 0–40 hours: 8h Hours > 40: 12(h – 4) Use m = 8. Use m = 12 and (40, 320). The function rule is f(h) = 8h if 0 ≤ h ≤ 40 12(h – 40) if h > 40 Check It Out! Example 4 Continued

Holt McDougal Algebra Piecewise Functions Lesson Quiz: Part I 1. Graph the function, and evaluate at x = 1 and x = 3. p(x) = x if x ≤ x + 3 if x > 2 1 2

Holt McDougal Algebra Piecewise Functions Lesson Quiz: Part II 2. Write and graph a piecewise function for the following situation. A house painter charges $12 per hour for the first 40 hours he works, time and a half for the 10 hours after that, and double time for all hours after that. How much does he earn for a 70-hour week?