Euler methond and the improved Euler method

Click For Summary

Discussion Overview

The discussion revolves around the Euler method and the improved Euler method, focusing on their definitions, applications, and potential confusions encountered by users. Participants explore the mathematical foundations and practical implementations of these numerical methods for solving differential equations.

Discussion Character

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

Main Points Raised

  • One participant expresses confusion about the Euler and improved Euler methods, seeking a simpler explanation of their usage.
  • Another participant provides a link to a tutorial, suggesting that more specific questions may be needed for further assistance.
  • A participant explains the Euler method as finding the slope of the tangent line at a point and using it to approximate the function over a small interval.
  • The same participant describes the improved Euler method as addressing the inaccuracies of the Euler method by averaging slopes from two points to provide a better approximation.
  • Another participant notes that the Euler method can be viewed as a first-order Taylor expansion and discusses a second-order approximation using the chain rule.
  • A later reply mentions that the improved Euler method is also known as the Heun method and warns of the existence of another method called the Modified Euler Method.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best way to explain or understand the methods, and there are multiple competing views regarding their definitions and applications.

Contextual Notes

Some participants reference specific mathematical formulations and concepts, which may depend on prior knowledge of differential equations and numerical methods. There is also mention of different terminologies that may lead to confusion.

Who May Find This Useful

This discussion may be useful for students or individuals seeking clarification on the Euler and improved Euler methods, particularly those who are encountering difficulties in understanding or applying these numerical techniques.

nkk2008
Messages
32
Reaction score
0
I am confused by both of these. I get what it does, and how it does it, but when using it, somehow I ultimately screw up.

Could someone just post a quick description of what to do in conversational English, please? I am pretty sure that would solve this random mental block I have.

Thanks,
Nkk
 
Physics news on Phys.org
Euler method: The differential equation, dy/dx= f(x,y) tells you how to find the slope of the tangent line to y= y(x) at each point. Starting at, say, [itex](x_0,y_0)[/itex], calculate dy/dx and draw the tangent line, [itex]y= f'(x_0,y_0)(x- x_0)+ y_0[/itex].

That will approximate the graph of y= y(x) for a short distance. So follow that tangent from [itex](x_0,y_0)[/itex] a short distance to [itex](x_0+ h, f'(x_0,y_0)h+ y_0)[/itex]. Now, using that point as "[itex](x_0,y_0)[/itex]" do it again.

Improved Euler's method: The Euler's method isn't exact because the tangent line is only approximate to the actual curve. And there is a "double" problem. Following the tangent line not only gives an point that is a little off, you will be calculating the next slope at the wrong place! Suppose [math]f'(x_0,y_0)[/math] is positive but decreasing. Following the tangent line not only gives an point that is a little too high (you didn't follow the downard curve of the graph), you will be calculating the next slope at the wrong place! One way to allow for that is to
1) Find [itex]f(x_0,y_0)[/itex] to find the slope and follow the tangent line to [itex](x_1,y_1)[/itex]
2) Find [itex]f(x_1,y_1)[/itex] to approximate the slope of the tangent line at the new point.
3) Use the average of those two slopes as the slope of your tangent line rather than the original.
 
Euler method is a Taylor expansion of first order (linear approximation) of the solution at every point.
You can try using the chain rule to make a second order approximation to the function:

[tex]y^{'}=f(x,y)[/tex]
[tex] y^{''}=f_{x}(x,y)+f_{y}(x,y)y'=f_{x}(x,y)+f_{y}(x,y)f(x,y)[/tex]

So at point [tex](x_{0},y_{0})[/tex] the next point [tex](x_{0}+h,y)[/tex] will satisfy
[tex]y=y_{0}+f(x_{0},y_{0})h +[f_{x}(x_{0},y_{0})+f_{y}(x_{0},y_{0})f(x_{0},y_{0})]\frac{h^{2}}{2}[/tex]
 
Just saw in one textbook. Improved Euler method is also known as Heun method. It is a kind of predictor-corrector method.

Beware! There is another method called Modified Euler Method.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K