Name______________________________
Date: _________________ Block:_______
Ms. Gallagher
Warm – Up
1. Evaluate the function for the indicated values f(x) = 3x – 2
a. f(2) = b. f(0) = c. f( -2) =
2. Graph the two linear equations on the same x-y plane below
y = –x – 4 y = 2x + 1
Notes Piecewise Functions
If we want a function to behave differently depending on the x- values, we
need a piecewise function. A piecewise function is just a function that uses
more than one equation to describe its behavior. When we graph
piecewise functions, we are really graphing different pieces of different
lines.
Example One Evaluating a piecewise function
2x 5, x 2
f ( x) 1
x 1, x 2
3
a) f(1) b) f(2) c) f(3)
x2 , x 4
f ( x)
x 2, x 4
a) f(-6) b) f( -4) c) f( -2)
Example Two Graphing a piecewise function using a table of values
2x 1, x 1
f ( x)
x 3, x 1
Steps:
1)
2)
3)
4)
Example Three Graphing a piecewise function using a switch point
2x 1, x 1
f ( x)
x 3, x 1
Steps:
1)
2)
3)
4)
Example Four Writing a piecewise function
Example Five Word Problem
You have a summer job that pays time and a half for overtime. (If you work more
than 40 hours) After that it is 1.5 times your hourly rate of $8.00/hr. Write a
piecewise function that models your pay schedule and graph the function.
Example Six Graph the Step Function
1, 6 x 3
2, 3 x 0
f ( x)
3, 0 x 3
4, 3 x 6
Homework
Worksheet