ArticleslgStudy

mathematics

Alternating-direction implicit method

Alternating-direction implicit method is a mathematics 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 Alternating-direction implicit method rather than just read about it. In short: In numerical linear algebra, the alternating-direction implicit (ADI) method is an iterative method used to solve Sylvester matrix equations. It is a popular method for solving the large matrix equations that arise in systems theory and control, and can be formulated to construct solutions in a memory-efficient, factored form.

Alternating-direction implicit method — main illustration
Alternating-direction implicit method — illustration

Key takeaways

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

Reference excerpt

In numerical linear algebra, the alternating-direction implicit (ADI) method is an iterative method used to solve Sylvester matrix equations. It is a popular method for solving the large matrix equations that arise in systems theory and control, and can be formulated to construct solutions in a memory-efficient, factored form. It is also used to numerically solve parabolic and elliptic partial differential equations, and is a classic method used for modeling heat conduction and solving the diffusion equation in two or more dimensions. It is an example of an operator splitting method. The method was developed at Humble Oil in the mid-1950s by Jim Douglas Jr, Henry Rachford, and Don Peaceman.

ADI for matrix equations

The method The ADI method is a two step iteration process that alternately updates the column and row spaces of an approximate solution to AX−XB=C. One ADI iteration consists of the following steps:1. Solve for X(j+1/2), where (A−βj+1I)X(j+1/2)=X(j)(B−βj+1I)+C. 2. Solve for X(j+1), where X(j+1)(B−αj+1I)=(A−αj+1I)X(j+1/2)−C. The numbers (αj+1,βj+1) are called shift parameters, and convergence depends strongly on the choice of these parameters. To perform K iterations of ADI, an initial guess X(0) is required, as well as K shift parameters, {(αj,βj)}j=1K.

When to use ADI If A∈ℂm×m and B∈ℂn×n, then AX−XB=C can be solved directly in 𝒪(m3+n3) using the Bartels-Stewart method. It is therefore only beneficial to use ADI when matrix-vector multiplication and linear solves involving A and B can be applied cheaply. The equation AX−XB=C has a unique solution if and only if σ(A)∩σ(B)=∅︀, where σ(M) is the spectrum of M. However, the ADI method performs especially well when σ(A) and σ(B) are well-separated, and A and B are normal matrices. These assumptions are met, for example, by the Lyapunov equation AX+XA∗=C when A is positive definite. Under these assumptions, near-optimal shift parameters are known for several choices of A and B. Additionally, a priori error bounds can be computed, thereby eliminating the need to monitor the residual error in implementation. The ADI method can still be applied when the above assumptions are not met. The use of suboptimal shift parameters may adversely affect convergence, and convergence is also affected by the non-normality of A or B (sometimes advantageously). Krylov subspace methods, such as the Rational Krylov Subspace Method, are observed to typically converge more rapidly than ADI in this setting, and this has led to the development of hybrid ADI-projection methods.

Shift-parameter selection and the ADI error equation The problem of finding good shift parameters is nontrivial. This problem can be understood by examining the ADI error equation. After K iterations, the error is given by X−X(K)=∏j=1K(A−αjI)(A−βjI)(X−X(0))∏j=1K(B−βjI)(B−αjI). Choosing X(0)=0 results in the following bound on the relative error: ‖X−X(K)‖2‖X‖2≤‖rK(A)‖2‖rK(B)−1‖2,rK(M)=∏j=1K(M−αjI)(M−βjI). where ‖⋅‖2 is the operator norm. The ideal set of shift parameters {(αj,βj)}j=1K defines a rational function rK that minimizes the quantity ‖rK(A)‖2‖rK(B)−1‖2. If A and B are normal matrices and have eigendecompositions A=VAΛAVA∗ and B=VBΛBVB∗, then ‖rK(A)‖2‖rK(B)−1‖2=‖rK(ΛA)‖2‖rK(ΛB)−1‖2.

Near-optimal shift parameters Near-optimal shift parameters are known in certain cases, such as when ΛA⊂[a,b] and ΛB⊂[c,d], where [a,b] and [c,d] are disjoint intervals on the real line. The Lyapunov equation AX+XA∗=C, for example, satisfies these assumptions when A is positive definite. In this case, the shift parameters can be expressed in closed form using elliptic integrals, and can easily be computed numerically. More generally, if closed, disjoint sets E and F, where ΛA⊂E and ΛB⊂F, are known, the optimal shift parameter selection problem is approximately solved by finding an extremal rational function that attains the value ZK(E,F):=infrsupz∈E|r(z)|infz∈F|r(z)|, where the infimum is taken over all rational functions of degree (K,K). This approximation problem is related to several results in potential theory, and was solved by Zolotarev in 1877 for E = [a, b] and F=−E. The solution is also known when E and F are disjoint disks in the complex plane.

Heuristic shift-parameter strategies When less is known about σ(A) and σ(B), or when A or B are non-normal matrices, it may not be possible to find near-optimal shift parameters. In this setting, a variety of strategies for generating good shift parameters can be used. These include strategies based on asymptotic results in potential theory, using the Ritz values of the matrices A, A−1, B, and B−1 to formulate a greedy approach, and cyclic methods, where the same small collection of shift parameters are reused until a convergence tolerance is met. When the same shift parameter is used at every iteration, ADI is equivalent to an algorithm called Smith's method.

Factored ADI In many applications, A and B are very large, sparse matrices, and C can be factored as C=C1C2∗, where C1∈ℂm×r,C2∈ℂn×r, with r=1,2. In such a setting, it may not be feasible to store the potentially dense matrix X explicitly. A variant of ADI, called factored ADI, can be used to compute ZY∗, where X≈ZY∗. The effectiveness of factored ADI depends on whether X is well-approximated by a low rank matrix. This is known to be true under various assumptions about A and B.

ADI for parabolic equations Historically, the ADI method was developed to solve the 2D diffusion equation on a square domain using finite differences. Unlike ADI for matrix equations, ADI for parabolic equations does not require the selection of shift parameters, since the shift appearing in each iteration is determined by parameters such as the timestep, diffusion coefficient, and grid spacing. The connection to ADI on matrix equations can be observed when one considers the action of the ADI iteration on the system at steady state.

Example: 2D diffusion equation

The traditional method for solving the heat conduction equation numerically is the Crank–Nicolson method. This method results in a very complicated set of equations in multiple dimensions, which are costly to solve. The advantage of the ADI method is that the equations that have to be solved in each step have a simpler structure and can be solved efficiently with the tridiagonal matrix algorithm. Consider the linear diffusion equation in two dimensions,

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Alternating-direction implicit method

Start with the simplest possible case. Write down what Alternating-direction implicit method claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, 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 Alternating-direction implicit method 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 Alternating-direction implicit method 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 Alternating-direction implicit method

In research
Alternating-direction implicit method appears in mathematics 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 Alternating-direction implicit method 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
Alternating-direction implicit method is common in secondary-school and first-year university syllabi. It links to neighbouring topics Iterative methods, Numerical differential equations, Partial differential equations, so understanding it makes those chapters shorter.
In everyday life
Look for Alternating-direction implicit method 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 “Alternating-direction implicit method” →

How to study Alternating-direction implicit method in 20 minutes

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

Frequently asked questions

What is Alternating-direction implicit method in simple terms?

In numerical linear algebra, the alternating-direction implicit (ADI) method is an iterative method used to solve Sylvester matrix equations. It is a popular method for solving the large matrix equations that arise in systems theory and control, and can be formulated to construct solutions in a mem…

Why does Alternating-direction implicit method matter?

Because it connects several mathematics 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 Alternating-direction implicit method?

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 Alternating-direction implicit method.

Tags

  • Iterative methods
  • Numerical differential equations
  • Partial differential equations

Keep exploring