Given $h(x)=\frac{1}{1+x^2}$, prove that $h:\mathbb{R}\rightarrow\mathbb{R}$ satisifies the $\varepsilon$-$\delta$ criterion on $\mathbb{R}$.
So I have a rather difficult time with these $\varepsilon$-$\delta$ arguments. I understand the basic understanding but finishing out the arguments continues to elude me. This is what I have so far.
Let $\epsilon>0$ be given and let $x_0$ be an arbitrary point in $\mathbb{R}$. Consider all $x\in\mathbb{R}$ such that $|x-x_0|<\delta$ for some $\delta>0$. Then $$|f(x)-f(x_0)|= \left|\frac{1}{1+x^2}-\frac{1}{1+x_0^2}\right|=\left|\frac{x^2-x_0^2}{(1+x^2)(1+x_0^2)}\right|=\frac{|x-x_0||x+x_0|}{|1+x^2||1+x_0^2|}.$$
First I realized that I skipped some of the algebra. I did so simply to save space. Now I have $\delta$ control over the $|x-x_0|$ term in the numberator and since $x\in(x_0-\delta,x_0+\delta)$ I should be able to bound the other three terms but I have a rather difficult time working out what those bounds and and stating things precisely.
Correct me if wrong:
$|f(x)-f(x_0)|= \dfrac{|x-x_0||x+x_0|}{|1+x^2||1+x_0^2|} $
$\le |x-x_0||x+x_0| =$
$|x-x_0||(x-x_0)+2x_0|\le$
$|x_-x_0|(|x-x_0| +|2x_0|).$
Choose $\delta \lt \min (1, \dfrac{\epsilon}{1+2|x_0|})$
Then $|x-x_0| \lt \delta$ implies
$|f(x)-f(x_0)| \le$
$ |x-x_0|(|x-x_0| +2|x_0|) \lt$
$\delta (1+2|x_0|) \lt \epsilon.$