I have this exercise, it's about finding local maximum and local minimum (eventually. absolute maximum and absolute minimum),
$$y = e^{x} * \left | x - 1 \right |$$
I tried to find the intervals of monotonicity using first derivative test, because the inverse of Fermat's theorem can't be performed. (i.e a point of a function in which the first derivative is zero isn't necessarily a local minimum/local maximum).
Therefore I compute the derivative (of a product): $$ (f * g)' = f' * g - f * g' $$
and the first derivative becomes:
$$f'(x) = e^x * \left | x-1 \right | - e^x * sign(x-1) = e^x*(\left | x-1 \right |-sign(x-1))$$
because the sign(x-1) (i.e the first derivative of the absolute value) isn't defined in 1, the domain of the first derivative is $R-{1}$. drawing a number line, on the right hand side from zero, I chose an arbitrary point (e.g x = 2), and from the left from zero, I chose x = 0, and I found out it's always positive. so the first derivative is always positive in its domain. So, the local maximum is the point with abscissa equal to zero, and the function has no minimum and no maximum. Am I right?