0% found this document useful (0 votes)
38 views

Euler

Euler's method is a simple numerical method for solving first-order differential equations. It approximates the solution at a time step h into the future by taking the initial value plus the derivative times h. This is based on a first-order Taylor expansion. The method works by calculating the derivative at the initial time, then using that and the time step h to estimate the solution h units of time into the future. This estimated value is then used as the new initial value to repeat the process iteratively.

Uploaded by

knk89
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Euler

Euler's method is a simple numerical method for solving first-order differential equations. It approximates the solution at a time step h into the future by taking the initial value plus the derivative times h. This is based on a first-order Taylor expansion. The method works by calculating the derivative at the initial time, then using that and the time step h to estimate the solution h units of time into the future. This estimated value is then used as the new initial value to repeat the process iteratively.

Uploaded by

knk89
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Euler's Me thod for First Order Differential Equations The simplest method of numerical integration is Euler's method, which

is presented now. Consider the first order differential equation:

(eq.1) Starting at some time, t o, he value of y(to +h) can then be approximated by the value of y(t o ) plus the time step multiplied by the slope of the function, which is the derivative of y(t). This is simply a first order T aylor expansion.

we will call this approximate value y*(t)

(eq. 2) So, if we can calculate the value of dy/dt at time t o (using equation 1) then we can generate an approximation for the value of y at time to +h using equation 2. We can then use this new value of y (at t o) to find dy/dt (at to ) and repeat. Although this seems circular, if properly used it can generate an approximate solution. This is referred to as Euler's method. This process is shown graphically below for a single iteration of the process.

In this diagram you can see how the time step, h, and the slope of the function, k1 , are used to generate y*(t o +h) from y(to). The basic idea is as follows. By the definition of a derivative, y_(x) = lim( f (x + h) f (x))/h h0 For small h > 0, then the above equation implies that a reasonable difference quotient approximation for y_(x) is

y_(x) = (f (x + h) f (x))/h (f (x + h) f (x))/h= F(x, y) which can be rewritten as f (x + h) = f (x) + hF(x, y) or, equivalently, as y(x + h) = y(x) + hF(x, y(x)) which enables one to approximate y(x + h) in terms of y(x) and F(x, y(x)).

Illustration of the Euler method. Fig(i)The unknown curve is in blue, and its polygonal approximation is in red. Fig(ii) Shows the deviation between the point y 1 on the actual curve and that obtained by means of Eulers Approximation.

You might also like