Advanced maths

Finite time Lyapunov exponent calculator for a nonlinear system

Compute finite-time Lyapunov rates from the singular values of a nonlinear flow’s tangent map.

Your numbers

One state derivative per line, using x,y or x,y,z.

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

Compute finite-time Lyapunov rates from the singular values of a nonlinear flow’s tangent map. The tool integrates both the state and variational matrix with Runge–Kutta steps, then reports logarithmic singular-value growth divided by the chosen horizon. These are finite-horizon deformation rates, not QR-based asymptotic Lyapunov averages or a proof that an attractor is chaotic.

THE FORMULAΦ′=J_f(x(t))Φ, Φ(0)=I; finite-time rates λ_i(T)=log σ_i(Φ(T))/T.

A worked example

For x′=−x, y′=−2y, the tangent map at time one is diag(e^−1,e^−2), whose singular values give finite-time rates −1 and −2. In a nonnormal system, singular-value growth can differ from eigenvalue real parts over a finite interval.

Good to know

2–3 smooth autonomous state equations, time 0–20, 50–4000 coarse steps. RK4 state/variational integration with double-step comparison. Reject tangent-map condition number above 100,000 or magnitude overflow. Finite-time singular-value rates, not asymptotic QR averages or a proof of chaos.

A trajectory and its nearby perturbations

The entered autonomous differential equations define the state evolution. Their Jacobian determines how an infinitesimal perturbation evolves along the computed trajectory.

The tangent matrix begins as the identity, so it maps initial perturbations into final perturbations over the selected horizon. The parser differentiates supported expressions symbolically for that Jacobian. Discontinuities, unsupported functions or a singular vector field invalidate this smooth variational interpretation.

The tangent map contracts two orthogonal directions at different ratesΦ = diag(e⁻¹,e⁻²)Horizon = 1Rates: −1 and −2
For x′=−x, y′=−2y, the tangent map at time one is diag(e^−1,e^−2), whose singular values give finite-time rates −1 and −2. In a nonnormal system, singular-value growth can differ from eigenvalue real parts over a finite interval. Static schematic; numerical labels define the example.

Does not assume a periodic coefficient matrix or return monodromy multipliers; analyzes perturbation growth along a nonlinear trajectory. The Ito stochastic differential equation simulation calculator offers a complementary calculation under its own stated assumptions.

Singular values identify optimal directions

A tangent map can stretch some directions while contracting others. Its singular values describe the largest and successively smaller Euclidean amplification factors over the whole interval.

Taking their logarithms and dividing by elapsed time gives the displayed rates. These directions need not coincide with coordinate axes or eigenvectors of the instantaneous Jacobian. A nonnormal linear system can show transient growth even when every eigenvalue has negative real part.

Worked example and mathematical rule

For x′=−x, y′=−2y, the tangent map at time one is diag(e^−1,e^−2), whose singular values give finite-time rates −1 and −2. In a nonnormal system, singular-value growth can differ from eigenvalue real parts over a finite interval.

Φ′=J_f(x(t))Φ, Φ(0)=I; finite-time rates λ_i(T)=log σ_i(Φ(T))/T.

Finite-time is not asymptotic

The answer depends on starting state, horizon and the coordinate norm. A positive finite-time rate can describe transient stretching without establishing sustained chaos.

Conversely, a short contraction interval can occur within a chaotic system. Long-time Lyapunov algorithms typically use repeated orthogonalization to manage enormous scale differences. This page deliberately computes the full tangent map for a bounded horizon and rejects excessive conditioning rather than presenting it as a robust long-time spectrum algorithm.

Numerical integration and refinement

The state and tangent equations use consistent fourth-order Runge–Kutta stages. A finer run provides a comparison of the resulting rates. The comparison is not a rigorous enclosure of the exact flow.

A rapidly changing Jacobian or stiff dynamics may require a different solver. State trajectories that look plausible can still have inaccurate tangent growth, so review both refinement and conditioning. Overflow or singular behavior is reported as a failed calculation.

Coordinate scaling changes finite-time geometry

Rescaling a state coordinate changes the Euclidean length assigned to perturbations. At finite time, this can change singular values and rates even though the physical dynamics describe the same system in different units.

Choose a meaningful scaling before interpreting relative stretching directions. Asymptotic invariance statements require their own conditions and do not justify ignoring this finite-horizon norm dependence. The page does not standardize coordinates or choose a metric automatically.

Benchmarks that clarify the meaning

For a diagonal linear system, rates should match the diagonal growth coefficients independently of horizon within numerical error. A rotation alone has zero rates because it preserves lengths.

A shear can have nonzero finite-time rates despite unit eigenvalues of its flow map. These examples separate stretching from rotation and asymptotic stability. Use the calculator to investigate local sensitivity over a stated interval, while reserving claims about chaos or global stability for a broader dynamical analysis.

A few questions, answered

Does a positive value prove chaos?

No. Finite-time stretching can be transient.

Is this a QR Lyapunov spectrum?

No. It uses singular values of the full tangent map over a bounded horizon.

Can units affect the answer?

Yes. Finite-time singular-value rates depend on the chosen coordinate norm.

Why reject a poorly conditioned tangent map?

Its smallest singular values may no longer be numerically reliable.

Find your calculator

Start typing to explore the library.