A1Side
Piecewise, Absolute Value, and
Step Functions

MathBitsNotebook.com

Topical Outline | Algebra 1 Outline | MathBits' Teacher Resources

Terms of Use   Contact Person: Donna Roberts
divider
We have seen many graphs that are expressed as single equations and are continuous over a domain of the Real numbers. We have also seen the "discrete" functions which are comprised of separate unconnected "points". There are also graphs that are defined by "different equations" over different sections of the graphs. These graphs may be continuous, or they may contain "breaks". Because these graphs tend to look like "pieces" glued together to form a graph, they are referred to as "piecewise" functions (piecewise defined functions), or "split-definition" functions.

piecewisefeatures
A piecewise defined function is a function defined by at least two equations ("pieces"), each of which applies to a different part of the domain. Piecewise defined functions can take on a variety of forms. Their "pieces" may be all linear, or a combination of functional forms (such as constant, linear, quadratic, cubic, square root, cube root, exponential, etc.). Due to this diversity, there is no "parent function" for piecewise defined functions. The example below will contain linear, quadratic and constant "pieces".

PW1
PWeq1a
Notice that each "piece" of the function has a specific constraint (part of the domain).
Description:
Notice that the "changes" focus around the x-values of 1 and -1.
Hint: When graphing, focus on where the changes in the graph occur.

From x-values of -∞ to -1, the graph is a straight line.

From x-values of -1 to 1, the graph is constant.

From x-values 1 to ∞, the graph is quadratic (part of a parabola).
The piecewise function shown in this example is continuous (there are no "gaps" or "breaks" in the plotting).

In this example, the domain is all Reals since all x-values have a plotted value.

ti84c
For help with piecewise defined functions on your calculator,
Click Here!

dividerdash


Still confused about what is happening in these piecewise defined functions?
Try taking a look at each section as a "separate" graph, and grab your scissors!

PiecewiseMBmethod
dividerdash

Piecewise defined functions may be continuous (as seen in the example above), or they may be discontinuous (having breaks, jumps, or holes as seen in the examples below).

Other Examples of Piecewise Defined Functions:

PW2
pw2a
Domain: All Reals
Range: All Reals
PW3
PW3aa
Domain: [-5,1] U (2,5]
Range: [-2,4]

PW4
PW4a
Domain: All Reals
Range: (-∞,0)
U [1,∞)


ABsoluteFeatures
One of the most recognized piecewise defined functions is the absolute value function.

CRgraph2ABS1a
Features (of parent function):
Domain: All Reals (-∞,∞)
Unless domain is altered.
Range: [0,∞)

increasing (0, ∞)
decreasing (-∞,0)

positive (-∞, 0) U (0, -∞)

absolute/relative min is 0
no absolute max (graph → ∞)

end behavior
f (x) → +∞, as x → +∞
f (x) → +∞, as x → -∞
Symmetric:
about x = 0
unless domain is altered

x-intercept:
intersects x-axis at (0, 0)
unless domain is altered

y-intercept:
intersects y-axis at (0, 0)
unless domain is altered

Vertex:
the point (0,0)
unless domain is altered


Table: Y1: y = | x | CRgraph1
Read more about Absolute Value.
Range: When finding the range of an absolute value function, find the vertex (the turning point).
• If the graph opens upwards, the range will be greater than or equal to the y-coordinates of the vertex.
• If the graph opens downward, the range will be less than or equal to the y-coordinate of the vertex.

Average rate of change:
is constant on each straight line section (ray) of the graph.

ti84c
For help with absolute value graphs on your calculator,
Click Here!

Absolute Value Function - Transformation Examples:
ABS3
Translations
abs2
Reflection
ABS4
Vertical Stretch/Shrink


stepfeatures
A step function (or staircase function) is a piecewise function containing all constant "pieces". The constant pieces are observed across the adjacent intervals of the function, as they change value from one interval to the next. A step function is discontinuous (not continuous). You cannot draw a step function without removing your pencil from your paper.

step2step2b
Features (of step functions):
utilize open circles and/or closed circles on the graph
  open = point not on graph;    closed = point is on graph

horizontal "pieces"

discontinuous (cannot be drawn without removing your pencil from the paper)

• notice the resemblance to a set of steps

• may, or may not, be a function. Check with the vertical line test.
This example is a function.
stepstairs


One of the most famous step functions is the Greatest Integer Function.
The greatest integer function returns the largest integer less than or equal to x, for all real numbers x.
In essence, the greatest integer function rounds down a real number to the nearest integer. For example: [2] = 2;    [1.5] = 1;   [-3.1] = -4;   [-6.9] = -7

Greatest Integer Function: step1
Features - the Greatest Integer Function:
• the intervals on the greatest integer function can be expressed as [n, n+1). The value of the function on these intervals will be n. The function is constant in each interval.

you may see some texts using the notation y = [[x]] (double brackets).

• it may also be referred to as the "floor" function and written as floornot.
This site will use the single bracket notation y = [x].
ti84c
For help with greatest integer functions on your calculator,
Click Here!

More examples of Step Functions:
step3
step3a
step4
piecefunction3
step5
step5a



divider

NOTE: The re-posting of materials (in part or whole) from this site to the Internet is copyright violation
and is not considered "fair use" for educators. Please read the "Terms of Use".