I am confused on how I would prove the following:
Prove if $\lim_{x\to a}f(x)=L$ exists, $\lim_{x\to a}|f(x)|=|L|$. Also, show there is a function where $\lim_{x\to a}|f(x)|=|L|$ but $\lim_{x\to a}f(x)$ does not exist.
I really have no idea how to prove either. Any suggestions on how to begin?
Hints: