For sine collocation of square modified Helmholtz global relations, each opposite-side mode has a scaled matrix
The assembled system has strict diagonal dominance, and its spectral condition number of a positive-definite matrix is below . The conclusion concerns the explicit paired sine rows, not arbitrary uncombined complex rows.
The linear-system residual at an approximate solution is . For symmetric positive definite , the Conjugate gradient method has and minimizes the squared -norm of the error over that affine space; its residual is orthogonal to .
If has distinct eigenvalues, interpolate on them with a polynomial of degree at most . The finite-dimensional spectral theorem gives , so the exact correction lies in . The minimum possible error at step is therefore zero. Thus in exact arithmetic, possibly earlier if the initial residual has fewer eigencomponents. If , it terminates immediately.
A symmetric positive definite matrix preconditioner changes the system to , with ; practical preconditioned CG applies solves with . It can accelerate convergence by reducing the spectral condition number of a positive-definite matrix, which improves the usual bound involving , and by clustering eigenvalues, which allows low-degree residual polynomials small on the spectrum even when the extreme-eigenvalue bound is pessimistic.
Choosing makes the transformed matrix , so one step suffices. But applying already requires solving the original problem, and constructing an exact factorization generally incurs its original computational cost. It is therefore not a useful shortcut for a single unsolved system, though an available factorization can be reused for multiple right-hand sides. Effective matrix preconditioning balances spectral improvement against inexpensive application.
A particularly simple constructive choice uses paired collocation points for a global relation. For , put
Four suitable sets, one for each side, are
The braces in each set range over all . For large , compute to avoid cancellation. The corresponding pairs are, respectively,
Each pair has the same exponentially growing normal direction and opposite tangential frequencies. Take the phase-weighted difference of the two collocated global relations for a linear boundary value problem. For example, the bottom pair gives the adjoint test
The other three phase-weighted differences give
Thus the four spectral sets supply four real sine-tested equations per mode. We retain these equations; requiring every uncombined complex equation as well would instead form an overdetermined finite approximation. For real traces each retained equation is the appropriate real combination of its conjugate pair.
The key advantage is that vanish on the vertical sides, while vanish on the horizontal sides. Orthogonality then eliminates all off-mode unknowns. Define the known right-hand sides
The retained global relations for a linear boundary value problem are
For example, with , the bottom and top right-hand sides are explicitly
For completeness the left and right right-hand sides are
All these integrals use known polynomial approximations or the exact Dirichlet boundary condition.
Scale each row by . Every block becomes
There is just one off-diagonal entry in each row. This proves diagonal dominance of paired square global-relation collocation. Therefore the assembled system is strictly diagonally dominant, with row margin . This proof applies to the explicitly paired and scaled collocation system, rather than assuming arbitrary raw spectral rows are diagonally dominant. Each block is a positive-definite matrix and have spectral condition number of a positive-definite matrix
For instance, setting gives the concise answer
with the identical formula for the opposite vertical sides. If the known-data integrals use exact , these are exactly the first sine coefficients of the true normal traces: no discarded unknown mode contributes to a retained row. With a finite Legendre polynomial approximation, the error is solely that of the known-data approximation and the final normal-trace truncation. These square modified Helmholtz Dirichlet-to-Neumann coefficients determine the unknown boundary normal derivative; Green's third identity or the separated-variable construction can then recover the interior solution.
Because is a real symmetric positive-definite matrix, the finite-dimensional spectral theorem supplies an orthonormal eigenbasis with
Its eigendecomposition is also its singular value decomposition. If , then
so
The operator norms satisfy and . Therefore the worst-case relative perturbation bound is
The ratio is the spectral condition number of a positive-definite matrix. A large ratio means that data noise aligned with an eigenvector for the smallest eigenvalue is strongly amplified, so the inverse problem is ill conditioned.
For
the gradient is . The steepest descent method with exact line search for a positive-definite quadratic therefore uses
For and , the minimizer is . Put
Starting from , direct substitution gives and, inductively,
The Euclidean norm is unchanged by the alternating sign, so
For a positive-definite matrix, the spectral condition number of a positive-definite matrix is
Here , and hence
The Conjugate gradient method starts with and updates
By finite termination of the conjugate gradient method, it reaches the exact solution in at most the number of distinct eigenvalues. This matrix has two, so at most
are required in exact arithmetic.