I read that Euler used the summation formula to calculate the value of the series $\sum_{k =1}^{\infty} \frac{1}{k^2}$ to high precision without too much hassle. The article Dances between continuous and discrete: Euler’s summation formula goes into the calculation, however without too much justification of why it works (especially since the series used to calculate the limit does not converge and one has to truncate it at a certain point). I would be glad if someone could elaborate from a more modern viewpoint on how and why it works.
2026-03-25 12:23:49.1774441429
Compute $\sum \frac{1}{k^2}$ using Euler-Maclaurin formula
2.7k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in REAL-ANALYSIS
- how is my proof on equinumerous sets
- Finding radius of convergence $\sum _{n=0}^{}(2+(-1)^n)^nz^n$
- Optimization - If the sum of objective functions are similar, will sum of argmax's be similar
- On sufficient condition for pre-compactness "in measure"(i.e. in Young measure space)
- Justify an approximation of $\sum_{n=1}^\infty G_n/\binom{\frac{n}{2}+\frac{1}{2}}{\frac{n}{2}}$, where $G_n$ denotes the Gregory coefficients
- Calculating the radius of convergence for $\sum _{n=1}^{\infty}\frac{\left(\sqrt{ n^2+n}-\sqrt{n^2+1}\right)^n}{n^2}z^n$
- Is this relating to continuous functions conjecture correct?
- What are the functions satisfying $f\left(2\sum_{i=0}^{\infty}\frac{a_i}{3^i}\right)=\sum_{i=0}^{\infty}\frac{a_i}{2^i}$
- Absolutely continuous functions are dense in $L^1$
- A particular exercise on convergence of recursive sequence
Related Questions in SEQUENCES-AND-SERIES
- How to show that $k < m_1+2$?
- Justify an approximation of $\sum_{n=1}^\infty G_n/\binom{\frac{n}{2}+\frac{1}{2}}{\frac{n}{2}}$, where $G_n$ denotes the Gregory coefficients
- Negative Countdown
- Calculating the radius of convergence for $\sum _{n=1}^{\infty}\frac{\left(\sqrt{ n^2+n}-\sqrt{n^2+1}\right)^n}{n^2}z^n$
- Show that the sequence is bounded below 3
- A particular exercise on convergence of recursive sequence
- Proving whether function-series $f_n(x) = \frac{(-1)^nx}n$
- Powers of a simple matrix and Catalan numbers
- Convergence of a rational sequence to a irrational limit
- studying the convergence of a series:
Related Questions in EULER-MACLAURIN
- How to find value of arctan using Maclaurin
- 6th Degree Polynomial and Chebyshev minmax
- How to integrate the "fractional part"/sawtooth function?
- Maclaurin polynomial error bounds
- the remainder of Maclaurin Series
- Bounds for Periodic Bernoulli Polynomials via Fourier Series
- Numerical integration of sharply peaking function: $\int_0^{1000} \exp(1000\sin(x)/x)\,{\rm d}x $
- Using the Euler-Maclaurin formula to approximate Euler's constant, $\gamma := \lim_{n\to\infty}\left(-\ln n+\sum_{k=0}^n\frac1n\right)$
- Are the partial sums for $\sum_{n=1}^{\infty}\sin(n^a)$ bounded for $a\geq1$ and unbounded for $0<a<1$?
- Integral involving the fractional part function
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
First, it can be shown, in many ways, that $$ \sum_{k=1}^\infty\frac1{k^2}=\frac{\pi^2}{6}\tag{1} $$ However, the Euler-Maclaurin Summation Formula can be used to numerically sum this series to high precision. Before we attempt to do this, let's discuss a bit about asymptotic series.
In general, asymptotic series, like those arising from the Euler-Maclaurin Summation Formula (EMSF), are divergent. This means that if you tried to sum all the terms arising from the formula, the sum would not converge. For example, the EMSF gives the following asymptotic expansion: $$ \sum_{k=1}^n\frac1k\sim\gamma+\log(n)+\frac1{2n}-\frac1{12n^2}+\frac1{120n^4}-\frac1{252n^6}+\frac1{240n^8}-\frac1{132n^{10}}+\dots\tag{2} $$ where $\gamma=0.5772156649015328606065121$ is the Euler-Mascheroni constant.
This expansion looks well behaved, and it is, up to a point. However, the coefficients grow on the order of $\frac{n!}{(2\pi)^n}$; by the time that we get to the term for $n^{50}$, we have $$ \frac{19802288209643185928499101}{132n^{50}}\tag{3} $$ Due to the growth rate of the coefficients, no matter how large $n$ is, this series cannot converge.
However, if we only use a finite number of terms, the series is a very good approximation for large $n$. As mentioned earlier, the expansion behaves well, up to a point. What this means is that for a given $n$, the terms get smaller, and then, at some point, start blowing up. The point at which the term start blowing up is further along the larger $n$ is. The good part is that if we terminate the sum while the terms are still getting smaller, the approximation is usually as good as the next term.
For example, let's approximate $$ \sum_{k=1}^{1000}\frac1k=7.4854708605503449126565182\tag{4} $$ using the first $4$ terms of $(2)$: $$ \gamma+\log(1000)+\frac1{2000}-\frac1{12000000}=7.4854708605503365793271531\tag{5} $$ The result in $(5)$ is $8.333329365\times10^{-15}$ smaller than the actual value in $(4)$. The next term is $$ \frac1{120000000000000}=8.333333333\times10^{-15}\tag{6} $$
Now let's see how the EMSF can be used to approximate $(1)$
The EMSF applied to $\dfrac1{k^2}$ yields $$ \sum_{k=1}^n\frac1{k^2}\sim C-\frac1n+\frac1{2n^2}-\frac1{6n^3}+\frac1{30n^5}-\frac1{42n^7}+\frac1{30n^9}-\frac5{66n^{11}}\tag{7} $$ Note that the EMSF always has a constant that needs to be determined in some other manner. In $(2)$ it was $\gamma$, the Euler-Mascheroni constant. Here, $C$ is the sum of the series; that is, as $n\to\infty$, the left side of $(7)$ tends to the sum, and everything on the right side of $(7)$, except $C$, tends to $0$.
To compute $C$, we will use $n=100$ and truncate the series at the $n^9$ term. The error we get should be less than $\dfrac5{66n^{11}}$, which would give us almost $23$ decimals places.
For $n=100$, the sum on the left of $(7)$ is $$ \sum_{k=1}^{100}\frac1{k^2}=1.6349839001848928650771695\tag{8} $$ For $n=100$, the sum of the terms on the right of $(7)$ other than $C$ is $$ -\frac1n+\frac1{2n^2}-\frac1{6n^3}+\frac1{30n^5}-\frac1{42n^7}+\frac1{30n^9} =-0.0099501666633335713952381\tag{9} $$ Subtracting $(9)$ from $(8)$ gives $$ C\stackrel{.}{=}1.6449340668482264364724076\tag{10} $$ whereas $$ \frac{\pi^2}{6}=1.6449340668482264364724152\tag{11} $$ The value of $(10)$ is $7.6\times10^{-24}$ short of $(11)$ and $\dfrac5{66n^{11}}=7.6\times10^{-24}$.
Using a larger $n$, and possibly more terms of the series, would give more precision.