Can limit come into modulus of a given function?

544 Views Asked by At

Given an extended real valued function $f:R\to \overline{R}$

Is the following true?

$$ \lim_{x \to a} |f(x)| = |\lim_{x \to a}f(x)| $$

2

There are 2 best solutions below

0
On BEST ANSWER

Suppose that $f(x) = 1$ for $x \le a$ and $f(x) = -1$ for $x > a$. Then, $\lim_{x \to a} |f(x)| = 1$, but $|\lim_{x \to a} f(x)|$ does not exist since the left end right limits differ, i.e. $$\lim_{x \to a^-} f(x) = 1 \neq -1 = \lim_{x \to a^+} f(x).$$ The claim is true if $\lim_{x \to a} f(x)$ exists.

1
On

Sometimes the left can exist even if the right does not. Consider the function that is $-1$ at rational numbers and $1$ at irrational numbers.