The matrix a constraint makes

Three eigenvalues, and two are the golden ratio

Precondition a saddle-point system by the block diagonal of its own two definite pieces and the preconditioned matrix has exactly three distinct eigenvalues — 1, and the two roots of λ² − λ − 1. A minimal polynomial of degree three means three steps, at every conditioning, and the preconditioner nobody can afford turns out to be the statement the affordable ones are measured against.

Worth reading first: The zero that is not a missing entry · Changing the condition number on purpose · The rate the condition number predicts.

Almost every claim about a preconditioner on this site is a measurement. Incomplete Cholesky does something to a spectrum that nobody can write down; a multigrid V-cycle’s convergence factor is 0.1002, measured, against a bound that is loose; an aggregation fails at 45° for reasons that took a figure to find. Preconditioning is where the subject stops having theorems.

The saddle-point matrix has one, and it is unusually sharp.

The spectrum of P⁻¹K with S = AH⁻¹Aᵀ, exactly, at 10 unknowns and 4 constraintsP = blkdiag(H, S). With S the exact Schur complement AH⁻¹Aᵀ the preconditioned matrix has exactly three distinct eigenvalues — 1 with multiplicity n − m = 6, and (1 ± √5)/2 with multiplicity 4 each. Those are 1 − φ = -0.618034 and φ = 1.61803, the golden ratio, which arrives from λ² − λ − 1 = 0 rather than from anything anybody chose. The dashed lines are that closed form and the marks are the computed spectrum; here they are 3 distinct values and the largest distance from the closed form anywhere is 2.909·10⁻¹⁴. A minimal polynomial of degree three means a Krylov method finishes in three steps, which is what the next figure measures.00.3670080.7340171.101031.468031.835040eigenvalue of P⁻¹Kwritten down, then computeddistinct3at 16φ computed1.6off the closed form2.9·10⁻¹⁴1 − φ1φthe preconditioner's effect is a theoremand the golden ratio is in it
Fig. 1 The preconditioned spectrum, with its closed form drawn as three dashed lines. Every mark is on one of them, and moving the handle moves marks between the three lines without moving a line.

The statement

Take K = [[H, Aᵀ], [A, 0]] with H positive definite and A of full row rank, let S = AH⁻¹Aᵀ be the Schur complement the previous essay formed, and precondition with

P = [ H 0 ] [ 0 S ]

which is symmetric positive definite because both blocks are. Then P⁻¹K has exactly three distinct eigenvalues:

1 with multiplicity n − m (1 + √5)/2 with multiplicity m (1 − √5)/2 with multiplicity m

That is Murphy, Golub and Wathen’s result. The two irrational values are φ = 1.6180339887… and 1 − φ = −0.6180339887…, the golden ratio and its conjugate, and they arrive from λ² − λ − 1 = 0 rather than from anything anybody put there.

The derivation takes four lines. Let (u, v) be an eigenvector with eigenvalue λ. The block equations are Hu + Aᵀv = λHu and Au = λSv. If λ ≠ 1, the first gives u = (λ − 1)⁻¹H⁻¹Aᵀv, and substituting into the second gives (λ − 1)⁻¹Sv = λSv, so λ(λ − 1) = 1 — which is λ² − λ − 1 = 0. The other n − m eigenvalues have v = 0 and λ = 1. Nothing about the matrices survives into the answer except their shapes.

The 14 eigenvalues of a saddle-point matrix with 10 unknowns and 4 constraints, inside their closed-form bracketsK = [[H, Aᵀ], [A, 0]] with κ(H) = 100 and κ(A) = 100. The shaded bands are the Rusten–Winther brackets, computed from four numbers — the extreme eigenvalues of H and the extreme singular values of A — before the matrix was assembled: negative eigenvalues in [-0.995, -10·10⁻⁵] and positive ones in [0.01, 1.62]. The marks are the computed spectrum. There are exactly 10 above zero and 4 below, which is Sylvester's law of inertia and not a property of this matrix: K is congruent to blkdiag(H, −AH⁻¹Aᵀ), both blocks are definite, and congruence preserves signs. The two groups are separated by a gap containing zero, at a ratio of 39.3 between the innermost positive eigenvalue and the innermost negative one.-1-0.582271-0.1645420.2531860.6709151.088641.506370eigenvalue4 negative10 positivecounted before it was formedpositive10negative4at zero0innermost ratio39the zero block is a theoremand so is the count either side of it
Fig. 2 The unpreconditioned spectrum of the same matrix, from the field’s first essay, for reading against the hero.

Which means three steps

A matrix whose minimal polynomial has degree three is annihilated by (M − I)(M² − M − I), a cubic. A Krylov method builds its iterate from a polynomial in the matrix applied to the residual, so a polynomial of degree three can make the residual zero exactly, and any optimal Krylov method therefore terminates at step three — in exact arithmetic, at every size, every conditioning and every seed.

Because P is positive definite, the method available is MINRES on the symmetrically preconditioned system L⁻¹KL⁻ᵀ with P = LLᵀ, which has the same eigenvalues and is symmetric, so the three-term recurrence is legal. The essay that introduced MINRES is about why conjugate gradients cannot be used here at all: CG divides by pᵀKp, which is a curvature, and an indefinite matrix supplies zero and negative ones. That distinction is upstream of everything on this page.

MINRES on a saddle-point system under three Schur-complement approximations, and under noneThe same system at 12 unknowns and 5 constraints, solved four ways. With the exact Schur complement the preconditioned matrix has three distinct eigenvalues and the residual falls to 4.109·10⁻¹⁵ in three steps, after which nothing is left to remove. Replacing S by A diag(H)⁻¹Aᵀ costs 11 steps and replacing it by a scaled AAᵀ costs 11; the unpreconditioned system takes 22. The exact preconditioner is unaffordable — forming S costs 5 solves with H and a decomposition — so its value is as the statement the cheap ones are measured against, and the measurement needs no reference solution: the distance from {1 − φ, 1, φ} is a property of the approximation alone.03691215182110⁻¹²10⁻¹⁰10⁻⁸10⁻⁶10⁻⁴10⁻²1MINRES steprelative residualthree stepssteps to a residual of 10⁻¹¹exact S3diag(H)11scaled AAᵀ11none22three eigenvalues, three stepsand the approximations pay for the difference
Fig. 3 The residual histories. The exact preconditioner is the line that stops.

Where the golden ratio comes from, which is not numerology

It is worth stating plainly, because a number with a name in it invites suspicion.

Nothing in the derivation is about H or A or their sizes. The quadratic λ² − λ − 1 = 0 comes from composing two operations: the first block row converts a multiplier into a displacement by dividing by (λ − 1), and the second converts a displacement back into a multiplier by multiplying by λ. Requiring the round trip to be the identity is λ·(λ − 1)⁻¹ = 1, and the golden ratio is the number whose reciprocal is itself minus one. That is the definition of φ, and it is why it appears here and not, say, √2.

So the constant is a property of the block structure — a 2 × 2 arrangement in which one block is the identity after preconditioning and the other is the zero the problem supplied. Change the arrangement and the constant changes with it. Regularise the (2, 2) block by −γS and the quadratic becomes λ² − (1 − γ)λ − 1, whose roots move continuously away from φ and 1 − φ; scale the preconditioner’s second block by a factor α and they move again. Neither is a different theorem, and both are why this page’s assertion checks the values against the closed form rather than checking that there are three of them.

The spectrum of P⁻¹K with S = AH⁻¹Aᵀ, exactly, at 10 unknowns and 2 constraintsP = blkdiag(H, S). With S the exact Schur complement AH⁻¹Aᵀ the preconditioned matrix has exactly three distinct eigenvalues — 1 with multiplicity n − m = 8, and (1 ± √5)/2 with multiplicity 2 each. Those are 1 − φ = -0.618034 and φ = 1.61803, the golden ratio, which arrives from λ² − λ − 1 = 0 rather than from anything anybody chose. The dashed lines are that closed form and the marks are the computed spectrum; here they are 3 distinct values and the largest distance from the closed form anywhere is 1.354·10⁻¹⁴. A minimal polynomial of degree three means a Krylov method finishes in three steps, which is what the next figure measures.00.3670080.7340171.101031.468031.835040eigenvalue of P⁻¹Kwritten down, then computeddistinct3at 18φ computed1.6off the closed form1.4·10⁻¹⁴1 − φ1φthe preconditioner's effect is a theoremand the golden ratio is in it
Fig. 4 Two constraints instead of four, so two eigenvalues at each of φ and 1 − φ and eight at one. The values do not move; the multiplicities do.

What three steps actually reach, which is not zero

In floating point the residual after three steps is not zero, and what it is instead is the measurement worth having. Across eight decades of κ(H) and three problem shapes:

κ(H) = 1 residual after three steps 1.05·10⁻¹³ to 1.96·10⁻¹¹ κ(H) = 10⁴ 2.04·10⁻¹⁰ to 5.25·10⁻¹⁰ κ(H) = 10⁸ 7.20·10⁻¹⁰ to 1.11·10⁻⁹

The floor rises with κ(H), and by far less than κ(H) does: six orders of floor against eight orders of conditioning. And the same eight decades move the computed golden ratio from agreeing with its closed form to fifteen digits to agreeing to eight. Both of those are the arithmetic charging for a conditioning the algebra does not notice, and both are reported rather than tuned away.

The comparison that says what the three steps were worth is the same system without the preconditioner, to the same tolerance: between 3 and 46 iterations across the same cases. The three at the bottom of that range is the control — at κ(H) = 1 the block H is the identity, K already has few enough distinct eigenvalues to finish in three unaided, and the preconditioner is not what makes it possible there. At every other stop it is.

MINRES on a saddle-point system under three Schur-complement approximations, and under noneThe same system at 12 unknowns and 5 constraints, solved four ways. With the exact Schur complement the preconditioned matrix has three distinct eigenvalues and the residual falls to 5.317·10⁻¹⁰ in three steps, after which nothing is left to remove. Replacing S by A diag(H)⁻¹Aᵀ costs 15 steps and replacing it by a scaled AAᵀ costs 17; the unpreconditioned system takes 42. The exact preconditioner is unaffordable — forming S costs 5 solves with H and a decomposition — so its value is as the statement the cheap ones are measured against, and the measurement needs no reference solution: the distance from {1 − φ, 1, φ} is a property of the approximation alone.051015202530354010⁻¹²10⁻¹⁰10⁻⁸10⁻⁶10⁻⁴10⁻²1MINRES steprelative residualthree stepssteps to a residual of 10⁻¹¹exact S5diag(H)15scaled AAᵀ17none42three eigenvalues, three stepsand the approximations pay for the difference
Fig. 5 At κ(H) = 10⁸, where the unpreconditioned line is still descending when the preconditioned one has stopped.

The preconditioner nobody can afford

Building P means building S = AH⁻¹Aᵀ, which costs m solves with H and a factorisation of the result — and having done that, the range-space method would have solved the system outright with no iteration at all. So the exact block-diagonal preconditioner is never used, and a page that stopped here would have proved a theorem about a method nobody runs.

Its use is different and it is the reason this essay exists: it is the statement the affordable preconditioners are measured against. Replace S by something cheap and the three eigenvalues become three clusters. How tight the clusters are is how good the approximation is — and that is a quantity computable without a reference solution, because the target is 1, φ and 1 − φ whatever the problem is.

That is rare. Most of this site’s diagnostics for an approximation require knowing the answer: the drift a factorisation has accumulated, the accuracy an incomplete factorisation gives up, what a truncation cost. Here the target is three numbers that were known before the matrix existed.

The spectrum of P⁻¹K with S ≈ A diag(H)⁻¹Aᵀ, at 10 unknowns and 4 constraintsP = blkdiag(H, S). With S the exact Schur complement AH⁻¹Aᵀ the preconditioned matrix has exactly three distinct eigenvalues — 1 with multiplicity n − m = 6, and (1 ± √5)/2 with multiplicity 4 each. Those are 1 − φ = -0.618034 and φ = 1.61803, the golden ratio, which arrives from λ² − λ − 1 = 0 rather than from anything anybody chose. The dashed lines are that closed form and the marks are the computed spectrum; here they are 9 distinct values and the largest distance from the closed form anywhere is 2.955. A minimal polynomial of degree three means a Krylov method finishes in three steps, which is what the next figure measures.-3-1.89435-0.7887010.3169491.42262.528253.63394.739550eigenvalue of P⁻¹Kwritten down, then computeddistinct9at 16φ computed4.6off the closed form31 − φ1φthe preconditioner's effect is a theoremand the golden ratio is in it
Fig. 6 The same picture with S replaced by A diag(H)⁻¹Aᵀ: the three lines are still drawn and nothing is on them.

Two cheap approximations, priced

The library implements two, and both are the sort a sparse code would actually reach for.

A diag(H)⁻¹Aᵀ needs no solve with H at all — only its diagonal — so it costs one sparse triple product. On a twelve-by-five problem with κ(H) = 100 it spreads the spectrum by 2.66 from the closed form and takes the iteration count from 3 to 11.

A scaled AAᵀ, which throws away H entirely and keeps only its average diagonal entry, spreads it by 3.04 and takes 11 as well. The two land at the same count here, and the spread orders them correctly — which is the point of having a diagnostic that does not need a reference: the spread separates the two approximations where the iteration count does not.

The refusal this page publishes is the reading that would let the theorem be quoted about those: that a block-diagonal preconditioner gives three eigenvalues, so a reasonable approximation gives three too. The assertion is fed the diagonal approximation and required to reject the claim, and it does. The three values are a property of the exact Schur complement and of nothing else.

The spectrum of P⁻¹K with S ≈ (tr H / n)⁻¹ AAᵀ, at 10 unknowns and 4 constraintsP = blkdiag(H, S). With S the exact Schur complement AH⁻¹Aᵀ the preconditioned matrix has exactly three distinct eigenvalues — 1 with multiplicity n − m = 6, and (1 ± √5)/2 with multiplicity 4 each. Those are 1 − φ = -0.618034 and φ = 1.61803, the golden ratio, which arrives from λ² − λ − 1 = 0 rather than from anything anybody chose. The dashed lines are that closed form and the marks are the computed spectrum; here they are 9 distinct values and the largest distance from the closed form anywhere is 2.64. A minimal polynomial of degree three means a Krylov method finishes in three steps, which is what the next figure measures.-3-1.97287-0.9457380.08139281.108522.135653.162794.189920eigenvalue of P⁻¹Kwritten down, then computeddistinct9at 16φ computed4.3off the closed form2.61 − φ1φthe preconditioner's effect is a theoremand the golden ratio is in it
Fig. 7 The cruder of the two: H reduced to a single number, and a spectrum with no structure left in it at all.

The two ways a preconditioner can work, and this is the second

The iterative field’s preconditioners all work the same way: they reduce a condition number, and the rate improves because the rate is governed by κ. Incomplete Cholesky takes κ from 10⁶ to 10³ and the iteration count falls by the square root of the ratio, as the bound says it should.

This one does not reduce a condition number in any useful sense. It replaces a spectrum spread over two intervals by a spectrum concentrated at three points, and what the Krylov method exploits is not the narrowness of the intervals but the finiteness of the set. A polynomial can be made to vanish at three points exactly; it can only be made small on an interval.

That distinction is worth carrying, because it says what to aim an approximate preconditioner at. Aiming at a smaller condition number and aiming at fewer clusters are different objectives, and on a saddle-point system the second is the one that pays. A preconditioner that halves κ and leaves the spectrum smeared is worth less than one that leaves κ alone and pulls the eigenvalues into three tight groups — and the second is what a good approximate Schur complement does.

The spectrum of C⁻¹T against T's own, n = 64, ρ = 0.8Two sorted spectra on a linear vertical axis. The unpreconditioned Toeplitz matrix spreads its eigenvalues across its whole range; the preconditioned operator puts 97% of them within a tenth of 1, with 0 below zero.08162432404856640123456789index, sortedeigenvalueT aloneC⁻¹Teigenvalues, not singular valuesfraction within 0.1 of 10.97eigenvalues below zero0λ_min of the preconditioner0.11the dashed line is 1, where the cluster formsthe solid line is zero
Fig. 8 Clusters against a continuum, in the field where the distinction was first measured.

Why the spread is the right diagnostic and the condition number is not

A tempting alternative is to report the condition number of the preconditioned matrix, which is what any other field here would do. It is the wrong number twice over.

An indefinite matrix’s κ₂ is the ratio of the largest |λ| to the smallest, and for the exact preconditioner that is φ/(φ − 1) = φ² = 2.618. A preconditioned matrix with κ = 2.618 sounds excellent and says nothing about the three steps: a definite matrix with κ = 2.618 would take several iterations to reach 10⁻¹⁰, and this one takes three because of where the eigenvalues sit rather than how far apart they are.

And for an approximate preconditioner κ₂ can be small while the spectrum is a mess — three clusters straddling zero, none of them tight — which is the case a Chebyshev bound handles badly and a Krylov method handles by finding a polynomial that is small on all three. The number of clusters and their widths is what governs the count. The spread from {1 − φ, 1, φ} measures exactly that, and it is available at the cost of one eigendecomposition of a small matrix.

The condition number a sketched preconditioner leaves, against the condition number it was givenTwo curves against κ(A), both axes logarithmic. The matrix's own condition number climbs the diagonal from 100 to 10¹⁰; κ(AR⁻¹), where R comes from a QR of a 4n-row sketch, is 2.2284 at every one of them — the same number to ten digits, not a similar one. The reason is two lines of algebra: with G = SU the preconditioned singular values are those of (GᵀG)⁻¹, which has no spectrum of A in it at all.10²10⁴10⁶10⁸10¹⁰110²10⁴10⁶10⁸10¹⁰condition number of the matrixcondition number seen by the iterationκ(A), unchangedκ(AR⁻¹)a bound with no κ(A) in itκ(AR⁻¹), every κ(A)2.2κ(SU), the other route2.2κ(A), across the sweep10⁸κ(AR⁻¹), across the sweep1the sketch never sees the spectrumand the spectrum cancels out of the answer
Fig. 9 The iterative field’s usual reading of a preconditioner: a condition number before and after. Here it would say almost nothing.

What it costs to check the theorem at all

The three eigenvalues are a statement about P⁻¹K, and P⁻¹K is not symmetric. Forming it and handing it to a general eigensolver would work — the Francis algorithm is in the library and the next essay uses it — but it would measure the theorem through a routine whose own accuracy on a non-symmetric matrix is a separate subject with its own failures.

The symmetric route avoids that entirely. P is positive definite, so P = LLᵀ exists; L⁻¹KL⁻ᵀ is symmetric and similar to P⁻¹K, because L⁻ᵀ(L⁻¹KL⁻ᵀ)Lᵀ = L⁻ᵀL⁻¹K = P⁻¹K. So the spectrum can be taken by a Jacobi sweep on a symmetric matrix, where every eigenvalue is well conditioned and the answer is accurate to the rounding level relative to the norm.

That is also what makes preconditioned MINRES legal: the method needs a symmetric operator, and L⁻¹KL⁻ᵀ is the symmetric operator the preconditioned iteration is implicitly run on. In practice no code forms L or the transformed matrix — the standard implementation applies P⁻¹ once per step and keeps two inner products — but the analysis and the figure both go through the transformation, and it is the reason the preconditioner has to be definite rather than merely invertible. The next essay’s preconditioner is not, and pays for it.

MINRES on a saddle-point system under three Schur-complement approximations, and under noneThe same system at 12 unknowns and 5 constraints, solved four ways. With the exact Schur complement the preconditioned matrix has three distinct eigenvalues and the residual falls to 3.498·10⁻¹² in three steps, after which nothing is left to remove. Replacing S by A diag(H)⁻¹Aᵀ costs 15 steps and replacing it by a scaled AAᵀ costs 15; the unpreconditioned system takes 33. The exact preconditioner is unaffordable — forming S costs 5 solves with H and a decomposition — so its value is as the statement the cheap ones are measured against, and the measurement needs no reference solution: the distance from {1 − φ, 1, φ} is a property of the approximation alone.04812162024283210⁻¹²10⁻¹⁰10⁻⁸10⁻⁶10⁻⁴10⁻²1MINRES steprelative residualthree stepssteps to a residual of 10⁻¹¹exact S3diag(H)15scaled AAᵀ15none33three eigenvalues, three stepsand the approximations pay for the difference
Fig. 10 The iteration the transformation makes legal, at a conditioning where the unpreconditioned line has not finished.

What the theorem does not survive

Three hypotheses, and dropping any of them loses the result.

H must be positive definite, or P is not a legal preconditioner for MINRES and the symmetric preconditioning L⁻¹KL⁻ᵀ does not exist. This is the same hypothesis the range-space method needs, and it fails in the same problems.

A must have full row rank, or S is singular and P is not invertible. A dependent constraint row breaks this page as thoroughly as it breaks the inertia claim.

The (2, 2) block must be exactly zero. Regularise it — as the sixth essay in this field does for an entirely different reason — and the derivation’s second block equation gains a term, the quadratic gains a coefficient, and the roots move off φ. They move continuously, so a small regularisation gives a small spread, and that is measurable in exactly the same way as the two approximations above.

The library’s other two refusals cover the parts of this that a reader is most likely to get backwards. One is fed the claim that the unit eigenvalues are exactly one in floating point and required to refuse it. The other is fed the claim that the constraint preconditioner of the next essay is positive definite, and required to refuse that too: it has the same zero block as K and therefore the same inertia, which is why it needs a different iteration.

What the regularisation costs, and what 0 steps of refinement take backSolving [[H + δI, Aᵀ], [A, −δI]] instead of K gives the exact answer to a different problem, so its error is proportional to δ: measured at 1489·δ across six decades, which is a slope of one and not a trend. Refining against the unregularised matrix — the residual formed with K and the correction solved with the regularised factorisation — removes that term entirely, because the perturbation was never in the residual. It works while δ is below σ_min(K) = 6.797·10⁻⁴, marked on the axis, and stops working above it: the iteration's contraction factor is δ/σ_min and a fixed point needs that under one. So the trade-off curve every regularisation essay on this site has drawn — a term falling in δ against a term rising in it — has, here, a left branch that can simply be removed.-14-12-10-8-6-4-210⁻¹⁷10⁻¹⁴10⁻¹¹10⁻⁸10⁻⁵10⁻²10¹log₁₀ δrelative error against the exact answerδ = σ_min(K)no refinement0 stepsa left branch that can be removederror ÷ δ, unrefined1489σ_min(K)6.8·10⁻⁴refined at δ = 10⁻⁶0.0014refined at δ = 10⁻²0.93the perturbation is known exactlybecause the code chose it
Fig. 11 The regularisation that moves the roots, from the sixth essay in this field.

Two routes to the same list

The spectrum on this page is computed twice, by routes that share nothing.

The first is a symmetric eigendecomposition of L⁻¹KL⁻ᵀ, formed by a Cholesky of P and two triangular solves. It is O((n + m)³), it goes through a Jacobi sweep, and its answer is a list of floats.

The second is a pencil of nothing: the closed form, three numbers, written down from the block structure. The comparison is the agreement between them, and the figure reports the worst distance anywhere — 10⁻¹⁵ at κ(H) = 1 and 2.2·10⁻⁸ at κ(H) = 10⁸.

That second number is the interesting one, and it is what a page proving a theorem should be careful to report. The theorem is exact. The computation of the thing the theorem is about is not, and the amount by which it is not tracks the conditioning of a block the theorem never mentions. A reader who takes away “the eigenvalues are 1, φ and 1 − φ” has the algebra; a reader who takes away “and they are computed to eight digits at κ(H) = 10⁸” has what the machine will actually hand back.

How far a perturbation of size ε moves an eigenvalue, 8×8A log–log plot of eigenvalue movement against perturbation size. The symmetric case lies on a line of slope one; the non-symmetric case lies on a line of slope one eighth, and at a perturbation of ten to the minus sixteen it has already moved by a hundredth.10⁻¹⁶10⁻¹³10⁻¹⁰10⁻⁷10⁻⁴10⁻¹10⁻¹⁶10⁻¹³10⁻¹⁰10⁻⁷10⁻⁴10⁻¹size of the perturbation ‖δA‖how far the eigenvalues moveJordan block, ε^(1/8)symmetric, ≤ ‖δA‖rounding error alone moves it to 10⁻²six seeds per symmetric point; Jordan is closed formsymmetry beats precision
Fig. 12 Why a computed eigenvalue moves at all, in the field that owns the question.

At other settings

The spectrum of P⁻¹K with S = AH⁻¹Aᵀ, exactly, at 10 unknowns and 4 constraintsP = blkdiag(H, S). With S the exact Schur complement AH⁻¹Aᵀ the preconditioned matrix has exactly three distinct eigenvalues — 1 with multiplicity n − m = 6, and (1 ± √5)/2 with multiplicity 4 each. Those are 1 − φ = -0.618034 and φ = 1.61803, the golden ratio, which arrives from λ² − λ − 1 = 0 rather than from anything anybody chose. The dashed lines are that closed form and the marks are the computed spectrum; here they are 3 distinct values and the largest distance from the closed form anywhere is 6.617·10⁻¹⁴. A minimal polynomial of degree three means a Krylov method finishes in three steps, which is what the next figure measures.00.3670080.7340171.101031.468031.835040eigenvalue of P⁻¹Kwritten down, then computeddistinct3at 16φ computed1.6off the closed form6.6·10⁻¹⁴1 − φ1φthe preconditioner's effect is a theoremand the golden ratio is in it
Fig. 13 With H the identity, where the computed golden ratio agrees with its closed form to fifteen digits.
The spectrum of P⁻¹K with S = AH⁻¹Aᵀ, exactly, at 10 unknowns and 4 constraintsP = blkdiag(H, S). With S the exact Schur complement AH⁻¹Aᵀ the preconditioned matrix has exactly three distinct eigenvalues — 1 with multiplicity n − m = 6, and (1 ± √5)/2 with multiplicity 4 each. Those are 1 − φ = -0.618034 and φ = 1.61803, the golden ratio, which arrives from λ² − λ − 1 = 0 rather than from anything anybody chose. The dashed lines are that closed form and the marks are the computed spectrum; here they are 3 distinct values and the largest distance from the closed form anywhere is 3.423·10⁻¹². A minimal polynomial of degree three means a Krylov method finishes in three steps, which is what the next figure measures.00.3670080.7340171.101031.468031.835040eigenvalue of P⁻¹Kwritten down, then computeddistinct3at 16φ computed1.6off the closed form3.4·10⁻¹²1 − φ1φthe preconditioner's effect is a theoremand the golden ratio is in it
Fig. 14 At κ(H) = 10⁶, where it agrees to nine — the arithmetic charging for a conditioning the algebra ignores.
MINRES on a saddle-point system under three Schur-complement approximations, and under noneThe same system at 12 unknowns and 5 constraints, solved four ways. With the exact Schur complement the preconditioned matrix has three distinct eigenvalues and the residual falls to 6.534·10⁻¹⁶ in three steps, after which nothing is left to remove. Replacing S by A diag(H)⁻¹Aᵀ costs 3 steps and replacing it by a scaled AAᵀ costs 3; the unpreconditioned system takes 13. The exact preconditioner is unaffordable — forming S costs 5 solves with H and a decomposition — so its value is as the statement the cheap ones are measured against, and the measurement needs no reference solution: the distance from {1 − φ, 1, φ} is a property of the approximation alone.0246810121410⁻¹²10⁻¹⁰10⁻⁸10⁻⁶10⁻⁴10⁻²1MINRES steprelative residualthree stepssteps to a residual of 10⁻¹¹exact S3diag(H)3scaled AAᵀ3none13three eigenvalues, three stepsand the approximations pay for the difference
Fig. 15 The control case, where the unpreconditioned system also finishes in three steps and the preconditioner is not what made it possible.
MINRES on a saddle-point system under three Schur-complement approximations, and under noneThe same system at 12 unknowns and 5 constraints, solved four ways. With the exact Schur complement the preconditioned matrix has three distinct eigenvalues and the residual falls to 2.947·10⁻¹⁴ in three steps, after which nothing is left to remove. Replacing S by A diag(H)⁻¹Aᵀ costs 13 steps and replacing it by a scaled AAᵀ costs 13; the unpreconditioned system takes 25. The exact preconditioner is unaffordable — forming S costs 5 solves with H and a decomposition — so its value is as the statement the cheap ones are measured against, and the measurement needs no reference solution: the distance from {1 − φ, 1, φ} is a property of the approximation alone.0369121518212410⁻¹²10⁻¹⁰10⁻⁸10⁻⁶10⁻⁴10⁻²1MINRES steprelative residualthree stepssteps to a residual of 10⁻¹¹exact S3diag(H)13scaled AAᵀ13none25three eigenvalues, three stepsand the approximations pay for the difference
Fig. 16 And at 10⁴, where it is.
The constraint preconditioner's spectrum, over six decades of the constraint's condition numberP = [[G, Aᵀ], [A, 0]] with G an approximation to H — here a well-conditioned matrix that is not H at all. The theorem says P⁻¹K has eigenvalue 1 with multiplicity 2m = 8 and n − m = 6 others, which are the generalised eigenvalues of the pencil (ZᵀHZ, ZᵀGZ) for any basis Z of the null space of A. A does not appear in that list, and the measurement is the flat lines: κ(A) crosses six decades along the horizontal axis and the 6 eigenvalues move by 7.14·10⁻⁶ relative, which is the arithmetic. A preconditioner for a constrained problem can decline to know anything about the constraint, because the constraint has already been inverted exactly inside it. The one quantity that does move is the drift of the eigenvalues the theorem puts at exactly one: 6.65·10⁻⁹ at κ(A) = 1 and 6.04·10⁻⁵ at 10⁶, which is κ(A) times the unit roundoff.012345610⁻³10⁻²10⁻¹110¹log₁₀ κ(A)eigenvalue of P⁻¹Kthe constraint is not in itnontrivial6at one8movement, six decades7.1·10⁻⁶drift at one6·10⁻⁵2m at onethe marks are a pencil that never saw Aand the lines are the preconditioned matrix
Fig. 17 The other preconditioner with a closed-form spectrum, from the next essay.
The spectrum of C⁻¹T against T's own, n = 64, ρ = 0.8Two sorted spectra on a linear vertical axis. The unpreconditioned Toeplitz matrix spreads its eigenvalues across its whole range; the preconditioned operator puts 97% of them within a tenth of 1, with 0 below zero.08162432404856640123456789index, sortedeigenvalueT aloneC⁻¹Teigenvalues, not singular valuesfraction within 0.1 of 10.97eigenvalues below zero0λ_min of the preconditioner0.11the dashed line is 1, where the cluster formsthe solid line is zero
Fig. 18 Clusters rather than points, in the field that measures what they cost an iteration.
GMRES on the Laplacian and on the cyclic shift, both 12×12A semi-logarithmic plot of relative residual against iteration. One curve falls steadily; the other is flat at one for every step until the last, where it drops to zero.02468101210⁻¹⁴10⁻¹²10⁻¹⁰10⁻⁸10⁻⁶10⁻⁴10⁻²1iteration‖r‖ / ‖b‖Laplaciancyclic shiftno progress at allevery eigenvalue of the shift is on the unit circleand it predicts nothing
Fig. 19 And the counterweight from the same field: a spectrum that predicts nothing about a non-symmetric method’s convergence at all.
Conjugate gradients at κ = 104, against the bound κ permitsA semi-logarithmic plot of the relative A-norm error against iteration count. The measured curve falls below a smooth dashed curve showing the classical condition-number bound.0408012016020024010⁻¹⁶10⁻¹³10⁻¹⁰10⁻⁷10⁻⁴10⁻¹iteration‖e‖_A / ‖e₀‖_Ameasuredκ bound119 steps40×40, spectrum spread evenly in logbound permits 1417
Fig. 20 The definite case’s rate, for reading against three steps.
LSQR steps to a normal residual of 10⁻¹², with and without a sketched preconditionerTwo curves against κ(A). The unpreconditioned solve takes 15, 22, 32, 59, 150 steps as the conditioning worsens, and at the worst one it does not reach the tolerance inside 150. The preconditioned solve takes 10, 10, 10, 10, 10 — flat across eight decades. Both return the same vector, to the accuracy the problem allows: the preconditioned answer and the direct one differ by about κ(A)·u at every κ, 5.7·10⁻⁶ at the worst. The SAME sketch used as an answer instead of as a preconditioner is 4.5 away.10²10⁴10⁶10⁸10¹⁰110¹10²10³condition number of the matrixLSQR steps to 10⁻¹²no preconditionersketchedthe cost, not the answersteps, preconditioned10steps, without150answer gap, preconditioned5.7·10⁻⁶κ(A)·u at the worst κ1.1·10⁻⁶answer gap, sketch-and-solve4.5one sketch, two things to do with itand only one of them moves the answer
Fig. 21 What a preconditioner is usually worth, counted the usual way.
What each way of eliminating a constraint inherits, over five decades of κ(A)The same system solved twice, at 8 unknowns and 3 constraints with κ(H) = 100. The range-space method forms S = AH⁻¹Aᵀ and inherits κ(S), which rises from 12.99 to 3.981·10¹⁰ — the square of κ(A), for the reason the normal equations square it. The null-space method solves with the reduced Hessian ZᵀHZ, whose condition number is 21.13 at the start of the sweep and 21.13 at the end: it does not contain κ(A) at all. The two forward errors, measured against a solution computed in BigInt rationals, follow their own condition numbers: 5.314·10⁻⁶ against 5.788·10⁻¹² at the far end. Both methods are correct and one of them is usable.01234510⁻¹⁷10⁻¹³10⁻⁹10⁻⁵10⁻¹10³10⁷10¹¹log₁₀ κ(A)condition number, and relative errorκ(S)κ(ZᵀHZ)range-space errornull-space erroragainst a BigInt answerκ(S) at κ(A) = 10⁵4·10¹⁰κ(ZᵀHZ), all stops21range-space forward error5.3·10⁻⁶null-space forward error5.8·10⁻¹²both are the same algebraand only one squares
Fig. 22 The alternative to iterating at all, from the previous essay.
Conjugate gradients on the three-dimensional model problem with every iterate cut to rank 3The falling curves are relative residuals: the lower one is the same method with no budget, which reaches 1.61·10⁻¹⁴ in 40 steps, and the upper one is the budgeted run, which stops at 3.85·10⁻⁴. The two step curves near the top are ranks, on their own scale: the un-truncated step asks for 5 at every step from the third onwards and the budget allows 3. The truncation is therefore not an occasional tidy-up — it is happening at every step, and the distance between the two residual curves is what it costs. The solution of this problem is itself a train of rank five, so a budget of five or more removes nothing and the two curves coincide.081624324010⁻¹⁴10⁻¹¹10⁻⁸10⁻⁵10⁻²conjugate gradient steprelative residualabove, on their own scale: rank asked 5, rank kept 3solid: the budgeted residual · light: no budgetbudget 3rank asked for5rank kept3residual, budgeted3.8·10⁻⁴residual, unbudgeted1.6·10⁻¹⁴numbers stored150the step asks for moreat every step
Fig. 23 A Krylov method under a different kind of restriction, from the tensor field.
Two Krylov methods against products with A, at a kernel shift of 1Two error curves against the number of products with A, on a logarithmic vertical axis. The Arnoldi method reaches 0.1532 after 4 products and is 9.18 by the end of the run. The bidiagonal method reaches 0.1367 after 42 and degrades far more slowly.16111621263136414651566110⁻¹110¹products with Arelative errorArnoldi's best: 4Arnoldibidiagonalwhat a step buysArnoldi's best0.15products to reach it4bidiagonal's best0.14products to reach it42a tenth of the work to the same answerand no time at all spent there
Fig. 24 And where a Krylov method’s rate stops being governed by the condition number at all.
The spectrum of P⁻¹K with S = AH⁻¹Aᵀ, exactly, at 10 unknowns and 6 constraintsP = blkdiag(H, S). With S the exact Schur complement AH⁻¹Aᵀ the preconditioned matrix has exactly three distinct eigenvalues — 1 with multiplicity n − m = 4, and (1 ± √5)/2 with multiplicity 6 each. Those are 1 − φ = -0.618034 and φ = 1.61803, the golden ratio, which arrives from λ² − λ − 1 = 0 rather than from anything anybody chose. The dashed lines are that closed form and the marks are the computed spectrum; here they are 3 distinct values and the largest distance from the closed form anywhere is 1.816·10⁻¹³. A minimal polynomial of degree three means a Krylov method finishes in three steps, which is what the next figure measures.00.3670080.7340171.101031.468031.835040eigenvalue of P⁻¹Kwritten down, then computeddistinct3at 14φ computed1.6off the closed form1.8·10⁻¹³1 − φ1φthe preconditioner's effect is a theoremand the golden ratio is in it
Fig. 25 Six constraints, where the multiplicity at one is smallest.
MINRES on a saddle-point system under three Schur-complement approximations, and under noneThe same system at 12 unknowns and 3 constraints, solved four ways. With the exact Schur complement the preconditioned matrix has three distinct eigenvalues and the residual falls to 4.31·10⁻¹⁵ in three steps, after which nothing is left to remove. Replacing S by A diag(H)⁻¹Aᵀ costs 7 steps and replacing it by a scaled AAᵀ costs 7; the unpreconditioned system takes 18. The exact preconditioner is unaffordable — forming S costs 3 solves with H and a decomposition — so its value is as the statement the cheap ones are measured against, and the measurement needs no reference solution: the distance from {1 − φ, 1, φ} is a property of the approximation alone.02468101214161810⁻¹²10⁻¹⁰10⁻⁸10⁻⁶10⁻⁴10⁻²1MINRES steprelative residualthree stepssteps to a residual of 10⁻¹¹exact S3diag(H)7scaled AAᵀ7none18three eigenvalues, three stepsand the approximations pay for the difference
Fig. 26 Three constraints, where the unpreconditioned system is easiest and the gap is narrowest.
The constraint preconditioner's spectrum, over six decades of the constraint's condition numberP = [[G, Aᵀ], [A, 0]] with G an approximation to H — here a well-conditioned matrix that is not H at all. The theorem says P⁻¹K has eigenvalue 1 with multiplicity 2m = 4 and n − m = 8 others, which are the generalised eigenvalues of the pencil (ZᵀHZ, ZᵀGZ) for any basis Z of the null space of A. A does not appear in that list, and the measurement is the flat lines: κ(A) crosses six decades along the horizontal axis and the 8 eigenvalues move by 5.01·10⁻⁷ relative, which is the arithmetic. A preconditioner for a constrained problem can decline to know anything about the constraint, because the constraint has already been inverted exactly inside it. The one quantity that does move is the drift of the eigenvalues the theorem puts at exactly one: 1.31·10⁻⁸ at κ(A) = 1 and 5.88·10⁻⁶ at 10⁶, which is κ(A) times the unit roundoff.012345610⁻³10⁻²10⁻¹110¹log₁₀ κ(A)eigenvalue of P⁻¹Kthe constraint is not in itnontrivial8at one4movement, six decades5·10⁻⁷drift at one5.9·10⁻⁶2m at onethe marks are a pencil that never saw Aand the lines are the preconditioned matrix
Fig. 27 The other preconditioner at two constraints.
What a factorisation survives across one barrier step, against the step's reduction factorFrom one interior-point iteration to the next, H, C and the sparsity pattern are identical and exactly 6 entries of the matrix change — the diagonal of the (2, 2) block, and nothing off it. That is the sparsity pattern reused for free forever. The factorisation is a different question, and the answer is a threshold: carrying the decomposition of K(μ) to K(σμ) and cleaning up with iterative refinement holds at the rounding level while σ is within a per cent of one, and by σ = 0.9 it buys one step. At the schedules an interior-point method actually uses — σ between 0.5 and 0.1 — the first reuse is already at 1.02 and 2.88·10¹¹. The reason is in the entry count: the 6 entries that moved are the 6 that dominate the matrix, and they moved by a factor of 1/σ, so the relative change in K across one step at σ = 0.1 is 9 rather than the 10⁻³ the collection's reuse essays are about.-1-0.75-0.5-0.25010⁻¹⁷10⁻¹⁴10⁻¹¹10⁻⁸10⁻⁵10⁻²10¹10⁴log₁₀ σ — the barrier's reduction factorresidual after one reused stepconvergedthe pattern free, the factors notentries moved6off-diagonal0survived at σ = 0.996survived at σ = 0.106 steps0 stepsthe few entries that movedare the ones that dominate
Fig. 28 And a preconditioner that cannot be carried at all, from the sequence field.
The 12 eigenvalues of a saddle-point matrix with 10 unknowns and 2 constraints, inside their closed-form bracketsK = [[H, Aᵀ], [A, 0]] with κ(H) = 100 and κ(A) = 100. The shaded bands are the Rusten–Winther brackets, computed from four numbers — the extreme eigenvalues of H and the extreme singular values of A — before the matrix was assembled: negative eigenvalues in [-0.995, -10·10⁻⁵] and positive ones in [0.01, 1.62]. The marks are the computed spectrum. There are exactly 10 above zero and 2 below, which is Sylvester's law of inertia and not a property of this matrix: K is congruent to blkdiag(H, −AH⁻¹Aᵀ), both blocks are definite, and congruence preserves signs. The two groups are separated by a gap containing zero, at a ratio of 4.48 between the innermost positive eigenvalue and the innermost negative one.-1-0.582271-0.1645420.2531860.6709151.088641.506370eigenvalue2 negative10 positivecounted before it was formedpositive10negative2at zero0innermost ratio4.5the zero block is a theoremand so is the count either side of it
Fig. 29 The unpreconditioned spectrum at two constraints.
500 random symmetric orderings of a regularised saddle-point matrix, and what each factorisation reproducesA quasi-definite matrix — [[H + δI, Aᵀ], [A, −δI]] with δ = 10⁻⁶ — has an LDLᵀ factorisation with diagonal D for every symmetric permutation, so the ordering can be chosen for fill with no numerical veto at all. That is the count: 500 of 500 orderings factorise here, against 69.0 per cent for the same matrix with the zero block left where the problem put it. Each bar counts the orderings whose factorisation left a relative residual ‖PKPᵀ − LDLᵀ‖/‖K‖ in that decade, with the tallest holding 136 of the 500. They span 1.56·10⁻¹⁶ to 1.02·10⁻⁷ — 9 orders — and the growth factor across them runs from 1 to 6.43·10⁵ — which is 0.643/δ, an inverse law that holds at every δ this figure is drawn at. Existence is not stability, and the theorem says only the first.-18-15-12-9-6-300log₁₀ ‖PKPᵀ − LDLᵀ‖ / ‖K‖share of orderingsbestworstexistence and stabilityfactorise1unregularised0.69worst growth6.4·10⁵growth × δ0.64the ordering is free to chooseand not free of consequence
Fig. 30 And the property a direct method would need instead.

What links here

Computed from the collection, not written here: the essays that point at this one.

Reads more easily once this is understood

Essays that name this one as worth reading first.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A flat tag is an object no other essay names yet.

Block preconditionerExact ground truthGolden ratioIndefinite matrixKrylov subspaceMinimal polynomialMINRESPreconditioningSaddle-point systemsSchur complement