The ADI method is a two step iteration process that alternately updates the column and row spaces of an approximate solution to. One ADI iteration consists of the following steps:
1. Solve for, where
2. Solve for, where .
The numbers are called shift parameters, and convergence depends strongly on the choice of these parameters. To perform iterations of ADI, an initial guess is required, as well as shift parameters,.
When to use ADI
If and , then can be solved directly in using the Bartels-Stewart method. It is therefore only beneficial to use ADI when matrix-vector multiplication and linear solves involving and can be applied cheaply. The equation has a unique solution if and only if, where is the spectrum of. However, the ADI method performs especially well when and are well-separated, and and are normal matrices. These assumptions are met, for example, by the Lyapunov equation when is positive definite. Under these assumptions, near-optimal shift parameters are known for several choices of and. 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 or . 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 iterations, the error is given by Choosing results in the following bound on the relative error: where is the operator norm. The ideal set of shift parameters defines a rational function that minimizes the quantity. If and are normal matrices and have eigendecompositions and, then
Near-optimal shift parameters
Near-optimal shift parameters are known in certain cases, such as when and, where and are disjoint intervals on the real line. The Lyapunov equation, for example, satisfies these assumptions when 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 and, where and, are known, the optimal shift parameter selection problem is approximately solved by finding an extremal rational function that attains the value where the infimum is taken over all rational functions of degree. This approximation problem is related to several results in potential theory, and was solved by Zolotarev in 1877 for = and The solution is also known when and are disjoint disks in the complex plane.
Heuristic shift parameter strategies
When less is known about and, or when or 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,,, and 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, and are very large, sparse matrices, and can be factored as, where, with. In such a setting, it may not be feasible to store the potentially dense matrix explicitly. A variant of ADI, called factored ADI, can be used to compute, where. The effectiveness of factored ADI depends on whether is well-approximated by a low rank matrix. This is known to be true under various assumptions about and.
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, The implicit Crank–Nicolson method produces the following finite difference equation: where: and is the central second difference operator for the p-th coordinate with or for or respectively. After performing a stability analysis, it can be shown that this method will be stable for any. A disadvantage of the Crank–Nicolson method is that the matrix in the above equation is banded with a band width that is generally quite large. This makes direct solution of the system of linear equations quite costly. The idea behind the ADI method is to split the finite difference equations into two, one with the x-derivative taken implicitly and the next with the y-derivative taken implicitly, The system of equations involved is symmetric and tridiagonal, and is typically solved using tridiagonal matrix algorithm. It can be shown that this method is unconditionally stable and second order in time and space. There are more refined ADI methods such as the methods of Douglas, or the f-factor method which can be used for three or more dimensions.
Generalizations
The usage of the ADI method as an operator splitting scheme can be generalized. That is, we may consider general evolution equations where and are operators defined on a Banach space. In the diffusion example above we have and.
Fundamental ADI (FADI)
Simplification of ADI to FADI
It is possible to simplify the conventional ADI method into Fundamental ADI method, which only has the similar operators at the left-hand sides while being operator-free at the right-hand sides. This may be regarded as the fundamental scheme of ADI method, with no more operator at the right-hand sides, unlike most traditional implicit methods that usually consist of operators at both sides of equations. The FADI method leads to simpler, more concise and efficient update equations without degrading the accuracy of conventional ADI method.
Relations to other implicit methods
Many classical implicit methods by Peachman-Rachford, Douglas-Gunn, D'Yakonov, Beam-Warming, Crank-Nicolson, etc., may be simplified to fundamental implicit schemes with operator-free right-hand sides. In their fundamental forms, the FADI method of second-order temporal accuracy can be related closely to the fundamental locally one-dimensional method, which can be upgraded to second-order temporal accuracy, such as for three-dimensional Maxwell's equations in computational electromagnetics. For two- and three-dimensional heat conduction and diffusion equations, both FADI and FLOD methods may be implemented in simpler, more efficient and stable manner compared to their conventional methods.