Calculate summation of square roots

4.6k Views Asked by At

Calculate summation of square roots i.e $$\sum_{i=1}^N\sqrt{i}$$

I tried to search for its formula on the net but I couldn't find any of its sources.

2

There are 2 best solutions below

0
On BEST ANSWER

As I said in a comment $$\sum_{i=1}^N \sqrt i=H_N^{\left(-\frac{1}{2}\right)}$$ where $H$ represents a generalized harmonic number.

For large values of $N$, the following approximation is quite interesting and extremely accurate $$\sum_{i=1}^N \sqrt i=\frac{2 N^{3/2}}{3}+\frac{\sqrt{N}}{2}+\zeta \left(-\frac{1}{2}\right)+\frac{\sqrt{\frac{1}{N}}}{24}+O\left(\left(\frac{1}{N} \right)^2\right)$$ and very accurate; for example, for $N=10$, the value is $22.46827819$ while the truncated approximation lead to $22.46827983$; for even $N=2$, the value is $2.414213562$ for an approximation of $2.414301422$

1
On

How to calculate them accurately for large numbers?

$$\frac23N\sqrt{N}\leqslant\sum_{i=1}^N\sqrt{i}\leqslant\frac23(N+1)\sqrt{N+1}-\frac23$$ Both bounds are $$\frac23N\sqrt{N}+O(\sqrt{N}).$$