Consider the function f(x)=∣x∣+x.
a. (i) Rewrite f explicitly as a piecewise function without the absolute-value symbol.
b. (ii) Obtain the derivative of f on each interval of definition.
c. (iii) List all critical points of f.
d. (iv) Determine and classify each local extremum of f, stating the corresponding function values.