Advanced maths

Delay differential equation characteristic root stability calculator

For the scalar equation x prime at time t equals a times x at t plus b times x at t minus tau, exponential trial solutions lead to the characteristic equation lambda minus a minus b exp of minus lambda tau equals zero.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

For the scalar equation x prime at time t equals a times x at t plus b times x at t minus tau, exponential trial solutions lead to the characteristic equation lambda minus a minus b exp of minus lambda tau equals zero. A positive-real-part root implies instability of the zero solution.

THE FORMULAλ−a−b exp(−λτ)=0;when relevant,τcrit=acos(−a/b)/sqrt(b²−a²).

A worked example

For a=−1,b=−2,the critical delay is≈1.209199576. At τ=0.5 the equilibrium is strictly stable,and a leading candidate pair is≈−0.931018662±3.184903575i.

Good to know

Scalar y′=ay(t)+by(t−τ),coefficients within±20,τ0–20,|aτ| and|bτ|≤30;analytic classification,zero-boundary convention,and bounded candidate-root search not a complete spectrum.

Separate analytic stability from a root search

For the scalar equation x prime at time t equals a times x at t plus b times x at t minus tau, exponential trial solutions lead to the characteristic equation lambda minus a minus b exp of minus lambda tau equals zero. A positive-real-part root implies instability of the zero solution.

The calculator classifies this single real-coefficient, single-delay equation using its analytic stability conditions. It also displays candidate characteristic roots from a bounded numerical search. Those candidates illustrate parts of the spectrum, but the classification is not inferred merely from whether an incomplete root scan happened to find an unstable point.

Scalar single-delay characteristic stabilitya=−1,b=−2τcrit ≈ 1.2092τ=0.5:stableCandidate roots left of axis
Scroll across to see the full diagram.
For a=−1,b=−2,the critical delay is≈1.209199576. At τ=0.5 the equilibrium is strictly stable,and a leading candidate pair is≈−0.931018662±3.184903575i.

Compare this with the Delay differential equation calculator with a constant time delay. Analyze rightmost roots of lambda−a−b exp(−lambda tau)=0 instead of integrating a sample delayed trajectory.

Understand why there are infinitely many roots

With a nonzero delay and nonzero delayed coefficient, the exponential characteristic equation generally has infinitely many complex roots. A finite rectangular grid of starting guesses cannot enumerate that spectrum. Increasing the number of Newton starts may reveal additional roots without proving that every rightmost root was found.

The implementation searches a disclosed bounded region in dimensionless lambda times tau and deduplicates converged candidates. It checks each accepted candidate’s equation residual. These are local root checks, not a spectral completeness certificate; the largest displayed real part is labeled the largest candidate real part for that reason.

Begin with the zero-delay limit

When tau is zero, the equation becomes an ordinary scalar linear differential equation with coefficient a plus b. Strict asymptotic stability requires that sum to be negative. A zero sum leaves a zero characteristic root and is not strict asymptotic stability, while a positive sum is unstable.

The same zero-root boundary a plus b equals zero matters when delay is positive. Distinguishing a boundary from strict stability prevents a neutral constant solution from being described as decaying. The page reports these cases explicitly rather than treating every nonpositive numerical root estimate as an ordinary stable fit.

Read the delay-independent region

If the instantaneous coefficient is sufficiently negative relative to the magnitude of the delayed coefficient, with a plus b still negative, the scalar system remains strictly asymptotically stable for every finite delay. This is a special property of the stated one-delay scalar equation, not a theorem about arbitrary delayed systems.

The interface keeps coefficients within plus or minus twenty and the products with delay within a bounded range for numerical root work. The analytic classification does not require a simulated history function. A time-domain trajectory would need such a history and would answer a different question from locating characteristic stability boundaries.

Locate the finite crossing threshold

In the remaining stabilizing case, a conjugate pair reaches the imaginary axis at a critical delay. The crossing frequency is the square root of b squared minus a squared, and the critical delay is arccos of minus a divided by b, divided by that frequency.

The default coefficients a equals minus one and b equals minus two give a critical delay approximately 1.209200. The entered delay 0.5 is below that threshold and is classified strictly stable. The displayed rightmost candidate pair has real part approximately minus 0.931019, consistent with that analytic classification.

Use a boundary classification carefully

A delay numerically equal to the critical delay is labeled a stability boundary with imaginary characteristic roots. Strict decay is not claimed at that point. Nearby parameter rounding can place a supplied model on opposite sides of the crossing, so retain more precision when studying a small stability margin.

The numerical root search uses Newton iteration, which can fail near repeated roots or where the characteristic derivative is nearly zero. Missing candidates therefore do not invalidate the analytic theorem, and successful candidate convergence does not extend the theorem to multiple delays, distributed delays or nonlinear global stability.

Preserve the equation and sign convention

Many references write a delayed equation with negative coefficients or move terms to the other side. Convert those conventions before entering a and b; changing a sign can reverse the stability conclusion. The page’s equation always uses plus a times current state plus b times delayed state.

The result concerns local linear asymptotic stability of the zero solution for this exact scalar equation. It does not quantify transient amplification, nonlinear basins of attraction, robustness or a guaranteed settling time. Use the critical delay and root candidates as model diagnostics with their distinct analytic and numerical meanings intact.

A few questions, answered

Is the numerical root list complete?

No. The bounded Newton search produces candidates only;the scalar analytic theorem supplies the stability classification.

What happens at τ=0?

The equation reduces to y′=(a+b)y and that real coefficient determines strict stability.

Is a zero root called stable?

It is labeled not strictly stable. Strict asymptotic stability requires every characteristic root to have negative real part.

Can I enter several delays?

No. The classification and interface are specific to one scalar state and one constant delay.

Find your calculator

Start typing to explore the library.