Ans. Given,
\[f(x)=\left\{ \begin{align}
& \left| x \right|+1 \\
& 0 \\
& \left| x \right|-1 \\
\end{align} \right.\]
$\begin{align}
& x<0 \\
& x=0 \\
& x>1 \\
\end{align}$
When $a=0$
=\[\underset{x\to {{0}^{-}}}{\mathop{\lim }}\,f(x)=\underset{x\to {{0}^{-}}}{\mathop{\lim }}\,\left( \left| x \right|+1 \right)\]
=\[\underset{x\to {{0}^{-}}}{\mathop{\lim }}\,\left( -x+1 \right)\] when x is negative, $\left| x \right|=-x$
=$0+1$
=$1$
=\[\underset{x\to {{0}^{+}}}{\mathop{\lim }}\,f(x)=\underset{x\to {{0}^{+}}}{\mathop{\lim }}\,\left( \left| x \right|+1 \right)\]
=\[\underset{x\to {{0}^{-}}}{\mathop{\lim }}\,\left( x-1 \right)\] when x is positive, $\left| x \right|=x$
=$0-1$
=$-1$
Here, $\underset{x\to {{0}^{-}}}{\mathop{\lim }}\,f(x)\ne \underset{x\to {{0}^{+}}}{\mathop{\lim }}\,f(x)$
$\underset{x\to 0}{\mathop{\lim }}\,f(x)$ does not exist.
When\[\underset{x\to {{a}^{+}}}{\mathop{\lim }}\,f(x)=\underset{x\to {{a}^{+}}}{\mathop{\lim }}\,(\left| x \right|+1)\] $a<0$
\[\underset{x\to {{a}^{-}}}{\mathop{\lim }}\,f(x)=\underset{x\to {{a}^{-}}}{\mathop{\lim }}\,(\left| x \right|+1)\]
=\[\underset{x\to {{a}^{-}}}{\mathop{\lim }}\,(-x+1)\] $[x<a<0\Rightarrow \left| x \right|=-x]$
=\[-a+1\]
$\underset{x\to {{a}^{-}}}{\mathop{\lim }}\,f(x)=\underset{x\to {{a}^{+}}}{\mathop{\lim }}\,f(x)=-a+1$
Thus, limit exists at $x=a$, where \[a<0\]
When \[a>0\]
$\underset{x\to {{a}^{-}}}{\mathop{\lim }}\,f(x)=\underset{x\to {{a}^{-}}}{\mathop{\lim }}\,(\left| x \right|+1)$
=$\underset{x\to a}{\mathop{\lim }}\,(-x-1)$ $[0<x<a\Rightarrow \left| x \right|=x]$
=$-a-1$
$\underset{x\to {{a}^{+}}}{\mathop{\lim }}\,f(x)=\underset{x\to {{a}^{+}}}{\mathop{\lim }}\,(\left| x \right|+1)$
=$\underset{x\to a}{\mathop{\lim }}\,(-x-1)$ $[0<x<a\Rightarrow \left| x \right|=x]$
=$a-1$
$\underset{x\to {{a}^{-}}}{\mathop{\lim }}\,f(x)=\underset{x\to {{a}^{+}}}{\mathop{\lim }}\,f(x)=a-1$
Thus, limit exists at $x=a$, where \[a>0\]
Thus $\underset{x\to a}{\mathop{\lim }}\,f(x)$ exists for all $a\ne 0$$\underset{x\to 1}{\mathop{\lim }}\,\frac{f(x)-2}{{{x}^{2}}-1}=\pi $.