ArticleslgStudy

mathematics

Biconjugate gradient method

Biconjugate gradient 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 method rather than just read about it. In short: In mathematics, more specifically in numerical linear algebra, the biconjugate gradient method is an algorithm to solve systems of linear equations Ax=b. Unlike the conjugate gradient method, this algorithm does not require the matrix A to be self-adjoint, but instead one needs to perform multiplications by the conjugate transpose A*.

Key takeaways

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

Reference excerpt

In mathematics, more specifically in numerical linear algebra, the biconjugate gradient method is an algorithm to solve systems of linear equations

Ax=b. Unlike the conjugate gradient method, this algorithm does not require the matrix A to be self-adjoint, but instead one needs to perform multiplications by the conjugate transpose A*.

The Algorithm Choose initial guess x0, two other vectors x0∗ and b∗ and a preconditioner M r0←b−Ax0 r0∗←b∗−x0∗A∗ p0←M−1r0 p0∗←r0∗M−1 for k=0,1,… do αk←rk∗M−1rkpk∗Apk xk+1←xk+αk⋅pk xk+1∗←xk∗+αk‾⋅pk∗ rk+1←rk−αk⋅Apk rk+1∗←rk∗−αk‾⋅pk∗A∗ βk←rk+1∗M−1rk+1rk∗M−1rk pk+1←M−1rk+1+βk⋅pk pk+1∗←rk+1∗M−1+βk‾⋅pk∗ In the above formulation, the computed rk and rk∗ satisfy

rk=b−Axk, rk∗=b∗−xk∗A∗ and thus are the respective residuals corresponding to xk and xk∗, as approximate solutions to the systems

Ax=b, x∗A∗=b∗; x∗ is the adjoint, and α‾ is the complex conjugate.

Unpreconditioned version of the algorithm Choose initial guess x0, r0←b−Ax0 r̂0←b̂−x̂0A∗ p0←r0 p̂0←r̂0 for k=0,1,… do αk←r̂krkp̂kApk xk+1←xk+αk⋅pk x̂k+1←x̂k+αk⋅p̂k rk+1←rk−αk⋅Apk r̂k+1←r̂k−αk⋅p̂kA∗ βk←r̂k+1rk+1r̂krk pk+1←rk+1+βk⋅pk p̂k+1←r̂k+1+βk⋅p̂k

Discussion The biconjugate gradient method is numerically unstable (compare to the biconjugate gradient stabilized method), but very important from a theoretical point of view. Define the iteration steps by

xk:=xj+PkA−1(b−Axj), xk∗:=xj∗+(b∗−xj∗A)PkA−1, where j<k using the related projection

Pk:=𝐮k(𝐯k∗A𝐮k)−1𝐯k∗A, with

𝐮k=[u0,u1,…,uk−1], 𝐯k=[v0,v1,…,vk−1]. These related projections may be iterated themselves as

Pk+1=Pk+(1−Pk)uk⊗vk∗A(1−Pk)vk∗A(1−Pk)uk. A relation to Quasi-Newton methods is given by Pk=Ak−1A and xk+1=xk−Ak+1−1(Axk−b), where

Ak+1−1=Ak−1+(1−Ak−1A)uk⊗vk∗(1−AAk−1)vk∗A(1−Ak−1A)uk. The new directions

pk=(1−Pk)uk, pk∗=vk∗A(1−Pk)A−1 are then orthogonal to the residuals:

vi∗rk=pi∗rk=0, rk∗uj=rk∗pj=0, which themselves satisfy

rk=A(1−Pk)A−1rj, rk∗=rj∗(1−Pk) where i,j<k. The biconjugate gradient method now makes a special choice and uses the setting

uk=M−1rk, vk∗=rk∗M−1. With this particular choice, explicit evaluations of Pk and A−1 are avoided, and the algorithm takes the form stated above.

Properties If A=A∗ is self-adjoint, x0∗=x0 and b∗=b, then rk=rk∗, pk=pk∗, and the conjugate gradient method produces the same sequence xk=xk∗ at half the computational cost. The sequences produced by the algorithm are biorthogonal, i.e., pi∗Apj=ri∗M−1rj=0 for i≠j. if Pj′ is a polynomial with deg⁡(Pj′)+j<k, then rk∗Pj′(M−1A)uj=0. The algorithm thus produces projections onto the Krylov subspace. if Pi′ is a polynomial with i+deg⁡(Pi′)<k, then vi∗Pi′(AM−1)rk=0.

See also Biconjugate gradient stabilized method (BiCG-Stab) Conjugate gradient method (CG) Conjugate gradient squared method (CGS)

References Fletcher, R. (1976). "Conjugate gradient methods for indefinite systems". In Watson, G. Alistair (ed.). Numerical analysis : proceedings of the Dundee Conference on Numerical Analysis. Lecture Notes in Mathematics. Vol. 506. Springer. pp. 73–89. doi:10.1007/BFb0080116. ISBN 978-3-540-07610-0. Press, WH; Teukolsky, SA; Vetterling, WT; Flannery, BP (2007). "Section 2.7.6". Numerical Recipes: The Art of Scientific Computing (3rd ed.). New York: Cambridge University Press. ISBN 978-0-521-88068-8.

Worked examples

Example 1 — a first encounter with Biconjugate gradient method

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

In research
Biconjugate gradient 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 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 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 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 method” →

How to study Biconjugate gradient method in 20 minutes

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

Frequently asked questions

What is Biconjugate gradient method in simple terms?

In mathematics, more specifically in numerical linear algebra, the biconjugate gradient method is an algorithm to solve systems of linear equations Ax=b. Unlike the conjugate gradient method, this algorithm does not require the matrix A to be self-adjoint, but instead one needs to perform multiplic…

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

Tags

  • Gradient methods
  • Numerical linear algebra

Keep exploring