ArticleslgStudy

mathematics

Biconjugate gradient stabilized method

Biconjugate gradient stabilized 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 Biconjugate gradient stabilized method rather than just read about it. In short: In numerical linear algebra, the biconjugate gradient stabilized method, often abbreviated as BiCGSTAB, is an iterative method developed by H. A. van der Vorst for the numerical solution of nonsymmetric linear systems.

Key takeaways

  • Biconjugate gradient stabilized 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 Biconjugate gradient stabilized method to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Biconjugate gradient stabilized method from memory before moving on to harder problems.

Reference excerpt

In numerical linear algebra, the biconjugate gradient stabilized method, often abbreviated as BiCGSTAB, is an iterative method developed by H. A. van der Vorst for the numerical solution of nonsymmetric linear systems. It is a variant of the biconjugate gradient method (BiCG) and has faster and smoother convergence than the original BiCG as well as other variants such as the conjugate gradient squared method (CGS). It is a Krylov subspace method. Unlike the original BiCG method, it doesn't require multiplication by the transpose of the system matrix.

Algorithmic steps

Unpreconditioned BiCGSTAB In the following sections, (x,y) = xT y denotes the dot product of vectors. To solve a linear system Ax = b, BiCGSTAB starts with an initial guess x0 and proceeds as follows:

r0 = b − Ax0 Choose an arbitrary vector r̂0 such that (r̂0, r0) ≠ 0, e.g., r̂0 = r0 ρ0 = (r̂0, r0) p0 = r0 For i = 1, 2, 3, … v = Api−1 α = ρi−1/(r̂0, v) h = xi−1 + αpi−1 s = ri−1 − αv If h is accurate enough, i.e., if s is small enough, then set xi = h and quit t = As ω = (t, s)/(t, t) xi = h + ωs ri = s − ωt If xi is accurate enough, i.e., if ri is small enough, then quit ρi = (r̂0, ri) β = (ρi/ρi−1)(α/ω) pi = ri + β(pi−1 − ωv) In some cases, choosing the vector r̂0 randomly improves numerical stability.

Preconditioned BiCGSTAB Preconditioners are usually used to accelerate convergence of iterative methods. To solve a linear system Ax = b with a preconditioner K = K1K2 ≈ A, preconditioned BiCGSTAB starts with an initial guess x0 and proceeds as follows:

r0 = b − Ax0 Choose an arbitrary vector r̂0 such that (r̂0, r0) ≠ 0, e.g., r̂0 = r0 ρ0 = (r̂0, r0) p0 = r0 For i = 1, 2, 3, … y = K −12 K −11 pi−1 v = Ay α = ρi−1/(r̂0, v) h = xi−1 + αy s = ri−1 − αv If h is accurate enough then xi = h and quit z = K −12 K −11 s t = Az ω = (K −11 t, K −11 s)/(K −11 t, K −11 t) xi = h + ωz ri = s − ωt If xi is accurate enough then quit ρi = (r̂0, ri) β = (ρi/ρi−1)(α/ω) pi = ri + β(pi−1 − ωv) This formulation is equivalent to applying unpreconditioned BiCGSTAB to the explicitly preconditioned system

Ãx̃ = b̃ with à = K −11 AK −12 , x̃ = K2x and b̃ = K −11 b. In other words, both left- and right-preconditioning are possible with this formulation.

Derivation

BiCG in polynomial form In BiCG, the search directions pi and p̂i and the residuals ri and r̂i are updated using the following recurrence relations:

pi = ri−1 + βipi−1, p̂i = r̂i−1 + βip̂i−1, ri = ri−1 − αiApi, r̂i = r̂i−1 − αiATp̂i. The constants αi and βi are chosen to be

αi = ρi/(p̂i, Api), βi = ρi/ρi−1 where ρi = (r̂i−1, ri−1) so that the residuals and the search directions satisfy biorthogonality and biconjugacy, respectively, i.e., for i ≠ j,

(r̂i, rj) = 0, (p̂i, Apj) = 0. It is straightforward to show that

ri = Pi(A)r0, r̂i = Pi(AT)r̂0, pi+1 = Ti(A)r0, p̂i+1 = Ti(AT)r̂0 where Pi(A) and Ti(A) are ith-degree polynomials in A. These polynomials satisfy the following recurrence relations:

Pi(A) = Pi−1(A) − αiATi−1(A), Ti(A) = Pi(A) + βi+1Ti−1(A).

Derivation of BiCGSTAB from BiCG It is unnecessary to explicitly keep track of the residuals and search directions of BiCG. In other words, the BiCG iterations can be performed implicitly. In BiCGSTAB, one wishes to have recurrence relations for

r̃i = Qi(A)Pi(A)r0 where Qi(A) = (I − ω1A)(I − ω2A)⋯(I − ωiA) with suitable constants ωj instead of ri = Pi(A)r0 in the hope that Qi(A) will enable faster and smoother convergence in r̃i than ri. It follows from the recurrence relations for Pi(A) and Ti(A) and the definition of Qi(A) that

Qi(A)Pi(A)r0 = (I − ωiA)(Qi−1(A)Pi−1(A)r0 − αiAQi−1(A)Ti−1(A)r0), which entails the necessity of a recurrence relation for Qi(A)Ti(A)r0. This can also be derived from the BiCG relations:

Qi(A)Ti(A)r0 = Qi(A)Pi(A)r0 + βi+1(I − ωiA)Qi−1(A)Ti−1(A)r0. Similarly to defining r̃i, BiCGSTAB defines

p̃i+1 = Qi(A)Ti(A)r0. Written in vector form, the recurrence relations for p̃i and r̃i are

p̃i = r̃i−1 + βi(I − ωi−1A)p̃i−1, r̃i = (I − ωiA)(r̃i−1 − αiAp̃i). To derive a recurrence relation for xi, define

si = r̃i−1 − αiAp̃i. The recurrence relation for r̃i can then be written as

r̃i = r̃i−1 − αiAp̃i − ωiAsi, which corresponds to

xi = xi−1 + αip̃i + ωisi.

Determination of BiCGSTAB constants Now it remains to determine the BiCG constants αi and βi and choose a suitable ωi. In BiCG, βi = ρi/ρi−1 with

ρi = (r̂i−1, ri−1) = (Pi−1(AT)r̂0, Pi−1(A)r0). Since BiCGSTAB does not explicitly keep track of r̂i or ri, ρi is not immediately computable from this formula. However, it can be related to the scalar

ρ̃i = (Qi−1(AT)r̂0, Pi−1(A)r0) = (r̂0, Qi−1(A)Pi−1(A)r0) = (r̂0, ri−1). Due to biorthogonality, ri−1 = Pi−1(A)r0 is orthogonal to Ui−2(AT)r̂0 where Ui−2(AT) is any polynomial of degree i − 2 in AT. Hence, only the highest-order terms of Pi−1(AT) and Qi−1(AT) matter in the dot products (Pi−1(AT)r̂0, Pi−1(A)r0) and (Qi−1(AT)r̂0, Pi−1(A)r0). The leading coefficients of Pi−1(AT) and Qi−1(AT) are (−1)i−1α1α2⋯αi−1 and (−1)i−1ω1ω2⋯ωi−1, respectively. It follows that

ρi = (α1/ω1)(α2/ω2)⋯(αi−1/ωi−1)ρ̃i, and thus

βi = ρi/ρi−1 = (ρ̃i/ρ̃i−1)(αi−1/ωi−1). A simple formula for αi can be similarly derived. In BiCG,

αi = ρi/(p̂i, Api) = (Pi−1(AT)r̂0, Pi−1(A)r0)/(Ti−1(AT)r̂0, ATi−1(A)r0). Similarly to the case above, only the highest-order terms of Pi−1(AT) and Ti−1(AT) matter in the dot products thanks to biorthogonality and biconjugacy. It happens that Pi−1(AT) and Ti−1(AT) have the same leading coefficient. Thus, they can be replaced simultaneously with Qi−1(AT) in the formula, which leads to

αi = (Qi−1(AT)r̂0, Pi−1(A)r0)/(Qi−1(AT)r̂0, ATi−1(A)r0) = ρ̃i/(r̂0, AQi−1(A)Ti−1(A)r0) = ρ̃i/(r̂0, Ap̃i). Finally, BiCGSTAB selects ωi to minimize r̃i = (I − ωiA)si in 2-norm as a function of ωi. This is achieved when

((I − ωiA)si, Asi) = 0, giving the optimal value

ωi = (Asi, si)/(Asi, Asi).

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Biconjugate gradient stabilized method

Start with the simplest possible case. Write down what Biconjugate gradient stabilized 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 Biconjugate gradient stabilized 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 Biconjugate gradient stabilized 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 Biconjugate gradient stabilized method

In research
Biconjugate gradient stabilized 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 Biconjugate gradient stabilized 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
Biconjugate gradient stabilized method is common in secondary-school and first-year university syllabi. It links to neighbouring topics Gradient methods, Numerical linear algebra, so understanding it makes those chapters shorter.
In everyday life
Look for Biconjugate gradient stabilized 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 “Biconjugate gradient stabilized method” →

How to study Biconjugate gradient stabilized method in 20 minutes

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

Frequently asked questions

What is Biconjugate gradient stabilized method in simple terms?

In numerical linear algebra, the biconjugate gradient stabilized method, often abbreviated as BiCGSTAB, is an iterative method developed by H. A. van der Vorst for the numerical solution of nonsymmetric linear systems.

Why does Biconjugate gradient stabilized 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 Biconjugate gradient stabilized 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 Biconjugate gradient stabilized method.

Tags

  • Gradient methods
  • Numerical linear algebra

Keep exploring