
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 " splitdefinition" functions.
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".
Notice that each "piece" of the function has a specific constraint.

Description:
Notice that the "changes" focus around the xvalues of 1 and 1.
♦ Hint: When graphing, focus on where the changes in the graph occur.
From xvalues of ∞ to 1, the graph is a straight line.
From xvalues of 1 to 1, the graph is constant.
From xvalues 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 xvalues have a plotted value.

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



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!




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:
Domain: All Reals
Range: All Reals

Domain: [5,1] U (2,5]
Range: [2,4]

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

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

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
xintercept:
intersects xaxis at
(0, 0)
unless domain is altered
yintercept:
intersects yaxis at
(0, 0)
unless domain is altered
Vertex:
the point (0,0)
unless domain is altered


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 ycoordinates of the vertex.
• If the graph opens downward, the range will be less than or equal to the ycoordinate of the vertex.
Average rate of change:
is constant on each straight line section (ray) of the graph. 

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




Absolute Value Function  Transformation Examples:
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.

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. 



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: 
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 .
This site will use the single bracket notation y = [x].


For help with greatest integer functions on your calculator,
Click Here! 




More examples of Step Functions:
NOTE: The reposting 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". 
