ArticleslgStudy

computer science

Iterative rational Krylov algorithm

Iterative rational Krylov algorithm is a computer science 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 Iterative rational Krylov algorithm rather than just read about it. In short: The iterative rational Krylov algorithm (IRKA) is an iterative algorithm, useful for model order reduction (MOR) of single-input single-output (SISO) linear time-invariant dynamical systems. At each iteration, IRKA does an Hermite type interpolation of the original system transfer function.

Key takeaways

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

Reference excerpt

The iterative rational Krylov algorithm (IRKA) is an iterative algorithm, useful for model order reduction (MOR) of single-input single-output (SISO) linear time-invariant dynamical systems. At each iteration, IRKA does an Hermite type interpolation of the original system transfer function. Each interpolation requires solving r shifted pairs of linear systems, each of size n×n; where n is the original system order, and r is the desired reduced model order (usually r≪n). The algorithm was first introduced by Gugercin, Antoulas and Beattie in 2008. It is based on a first order necessary optimality condition, initially investigated by Meier and Luenberger in 1967. The first convergence proof of IRKA was given by Flagg, Beattie and Gugercin in 2012, for a particular kind of systems.

MOR as an optimization problem Consider a SISO linear time-invariant dynamical system, with input v(t), and output y(t):

{x˙(t)=Ax(t)+bv(t)y(t)=cTx(t)A∈ℝn×n,b,c∈ℝn,v(t),y(t)∈ℝ,x(t)∈ℝn. Applying the Laplace transform, with zero initial conditions, we obtain the transfer function G, which is a fraction of polynomials:

G(s)=cT(sI−A)−1b,A∈ℝn×n,b,c∈ℝn. Assume G is stable. Given r<n, MOR tries to approximate the transfer function G, by a stable rational transfer function Gr, of order r:

Gr(s)=crT(sIr−Ar)−1br,Ar∈ℝr×r,br,cr∈ℝr. A possible approximation criterion is to minimize the absolute error in H2 norm:

Gr∈argmindim⁡(Ĝ)=r,Ĝ stable‖G−Ĝ‖H2,‖G‖H22:=12π∫−∞∞|G(ja)|2da. This is known as the H2 optimization problem. This problem has been studied extensively, and it is known to be non-convex which implies that usually it will be difficult to find a global minimizer.

Meier–Luenberger conditions The following first order necessary optimality condition for the H2 problem is of great importance for the IRKA algorithm.

Note that the poles λi(Ar) are the eigenvalues of the reduced r×r matrix Ar.

Hermite interpolation An Hermite interpolant Gr of the rational function G through r distinct points σ1,…,σr∈ℂ has components:

Ar=Wr∗AVr,br=Wr∗b,cr=Vr∗c,Ar∈ℝr×r,br∈ℝr,cr∈ℝr; where the matrices Vr=(v1∣…∣vr)∈ℂn×r and Wr=(w1∣…∣wr)∈ℂn×r may be found by solving r dual pairs of linear systems, one for each shift [Theorem 1.1]:

(σiI−A)vi=b,(σiI−A)∗wi=c,∀i=1,…,r.

IRKA algorithm As can be seen from the previous section, finding an Hermite interpolator Gr of G through r given points is relatively easy. The difficult part is to find the correct interpolation points. IRKA tries to iteratively approximate these "optimal" interpolation points. For this, it starts with r arbitrary interpolation points (closed under conjugation), and then, at each iteration m, it imposes the first order necessary optimality condition of the H2 problem: 1. find the Hermite interpolant Gr of G through the actual r shift points: σ1m,…,σrm. 2. update the shifts by using the poles of the new Gr: σim+1=−λi(Ar),∀i=1,…,r. The iteration is stopped when the relative change in the set of shifts of two successive iterations is less than a given tolerance. This condition may be stated as:

|σim+1−σim||σim|<tol,∀i=1,…,r. As already mentioned, each Hermite interpolation requires solving r shifted pairs of linear systems, each of size n×n:

(σimI−A)vi=b,(σimI−A)∗wi=c,∀i=1,…,r. Also, updating the shifts requires finding the r poles of the new interpolant Gr. That is, finding the r eigenvalues of the reduced r×r matrix Ar.

Pseudocode The following is a pseudocode for the IRKA algorithm[Algorithm 4.1].

algorithm IRKA input: A,b,c, tol>0, σ1,…,σr closed under conjugation (σiI−A)vi=b,∀i=1,…,r % Solve primal systems (σiI−A)∗wi=c,∀i=1,…,r % Solve dual systems

while relative change in {σi} > tol Ar=Wr∗AVr % Reduced order matrix σi=−λi(Ar),∀i=1,…,r % Update shifts, using poles of Gr (σiI−A)vi=b,∀i=1,…,r % Solve primal systems (σiI−A)∗wi=c,∀i=1,…,r % Solve dual systems end while

return Ar=Wr∗AVr,br=Wr∗b,crT=cTVr % Reduced order model

Convergence A SISO linear system is said to have symmetric state space (SSS) whenever A=AT,b=c. This type of systems appear in many important applications, such as in the analysis of RC circuits and in inverse problems involving 3D Maxwell's equations. For SSS systems with distinct poles, the following convergence result has been proven: "IRKA is a locally convergent fixed point iteration to a local minimizer of the H2 optimization problem." Although there is no convergence proof for the general case, numerous experiments have shown that IRKA often converges rapidly for different kind of linear dynamical systems.

Extensions IRKA algorithm has been extended by the original authors to multiple-input multiple-output (MIMO) systems, and also to discrete time and differential algebraic systems[Remark 4.1].

See also Model order reduction

References

External links Model Order Reduction Wiki

Worked examples

Example 1 — a first encounter with Iterative rational Krylov algorithm

Start with the simplest possible case. Write down what Iterative rational Krylov algorithm claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, 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 Iterative rational Krylov algorithm 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 Iterative rational Krylov algorithm 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 Iterative rational Krylov algorithm

In research
Iterative rational Krylov algorithm appears in computer science 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 Iterative rational Krylov algorithm 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
Iterative rational Krylov algorithm is common in secondary-school and first-year university syllabi. It links to neighbouring topics Mathematical modeling, Numerical analysis, so understanding it makes those chapters shorter.
In everyday life
Look for Iterative rational Krylov algorithm 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 “Iterative rational Krylov algorithm” →

How to study Iterative rational Krylov algorithm in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Iterative rational Krylov algorithm 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 Iterative rational Krylov algorithm out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Iterative rational Krylov algorithm in simple terms?

The iterative rational Krylov algorithm (IRKA) is an iterative algorithm, useful for model order reduction (MOR) of single-input single-output (SISO) linear time-invariant dynamical systems. At each iteration, IRKA does an Hermite type interpolation of the original system transfer function.

Why does Iterative rational Krylov algorithm matter?

Because it connects several computer science 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 Iterative rational Krylov algorithm?

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 Iterative rational Krylov algorithm.

Tags

  • Mathematical modeling
  • Numerical analysis

Keep exploring