Nepedia
Back to Discover
Fluent Reader
🔢

Euler method

math Maturity 7-9 Next article →

Imagine you want to draw a curvy line on a piece of paper. You cannot see the whole line yet, but you do know where it begins. You also have a special rule called a differential equation. This rule tells you the slope, or the steepness, of the line at any point.

Euler method
Euler method

The Euler method is a way to use this rule to guess the shape of the curve. It is a very basic tool used in math and science. It helps us find an answer when we only know the starting point and the rule for the slope.

To use this method, you start at your known starting point. First, you use your rule to find the slope at that exact spot. Next, you choose a small size for a step. You move along the slope for that small distance to find a new point.

Numerical integration illustration step=0.25
Numerical integration illustration step=0.25

You then repeat this same process from your new point. You keep taking steps to build a path made of short, straight lines. This path is called a polygonal approximation because it looks like many small connected segments. If your steps are tiny, your path will stay very close to the real curve.

This idea was named after a famous mathematician named Leonhard Euler. He first shared this method in his book called Institutionum calculi integralis.

This book was published between the years 1768 and 1770. Euler's work provided a simple way to solve problems through numerical integration. Even though it is a simple method, it is very important. It serves as the base for much more complex ways of solving math puzzles. Many harder methods are built using the ideas that Euler first proposed.

There are important facts to know about how accurate this method is. We call it a first-order method because of how its errors work. The error in a single step is related to the square of the step size. However, the total error at the end is related to the step size itself.

Numerical integration illustration, step=1
Numerical integration illustration, step=1

If you make the step size smaller, the error usually gets smaller too. For example, if you cut the step size in half, the error also becomes about half as big. But there is a catch to using very tiny steps. To get a very exact answer, a computer might need 400,000 steps. This can take a lot of time and power.

Sometimes the Euler method can run into trouble. This happens when the method becomes unstable. An unstable method can make the path swing wildly or grow too large.

Instability of Euler's method
Instability of Euler's method

This can happen even if the real curve is supposed to stay small or go to zero. There is even a special shape called a stability region that shows when the method will work well.

Euler method
Euler method

Because of these limits, people often use better tools like the Runge–Kutta methods. These newer methods can find the right path much faster and more accurately.

489 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (5)
File:Euler method.svg
Euler method.svg
File:Numerical integration illustration, step=1.svg
Numerical integration illustration, step=1.svg
File:Numerical integration illustration step=0.25.svg
Numerical integration illustration step=0.25.svg
File:Instability of Euler's method.svg
Instability of Euler's method.svg
File:Stability region for Euler method.svg
Stability region for Euler method.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.