Stepfunctions Piecewise
Stepfunctions Piecewise
greater than x
Floor function: take the input values down
to the nearest integer
For example, [[2.4 ]], means the greatest
-.5
-1
-.1
-1
0.4
0.8
1.2
1.8
2.3
3.2
3.7
-2
0.4
-2
0.8
-2
1.2
1.8
2.3
3.2
y = 2[x 1] continued
Notice the steps are
0.4
0.8
2.5
1.2
2.5
1.8
2.5
2.3
3.5
3.2
3.5
y = 0.5[x] + 2 continued
Notice the steps are
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.
You Try
Graph f(x) =[[x-3]] + 2
Piecewise Functions
Graphing different functions over different
parts of the graph.
One part tells you what to graph, then where
to graph it.
What to graph
Where to graph
3x 2 x 2
f ( x)
x 3 x 2
2x+3, where x
must be greater
than or equal to 0.\
function:
Other Examples
1. Graph f ( x) x 3 2
(the greatest integer function has been modified...)
x 5, if x 2
2. f ( x) 2 x 1, if 2 x 2
2 x 9, if x 2
2 x 1, if x 3
x 8, if x 3
3. Graph: f ( x)