Problem:In the mapping $T:\mathbb{R} \rightarrow \mathbb{R}$ defined by $Tx=\begin{cases} x-\frac{1}{2}e^x & \forall x \leq 0 \\ -1/2+1/2x & \forall x>0 \end{cases}$ a contraction?
Definition: A mapping f from a subset A of a normed space E into E is a contraction mapping if there exists a positive number $\alpha<1$ such that $\Vert f(x)-f(y) \Vert \leq \alpha \Vert x-y \Vert \forall x,y \in A$.
Example: Let $f(x)=x+e^{-x}$ as a mapping from $\mathbb{R}^+$ into $\mathbb{R}^+$. For $x,y \in \mathbb{R}^+$, by mean value theorem, $|f(x)-f(y)|<|x-y|$, since $|f'(\xi)|<1$ for all $\xi \in \mathbb{R}^+$. f is not a contraction, since there is no $\alpha<1$ such that $|f(x)-f(y)| \leq \alpha |x-y| \forall x,y \in \mathbb{R}^+$. f does not have a fixed point.
Discussion:This is a piecewise function,so mean value theorem cannot apply here. The traditional method does not work. Cannot make further observations here, so may someone please provide more insights on this problem, thanks!
Update: From @Sven Pistre, For Case 3, by inequality $e^x \geq x+1$ and set $x<0<y$, it's a smooth function, apply mean value theorem, I get $\Vert T(x)-T(y) \Vert= \Vert -1/2+1/2y-x+1/2e^x \Vert \geq 1/2 \Vert (x-y) \Vert$. To show not a contraction, I believe must show $ > \Vert x-y \Vert$. Still unable to figure out. Thanks for any help.