Answer:
Hi! A piecewise function is a function defined by multiple sub-functions, or pieces of different functions over different intervals. Piecewise definition is a way of expressing the function and is not actually integral to the function itself.
f(x) = |x - 2| is an absolute value function. As a piecewise function, it's written like this:
f(x) = {x - 2, x ≥ 2
{-x + 2, x < 2
Hope this helps! Have a great day.