This is what I have:
$\lim_{x \to 0} x \cdot |x|=0$
And I know: $$|x|=\begin{cases}x,&\text{if }|x|\ge 0\\-x,&\text{if }x <0\;.\end{cases}$$ Case 1:
$\lim_{x \to 0^+}=0$ $(0 < |x - 0| < \delta \Rightarrow |x-0|< \epsilon)$ since: $o < x-0< \epsilon \Rightarrow \fbox{$\delta=\epsilon$}$
So:
$\forall \epsilon > 0, \delta =\epsilon, 0<|x-0|< \delta \Rightarrow |f(x) - 0| < \epsilon $
Case 2: $\lim_{x \to 0^-} x \cdot |x|=0$
And I know: $\lim_{x \to 0^+}=0$ $(0 < |x - 0| < \delta \Rightarrow |-x-0|< \epsilon)$
And I'm assuming that (because adding or substracting zero is no relevant):
$(x+0 \Leftrightarrow -(x-0))$
And for absolute value property: $0 < |x-0| < \epsilon$ So: $\fbox{$\delta = \epsilon$}$
With this I know the limit is the same, now I do the same with $\lim {x \to 0} x =$ $(0 < |x - 0| < \delta \Rightarrow |x-0|< \epsilon)$ With this I know : So: $\fbox{$\delta = \epsilon$}$
This is by far the hardest in my book, doesnt contain the solution. Am I on the right track?
To start with, let's ignore any value of $x \ge 1$. We only need to consider function values close to $0$, so for our intents and purposes, $f(x) = |x|$. The only thing we need to be careful of is ensuring that $\delta \le 1$. That way, if $0 < |x - 0| < \delta$, then $|x| < 1 \implies x < 1$, and so $f(x) = |x|$ for all the $x$ we have to worry about.
So, we are showing $\lim_{x \to 0} x|x| = 0$. We have $|x|x| - 0| = |x|^2$, and this is less than $\varepsilon$ if and only if $|x| < \sqrt{\varepsilon}$. Thus, we can take $\delta = \min\{\sqrt{\varepsilon}, 1\}$, to ensure that $\delta \le 1$ as we needed above. We get, \begin{align*} 0 < |x - 0| < \min\{\sqrt{\varepsilon}, 1\} &\implies |x| < \sqrt{\varepsilon} \text{ and }|x| < 1 \\ &\implies |x|^2 < \varepsilon \text{ and } x < 1 \\ &\implies |x|x| - 0| < \varepsilon \text{ and } f(x) = |x| \\ &\implies |xf(x) - 0| < \varepsilon, \end{align*} completing the proof.