Skip to content

Before the final, flavours A and B

Why does Euler’s method drift off the solution?

A differential equation sets a slope at every point; Euler’s method follows it in straight steps, and each step lands on a neighbouring solution, below where the solutions bend up and above where they bend down.

Builds on exponential growth and decay.

The slope field of y′ = y − x, and the solution through (0, 1.60), which reaches 3.631 at x = 1.-0.50.511.51234
Start, y(0)
1.60
Slope there, y′ = y − x
1.60

Step 1 of 5: A slope at every point

The equation y′=y−xy' = y - x gives a slope at every point: at (0,1.5)(0, 1.5) it is 1.51.5, at (1,1)(1, 1) it is 00. The short segments draw those slopes, and a solution is a curve that runs along them. Drag the start up and down the yy-axis.

Find the start whose solution is a straight line.

The lesson as text