Processing math: 100%
Google
 
Web unafbapune.blogspot.com

Thursday, January 02, 2014

 

Euler-Maclaurin Summation

A classic formula for estimating sums via integrals. Suppose f is a function defined on [1,) whose derivatives exist and are absolutely integrable. Then
  1kNf(k)=N1f(x)dx+12f(N)+Cf+112f(N)1720f(3)(N)+!
Examples:
  HN=N11xdx+121N+γ1121N2+O(1N4)=lnN+12N+γ112N2+O(1N4)
  lnN!=lnN+ln(N1)+=N1lnxdx+12lnN+12ln2π+112N+O(1N3)=NlnNN+ln2πN+112N+O(1N3)Stirling's approximation=(N+12)lnNN+ln2π+O(1N)

Source: Analysis of Algorithm


Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?