Math With AmarA C A D E M Y
All math animations

Undergraduate · Euler stability

Euler stability: Moderate positive decay

Euler stability: investigate moderate positive decay with decay rate a = 1; step size h = 0.5.

Predict what will happen, press Play, then pause and explain what changed. Every control also works without playback.

Watch the relationship

Paused
Euler stability: Moderate positive decay. Euler step: 0. Computed value: 1. Exact value: 1. Amplification |1−ah|: 0.5: decaysDiscrete steps versus exact decay010510computed amountTeal: Euler · dashed: exact decay at time nh
The equation is scalar linear decay with y₀=1 and constant positive a and h. Stable decay requires |1−ah|<1. This threshold is specific to explicit Euler on this equation and is not a universal time-step rule.

Starts paused. Play once, pause anywhere, or use Step to inspect the mathematics. Playback stops when this panel leaves the screen.

Make it your experiment

Change one value. Notice what follows.

The controls adjust the model. Numbers below describe the current frame. Decimals are rounded.

Euler step
0
Computed value
1
Exact value
1
Amplification |1−ah|
0.5: decays

HD animation studio

From experiment to screen.

Present a crisp Canvas scene, save a full-HD image, or capture your model as a silent video.

Understand what you are seeing

The idea behind the motion.

An exact decaying differential equation can produce a growing numerical approximation when the time step is too large. Euler's amplification factor is 1−ah, and its magnitude determines stability for this test equation. Negative factors create alternating signs that the positive exact solution never has. This investigation starts with Decay rate a = 1; Step size h = 0.5. Predict the result before playing, then change one parameter while keeping the other fixed to test the reason for the change.

A relationship to keep

y′=−ay; yₙ=(1−ah)ⁿ; exact y(nh)=e^(−anh)

Read the symbols alongside the explanation. A diagram shows the relationship; the assumptions tell you when it applies.

  1. STEP 1

    Set up the mathematical model

    Compute ah and the amplification factor before running the discrete updates. The starting case is “Moderate positive decay.”

  2. STEP 2

    Follow the changing quantity

    Compare ten Euler values with the exact exponential at the same times nh. Lines connect discrete samples only to guide the eye.

  3. STEP 3

    Explain and test the result

    Distinguish positive decay, alternating decay, a nondecaying boundary case, and unstable growth. Stability alone does not guarantee small approximation error.

Your turn to explain

Make a prediction. Test your reasoning.

Keep Decay rate a = 1; Step size h = 0.5. Pause the timeline at 40%. Given euler step = 4, calculate computed value, exact value, amplification |1−ah|. Show the substitution into the displayed formula.

Use the values specified in the question. Reset restores the initial values for this investigation.

Compare your explanation

One Euler update multiplies by 1−(1)(0.5)=0.5. After n=4 steps, yₙ=(0.5)^4=0.0625; the exact solution at time nh=2 is exp(−1(2))=0.135335. Results: Computed value: 0.063; Exact value: 0.135; Amplification |1−ah|: 0.5: decays. Decimal values are rounded; retain the original parameters when checking.

Connect the animation to a worked example and practice questions.