How to use this calculator
Compare linear stability of three time integrators at a chosen complex test-equation step eigenvalue.
- Enter Real part of h lambda, Imaginary part of h lambda. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Time integrator test equation amplification explained
Use Real part of h lambda with Imaginary part of h lambda to reproduce the sample calculation, then review the stated limits before carrying the result into another scenario.
A numerical walkthrough
Real part of h lambda = -1; Imaginary part of h lambda = 1.
- RK4 amplification modulus: 0.372678
- Forward Euler modulus: 1
- Backward Euler modulus: 0.447214
At z=−4, forward Euler amplifies by three and RK4 by five, whereas backward Euler damps by a factor of 0.2.
The model behind the numbers
For z=hλ: RFE=1+z, RBE=1/(1−z), RRK4=Σₖ₌₀⁴zᵏ/k!; stability requires |R|≤1.
The input already includes the time step. A modulus greater than one amplifies that mode at each numerical step; for physically decaying modes that is a numerical instability.
What to enter
real— Real part of h lambda- Dimensionless real part of the test-equation step eigenvalue.
imag— Imaginary part of h lambda- Dimensionless imaginary part.
Interpreting the result
A scalar linear test is a diagnostic, not a general nonlinear stability proof. Non-normal coupled systems can have transient growth beyond eigenvalue predictions.
Reading the outputs
All three outputs are dimensionless per-step amplification moduli.
Frequently asked questions
What do I enter for a real decay rate?
Enter the rate multiplied by your step as the real part and zero as the imaginary part.
Is modulus one always safe?
It is marginal for this test and can still accumulate phase or roundoff error.
Why include imaginary parts?
Oscillatory modes have complex eigenvalues and impose different stability limits.
How do I use the Time integrator test equation amplification calculator?
Enter Real part of h lambda, Imaginary part of h lambda. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Time integrator test equation amplification?
Real part of h lambda = -1; Imaginary part of h lambda = 1. RK4 amplification modulus: 0.372678 Forward Euler modulus: 1 Backward Euler modulus: 0.447214 At z=−4, forward Euler amplifies by three and RK4 by five, whereas backward Euler damps by a factor of 0.2.
Background or definition reference: NIST DLMF ordinary differential equations.
Read our calculation methodology.