กลับไปหน้าบทความ

อ่าน 7 นาที

Iterative method

In computational mathematics , an iterative method is a mathematical procedure that uses an initial value to generate a sequence of improving approximate solutions for a class of...

Iterative method

In computational mathematics, an iterative method is a mathematical procedure that uses an initial value to generate a sequence of improving approximate solutions for a class of problems, in which the i-th approximation (called an "iterate") is derived from the previous ones.

A specific implementation with termination criteria for a given iterative method like gradient descent, hill climbing, Newton's method, or quasi-Newton methods like BFGS, is an algorithm of an iterative method or a method of successive approximation. An iterative method is called convergent if the corresponding sequence converges for given initial approximations. A mathematically rigorous convergence analysis of an iterative method is usually performed; however, heuristic-based iterative methods are also common.

In contrast, direct methods attempt to solve the problem by a finite sequence of operations. In the absence of rounding errors, direct methods would deliver an exact solution (for example, solving a linear system of equations Ax=b{\displaystyle A\mathbf {x} =\mathbf {b} } by Gaussian elimination). Iterative methods are often the only choice for nonlinear equations. However, iterative methods are often useful even for linear problems involving many variables (sometimes on the order of millions), where direct methods would be prohibitively expensive (and in some cases impossible) even with the best available computing power.[1]

Attractive fixed points

ถ้าสมการสามารถเขียนให้อยู่ในรูปf ( x ) = xและคำตอบxเป็นจุดคงที่ ดึงดูด ของฟังก์ชันfแล้ว เราอาจเริ่มต้นด้วยจุดx₁ในแอ่งดึงดูดของxและให้xₙ⁺₁ = f ( xₙ สำหรับn 1 และลำดับ { xₙ n จะลู่เข้าสู่คำตอบxโดยที่xₙ⁺₁คือ ค่าประมาณหรือการ ซ้ำ ครั้งที่ n x และ xₙ⁺₁ คือค่าประมาณหรือการวนซ้ำ + ถัดไปของ x หรืออีกทางหนึ่ง มักใช้ตัวยกในวงเล็บในวิธีการเชิงตัวเลข เพื่อไม่ให้รบกวนตัวห้อยที่มีความหมายอื่น (ตัวอย่างเช่นx ( n +1) = f ( x ( n ) )) ถ้าฟังก์ชันfสามารถหาอนุพันธ์ได้อย่างต่อเนื่องเงื่อนไขที่เพียงพอสำหรับการลู่เข้าคือรัศมีสเปกตรัมของอนุพันธ์มีขอบเขตจำกัดอย่างเคร่งครัดด้วยหนึ่งในบริเวณใกล้เคียงจุดคงที่ ถ้าเงื่อนไขนี้เป็นจริงที่จุดคงที่ แสดงว่าต้องมีบริเวณใกล้เคียงที่เล็กพอ (แอ่งดึงดูด) อยู่[ 2 ]  

ระบบเชิงเส้น

ในกรณีของระบบสมการเชิงเส้นวิธีการวนซ้ำหลักสองประเภท ได้แก่วิธีการวนซ้ำแบบอยู่กับที่ และ วิธีการวนซ้ำแบบ Krylov ซึ่ง เป็นวิธีการ ทั่วไปมากกว่า

วิธีการวนซ้ำแบบอยู่กับที่

การแนะนำ

วิธีการวนซ้ำแบบอยู่กับที่จะแก้ระบบสมการเชิงเส้นโดยใช้ตัวดำเนินการประมาณค่าของตัวดำเนินการเดิม และจากค่าความคลาดเคลื่อนในผลลัพธ์ ( ค่าตกค้าง ) จะสร้าง "สมการแก้ไข" ซึ่งกระบวนการนี้จะถูกทำซ้ำ แม้ว่าวิธีการเหล่านี้จะง่ายต่อการคิดค้น นำไปใช้ และวิเคราะห์ แต่การลู่เข้าจะรับประกันได้เฉพาะกับเมทริกซ์บางประเภทเท่านั้น

คำนิยาม

วิธีการวนซ้ำถูกกำหนดโดย xเค+1:=Ψ(xเค),เค0{\displaystyle \mathbf {x} ^{k+1}:=\Psi (\mathbf {x} ^{k}),\quad k\geq 0} และสำหรับระบบเชิงเส้นที่กำหนดเอx={\displaystyle A\mathbf {x} =\mathbf {b} }พร้อมวิธีแก้ปัญหาที่แม่นยำx*{\displaystyle \mathbf {x} ^{*}}ข้อผิดพลาดโดย อีเค:=xเคx*,เค0.{\displaystyle \mathbf {e} ^{k}:=\mathbf {x} ^{k}-\mathbf {x} ^{*},\quad k\geq 0.} วิธีการวนซ้ำเรียกว่าเชิงเส้นถ้ามีเมทริกซ์อยู่ซีอาร์n×n{\displaystyle C\in \mathbb {R} ^{n\times n}}โดยที่ อีเค+1=ซีอีเคเค0{\displaystyle \mathbf {e} ^{k+1}=C\mathbf {e} ^{k}\quad \forall k\geq 0} และเมทริกซ์นี้เรียกว่าเมทริกซ์การวนซ้ำวิธีการวนซ้ำโดยใช้เมทริกซ์การวนซ้ำที่กำหนดให้ซี{\displaystyle C} is called convergent if the following holds limkCk=0.{\displaystyle \lim _{k\to \infty }C^{k}=0.}

An important theorem states that for a given iterative method and its iteration matrix C{\displaystyle C} it is convergent if and only if its spectral radiusρ(C){\displaystyle \rho (C)} is smaller than unity, that is, ρ(C)<1.{\displaystyle \rho (C)<1.}

The basic iterative methods work by splitting the matrix A{\displaystyle A} into A=MN{\displaystyle A=M-N} and here the matrix M{\displaystyle M} should be easily invertible. The iterative methods are now defined as Mxk+1=Nxk+b,k0,{\displaystyle M\mathbf {x} ^{k+1}=N\mathbf {x} ^{k}+\mathbf {b} ,\quad k\geq 0,} or, equivalently, xk+1=xk+M1(bAxk),k0.{\displaystyle \mathbf {x} ^{k+1}=\mathbf {x} ^{k}+M^{-1}\left(\mathbf {b} -A\mathbf {x} ^{k}\right),\quad k\geq 0.} From this follows that the iteration matrix is given by C=IM1A=M1N.{\displaystyle C=I-M^{-1}A=M^{-1}N.}

Examples

Basic examples of stationary iterative methods use a splitting of the matrix A{\displaystyle A} such as A=D+L+U,D:=diag((aii)i){\displaystyle A=D+L+U\,,\quad D:=\operatorname {diag} ((a_{ii})_{i})} where D{\displaystyle D} is only the diagonal part of A{\displaystyle A}, and L{\displaystyle L} is the strict lower triangular part of A{\displaystyle A}. Respectively, U{\displaystyle U} is the strict upper triangular part of A{\displaystyle A}.

Linear stationary iterative methods are also called relaxation methods.

Krylov subspace methods

Krylov subspace methods[3] work by forming a basis of the sequence of successive matrix powers times the initial residual (the Krylov sequence). The approximations to the solution are then formed by minimizing the residual over the subspace formed. The prototypical method in this class is the conjugate gradient method (CG) which assumes that the system matrix A{\displaystyle A} is symmetricpositive-definite. For symmetric (and possibly indefinite) A{\displaystyle A} one works with the minimal residual method (MINRES). In the case of non-symmetric matrices, methods such as the generalized minimal residual method (GMRES) and the biconjugate gradient method (BiCG) have been derived.

Convergence of Krylov subspace methods

Since these methods form a basis, it is evident that the method converges in N iterations, where N is the system size. However, in the presence of rounding errors this statement does not hold; moreover, in practice N can be very large, and the iterative process reaches sufficient accuracy already far earlier. The analysis of these methods is hard, depending on a complicated function of the spectrum of the operator.

Preconditioners

The approximating operator that appears in stationary iterative methods can also be incorporated in Krylov subspace methods such as GMRES (alternatively, preconditioned Krylov methods can be considered as accelerations of stationary iterative methods), where they become transformations of the original operator to a presumably better conditioned one. The construction of preconditioners is a large research area.

Methods of successive approximation

Mathematical methods relating to successive approximation include:

History

Jamshīd al-Kāshī used iterative methods to calculate the sine of 1° and π in The Treatise of Chord and Sine to high precision. An early iterative method for solving a linear system appeared in a letter of Gauss to a student of his. He proposed solving a 4-by-4 system of equations by repeatedly solving the component in which the residual was the largest .

The theory of stationary iterative methods was solidly established with the work of D.M. Young starting in the 1950s. The conjugate gradient method was also invented in the 1950s, with independent developments by Cornelius Lanczos, Magnus Hestenes and Eduard Stiefel, but its nature and applicability were misunderstood at the time. Only in the 1970s was it realized that conjugacy based methods work very well for partial differential equations, especially the elliptic type.

See also

  • Templates for the Solution of Linear Systems
  • Y. Saad: Iterative Methods for Sparse Linear Systems, 1st edition, PWS 1996

สรุปเนื้อหา

ข้อมูลสำคัญจากบทความ

ข้อมูลสำคัญเกี่ยวกับ Iterative method

In computational mathematics , an iterative method is a mathematical procedure that uses an initial value to generate a sequence of improving approximate solutions for a class of...

Attractive fixed points

ถ้าสมการสามารถเขียนให้อยู่ในรูป f ( x ) = x และคำตอบ x เป็น จุดคงที่ ดึงดูด ของฟังก์ชัน f แล้ว เราอาจเริ่มต้นด้วยจุด x₁ ใน แอ่งดึงดูด ของ x และให้ xₙ⁺₁ = f ( xₙ สำหรับ n 1 และลำดับ { xₙ n จะลู่เข้าสู่คำตอบ x โดยที่ xₙ⁺₁ คือ ค่าประมาณหรือการ ซ้ำ ครั้งที่ n x...

ระบบเชิงเส้น

ในกรณีของ ระบบสมการเชิงเส้น วิธีการวนซ้ำหลักสองประเภท ได้แก่ วิธีการวนซ้ำแบบอยู่กับที่ และ วิธีการ วนซ้ำแบบ Krylov ซึ่ง เป็นวิธีการ ทั่วไปมากกว่า

วิธีการวนซ้ำแบบอยู่กับที่

วิธีการวนซ้ำแบบอยู่กับที่จะแก้ระบบสมการเชิงเส้นโดยใช้ ตัวดำเนิน การประมาณค่าของตัวดำเนินการเดิม และจากค่าความคลาดเคลื่อนในผลลัพธ์ ( ค่าตกค้าง ) จะสร้าง "สมการแก้ไข" ซึ่งกระบวนการนี้จะถูกทำซ้ำ แม้ว่าวิธีการเหล่านี้จะง่ายต่อการคิดค้น นำไปใช้ และวิเคราะห์...