reciprocal-pairs
At its defaults it draws the 12 eigenvalues of a palindromic quadratic, in 6 pairs whose products are one. λ²A + λB + Aᵀ with A and B symmetric reads the same backwards, so λ is an eigenvalue exactly when 1/λ is. The axis is log₁₀|λ|, the marks are the computed eigenvalues and each arc joins a pair; the vertical line is |λ| = 1, about which the whole picture is symmetric. The spectrum spans 9.56 decades at b = 10⁴. Measured, the general solver's spectrum departs from being closed under λ ↦ 1/λ by 3.27·10⁻⁹, and the structured route's — one symmetric generalised eigenvalue problem of size 6 rather than an unsymmetric one of size 12 — by 2.21·10⁻¹⁶, which is the rounding level and is by construction.
reciprocal-pairs is one function in lib/figures/palindromic.js —
reciprocal pairs — a symmetry the solver discards, and the division that is worth seven orders. Everything below came out of it during this build, at
arguments taken from the essays rather than invented for this page. A figure here is the
figure a reader meets in an essay, and if the generator changes, this page changes with it.
At its defaults
Drawn even though every essay passes arguments — which on this site is every essay, at 100% of placements since the standard pass. A default nothing exercises is a trap for the next essay to call this with none, and this is the page where a default that has drifted from the figures around it becomes visible.
λ²A + λB + Aᵀ with A and B symmetric reads the same backwards, so λ is an eigenvalue exactly when 1/λ is. The axis is log₁₀|λ|, the marks are the computed eigenvalues and each arc joins a pair; the vertical line is |λ| = 1, about which the whole picture is symmetric. The spectrum spans 9.56 decades at b = 10⁴. Measured, the general solver's spectrum departs from being closed under λ ↦ 1/λ by 3.27·10⁻⁹, and the structured route's — one symmetric generalised eigenvalue problem of size 6 rather than an unsymmetric one of size 12 — by 2.21·10⁻¹⁶, which is the rounding level and is by construction.
logB: 4
The arguments are the ones A matrix that depends on its own eigenvalue passes. A value drawn at the generator's defaults instead would be a picture no essay asked for and no assertion has been run against.
λ²A + λB + Aᵀ with A and B symmetric reads the same backwards, so λ is an eigenvalue exactly when 1/λ is. The axis is log₁₀|λ|, the marks are the computed eigenvalues and each arc joins a pair; the vertical line is |λ| = 1, about which the whole picture is symmetric. The spectrum spans 9.56 decades at b = 10⁴. Measured, the general solver's spectrum departs from being closed under λ ↦ 1/λ by 3.27·10⁻⁹, and the structured route's — one symmetric generalised eigenvalue problem of size 6 rather than an unsymmetric one of size 12 — by 2.21·10⁻¹⁶, which is the rounding level and is by construction.
logB: 10
The arguments are the ones A perturbation that keeps the symmetry passes. A value drawn at the generator's defaults instead would be a picture no essay asked for and no assertion has been run against.
λ²A + λB + Aᵀ with A and B symmetric reads the same backwards, so λ is an eigenvalue exactly when 1/λ is. The axis is log₁₀|λ|, the marks are the computed eigenvalues and each arc joins a pair; the vertical line is |λ| = 1, about which the whole picture is symmetric. The spectrum spans 21.6 decades at b = 10¹⁰. Measured, the general solver's spectrum departs from being closed under λ ↦ 1/λ by 1.04·10⁻⁷, and the structured route's — one symmetric generalised eigenvalue problem of size 6 rather than an unsymmetric one of size 12 — by 2.32·10⁻¹⁶, which is the rounding level and is by construction.
logB: 2
The arguments are the ones A perturbation that keeps the symmetry passes. A value drawn at the generator's defaults instead would be a picture no essay asked for and no assertion has been run against.
λ²A + λB + Aᵀ with A and B symmetric reads the same backwards, so λ is an eigenvalue exactly when 1/λ is. The axis is log₁₀|λ|, the marks are the computed eigenvalues and each arc joins a pair; the vertical line is |λ| = 1, about which the whole picture is symmetric. The spectrum spans 5.56 decades at b = 100. Measured, the general solver's spectrum departs from being closed under λ ↦ 1/λ by 5.86·10⁻¹³, and the structured route's — one symmetric generalised eigenvalue problem of size 6 rather than an unsymmetric one of size 12 — by 1.88·10⁻¹⁶, which is the rounding level and is by construction.
logB: 8
The arguments are the ones A perturbation that keeps the symmetry passes. A value drawn at the generator's defaults instead would be a picture no essay asked for and no assertion has been run against.
λ²A + λB + Aᵀ with A and B symmetric reads the same backwards, so λ is an eigenvalue exactly when 1/λ is. The axis is log₁₀|λ|, the marks are the computed eigenvalues and each arc joins a pair; the vertical line is |λ| = 1, about which the whole picture is symmetric. The spectrum spans 17.6 decades at b = 10⁸. Measured, the general solver's spectrum departs from being closed under λ ↦ 1/λ by 9.08·10⁻⁸, and the structured route's — one symmetric generalised eigenvalue problem of size 6 rather than an unsymmetric one of size 12 — by 2.16·10⁻¹⁶, which is the rounding level and is by construction.
logB: 6
The arguments are the ones A perturbation that keeps the symmetry passes. A value drawn at the generator's defaults instead would be a picture no essay asked for and no assertion has been run against.
λ²A + λB + Aᵀ with A and B symmetric reads the same backwards, so λ is an eigenvalue exactly when 1/λ is. The axis is log₁₀|λ|, the marks are the computed eigenvalues and each arc joins a pair; the vertical line is |λ| = 1, about which the whole picture is symmetric. The spectrum spans 13.6 decades at b = 10⁶. Measured, the general solver's spectrum departs from being closed under λ ↦ 1/λ by 6.56·10⁻⁸, and the structured route's — one symmetric generalised eigenvalue problem of size 6 rather than an unsymmetric one of size 12 — by 1.78·10⁻¹⁶, which is the rounding level and is by construction.
What it checked while drawing
Every figure above asserted its own claims on the way to being drawn, and a claim that failed
would have failed the build rather than drawn a wrong picture. Those assertions used to leave
no trace at all: a passing one returned true and the only evidence the figure had
checked anything was that nothing crashed. The list below is what they actually said, collected
by running this generator with an observer installed — not a description of
what it is believed to check.
15 distinct claims across 6 sets of arguments, grouped below by shape — because most of them are one sentence with a different number in it, and how many separate times that sentence was put to the test is the informative part.
2n eigenvalues
a Cholesky factor of the second matrix, which requires it to be positive definite
a coupling for which both Cayley blocks are definite
a coupling the closed form can be read at
a linearisation has as many eigenvalues as it has rows
a reduction this file knows
a size the closed form can be read at
a spectrum that fits along the axis
a z that the Cayley map does not send to infinity
a z² that a real square root can be taken of
Jacobi needs a symmetric matrix
LU is for square matrices
matmul shapes agree
no eigenvalue at zero, which a palindromic problem cannot have
the structured route's spectrum is reciprocal
Against the rule
It draws a decomposition and prints its residual. It calls
qepEigen, cayleyRoute,
and every figure above carries the badge — which residualcheck verifies by looking
for it in the emitted SVG rather than by finding the call that builds one. A badge that is
constructed and then left out of the body is the failure that check exists for.
Across the library: the rule bites on 173
of 325 generators —
158 print a residual and
15 are exempt with a published reason;
152 factorise nothing.
Read from lib/residual-rule.js, which is the same body the gate enforces from,
and the gate's last check fails the build if this page and it disagree about any generator.
Where it is called
Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.
A matrix that depends on its own eigenvalue
A damped structure does not produce Ax = λx. It produces (λ²M + λC + K)x = 0, where the matrix whose null vector is wanted is a function of the number being solved for — so there is nothing to factorise, an n × n problem has 2n answers, and the eigenvectors cannot be a basis.
Structure, and the solver that cannot see itA perturbation that keeps the symmetry
The smallest perturbation that makes a computed answer exact is the backward error. Ask for the smallest one that also keeps the problem's structure and the number can only go up — and measured on a palindromic quadratic it goes up by 1.17, while the structure the computed spectrum has lost is not in either number.
The eigenvalue problem that is not linearA problem with infinitely many eigenvalues
Let the matrix depend on λ through something that is not a polynomial and three things stop being true at once. There is no linearisation, there is no characteristic polynomial, and "compute the spectrum" is not a request that can be granted — the only finite question is how many eigenvalues are inside this circle.
The eigenvalue problem that is not linearA spectrum that comes in reciprocal pairs
A palindromic quadratic reads the same backwards, so λ is an eigenvalue exactly when 1/λ is. A general solver discards that, computes the large half of the spectrum perfectly and the small half to seven digits — and the small half is a division away from being perfect too.
The eigenvalue problem that is not linearSix routes to one spectrum
Three linearisations of one quadratic, each reduced to a standard eigenvalue problem two ways. All six have exactly the same eigenvalues in exact arithmetic. On a well-scaled problem they differ by noise; on a badly scaled one by a factor of forty; and two of the six are the same matrix.