Math 2.0

Numerical analysis Time-dependent partial differential equations Theorem

Alternating-direction implicit method

Builds on Heat equationFinite difference methodCrank–Nicolson methodTridiagonal matrix algorithm

Statement

Consider the heat equation ut=uxx+uyyu_t = u_{xx} + u_{yy} on the square (0,1)2(0, 1)^2, with u=0u = 0 on the boundary and a given initial value. Let M≥1M \ge 1, h=1/(M+1)h = 1/(M + 1), Δt>0\Delta t > 0, and let ujknu^n_{jk} approximate u(jh,kh,nΔt)u(jh, kh, n \Delta t) for 1≤j,k≤M1 \le j, k \le M, with zero values on the boundary. Let δx2\delta_x^2 and δy2\delta_y^2 be the second differences (δx2v)jk=(vj+1,k−2vjk+vj−1,k)/h2(\delta_x^2 v)_{jk} = (v_{j+1,k} - 2 v_{jk} + v_{j-1,k}) / h^2 and (δy2v)jk=(vj,k+1−2vjk+vj,k−1)/h2(\delta_y^2 v)_{jk} = (v_{j,k+1} - 2 v_{jk} + v_{j,k-1}) / h^2. The Peaceman–Rachford alternating-direction implicit method computes (I−Δt2δx2)u∗=(I+Δt2δy2)un,(I−Δt2δy2)un+1=(I+Δt2δx2)u∗.\left(I - \tfrac{\Delta t}{2} \delta_x^2\right) u^{*} = \left(I + \tfrac{\Delta t}{2} \delta_y^2\right) u^n, \qquad \left(I - \tfrac{\Delta t}{2} \delta_y^2\right) u^{n+1} = \left(I + \tfrac{\Delta t}{2} \delta_x^2\right) u^{*}.

  1. Each half step consists of independent tridiagonal systems, one for each grid line in the xx direction or in the yy direction.
  2. The method is unconditionally stable: ∥un+1∥2≤∥un∥2\norm{u^{n+1}}_2 \le \norm{u^n}_2 for all Δt>0\Delta t > 0 and hh, where ∥v∥22=h2∑j,kvjk2\norm{v}_2^2 = h^2 \sum_{j,k} v_{jk}^2.
  3. For smooth solutions, the method is second-order accurate: its local truncation error is O(Δt2+h2)O(\Delta t^2 + h^2).

Remarks

The matrices δx2\delta_x^2 and δy2\delta_y^2 are symmetric, negative definite and commute, with common eigenvectors sin⁡(pπjh)sin⁡(qπkh)\sin(p \pi j h) \sin(q \pi k h). On such an eigenvector, with eigenvalues −α-\alpha and −β-\beta (α,β>0\alpha, \beta > 0), one step multiplies by g=1−Δt2α1+Δt2α⋅1−Δt2β1+Δt2β,g = \frac{1 - \frac{\Delta t}{2} \alpha}{1 + \frac{\Delta t}{2} \alpha} \cdot \frac{1 - \frac{\Delta t}{2} \beta}{1 + \frac{\Delta t}{2} \beta}, and each factor has absolute value less than 11; this gives clause 2. Eliminating u∗u^* shows that the method equals the two-dimensional Crank–Nicolson method plus the term Δt24δx2δy2(un+1−un)\frac{\Delta t^2}{4} \delta_x^2 \delta_y^2 (u^{n+1} - u^n), which is O(Δt3)O(\Delta t^3) for smooth solutions; this gives clause 3. Each tridiagonal system is solved in linear time by the tridiagonal matrix algorithm, so a step costs O(M2)O(M^2) operations, against a sparse system with M2M^2 unknowns for Crank–Nicolson.

Going deeper

For a student

The method is an operator splitting of δx2+δy2\delta_x^2 + \delta_y^2, and its analysis uses that the two pieces commute; for variable coefficients or non-rectangular domains this fails and the analysis is harder. The same iteration, used with varying parameters, is an iterative solver for the discrete Poisson equation and for Lyapunov and Sylvester matrix equations. In three dimensions one usually uses the Douglas form of the method instead.

Reading path

To understand this page from the ground up, read these 24 pages in order. The foundations come first.

Show the path as a graph
Back substitution, concept, no evidence levelBack substitutionconceptBanach space, concept, no evidence levelBanach spaceconceptDiagonally dominant matrix, concept, no evidence levelDiagonally dominant m…conceptDifferential equation, concept, no evidence levelDifferential equationconceptFinite difference method, concept, no evidence levelFinite difference met…conceptFunction, concept, no evidence levelFunctionconceptGaussian elimination, concept, no evidence levelGaussian eliminationconceptHeat equation, concept, no evidence levelHeat equationconceptInterval, concept, no evidence levelIntervalconceptLU decomposition, concept, no evidence levelLU decompositionconceptMethod of lines, concept, no evidence levelMethod of linesconceptOperator norm, concept, no evidence levelOperator normconceptSystem of linear equations, concept, no evidence levelSystem of linear equa…conceptTransport equation, concept, no evidence levelTransport equationconceptTridiagonal matrix, concept, no evidence levelTridiagonal matrixconceptWell-posed problem, concept, no evidence levelWell-posed problemconceptOrdinary differential equation, definition, no evidence levelOrdinary differential…definitionTridiagonal matrix algorithm, statement, no evidence levelTridiagonal matrix al…statementCourant–Friedrichs–Lewy condition, statement, no evidence levelCourant–Friedrichs–Le…statementSolution of an ordinary differential equation, definition, no evidence levelSolution of an ordina…definitionInitial value problem, definition, no evidence levelInitial value problemdefinitionLax equivalence theorem, statement, no evidence levelLax equivalence theor…statementCrank–Nicolson method, statement, no evidence levelCrank–Nicolson methodstatementAlternating-direction implicit method, statement, no evidence levelAlternating-direction…statement
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Back substitution concept
  2. Banach space concept
  3. Diagonally dominant matrix concept
  4. Differential equation concept
  5. Finite difference method concept
  6. Function concept
  7. Gaussian elimination concept
  8. Heat equation concept
  9. Interval concept
  10. LU decomposition concept
  11. Method of lines concept
  12. Operator norm concept
  13. System of linear equations concept
  14. Transport equation concept
  15. Tridiagonal matrix concept
  16. Well-posed problem concept
  17. Ordinary differential equation definition
  18. Tridiagonal matrix algorithm statement
  19. Courant–Friedrichs–Lewy condition statement
  20. Solution of an ordinary differential equation definition
  21. Initial value problem definition
  22. Lax equivalence theorem statement
  23. Crank–Nicolson method statement
  24. Alternating-direction implicit method statement

Further reading

  1. Web https://en.wikipedia.org/wiki/Alternating-direction_implicit_method
About this page
Tag8RDSR3JXP2
URIm2://8RDSR3JXP2
Kindstatement, theorem
WritingW0 stub
MSC65M06, 65M12
StatusThis copy of the site has no build data. Run m2 status 8RDSR3JXP2.
AboutHeat equation
UsesHeat equation, Finite difference method, Crank–Nicolson method, Tridiagonal matrix algorithm

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.