I try to derive Stirling's approximation from Euler-Maclaurin formula with form: $$\sum_{x=m}^nf(x)=\int_m^n{f(x)dx}+\frac{f(n)+f(m)}{2}+\sum_{k=2}^p{\frac{(-1)^kB_k}{k!}[f^{(k-1)}(n)-f^{(k-1)}(m)]+\frac{(-1)^{p-1}}{p!}\int_m^n{f^{(p)}(x)P_p(x)dx}}$$ $P_p(x)$ is periodic Bernoulli functions, $B_k$ is Bernoulli number,when $f(x)=\ln(x)$ and $m=1$,get: $$ \sum_{x=1}^n\ln(x)=\int_1^n{\ln(x)dx}+\frac{\ln(n)+\ln(1)}{2}+\sum_{k=2}^p{\frac{(-1)^kB_k}{k!}[\ln^{(k-1)}(n)-\ln^{(k-1)}(1)]+\frac{(-1)^{p-1}}{p!}\int_1^n{f^{(p)}(x)P_p(x)dx}} \\ =n\ln(n)-n+1+\frac{\ln(n)}{2}+\sum_{k=2}^p{\frac{(-1)^kB_k}{k!}\ln^{(k-1)}(n)+\frac{(-1)^{p-1}}{p!}\int_1^n{f^{(p)}(x)P_p(x)dx}} \\ =n\ln(n)-n+1+\frac{\ln(n)}{2}+\sum_{k=2}^p{\frac{(-1)^kB_k}{k!}{\frac{(-1)^{k-1}(k-2)!}{n^{k-1}}}+\frac{(-1)^{p-1}}{p!}\int_1^n{f^{(p)}(x)P_p(x)dx}} \\ =n\ln(n)-n+1+\frac{\ln(n)}{2}+\sum_{k=2}^p{\frac{(-1)^kB_k}{k(k-1)n^{k-1}}+\frac{(-1)^{p-1}}{p!}\int_1^n{f^{(p)}(x)P_p(x)dx}} \\ $$ so that: $$\ln(n!)-\frac{\ln(n)}{2}=\sum_{x=1}^n\ln(x)-\frac{\ln(n)}{2}\\=n\ln(n)-n+1+\sum_{k=2}^p{\frac{(-1)^kB_k}{k(k-1)n^{k-1}}+\frac{(-1)^{p-1}}{p!}\int_1^n{f^{(p)}(x)P_p(x)dx}} $$ but on [wikipedia]:https://en.wikipedia.org/wiki/Stirling%27s_approximation the form is : $$\ln(n!)-\frac{\ln(n)}{2}=n\ln(n)-n+1+\sum_{k=2}^p{\frac{(-1)^kB_k}{k(k-1)}\left(\frac{1}{n^{k-1}}-1\right)+R_{m,n}} $$ Where am I wrong?And what is the actual formula of $R_{m,n}$
2025-01-12 23:54:52.1736726092
Stirling's approximation from Euler-Maclaurin formula
1k Views Asked by NFDream https://math.techqa.club/user/nfdream/detail At
1
There are 1 best solutions below
Related Questions in CALCULUS
- Derivative of Lambert W function.
- how to use epsilion-delta limit definition to answer the following question?
- Finding the equation of a Normal line
- How to Integrate the Differential Equation for the Pendulum Problem
- Help in finding error in derivative quotient rule
- How to solve the following parabolic pde?
- Finding inflection point
- How to find the absolute maximum of $f(x) = (\sin 2\theta)^2 (1+\cos 2\theta)$ for $0 \le \theta \le \frac{\pi}2$?
- Utility Maximization with a transformed min function
- Interpreting function notation?
Related Questions in SEQUENCES-AND-SERIES
- Series to infinity
- Proving whether the limit of a sequence will always converge to 0?
- How come pi is in this question?
- finding limit equation of a convergent sequence (vn) in math exercise
- Convergence of difference of series
- Proof using triangle inequality
- sum of digits = sum of factors
- My incorrect approach solving this limit. What am I missing?
- Using the Monotone Convergence Theorem to prove convergence of a recursively defined sequence.
- Difference of Riemann sums
Related Questions in POLYNOMIALS
- Relations among these polynomials
- If $f,g$ are non-zero polynomials and $f$ divides $g$, then $\partial f \leq \partial g$.
- If $z^5-32$ can be factorised into linear and quadratic factors over real coefficients as $(z^5-32)=(z-2)(z^2-pz+4)(z^2-qz+4)$,then find $p^2+2p.$
- All roots of the equation $a_0z^n+a_1z^{n-1}+.....+a_{n-1}z+a_n=n$,lie outside the circle with center at the origin and radius $\frac{n-1}{n}$.
- If the biquadratic $x^4+ax^3+bx^2+cx+d=0(a,b,c,d\in R)$ has $4$ non real roots,two with sum $3+4i$ and the other two with product $13+i$
- Pairwise Coprime Polynomials
- Surjective ring homomorphism from polynomial to complex numbers
- Fast polynomial division algorithm over finite field
- Find the polynomial of the fifth degree with real coefficients such that...
- Question about Polynomial and finding a model between two equation?
Related Questions in EULER-MACLAURIN
- Is there a good way to compute this integral?
- How to find the sum: $ \sum_{i = 0}^n i^{1/5} $
- Use the Euler–Maclaurin formula to find $P_{k+1}$ where $P_{k+1}(n)=\sum_{j=1}^n j^k$ for $2\le k \le 10$
- Reindexing Exponential Generating Function
- developing to maclaurin Series $f(x)=\frac{2x+3}{x^2 -4x+5}$ on $x=2$
- Maclaurin polynomial of order 3? Order vs. Degree
- 10th derivative by MacLaurin
- Absolute value of a Maclaurin series
- Do Taylor series model their functions to 100% accuracy?
- A way to approximate or reexpress the Bernoulli number containing sum in the Euler-Maclaurin approximation of the Riemann-zeta function?
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Refuting the Anti-Cantor Cranks
- Find $E[XY|Y+Z=1 ]$
- 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?
- What are the Implications of having VΩ as a model for a theory?
- How do we know that the number $1$ is not equal to the number $-1$?
- Defining a Galois Field based on primitive element versus polynomial?
- Is computer science a branch of mathematics?
- Can't find the relationship between two columns of numbers. Please Help
- 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
- A community project: prove (or disprove) that $\sum_{n\geq 1}\frac{\sin(2^n)}{n}$ is convergent
- Alternative way of expressing a quantied statement with "Some"
Popular # Hahtags
real-analysis
calculus
linear-algebra
probability
abstract-algebra
integration
sequences-and-series
combinatorics
general-topology
matrices
functional-analysis
complex-analysis
geometry
group-theory
algebra-precalculus
probability-theory
ordinary-differential-equations
limits
analysis
number-theory
measure-theory
elementary-number-theory
statistics
multivariable-calculus
functions
derivatives
discrete-mathematics
differential-geometry
inequality
trigonometry
Popular Questions
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- 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)$?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- How to find mean and median from histogram
- Difference between "≈", "≃", and "≅"
- Easy way of memorizing values of sine, cosine, and tangent
- How to calculate the intersection of two planes?
- What does "∈" mean?
- If you roll a fair six sided die twice, what's the probability that you get the same number both times?
- Probability of getting exactly 2 heads in 3 coins tossed with order not important?
- Fourier transform for dummies
- Limit of $(1+ x/n)^n$ when $n$ tends to infinity
You just sort of dropped that $\ln^{(k-1)}(1)$ term up there, and although $\ln(1)=0$, its derivatives aren't, and that's where wikipedia got $\left(\frac1{n^{k-1}}-1\right)$ vs. your $\frac1{n^{k-1}}$. It doesn't really matter though, because that term could have been $42$ for all that wikipedia did with it in the next line or so when they used the Wallis product to estimate that all the constant stuff amounted to $\frac12\ln(2\pi)$.