What is the Operator Method for Deriving the Euler-Maclaurin Formula?

  • Context: Graduate 
  • Thread starter Thread starter DarkNess_wtc
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the operator method for deriving the Euler-Maclaurin formula, exploring various approaches to approximate sums using integrals and operator techniques. Participants engage in both theoretical and practical aspects of the formula, including specific calculations and approximations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Some participants express a desire to solve the problem without a calculator, indicating a preference for analytical methods.
  • One participant suggests approximating the sum by integrating the function \(1/\sqrt{n}\) over a specified range, leading to a calculated result of approximately 36.
  • Another participant questions the reasoning behind a specific calculation step involving the approximation of the sum by an integral.
  • Discussion includes the operator \(D\) defined as the derivative operator and the operator \(\sigma\) as a shift operator, with a detailed explanation of how these operators relate to summation and integration.
  • A participant proposes that the operator method leads to a good approximation for the sum, yielding a result of approximately 35.1977, suggesting that further derivatives could improve accuracy.
  • Another participant references the Euler-Maclaurin formula and provides an approximation involving Bernoulli numbers, leading to a different result of approximately 36.56797638 with a noted small error margin.
  • Clarifications are requested regarding the substitution of functions into the Euler-Maclaurin formula, with one participant explaining their approach to deriving the approximation step-by-step.
  • It is noted that the operator method is one of several ways to derive the Euler-Maclaurin formula, referencing a specific source for further reading.

Areas of Agreement / Disagreement

Participants express a mix of agreement on the utility of the operator method while also presenting different results and approaches to the Euler-Maclaurin formula. There is no clear consensus on the best method or the most accurate approximation.

Contextual Notes

Some participants note the dependence on specific conventions regarding Bernoulli numbers, which may lead to different formulations of the Euler-Maclaurin formula. Additionally, there are unresolved steps in the mathematical reasoning presented, particularly regarding the integration and approximation processes.

DarkNess_wtc
Messages
18
Reaction score
0
i have thought about that for serval days= =

please help



attachment.php?attachmentid=23523&stc=1&d=1265280816.jpg
 

Attachments

  • Noname.jpg
    Noname.jpg
    5.9 KB · Views: 596
Physics news on Phys.org
It is 35.565955205923352

But I can't tell you about \sum_{2}^{n} \frac{1}{\sqrt{n}}.
 
how about steps?
 
Just entered into the calculator.
 
...

i want solving it without cal
 
In what form do u want the answer.
you can approximate the sum by integral 1/sqrt(n) between 1 and 19.
notice that 19^2 is 361
that is 2(19-1) = 36
The answer is close enough
 
>that is 2(19-1) = 36

HOW come to this step?
 
\sum_{1}^{361} \frac{1}{\sqrt{n}}
is approximately equal to
\int_{1}^{361} \frac{1}{\sqrt{n}}. =2(\sqrt{a}-\sqrt{b})
=2(\sqrt{361}-\sqrt{1})
=36
 
Last edited:
Why do you think there is any answer better than 35.565955205923352 ??
 
  • #10
I don't think there's an analytical solution, but you can approximate it.
First approximation is integral,

Next approximations would involve some play with operators.

Let's define D\equiv \frac{d}{dx} as the derivative operator, and observe the operator \sigma \equiv e^{D}

Functions of operators are defined via their Taylor Series, so:

e^{D} f=\sum^{\infty}_{k=0}\frac{D^{k}f(x)}{k!}=\sum^{\infty}_{k=0}\frac{1}{k!}\frac{d^{k}f(x)}{dx^{k}}(x+1-x)^k=f(x+1)

(Notice that the last sum is the Taylor Series of f(z) around the point x)

So \sigma is some sort of a delay\shift operator.

Let's now observe the operator S defined as

F(n)=Sf=\sum^{n}_{k=1}f(k)

You can notice that \sigma Sf=\sum^{n+1}_{k=1}f(k)

So \sigma S f-Sf=f(n+1)=\sigma f

And conclude S(\sigma -1)=\sigma

And if you recall the definition of \sigma then:

S=(1-\sigma^{-1})^{-1}=\frac{1}{1-e^{-D}}

S(D-\frac{D^{2}}{2}+\frac{D^{3}}{6}-...)=1

Knowing the expansion of the exponential function, you can approximate the Taylor expansion of S. The interesting fact is that S has a simple pole at "D=0", which means that in the expansion of S you will have a negative power of D:

S=D^{-1}+...

Which means that integration (the inverse of D) is the first approximation to discrete summation.

A better approximation would be

S=D^{-1}+\frac{1}{2}+\frac{1}{4}D

Operate S on \frac{1}{\sqrt{n}}
And get:

\sum^{n}_{k=2}\frac{1}{\sqrt{k}}=\int^{n}_{k=2}\frac{dk}{\sqrt{k}}+\frac{1}{2\sqrt{n}}-\frac{1}{8n\sqrt{n}}

And after some tiresome calculation for n=361

=35.1977

Which I think is a pretty good approximation, if only to show that the operator thing is correct.
Taking further derivatives would make a better approximation.
 
  • #11
You can also use the first 5 terms of the http://planetmath.org/encyclopedia/EulerMaclaurinSummationFormula.html" (i.e. the integral, the terms involving the first derivative, and the terms involving the second derivative) to approximate the sum as follows :

<br /> S_n = \sum_{i=1}^n \frac{1}{\sqrt{i}}\approx 2\sqrt{n} +\frac{1}{2\sqrt{n}} - \frac{1}{24n\sqrt{n}} -<br /> \frac{35}{24} <br />

The result is then :

<br /> S_{361} \approx 36.56797638<br />

The error relative to the true result is about 0.0055%.
 
Last edited by a moderator:
  • #12
As stated in http://en.wikipedia.org/wiki/Bernoulli_numbers" if the first Bernoulli number is chosen according to the convention B_1 = -1/2 then the Euler–MacLaurin formula is :

<br /> \sum\limits_{a\leq k&lt;b}f(k)=\int_a^b f(x)\,dx \ + \sum\limits_{k=1}^m \frac{B_k}{k!}\left(f^{(k-1)}(b)-f^{(k-1)}(a)\right)+R(f,m). <br />

whereas if we choose the convention B_1 = 1/2, then the Euler–MacLaurin formula is :

<br /> \sum\limits_{a&lt;k\leq b} f(k)=\int_a^b f(x)\,dx + \sum\limits_{k=1}^m \frac{B_k}{k!} \left(f^{(k-1)}(b)-f^{(k-1)}(a)\right)+R(f,m). \ <br />
 
Last edited by a moderator:
  • #13
i can't understand
<br /> <br /> S_n = \sum_{i=1}^n \frac{1}{\sqrt{i}}\approx 2\sqrt{n} +\frac{1}{2\sqrt{n}} - \frac{1}{24n\sqrt{n}} -<br /> \frac{35}{24} <br /> <br />

can you explain it please?
 
  • #14
All I am doing is substituting f(n) = 1/\sqrt{n} into the Euler-Maclaurin formula. This time from Mathworld (since the formula is expanded in full), the http://mathworld.wolfram.com/Euler-MaclaurinIntegrationFormulas.html" formula can be written as :

<br /> \sum_{k=1}^{n-1}f(k)=\int_0^n f(k) dk-1/2[f(n)-f(0)]+1/(12)[f^{&#039;}(n)-f^{&#039;}(0)]-1/(720)[f^{&#039;&#039;&#039;}(n)-f^{&#039;&#039;&#039;}(0)]+1/(30240)[f^{(5)}(n)-f^{(5)}(0)]-1/(1209600)[f^{(7)}(n)-f^{(7)}(0)]+... <br />

Note that i have written 1/2[f(n)-f(0)] instead of 1/2[f(n)+f(0)]. The former is consistent with http://en.wikipedia.org/wiki/Bernoulli_number" .

Then I make the approximation :

<br /> \sum_{k=1}^{n-1}f(k)\approx \int_0^n f(k)dk-1/2[f(n)-f(0)]+1/(12)[f^{&#039;}(n)-f^{&#039;}(0)]<br />

Then I substitute f(k) = 1/\sqrt{k}, and then add f(n) to the result since the summation in the formula is up to (n-1) where as we want it up to n

All you have to do is to subsitute f(k) = 1/\sqrt{k} into the formula above, and verify my result.
 
Last edited by a moderator:

Similar threads

  • · Replies 48 ·
2
Replies
48
Views
6K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K