Skip to main content
Logo image

Section Thinking in Steps: How Euler’s Method Works One Step at a Time

This shift towards numerical approximation is not just a workaround but a powerful approach that expands our capacity to solve differential equations arising in complex systems where exact solutions are not readily derivable. Euler’s method, as we will see, is the entry point into this expansive field of computational mathematics, demonstrating how straightforward concepts can approximate solutions to complex problems.

Subsection Iterative Methods—Thinking in Steps

Most numerical methods are iterative, which means they don’t try to solve the whole problem at once. Instead, they repeat the same small task again and again.
That task is simple: use the information you already have to generate new information. Do it once, you get the next step. Do it a hundred times, you build a whole solution.
So, the key to understanding an iterative method is by learning its task.

Checkpoint 116. 📖❓ What does “iterative” mean?

Euler’s method (and most numerical methods) are described as iterative. What does that mean in practice?
  • It repeats a single simple step many times to build up a solution.
  • Correct — iterative methods loop the same calculation to generate new information.
  • It always produces the exact solution in one step.
  • No — that’s the opposite of iterative thinking. Iteration builds up an approximate solution step by step.
  • It skips steps and jumps straight to the final answer.
  • No — iterative methods never “skip.” They accumulate results step by step.
  • It uses only algebra, not calculus, to solve equations.
  • Not quite — Euler’s method uses the slope from calculus, but applies it in a repetitive way.

Subsection Euler’s Method Task

For Euler’s method, the repeated task can be summed up like this:
“from a known point, move to a nearby point along the direction of the slope.”
Think of following a hiking trail using only a compass—you don’t know exactly where the trail ends, but if you keep stepping in the right direction, you’ll trace the path. In Euler’s method, that “direction” is the slope from the differential equation.
More precisely, if \((t_{\text{cur}}, y_{\text{cur}})\) is a point on the solution and you know the slope there, you can predict where the next point \((t_{\text{new}}, y_{\text{new}})\) will be.
To understand this “one step,” we’ll answer two guiding questions:
  1. What does it mean to move in the direction of a slope?
  2. Given a point, slope, and step size, what is the formula for the next point?

Subsection Moving in the Direction of a Slope

First question: “What does it mean to move in the direction of a slope?” Suppose you’re at the point \((1,1)\) and the slope there is \(\frac{3}{2}\text{.}\)
Slope is “rise over run”: for every unit you move horizontally (“run”), you move a certain amount vertically (“rise”). From \((1,1)\text{,}\) a slope of \(\frac{3}{2}\) means that for every 2 units of “run,” you rise 3 units, like so:
\begin{equation*} (1 + \text{run}, 1 + \text{rise}) = (1 + 2, 1 + 3) = (3,4)\text{.} \end{equation*}
So moving from \((1,1)\) in a direction with slope \(\frac{3}{2}\text{,}\) lands you at \((3,4)\text{.}\) See Figure 118.(a).

📝 117. “Rise” Clarification.

“Rise” doesn’t always mean “up”—if the slope is negative, “rise” is actually a fall. We’ll keep calling it “rise” for simplicity, but remember it might point downward.
Of course, there’s nothing special about using a “run” of 2. We could have used \(4\) (rise would then be 6) or even \(\pi\) (rise would be \(\frac{3}{2}\pi\)). All of the following fractions
\begin{equation*} \left(\frac{\text{rise}}{\text{run}}\right)\quad\quad \frac32,\ \frac{6}{4},\ \frac{3\pi}{2\pi},\ \frac{\frac32}{1},\ \ldots, \end{equation*}
describe the same slope, which can be visualized in Figure 118.
In Euler’s method, we intentionally choose a small run called the step size, \(h\text{.}\) Therefore, for a small run, \(h\text{,}\) you get the corresponding rise by:
\begin{equation*} \text{slope} = \frac{\text{rise}}{h} \quad\Rightarrow\quad \text{rise} = \text{slope} \times h \end{equation*}
So given a direction (slope) to move and the step size (\(h\)) to take, this formula gives you the rise. Next, we’ll see how this simple relationship is the core of Euler’s one-step move.
\begin{equation*} \text{rise} = \text{slope} \cdot h. \end{equation*}
(a) Rise \(3\text{,}\) run \(2\)
(b) Rise \(\frac32\text{,}\) run \(1\)
(c) Rise \(mh\text{,}\) run \(h\)
Figure 118. Same Slope, Different Rise and Runs

Checkpoint 119. 📖❓ Calculating the Rise.

Suppose the slope at a point is \(m = \frac{3}{2}\) and you take a step size of \(h = 0.2\text{.}\) What is the “rise” over that step?
  • \(0.3\)
  • Yes — rise = slope × step size = \(\frac{3}{2} \times 0.2 = 0.3\text{.}\)
  • \(1.5\)
  • That’s the slope itself, not the rise for the small step.
  • \(0.2\)
  • That’s the step size (run), not the rise.
  • \(3.2\)
  • Double-check the multiplication — slope × step size is much smaller.

Subsection The Movement Rule

Now that we’ve decided how to take a step, we can write it as a formula.
From basic geometry, a new point is just the old point plus the changes:
\begin{equation*} (t_{\text{new}}, y_{\text{new}}) = (t_{\text{cur}} + \text{run}, \ y_{\text{cur}} + \text{rise})\text{.} \end{equation*}
Euler’s method sets the “run” to the step size \(h\) and the “rise” to \(h \times \text{slope}\text{.}\) Substituting those gives the update rule:
\begin{equation} (t_{\text{new}}, y_{\text{new}}) = (t_{\text{cur}} + h,\ y_{\text{cur}} + h \times \text{slope})\text{.}\tag{26} \end{equation}
This single equation captures the whole one-step task: start at the current point, find the slope, take a step of size \(h\) in that direction, and you land at the next point. Euler’s method is simply this step repeated many times.

Checkpoint 120. 📖❓ Understanding the Movement Formula.

What does the term “\(h \times \text{slope}\)” represent in Euler’s movement rule?
  • The change in \(y\) over the chosen step.
  • Correct — the slope tells the direction, and \(h\) scales it into a small “rise.”
  • The next \(t\) value.
  • No — the \(t\) update is handled separately as \(t_{\text{cur}} + h\text{.}\)
  • The slope of the entire solution curve.
  • Careful — this is the slope at a single point, not the whole curve.
  • The error made by Euler’s method in each step.
  • Not true — \(h \times \text{slope}\) is the predicted rise, not the error.

📤 Wrap-Up.

🗝️ Key Takeaways...

  • Numerical methods like Euler’s are iterative: they repeat one simple step to build a full solution.
  • Euler’s one-step task is “move from where you are in the direction of the slope.”
  • Choosing a step size \(h\) sets the “run,” and the “rise” is just \(\ul{\text{slope} \times h}\text{.}\)
  • Euler’s method is based on the movement rule
    \begin{equation*} (t_{\text{new}}, y_{\text{new}}) = (t_{\text{cur}} + h,\ y_{\text{cur}} + h \times \text{slope})\text{.} \end{equation*}

Check Your Understanding.

Checkpoint 121. 📖❓ Big Picture of Euler’s Step.

Which statement best describes what Euler’s method does one step at a time?
  • From a current point, it uses the slope to predict the next point.
  • Correct — Euler’s method is nothing more than this step, done over and over.
  • It finds one term of the exact general solution.
  • No — finding terms of the solution would be an analytic method.
  • It moves to a nearby point on the solution curve.
  • No — if you knew where the solution curve was, you would already have the solution to the equation.
  • It approximates the roots of the characteristic equation.
  • No — Euler’s approximates points of the solution, not the roots of the characteristic equation.
You have attempted of activities on this page.