The problem below has a limit that DNE. How do we find out whether it approaches positive or negative infinity? Hint. 
\(\displaystyle g(x) = x^{2} - 1\), if \(\displaystyle x < 0\)
\(\displaystyle g(x) = 2x + 1\), if \(\displaystyle x\) is greater than or \(\displaystyle = 0\)
Find \(\displaystyle \lim\) of \(\displaystyle g(x)\) as \(\displaystyle x \rightarrow 0\)
\(\displaystyle g(x) = (0)^{2} - 1 = -1\) Left hand limit \(\displaystyle \lim\) of \(\displaystyle g(x)\) as \(\displaystyle x \rightarrow 0-\)
\(\displaystyle g(x) = 2(0) + 1 = 1\), \(\displaystyle \lim\) of \(\displaystyle g(x)\) as \(\displaystyle x \rightarrow 0+\)
Limits don't match so \(\displaystyle \lim\) of \(\displaystyle g(x)\) as \(\displaystyle x \rightarrow 0\) DNE.