To draw a piecewise function you plot each piece only on its own interval, paying attention to the junction points.
Example — Construction
Domain: all of (the three pieces cover ). Pieces: line, parabola, constant. At the junction points and the pieces have the same height ( and respectively): the function is continuous on all of .
Graph of : the linear piece for , the arc of parabola for and the constant for join up without jumps.
Links
Topics: Functions and properties
Concepts: Continuity · Piecewise function
Skills: Plotting a graph