Skip to content
0 15 30 45 60 75 90 105 120 10⁻² 10⁻¹ 1 10¹ step relative size least error: 20 discrepancy stop: 7 error residual the knob is an integer least error, at step 20 error there 0.14 error at step 120 6 the residual falls at every step the error turns and keeps rising
Deliberate zero
1
The zero you are allowed to write
2
Deciding that a zero has arrived
3
A tolerance is priced by the problem
3 essays · error
10⁻¹⁶ 10⁻¹³ 10⁻¹⁰ 10⁻⁷ 10⁻⁴ 10⁻¹ 10⁻¹⁶ 10⁻¹³ 10⁻¹⁰ 10⁻⁷ 10⁻⁴ 10⁻¹ size of the perturbation ‖δA‖ how far the eigenvalues move Jordan block, ε^(1/8) symmetric, ≤ ‖δA‖ rounding error alone moves it to 10⁻² six seeds per symmetric point; Jordan is closed form symmetry beats precision
Eigen conditioning
1
Symmetry is worth more than precision
2
A condition number for one eigenvalue
3
The gap decides the eigenvector
3 essays · spectra
3 4 5 6 7 8 9 10 11 12 1 10¹ 10² 10³ 10⁴ 10⁵ 10⁶ n widest intermediate, in bits rationals, not reduced fraction-free · rationals reduced · the answer one answer, three widths n 12 answer 40 Hadamard bound 52 fraction-free 40 reduced rationals 39 unreduced 1.4·10⁶ the error is zero on every curve the cost is the length of the numbers
Exact cost
1
An answer with no error in it
2
The answer is longer than the question
3
An exact answer to a measured problem
3 essays · exact
[½, 1) [1, 2) [2, 4) 0.5 1 2 4 gap 0.125 gap 0.25 — twice as wide 8 values per octave spacing doubles at each power of two
Floating point
1
What a float can hold
2
The other half of a format
3
Eight bits, and a format that breaks the rules
3 essays · arithmetic
20 22 24 26 28 30 32 10⁻¹⁷ 10⁻¹⁴ 10⁻¹¹ 10⁻⁸ 10⁻⁵ 10⁻² k, where the entries are near 2ᵏ relative error of the determinant as written fused: exact products need 54 bits one rounding, the whole answer true determinant 1 naive, k = 30 0 fused, k = 30 1 first wrong at k 27 sizes returning 0 6 both forms conform and the source does not say which
Fma contraction
1
One multiply the compiler removed
2
A matrix that is definite on one machine
3
A square that evaluates negative
3 essays · machine
condition numbers, on a logarithmic scale κ(P) 5.66·10¹⁸ κ(Q) 5.71·10¹⁸ √(κ(P)κ(Q)) — the SVD route 5.68·10¹⁸ κ(P)κ(Q) — the product route 3.23·10³⁷ 1/u 4.5·10¹⁵ the mean, or the product and only one of them fits
Gramian conditioning
1
A condition number that is not the model's
2
The coordinates set the number
3
A turn the size of the rounding
3 essays · reduction
1 2 3 4 5 6 7 8 9 10 10⁻¹⁹ 10⁻¹⁶ 10⁻¹³ 10⁻¹⁰ 10⁻⁷ 10⁻⁴ 10⁻¹ k λₖ₊₁ ÷ λ₁, and the bound Zₖ² the Gramian predicted from two numbers states 30 κ of the spectrum 389 λ11 ÷ λ₁ 2.5·10⁻⁸ the bound there 5.2·10⁻⁴ the cliff everything rests on and the reason for it
Gramian decay
1
Why a Gramian can be truncated at all
2
Where to put the poles of a rational function
3
Bracketing an error nobody can measure
3 essays · reduction
0 5 10 15 20 25 30 35 0 59 118 177 236 295 vertices eliminated edges of fill so far minDegree: 71 natural: 125 reverse: 125 random: 160 maxDegree: 293 fill, by ordering minDegree 71 natural 125 reverse 125 random 160 maxDegree 293 edges to start 60 eliminating a vertex makes a clique and the order decides how big
Graph elimination
1
Eliminating a vertex is a graph operation
2
A preconditioner that is a tree
3
A count that comes out of a determinant
3 essays · graph
the matrix, measured vertices 40 edges 223 ‖L·1‖∞ 0 zero eigenvalues 1 components, by search 1 λ₂ 1.5 laid out at its own eigenvectors and the row sums are exactly zero
Graph laplacian
1
A matrix with no numbers in it
2
Two Laplacians of one graph
3
The vertex nobody solves for
3 essays · graph
the invariant plane solid: before dashed: after same perturbation, two questions the vectors turned, radians 0.029 the plane turned, radians 7.6·10⁻⁸ what left the plane 5.6·10⁻⁸ drawn in the unperturbed plane's own basis a radius is not determined; the circle is
Invariant subspace
1
The plane survives what its vectors do not
2
An eigenvalue one vector cannot see
3
How wide the block should be
3 essays · spectra
everything Ax can reach b = (1.1, 0.4, 1.5) Ax, the closest point r = b − Ax ‖Aᵀr‖ / (‖A‖‖r‖) 1.7·10⁻¹⁶ ‖b‖² − ‖Ax‖² − ‖r‖² 1.3·10⁻¹⁵ ‖r‖ 1.3 200 random nearby points of the plane were tried; none is closer. a 3×2 system, Householder QR perpendicularity is checked
Least squares
1
The projection and the right angle
2
Where QR pays the square
3
Refining the solution alone refines nothing
3 essays · leastsquares
0 1 2 3 4 5 6 10⁻¹⁶ 10⁻¹³ 10⁻¹⁰ 10⁻⁷ 10⁻⁴ 10⁻¹ refinement step ‖x − x*‖ / ‖x*‖ a full double-precision solve residual in 24-bit residual in double one argument apart κ·u of the factorisation 6·10⁻⁴ double residual, final 3.2·10⁻¹³ same-precision, final 1.3·10⁻⁴ 30×30, κ = 10⁴, same factors in both runs identical cost
Mixed-precision
1
Buying the accuracy back
2
Where the hardware went
3
The part of a solver that may be rounded
3 essays · arithmetic
10⁻¹ 1 10¹ 10² 10³ 10⁻¹⁷ 10⁻¹⁴ 10⁻¹¹ 10⁻⁸ 10⁻⁵ s, on the real axis |H − Hᵣ| ÷ |H| exact where asked points 4 conditions bought 8 worst at a point 5.3·10⁻¹⁶ worst away from one 8.4·10⁻⁴ 4 points, 8 conditions and no bound in between
Moment matching
1
Exact at the points that were named
2
A basis that is the same subspace and not the same thing
3
Interpolating at the model’s own poles
3 essays · reduction
0 2 4 6 8 10 10⁻¹¹ 10⁻⁹ 10⁻⁷ 10⁻⁵ 10⁻³ 10⁻¹ rank kept in every mode relative error dashes above: √(Σ tail²), the upper bound dashes below: max tail, a floor under the best solid: what the projection returns smooth: pinned to the upper bound rank 10 error 1.1·10⁻¹¹ its upper bound 1.1·10⁻¹¹ the lower bound 6.3·10⁻¹² error ⁄ bound 1 error ⁄ lower 1.7 inside the bound and sitting on it
Multilinear rank
1
A decomposition made only of SVDs
2
The orthogonality that cannot be diagonal
3
A compression of 10¹⁴ that still does not fit
3 essays · tensor
s1 0 bits s2 0 bits s3 0 bits s4 0 bits s5 14 bits invariant factors, in bits two routes, and a conserved quantity det A -2.3·10⁴ Π invariants 2.3·10⁴ SNF widest 15 HNF widest 24 det of the transform -1 an algorithm and a definition agreeing as integers
Normal forms
1
What a determinant does not determine
2
Every entry under the determinant
3
The swell was one-sided
3 essays · exact
[ ε 1 ; 1 1 ] x = [ 1 ; 2 ], exact answer (1.000000, 1.000000) with partial pivoting 1 1 0 1 U after elimination 1.000000 1.000000 computed x backward error 0 forward error 0 without 10⁻¹⁷ 1 0 -1·10¹⁷ U after elimination 0.000000 1.000000 computed x backward error 0.25 forward error 0.71 no error is raised growth 10¹⁷
Pivoting
2
The swap that is not optional
3
The pivot that reads the units
4
A pivot that searches one row and one column
3 essays · elimination
0 5 10 15 20 25 30 35 40 10⁻¹¹ 10⁻⁹ 10⁻⁷ 10⁻⁵ 10⁻³ 10⁻¹ iteration ‖r‖ / ‖b‖ plain CG IC(0) CG what the preconditioner did κ(A) 48 κ(L⁻¹AL⁻ᵀ) 5.1 ‖A − LLᵀ‖/‖A‖ 0.083 2D Laplacian, n = 100 √κ ratio predicts 3.07×
Preconditioning
1
Changing the condition number on purpose
2
A preconditioner that changes sign
3
A speedup with a ceiling of its own
3 essays · iterative
0 14 28 42 56 70 84 98 10⁻¹⁶ 10⁻¹⁴ 10⁻¹² 10⁻¹⁰ 10⁻⁸ 10⁻⁶ 10⁻⁴ 10⁻² iteration change between iterates two rates, one curve α 0.85 λ₂(P) 0.9 predicted rate 0.77 measured 0.77 iterations 108 against the solve 10⁻¹⁶ the upper dashed line is αᵏ the curve is on the other one
Random walk
1
A ranking that is an eigenvector
2
The rate is the second eigenvalue
3
A chain with no stationary vector
3 essays · graph
0 8 16 24 32 1 1.1 1.2 1.3 1.4 terms added, each followed by a truncation error ⁄ best rank-k error optimal terms with nothing in common a subspace that drifts the rounding nobody should have feared drifting, worst excess 1 independent, worst excess 1 a linear bound would say 32 energy discarded, first 1.8·10⁻⁷ energy discarded, last 0.03 thirty-two roundings and four per cent
Recompression
1
The rounding that was not the problem
2
The count that is not the budget
3
A knob calibrated in residuals
3 essays · hierarchy
1 10¹ 10⁻¹¹ 10⁻⁸ 10⁻⁵ pieces the vector was divided into distance from the exact sum, relative the published bound κ · u one vector, one algorithm distinct answers 21 runs 26 spread, in ulps 2.3·10⁷ κ of the sum 10⁸ bound ÷ worst error 2.6·10⁴ nobody chose p and no answer is the answer
Reduction order
1
The same program, twice
2
A bound every answer satisfies
3
Where the disagreement comes from
3 essays · machine
All essays