Piecewise Functions
Piecewise Functions
Piecewise Function –a
function defined by two or
more functions over a
specified domain.
What do they look like?
x2 + 1 , x 0
f(x) = x–1, x0
2x + 1, x 0
f(x) = 2x + 2, x 0
3x - 2, x -2
f(x) = -x , -2 x 1
x2 – 7x, x 1
Evaluate the following:
f(-2) = 2? ?
f(3) = -12
f(-4) = -14
? f(1) = -6?
Graphing Piecewise Functions:
x2 + 1 , x 0
f(x) = x–1 , x0
x 4 x 4
g x 2x 5 4 x 1
x 3 x 1
Domain - ,
Range - , 7
3 7 x 4
1
x2 4 x 0
gx 2
x 4 0x5
1 5x7
Domain - (-7, 7]
Domain - [-6, 7]