4.6.2 · D1Ordinary Differential Equations

Foundations — Direction fields and Euler's method — visual - numerical intuition first

1,958 words9 min readBack to topic

This page assumes nothing. Before you can "follow the arrows," you must know exactly what each symbol in means as a picture. We build them one at a time, each using only the ones before it.


0. The plane and a point

Everything happens on a flat sheet with two number lines crossing at right angles.

  • The horizontal line is the ==-axis== — read left (negative) to right (positive).
  • The vertical line is the ==-axis== — read down (negative) to up (positive).
  • A point is one dot on the sheet: go steps right, then steps up.
Figure — Direction fields and Euler's method — visual - numerical intuition first

Why the topic needs this: the whole subject lives in this plane. A "solution" will be a curve drawn on it, and the ODE will speak a sentence about every single dot of it.


1. A curve, and the letter doing double duty

Watch a subtlety that trips everyone. In the letter means two things at once, and you must hold both:

  • as a coordinate — just the height of a dot, as in §0.
  • as a function — a rule that, for each , gives one height. Its graph is a curve.

Why the topic needs this: a "solution curve" is the graph of some unknown function . The ODE is a clue about that function; direction fields let us see the clue before we know the function.


2. Slope — the star of the whole show

Pick two points on a straight line. Walk from the left one to the right one.

  • The run is how far right you walked: (the symbol , "delta," just means change in).
  • The rise is how far up you climbed: (negative if you went down).
Figure — Direction fields and Euler's method — visual - numerical intuition first

Why the topic needs this: the entire ODE is a statement about slope. will be a slope. Euler's method will multiply a slope by a run to get a rise. Nail this and the rest is arithmetic.


3. From average slope to the derivative

Slope §2 needed two points. But a curve bends — its steepness changes from place to place. How steep is it at a single point?

Figure — Direction fields and Euler's method — visual - numerical intuition first

Why the topic needs this: the left side of is the tangent's slope. So the equation literally says: "the tangent to my solution at tilts by the amount ." That sentence is the direction field.


4. Functions of two inputs:

In §1 a function ate one number. Now meet a function that eats two.

Why the topic needs this: the right side of the ODE is this machine. Feed it any dot, it tells you the tilt to draw there. Do that on a grid of dots and you have painted the direction field.


5. Putting it together — what says as a picture

Now every symbol is earned. Read the equation slowly:

Figure — Direction fields and Euler's method — visual - numerical intuition first

Why "first-order": only the first derivative appears — no or higher. That "1" is why one initial dot is enough to pin a unique curve (made precise in Existence and Uniqueness (Picard–Lindelöf)).


6. The step size and the index

To walk the field numerically we need two more pieces of shorthand.

  • ==Step size == : a small fixed run — how far right we move each step. It is the of §2, chosen once and kept.
  • ==Index == : a counting label. are the stops; their heights. The subscript just says which stop. So means "the next stop is one step to the right of the current one."

Why the topic needs this: Euler's rule is "new height = old height + run × slope ." Every symbol in it now has a picture: §2 gives run × slope = rise, §3–4 give the slope, §6 gives the ladder.


7. The bending term (why Euler is only approximate)

One last symbol appears in the parent when it explains error.

Figure — Direction fields and Euler's method — visual - numerical intuition first

Prerequisite map

Point x,y on the plane

Curve as graph of y of x

Slope rise over run

Derivative dy dx as tangent slope

Two-input machine f of x,y

ODE dy dx = f of x,y

Direction field picture

Step size h and index n

Second derivative y double prime

Euler walking the field

Undershoot and error


Equipment checklist

Cover the right side and test yourself.

What does the ordered pair locate?
One dot: steps right, then steps up on the plane.
What makes a curve a legal graph of ?
Every vertical line hits it at most once (one height per ).
Define slope in one phrase.
Rise over run, — steps up per one step right.
Why is slope "rise over run" and not the reverse?
Slope measures how fast height changes as you move right, so vertical change goes on top.
What does mean geometrically?
The slope of the tangent line to the curve at a single point.
Why does the derivative need a limit ?
One point alone gives ; sliding the second point in pivots the secant onto the tangent.
What does the machine output here?
The slope a solution curve must have at the dot .
Translate into words.
At every dot, the curve's tangent slope equals the number the machine gives — solutions stay tangent to the field.
What is the step size ?
A small fixed run (the ) taken each step of the numerical walk.
What does the subscript in mean?
Which rung of the sampled ladder — the -th stop.
What does look like and predict for Euler?
Curve cupped upward (smile); its tangent lies below it, so Euler undershoots.

Connections

  • Taylor's Theorem — turns "step along the tangent" into an exact statement with the remainder.
  • Existence and Uniqueness (Picard–Lindelöf) — why one dot fixes one solution curve.
  • Separable First-Order ODEs — the first family whose exact curves you can compare against the field.
  • Runge-Kutta Methods (RK4) — sample several slopes per step to beat Euler's undershoot.
  • Stability and Stiff Equations — where reading only the left slope makes the walk explode.