How would I calculate the limit
$$\lim_{x \to 1} \frac{|x^2-1|}{x-1}?$$
I really have no idea.
I know that $$|x^2 - 1| = \begin{cases} x^2 - 1 & \text{if $x \leq -1$ or $x \geq 1$}\\ 1 - x^2 & \text{if $-1 < x < 1$} \end{cases} $$
but beyond this I am confused. Thanks in advance!
You got to half of the solution yourself. As you know,
Also to know the value of a limit, first we decide whether it exists or not. For that we must be sure that
$\lim_{x\to a^{+}}$ = $\lim_{x\to a^{-}}$
So we check the above statement:
$$ \lim_{x\to 1^{+}}\frac{|x^{2}-1|}{x-1}=\lim_{x\to 1^{+}}\frac{(x-1)(x+1)}{x-1}==\lim_{x\to1^{+}}(x+1)=2 $$
and
$$ \lim_{x\to 1^{-}}\frac{|x^{2}-1|}{x-1}=\lim_{x\to 1^{-}}\frac{(1-x)(1+x)}{x-1}=\lim_{x\to 1^{-}}-(x+1)=-2. $$
Since those two limits are not equal, the limit
$$\lim_{x \to 1} \frac{|x^2-1|}{x-1}$$
doesn't exist.