# Euler–Maclaurin formula.

In the Euler–Maclaurin formula:

$$\sum_{n=a}^b \sim \int_a^b f(x)\;dx+\frac{f(a)+f(b)}{2}+\sum_{k=1}^\infty\frac{B_{2k}}{(2k)!}(f^{(2k-1)}(b)-f^{(2k-1)}(a))$$

can I neglet the series with Bernoulli numbers? Thanks, Anna.

• i.e. can I: $\int_{a}^{b}f(x)dx+\frac{f(a)+f(b)}{2}+\sum_{k=1}^{\infty}\frac{B_{2k}}{(2k)!}(f^{(2k-1)}(b)-f^{(2k-1)}(a))\sim \int_{a}^{b}f(x)dx+\frac{f(a)+f(b)}{2}$?
– Anna
Feb 29 '12 at 11:06
• Unless you give us more information about the shape of (the derivatives of) $f$ that's impossible to answer.
– TMM
Feb 29 '12 at 11:32

Let $f(x)=e^x$. Then $$\sum_0^ne^m=(e^{n+1}-1)/(e-1)$$ is asymptotic to $Ce^n$ with $C=e/(e-1)$, $$\int_0^ne^x\,dx+(1/2)(e^0+e^n)=e^n-1+(1/2)e^n+(1/2)$$ is asymptotic to $(3/2)e^n$. $C\ne3/2$, so the sum on the left is not necessarily asymptotic to the first two terms on the right.