Show that this holds for all c>0
$\frac{\pi}{2\sqrt{c}} \le \sum_{n=0}^{\infty} \frac{1}{n^2 + c} \le \frac{\pi}{2\sqrt{c}} + \frac{1}{c}$
I'd really appreciate it if some can tell me if my proof is valid (I checked the answer and they did it in a much complicated way so I felt this might be incorrect even if it feels like it proves something). Anyways here is my take on it:
The first thing I wanna do is use Cauchy's integral test to see if the sum converges. I still don't fully understand why I picked 0 as a lower bound for the integral (I did it because of the sum starts $a_0$, but I'd appreciate if someone explained it for me assuming I'm even correct).
$\int_{0}^{\infty} \frac{1}{(\frac{x}{\sqrt{c}})^2+1}dx = \lim_{R \to \infty}[\frac{arctan(\frac{x}{\sqrt{c}})}{\sqrt{c}}]_{0}^{R} = \lim_{R \to \infty} \frac{arctan(\frac{R}{\sqrt{c}})}{\sqrt{c}} - \frac{arctan(\frac{0}{\sqrt{c}})}{\sqrt{c}} = \frac{\pi}{2\sqrt{c}}$.
Now I know the integral converges and to $\frac{\pi}{2\sqrt{c}}$
According to Cauchy's integral test, the sum and the integral will converge the same way as n goes to infinity, so I assumed I can now compare the bounds in the question with this.
$\frac{\pi}{2\sqrt{c}} \le \sum_{n=0}^{\infty} \frac{1}{n^2 + c} = \frac{\pi}{2\sqrt{c}} \le \frac{\pi}{2\sqrt{c}} + \frac{1}{c}$
So finally, is this an okay proof? Did I assume too much without proving? Is this even correct?
Define for $c > 0$ the function $f_c(x) = (x^2+c)^{-1}$ and let $$S(c) = \sum_{n=0}^\infty f_c(n). \tag{1}$$ Then since $f_c$ is a strictly decreasing function on $x \in [0,\infty)$, it follows that $$S(c) = \int_{x=0}^\infty f_c(\left\lfloor x \right\rfloor ) \, dx \ge \int_{x=0}^\infty f_c(x) \, dx. \tag{2}$$ We can call $(2)$ the inequality arising from left endpoint discretization of $f_c$. Similarly, $$S(c) - \frac{1}{c} = \sum_{n=1}^\infty f_c(n) = \int_{x=0}^\infty f_c(\left\lceil x \right\rceil) \, dx \le \int_{x=0}^\infty f_c(x) \, dx, \tag{3}$$ which is the corresponding right endpoint discretization. The two inequalities combined yield the compound $$I(c) \le S(c) \le I(c) + \frac{1}{c}, \tag{4}$$ where $$\begin{align} I(c) &= \int_{x=0}^\infty \frac{dx}{x^2 + c} \\ &= \frac{1}{\sqrt{c}} \lim_{r \to \infty} \left[\arctan \frac{x}{\sqrt{c}}\right]_{x=0}^r \\ &= \frac{\pi}{2\sqrt{c}}. \tag{5} \end{align}$$ This concludes the proof.
The main conceptual difference between my proof and yours is that I explicitly use a property of $f_c$ (namely, that it is a strictly decreasing function) to establish upper and lower bounds on the sum $S_c$; you have not done this. By referring to a convergence test (Cauchy), you are not actually making a claim that indicates whether the integral is greater than or less than the sum, and that is the flaw in your proof. They may have the same convergence properties, but this can also be true for a function that is non-monotone, which would pose problems for bounding it above and below by a suitable integral expression.