June 26, 2019
Absolute value functions become piecewise functions by following these steps:
Make the function equal to zero, without the absolute value and calculate their roots.
Form intervals with the roots and evaluate the sign of each interval.
Define the piecewise function, taking into account that the sign needs to be changed in the intervals where x is negative.
Graph the resulting function.