Limits: rate of convergence of Euler

Click For Summary
SUMMARY

The forum discussion focuses on proving that the rate of convergence for Euler's method in solving the differential equation y' = y is comparable to 1/n. This is established by evaluating the limit lim_{n\rightarrow infinity} \frac{e-(1+\frac{1}{n})^n}{1/n} using L'Hopital's Rule and the Maclaurin expansion for ln(1+t). The final result indicates that the limit approaches e/2, confirming the expected convergence rate. The discussion highlights the effectiveness of series expansions over repeated applications of L'Hopital's Rule in this context.

PREREQUISITES
  • Understanding of Euler's method for numerical solutions of differential equations
  • Familiarity with L'Hopital's Rule for evaluating limits
  • Knowledge of Maclaurin series expansions, particularly for ln(1+t)
  • Basic calculus concepts, including differentiation and limits
NEXT STEPS
  • Study the application of L'Hopital's Rule in various limit problems
  • Explore the Maclaurin series expansion for other functions
  • Learn about the error analysis in numerical methods, focusing on Euler's method
  • Investigate alternative numerical methods for solving differential equations, such as Runge-Kutta methods
USEFUL FOR

Students and educators in mathematics, particularly those studying numerical analysis and differential equations, as well as researchers interested in the convergence properties of numerical methods.

Knissp
Messages
72
Reaction score
0

Homework Statement


Prove that the rate of convergence for Euler's method (in solving the problem y'=y) is comparable to 1/n by showing that [tex]lim_{n\rightarrow infinity} \frac{e-(1+\frac{1}{n})^n}{1/n}[/tex].


Homework Equations


Hint: Use L'Hopital's Rule
If lim x-> infinity f(x)/g(x) is in indeterminate form, then it can be evaluated as lim x-> infinity f'(x)/g'(x).
Hint: Use Maclaurin expansion for ln(1+t).
ln(1+t) = t - t^2/2 + t^3/3 - t^4/4 + t^5/5 ...


The Attempt at a Solution



L'Hopital's Rule:
Differentiating gives
[tex]lim_{n\rightarrow infinity} \frac{\frac{1}{n+1} - ln(1 + \frac{1}{n})(\frac{n+1}{n})^n}{-1/n^2}[/tex]

[tex]ln (1+1/n) = 1/n - 1/(2n^2) + 1/(3n^3) - 1/(4n^4) + 1/(5n^5) ...[/tex]

Not sure where to go from here. When I plug in the series, what can I do? I tried multiplying the fraction by [tex]\frac{-n^2}{-n^2}[/tex] but I don't think that gets me anywhere. I could apply L'Hopital again, but that seems like a monstrous function to differentiate. Any ideas?
 
Physics news on Phys.org
I would say don't use l'Hopital if you are going to use series expansions anyway. (1+1/n)^n=exp(n*ln(1+1/n)). Use the series expansion on n*ln(1+1/n). Only keep 2 terms. Factor out the e. Now series expand exp. Only keep the terms that are going lead to terms with a power of n less than two.
 
Great! that works out to e/2. Thanks for the help! I wonder why they hinted at L'hopital though.
 

Similar threads

Replies
17
Views
3K
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K