ArticleslgStudy

physics

Dynamic mode decomposition

Dynamic mode decomposition is a physics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Dynamic mode decomposition rather than just read about it. In short: In data science, dynamic mode decomposition (DMD) is a dimensionality reduction algorithm developed by Peter J. Schmid and Joern Sesterhenn in 2008.

Dynamic mode decomposition — main illustration
Dynamic mode decomposition — illustration

Key takeaways

  • Dynamic mode decomposition belongs to physics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Dynamic mode decomposition to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Dynamic mode decomposition from memory before moving on to harder problems.

Reference excerpt

In data science, dynamic mode decomposition (DMD) is a dimensionality reduction algorithm developed by Peter J. Schmid and Joern Sesterhenn in 2008. Given a time series of data, DMD computes a set of modes, each of which is associated with a fixed oscillation frequency and decay/growth rate. For linear systems in particular, these modes and frequencies are analogous to the normal modes of the system, but more generally, they are approximations of the modes and eigenvalues of the composition operator (also called the Koopman operator). Due to the intrinsic temporal behaviors associated with each mode, DMD differs from dimensionality reduction methods such as principal component analysis (PCA), which computes orthogonal modes that lack predetermined temporal behaviors. Because its modes are not orthogonal, DMD-based representations can be less parsimonious than those generated by PCA. However, they can also be more physically meaningful because each mode is associated with a damped (or driven) sinusoidal behavior in time.

Overview Dynamic mode decomposition was first introduced by Schmid as a numerical procedure for extracting dynamical features from flow data. The data takes the form of a snapshot sequence

V1N={v1,v2,…,vN}, where vi∈ℝM is the i-th snapshot of the flow field, and V1N∈ℝM×N is a data matrix whose columns are the individual snapshots. These snapshots are assumed to be related via a linear mapping that defines a linear dynamical system

vi+1=Avi, that remains approximately the same over the duration of the sampling period. Written in matrix form, this implies that

V2N=AV1N−1+reN−1T, where r is the vector of residuals that accounts for behaviors that cannot be described completely by A, eN−1={0,0,…,1}∈ℝN−1, V1N−1={v1,v2,…,vN−1}, and V2N={v2,v3,…,vN}. Regardless of the approach, the output of DMD is the eigenvalues and eigenvectors of A, which are referred to as the DMD eigenvalues and DMD modes respectively.

Algorithm There are two methods for obtaining these eigenvalues and modes. The first is Arnoldi-like, which is useful for theoretical analysis due to its connection with Krylov methods. The second is a singular value decomposition (SVD) based approach that is more robust to noise in the data and to numerical errors.

The Arnoldi approach In fluids applications, the size of a snapshot, M, is assumed to be much larger than the number of snapshots N, so there are many equally valid choices of A. The original DMD algorithm picks A so that each of the snapshots in V2N can be expressed as linear combinations of the snapshots in V1N−1. Because most of the snapshots appear in both data sets, this representation is error free for all snapshots except vN, which is written as

vN=a1v1+a2v2+⋯+aN−1vN−1+r=V1N−1a+r, where a=a1,a2,…,aN−1 is a set of coefficients DMD must identify and r is the residual. In total,

V2N=AV1N−1+reN−1T=V1N−1S+reN−1T, where S is the companion matrix

S=(00…0a110…0a201…0a3⋮⋮⋱⋮⋮00…1aN−1). The vector a can be computed by solving a least squares problem, which minimizes the overall residual. In particular if we take the QR decomposition of V1N−1=QR, then a=R−1QTvN. In this form, DMD is a type of Arnoldi method, and therefore the eigenvalues of S are approximations of the eigenvalues of A. Furthermore, if y is an eigenvector of S, then V1N−1y is an approximate eigenvector of A. The reason an eigendecomposition is performed on S rather than A is because S is much smaller than A, so the computational cost of DMD is determined by the number of snapshots rather than the size of a snapshot.

The SVD-based approach Instead of computing the companion matrix S, the SVD-based approach yields the matrix S~ that is related to A via a similarity transform. To do this, assume we have the SVD of V1N−1=UΣWT. Then

V2N=AV1N−1+reN−1T=AUΣWT+reN−1T. Equivalent to the assumption made by the Arnoldi-based approach, we choose A such that the snapshots in V2N can be written as the linear superposition of the columns in U, which is equivalent to requiring that they can be written as the superposition of POD modes. With this restriction, minimizing the residual requires that it is orthogonal to the POD basis (i.e., UTr=0). Then multiplying both sides of the equation above by UT yields UTV2N=UTAUΣWT, which can be manipulated to obtain

UTAU=UTV2NWΣ−1≡S~. Because A and S~ are related via similarity transform, the eigenvalues of S~ are the eigenvalues of A, and if y is an eigenvector of S~, then Uy is an eigenvector of A. In summary, the SVD-based approach is as follows:

Split the time series of data in V1N into the two matrices V1N−1 and V2N. Compute the SVD of V1N−1=UΣWT. Form the matrix S~=UTV2NWΣ−1, and compute its eigenvalues λi and eigenvectors yi. The i-th DMD eigenvalue is λi and i-th DMD mode is the Uyi. The advantage of the SVD-based approach over the Arnoldi-like approach is that noise in the data and numerical truncation issues can be compensated for by truncating the SVD of V1N−1. As noted in accurately computing more than the first couple modes and eigenvalues can be difficult on experimental data sets without this truncation step.

Theoretical and algorithmic advancements Since its inception in 2010, a considerable amount of work has focused on understanding and improving DMD. One of the first analyses of DMD by Rowley et al. established the connection between DMD and the Koopman operator, and helped to explain the output of DMD when applied to nonlinear systems. Since then, a number of modifications have been developed that either strengthen this connection further or enhance the robustness and applicability of the approach.

… excerpt ends here. Continue reading the full article.

Illustrations

Dynamic mode decomposition: Fig.2 DMD-spectrum
Fig.2 DMD-spectrum
Dynamic mode decomposition illustration
Dynamic mode decomposition illustration
Dynamic mode decomposition illustration
Dynamic mode decomposition illustration

Worked examples

Example 1 — a first encounter with Dynamic mode decomposition

Start with the simplest possible case. Write down what Dynamic mode decomposition claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In physics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Dynamic mode decomposition before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Dynamic mode decomposition ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Dynamic mode decomposition

In research
Dynamic mode decomposition appears in physics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Dynamic mode decomposition in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Dynamic mode decomposition is common in secondary-school and first-year university syllabi. It links to neighbouring topics Experimental physics, Matrix decompositions, Time series, so understanding it makes those chapters shorter.
In everyday life
Look for Dynamic mode decomposition outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Dynamic mode decomposition” →

How to study Dynamic mode decomposition in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Dynamic mode decomposition means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Dynamic mode decomposition out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Dynamic mode decomposition in simple terms?

In data science, dynamic mode decomposition (DMD) is a dimensionality reduction algorithm developed by Peter J. Schmid and Joern Sesterhenn in 2008.

Why does Dynamic mode decomposition matter?

Because it connects several physics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Dynamic mode decomposition?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Dynamic mode decomposition.

Tags

  • Experimental physics
  • Matrix decompositions
  • Time series

Keep exploring