Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

3.1: The Euler Method

( \newcommand{\kernel}{\mathrm{null}\,}\)

View tutorial on YouTube

Although it is not always possible to find an analytical solution of (3.1) for y=y(x), it is always possible to determine a unique numerical solution given an initial value y(x0)=y0, and provided f(x,y) is a well-behaved function. The differential equation (3.1) gives us the slope f(x0,y0) of the tangent line to the solution curve y=y(x) at the point (x0,y0). With a small step size x=x1x0, the initial condition (x0,y0) can be marched forward to (x1,y1) along the tangent line using Euler’s method (see Fig. 3.1.1) y1=y0+Δxf(x0,y0).

This solution (x1,y1) then becomes the new initial condition and is marched forward to (x2,y2) along a newly determined tangent line with slope given by f(x1,y1). For small enough x, the numerical solution converges to the exact solution.

clipboard_e9f8fd0f27f3547f315f02fd6b0b2ce65.png
Figure 3.1.1: The differential equation dy/dx=f(x,y), y(x0)=y0, is integrated to x=x1 using the Euler method y1=y0+xf(x0,y0), with x=x1x0.

This page titled 3.1: The Euler Method is shared under a CC BY 3.0 license and was authored, remixed, and/or curated by Jeffrey R. Chasnov via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?