language-icon Old Web
English
Sign In

Euler method

Euler's method is a numerical method to solve first order first degree differential equation with a given initial value. It is the most basic explicit method for numerical integration of ordinary differential equations and is the simplest Runge–Kutta method. The Euler method is named after Leonhard Euler, who treated it in his book Institutionum calculi integralis (published 1768–1870). Euler's method is a numerical method to solve first order first degree differential equation with a given initial value. It is the most basic explicit method for numerical integration of ordinary differential equations and is the simplest Runge–Kutta method. The Euler method is named after Leonhard Euler, who treated it in his book Institutionum calculi integralis (published 1768–1870). The Euler method is a first-order method, which means that the local error (error per step) is proportional to the square of the step size, and the global error (error at a given time) is proportional to the step size. The Euler method often serves as the basis to construct more complex methods, e.g., predictor–corrector method. Consider the problem of calculating the shape of an unknown curve which starts at a given point and satisfies a given differential equation. Here, a differential equation can be thought of as a formula by which the slope of the tangent line to the curve can be computed at any point on the curve, once the position of that point has been calculated. The idea is that while the curve is initially unknown, its starting point, which we denote by A 0 , {displaystyle A_{0},} is known (see the picture on top right). Then, from the differential equation, the slope to the curve at A 0 {displaystyle A_{0}} can be computed, and so, the tangent line. Take a small step along that tangent line up to a point A 1 . {displaystyle A_{1}.} Along this small step, the slope does not change too much, so A 1 {displaystyle A_{1}} will be close to the curve. If we pretend that A 1 {displaystyle A_{1}} is still on the curve, the same reasoning as for the point A 0 {displaystyle A_{0}} above can be used. After several steps, a polygonal curve A 0 A 1 A 2 A 3 … {displaystyle A_{0}A_{1}A_{2}A_{3}dots } is computed. In general, this curve does not diverge too far from the original unknown curve, and the error between the two curves can be made small if the step size is small enough and the interval of computation is finite: Choose a value h {displaystyle h} for the size of every step and set t n = t 0 + n h {displaystyle t_{n}=t_{0}+nh} . Now, one step of the Euler method from t n {displaystyle t_{n}} to t n + 1 = t n + h {displaystyle t_{n+1}=t_{n}+h} is: The value of y n {displaystyle y_{n}} is an approximation of the solution to the ODE at time t n {displaystyle t_{n}} : y n ≈ y ( t n ) {displaystyle y_{n}approx y(t_{n})} . The Euler method is explicit, i.e. the solution y n + 1 {displaystyle y_{n+1}} is an explicit function of y i {displaystyle y_{i}} for i ≤ n {displaystyle ileq n} . While the Euler method integrates a first-order ODE, any ODE of order N can be represented as a first-order ODE:to treat the equation we introduce auxiliary variables z 1 ( t ) = y ( t ) , z 2 ( t ) = y ′ ( t ) , … , z N ( t ) = y ( N − 1 ) ( t ) {displaystyle z_{1}(t)=y(t),z_{2}(t)=y'(t),ldots ,z_{N}(t)=y^{(N-1)}(t)} and obtainthe equivalent equation:

[ "Euler equations", "Euler's formula", "Euler's factorization method" ]
Parent Topic
Child Topic
    No Parent Topic