Search

Search papers and lessons

Modern Koopman Theory for Dynamical Systems

Steven L. Brunton, Marko Budišić, Eurika Kaiser et al. · 2021

A 2021 review showing how Koopman operator theory turns nonlinear dynamics into a linear problem on measurements, and how dynamic mode decomposition fits that linear model to data.

On this page

  • Colour = topic mix
  • Linear algebra
  • Probability
  • Calculus
  • Discrete math
  • Control systems
  • Mechanical engineering
  • ReadReady to readNot yet

TL;DR

Nonlinear systems, such as weather, fluids, brains and robots, are hard to predict and control because superposition fails for them. Koopman operator theory offers a different view. Instead of following the state itself, it follows measurements of the state, and the rule that advances those measurements is linear, even when the system is strongly nonlinear. This review, by Brunton, Budišić, Kaiser and Kutz, surveys the theory and its main data-driven algorithm, dynamic mode decomposition (DMD), which fits that linear rule to snapshots of a system.

Builds on: Koopman Operator, Dynamic Mode Decomposition · Leads to: the data-driven control of nonlinear systems with linear tools, such as model predictive control built on Koopman models

Why it mattered

By the early 2020s, Koopman analysis had grown from a 1931 idea into a working toolkit. The review collects the work of the previous decade, when DMD was connected to Koopman theory and applied across fields. The authors list fluid dynamics, epidemiology, neuroscience, plasma physics, finance, robotics and power grids as places where the approach was used.

Its practical value is that it lets engineers reuse the large body of linear methods. Prediction, estimation and control for linear systems are well understood and cheap to compute. If a nonlinear system can be lifted to a space where its evolution is linear, those tools apply. The review describes model predictive control built on Koopman models, which has been used on challenging systems, and says it is still open how much of the good performance comes from the prediction and how much from the robustness of the control method.

The review also lists what the field has not solved. Koopman operators act on infinite-dimensional spaces, and it is not clear how to choose a finite set of measurement functions that stay closed under the operator. It is also unclear how symmetries in the equations show up in the spectrum. The authors call this a conservation of difficulty: the nonlinearity is traded for infinite dimension.

The problem

Linear systems are easy to analyse because they can be split into modes. Each mode grows, decays or oscillates at its own rate, and the response to any input is a sum of those modes. Nonlinear systems lose this. Two signals do not add, so a frequency shifts, harmonics appear, and a single sinusoid is no longer a building block.

The standard response is local linearisation. Near a fixed point, the Jacobian gives a linear model, and its eigenvalues (Eigenvalues and Eigenvectors) say whether that point is stable (Lyapunov Stability). But that linear model is only valid in a small neighbourhood. Far from the fixed point, the picture changes, and a single linear model can describe nothing useful about the whole space.

A second difficulty is data. Many systems are too complicated to write down, and only measurements are available. The question becomes: can the linear model be learned from measurements alone?

The Koopman approach asks for something different. It does not ask for a linear coordinate system for the state. It asks for a set of measurement functions whose evolution is linear, an idea first developed for Hamiltonian systems and later extended to the general case.

How it works

The review's central idea fits in six steps. The diagram shows the flow from data to modes; the steps follow one small example from start to finish.

flowchart LR
  A["Snapshots x_k"] --> B["Measurement functions g(x_k)"]
  B --> C["Koopman operator K: g(x_k) to g(x_k+1)"]
  C --> D["DMD fit: X prime approximately equals A X"]
  D --> E["Eigenvalues and modes of A"]
  E --> F["Prediction, control, diagnosis"]
  1. Measure the state at fixed time steps. A system with state xk\mathbf{x}_k is observed at times k Δtk\,\Delta t. A measurement function g(x)g(\mathbf{x}) returns a number, for example a sensor reading or one component of the state.

  2. Advance the measurement, not the state. The Koopman operator K\mathcal{K} takes a measurement function and returns the same function evaluated one step later: Kg(xk)=g(xk+1)\mathcal{K}g(\mathbf{x}_k) = g(\mathbf{x}_{k+1}). Check: if g(x)=xg(\mathbf{x}) = \mathbf{x}, then Kg\mathcal{K}g returns the next state.

  3. Find eigenfunctions. An eigenfunction φ\varphi with eigenvalue λ\lambda satisfies Kφ=λφ\mathcal{K}\varphi = \lambda\varphi. Along a trajectory it grows or decays as λk\lambda^k. Check: with λ=0.5\lambda = 0.5, after two steps the value is multiplied by 0.250.25.

  4. Expand the measurements in eigenfunctions. A vector of measurements is written as a sum of eigenfunctions times Koopman modes, g(x)=∑jφj(x) vj\mathbf{g}(\mathbf{x}) = \sum_j \varphi_j(\mathbf{x})\,\mathbf{v}_j. Each term then evolves by its own factor λjk\lambda_j^k. Check: this is exactly the structure of a linear system, one mode at a time.

  5. Estimate the operator from data. DMD does not need the eigenfunctions. It collects pairs of snapshots, xk\mathbf{x}_k and the snapshot one step later, and fits a single matrix A\mathbf{A} with X′≈AX\mathbf{X}' \approx \mathbf{A}\mathbf{X}. Its eigenvalues approximate the Koopman eigenvalues and its modes approximate the Koopman modes.

  6. Use the linear model. Once A\mathbf{A} is known, predicting kk steps ahead is a matrix power, and the modes say what each piece of the motion looks like. Check: the step-5 fit gives a model for every later step in the same linear form.

The tiny instance. Take one scalar measurement that halves at each step: x=1,0.5,0.25x = 1, 0.5, 0.25. Set X=[1, 0.5]\mathbf{X} = [1,\ 0.5] and X′=[0.5, 0.25]\mathbf{X}' = [0.5,\ 0.25]. The fitted number is A=X′X†=(0.5⋅1+0.25⋅0.5)/(12+0.52)=0.625/1.25=0.5A = \mathbf{X}'\mathbf{X}^\dagger = (0.5 \cdot 1 + 0.25 \cdot 0.5) / (1^2 + 0.5^2) = 0.625 / 1.25 = 0.5. The eigenvalue is 0.5, and the model predicts the next value by multiplying by 0.5, which is what the data did.

The math

The continuous system is x˙=f(x)\dot{\mathbf{x}} = \mathbf{f}(\mathbf{x}). Measurements are taken at discrete times, so the working model is the flow map xk+1=F(xk)\mathbf{x}_{k+1} = \mathbf{F}(\mathbf{x}_k), where F\mathbf{F} advances the state one step. The Koopman operator is defined on measurement functions by composition.

Definition: Koopman operator

For a flow map F\mathbf{F} and a measurement function gg, the Koopman operator is Kg=g∘F\mathcal{K}g = g \circ \mathbf{F}. It is linear even when F\mathbf{F} is not, because K(ag1+bg2)=a Kg1+b Kg2\mathcal{K}(a g_1 + b g_2) = a\,\mathcal{K}g_1 + b\,\mathcal{K}g_2 for any constants aa and bb. It is the dual of the Perron–Frobenius operator, which moves probability densities forward in time.

The linearity claim is the reason the approach works. The composition g∘Fg \circ \mathbf{F} is taken pointwise, so adding two measurements and then advancing gives the same result as advancing them and then adding.

Step 2 in symbols

Kg(xk)=g(xk+1),K(ag1+bg2)=a Kg1+b Kg2\mathcal{K}g(\mathbf{x}_k) = g(\mathbf{x}_{k+1}), \qquad \mathcal{K}(a g_1 + b g_2) = a\,\mathcal{K}g_1 + b\,\mathcal{K}g_2

Step 3 in symbols

If Kφ=λφ\mathcal{K}\varphi = \lambda\varphi, then φ(xk)=λkφ(x0)\varphi(\mathbf{x}_k) = \lambda^k\varphi(\mathbf{x}_0). Eigenvalues ∣λ∣<1|\lambda| \lt 1 decay and ∣λ∣>1|\lambda| \gt 1 grow.

Step 4 in symbols

For a vector of measurements, the Koopman mode decomposition writes the evolution as a sum over eigenvalues:

g(x(t))=∑jλj t φj(x0) vj\mathbf{g}(\mathbf{x}(t)) = \sum_{j} \lambda_j^{\,t}\,\varphi_j(\mathbf{x}_0)\,\mathbf{v}_j

Here vj\mathbf{v}_j is the Koopman mode attached to eigenfunction φj\varphi_j. The paper notes that the eigenfunctions are harder to compute than the modes, which motivates advanced techniques such as extended DMD.

Step 5 in symbols

Given snapshot matrices X\mathbf{X} and X′\mathbf{X}' with X′≈AX\mathbf{X}' \approx \mathbf{A}\mathbf{X}, the least-squares solution is A=X′X†\mathbf{A} = \mathbf{X}'\mathbf{X}^\dagger, where †\dagger denotes the pseudo-inverse. The pseudo-inverse of X=UΣV∗\mathbf{X} = \mathbf{U}\boldsymbol{\Sigma}\mathbf{V}^* is X†=VΣ−1U∗\mathbf{X}^\dagger = \mathbf{V}\boldsymbol{\Sigma}^{-1}\mathbf{U}^*, from the Singular Value Decomposition (SVD), where ∗^* is the conjugate transpose. Because A\mathbf{A} can be very large, DMD keeps the first rr modes, projects onto them, and works with the small matrix

A~=Ur∗X′VrΣr−1.\tilde{\mathbf{A}} = \mathbf{U}_r^*\mathbf{X}'\mathbf{V}_r\boldsymbol{\Sigma}_r^{-1}.

The eigenvalues of A~\tilde{\mathbf{A}} are the DMD eigenvalues, and its eigenvectors W\mathbf{W} give the modes through Φ=X′V~Σ~−1W\boldsymbol{\Phi} = \mathbf{X}'\tilde{\mathbf{V}}\tilde{\boldsymbol{\Sigma}}^{-1}\mathbf{W}. The paper cites Tu et al. for the version that works with irregularly spaced data.

Step 6 in symbols

Predicting kk steps ahead is xk≈Akx0\mathbf{x}_{k} \approx \mathbf{A}^k\mathbf{x}_0 in the measurement space, and in eigen-coordinates each mode is multiplied by λjk\lambda_j^k, as in step 4.

Results

The review has no single experiment of its own. Its findings are the worked examples and the open problems it summarises. The numbers below are those quoted in the text and figure captions.

The Duffing oscillator. The equation x¨=x−x3\ddot{x} = x - x^3 has three fixed points. The origin is a saddle with Jacobian eigenvalues ±1\pm 1, and the points (±1,0)(\pm 1, 0) are centres with eigenvalues ±2 i\pm\sqrt{2}\,i. Local linearisation works only near these points. Koopman analysis can extend the region of linear behaviour to the whole basin of each fixed point, and conservation of energy gives a global eigenfunction with eigenvalue 0.

Energy as a global eigenfunction. For this system the energy H=12x22−12x12+14x14H = \tfrac{1}{2}x_2^2 - \tfrac{1}{2}x_1^2 + \tfrac{1}{4}x_1^4 is a Koopman eigenfunction with eigenvalue 0 in the continuous-time setting, where x˙=f(x)\dot{\mathbf{x}} = \mathbf{f}(\mathbf{x}) generates the flow. Its value stays constant along every trajectory, which in the discrete flow map corresponds to eigenvalue 1. The review links this to Noether's theorem: a symmetry gives a conserved quantity, which gives an eigenfunction with eigenvalue 0.

Fluid flow. DMD applied to flow past a circular cylinder at Reynolds number 100 recovers the coherent structures of the wake, and a cavity flow at Reynolds number 4500 is analysed with its DMD spectrum and modes.

Epidemiology. DMD applied to polio case counts in Nigeria gives a decomposition of the outbreak into modes, one of the non-fluid uses the review highlights.

Limits the review states itself. Linear measurements often cannot span a Koopman-invariant subspace for strongly nonlinear systems. The choice of nonlinear measurements is not systematic. Systems with transients, intermittency, or a continuous spectrum of frequencies, such as the pendulum at large amplitude, are only partly captured by a finite model. Most of the theory is for ordinary differential equations, and the authors say connections to spatiotemporal systems are still being developed.

Reading guide

The review has seven numbered sections. Read them in this order, with these lessons alongside.

Check yourself

QuestionIn one sentence, what does the Koopman operator act on, and why is it linear?Show answer

It acts on measurement functions gg of the state, not on the state itself. It maps gg to g∘Fg \circ \mathbf{F}, which is linear because adding measurements and then advancing them gives the same result as advancing them and then adding.

QuestionA scalar measurement is x=2,1,0.5x = 2, 1, 0.5 at successive steps. Fit the DMD scalar A=X′X†A = \mathbf{X}'\mathbf{X}^\dagger with X=[2, 1]\mathbf{X} = [2,\ 1] and X′=[1, 0.5]\mathbf{X}' = [1,\ 0.5]. What is AA?Show answer

With a one-dimensional X\mathbf{X}, X†=X⊤/(XX⊤)\mathbf{X}^\dagger = \mathbf{X}^{\top}/(\mathbf{X}\mathbf{X}^{\top}). Here XX⊤=4+1=5\mathbf{X}\mathbf{X}^{\top} = 4 + 1 = 5, so A=(1⋅2+0.5⋅1)/5=2.5/5=0.5A = (1 \cdot 2 + 0.5 \cdot 1)/5 = 2.5/5 = 0.5.

QuestionWhy can no single linear model on the state capture the global dynamics of the Duffing oscillator?Show answer

Local linearisation at each fixed point is valid only in a small neighbourhood. A linear map on the state has either one fixed point at the origin or a subspace of infinitely many fixed points, but the Duffing oscillator has three isolated fixed points, so no linear coordinate system describes its global dynamics. The Koopman approach instead uses measurement functions to extend each local linear picture to the full basin around its fixed point.

QuestionA DMD fit gives an eigenvalue of magnitude 1.02 for a mode. What does that suggest about the mode over 100 steps?Show answer

A magnitude above 1 means the mode grows. Over 100 steps, a per-step factor of 1.02 multiplies the mode by 1.02100≈7.21.02^{100} \approx 7.2, so the mode roughly grows by a factor of seven. Such a result should be checked, since small fitting errors can push an eigenvalue slightly above 1.

QuestionWhy might a practitioner choose DMD over a Koopman eigenfunction computation?Show answer

DMD needs only snapshot data and linear algebra, and it returns the modes and eigenvalues directly. Eigenfunctions are harder to compute from data and need a chosen basis of measurement functions; the modes are what most applications use.

Sources

Read the full paper

Steven L. Brunton, Marko Budišić, Eurika Kaiser et al., 2021. arXiv:2102.12086