Minimize the following scalar function: $f(x)={\frac 1 2}(x-b)^2+\lambda|x|$ where $b$ and $\lambda \ge 0$ are given real parameters.
I need to show that the function is convex and find the unique minimizer $x^* = x^*(b; \lambda)$.
I figured the second derivative is 1 ($x \ne 0$), showing $f$ is convex. Am I correct in this?
$f' = x - b + \lambda{\frac x {|x|}}$. I am not sure how to solve this for $f' = 0$.