I am struggling to prove $$x+|x|$$ to be locally Lipschitz. Since it is not continuously differentiable - not differentiable at $x=0$ - it is hence not globally Lipschitz. But how do I proceed for the local case?
$$|f(x) - f(y)| \leq L|x-y|$$ $$\Rightarrow |x+|x|-y-|y||=...$$
$|x^2+|x| - y^2 - |y|| = |x^2-y^2+(|x|-|y|) \leq |x-y|(|x+y|+1)$, $L$ here is then $L=(|x+y|+1)$ Does this look right? – mathsnovice Mar 08 '21 at 06:06