Step 7 of 10 · Worked example · TEACH

← Differential Equations & Continuous Change

0 of 3 done

Work through the example to CHECK to open the problems.

Reach CHECK to open the problems.Higher Level · Applied Maths · Differential Equations & Continuous Change · Step 7

Follow the worked example and explain why each modelling and calculation step is valid.

For dy/dt=(1/5) × y, the current state is y=21. Take one forward Euler step of size h=1/4. Find the updated approximation.

For dy/dt = (1/5)y, the current state is y = 21. Take one forward Euler step of size h = 1/4.

Find the updated approximation.

Read it once, slowly. Then copy it onto your page.
  • What is going on? y changes at a rate of one fifth of its own size. Right now, y = 21. Call it y₀.
  • What method? They name it: one forward Euler step, moving time on by h = 1/4 = 0.25. Not the exact solution, and only one step.
  • What do they want? The updated approximation: Euler's estimate of y a quarter of a time unit from now. Call it y₁.
Céim

Higher Level Applied Maths · Differential Equations & Continuous Change · Step 7 of 10

Numerical Solutions & Simulation

Forward Euler approximates continuous change by adding the current rate multiplied by a time step to the current value.

Why it matters

Step size affects numerical accuracy and can even make positive decay appear to oscillate.

The worked example

For dy/dt = (1/5)y, the current state is y = 21. Take one forward Euler step of size h = 1/4. Find the updated approximation.

How the worked example goes

  1. Read

    • What is going on? y changes at a rate of one fifth of its own size. Right now, y = 21. Call it y₀.
    • What method? They name it: one forward Euler step, moving time on by h = 1/4 = 0.25. Not the exact solution, and only one step.
    • What do they want? The updated approximation: Euler's estimate of y a quarter of a time unit from now. Call it y₁.
  2. Understand

    • How do I picture it?
    • Right now y = 21, so it is rising at 21 ÷ 5 = 4.2 per time unit. That is the slope of the solution curve at this point.
    • If that slope held for a whole unit, y would gain 4.2. We only move on a quarter of a unit, so it gains about a quarter of 4.2.
  3. Reduce

    • Slope 4.2, h = 0.25, y₀ = 21. Which line gives y₁? y₁ = 21 + 0.25 × 4.2: Old value + step size × slope at the old value.
    • Write the step for this law.
    • Here the slope at any value is that value ÷ 5. Put it into the Euler step.
  4. Solve

    • Slope, change, add.
    • Slope at y₀ = 21
    • 21 ÷ 5 = 4.2
  5. Check

    • Is it right?
    • This law can be solved exactly: from 21, y grows by the factor e^0.2 × 0.25 = e^0.05.
    • 21e^0.05 = 21 × 1.051271…