I am trying to calculate a sum of square roots $\sum\limits_{i=1}^n \sqrt{a + i}$ and after some struggling and googling I gave up on this. Is there any way to get a closed formula for this sum (actually even approximation with epsilon $10^{-4}$ would suffice)
2026-04-24 17:35:50.1777052150
Is there any way to approximate a sum of square roots
3.4k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
It depends on how large $n$ is. You could approximate it by:
The green area is the sum exactly. The red line is the graph of $\sqrt{x + a}$. The Blue line is the graph of $\sqrt{x + a + 1}$ (both for a = 0 for simplicity of graphing). By comparing the areas, you can see:
$$\underbrace{\int_{i=0}^{n} \sqrt{a+i} ~d i}_\text{Lower Bound} < \sum_{i=1}^n \sqrt{a + i} < \underbrace{\int_{i=0}^n \sqrt{a + i + 1} ~d i}_\text{Upper Bound}$$ So: $$\text{Lower Bound} = L = \frac {(2n + 2a)\sqrt{a + n} - (2a)\sqrt{a}}{3} $$ $$\text{Upper Bound} = U = \frac {(2n + 2a + 2)\sqrt{a + n + 1} - (2a + 2)\sqrt{a + 1}}{3}$$ $$\sum_{i=1}^n \sqrt{a + i} \approx \text{Average} = \frac{U + L}2$$
For example, with $N=10^8$ and $A = 10$, it gives:
With $1 - \frac{\text{Average}}{\text{Actual}} = 9.3 \times 10^{-13}$
The larger your numbers, the more accurate the approximation will be, since the difference $\sqrt{a + i} - \sqrt{a + i - 1}$ is decreasing.