The Gauss-Seidel method updates coordinates successively using the newest available entries:
It is well-defined for every initial vector exactly when every , equivalently when the triangular matrix is invertible. Nonsingularity of alone does not ensure this. The matrix form is
If the iterates converge to , passing to the limit gives , hence . Nonsingularity identifies as the unique solution .
Now assume is a symmetric positive-definite matrix. Testing with the coordinate vector gives , so is positive definite. The form is an inner product: bilinearity and symmetry are immediate and positivity is the hypothesis. Its Cauchy-Schwarz inequality gives
proving the triangle inequality; definiteness and absolute homogeneity are immediate. Thus is the energy norm.
Subtract the iteration from the exact equation to obtain . Hence
Using the preceding iteration also gives and therefore for , as required.
Put . Expanding the two quadratic forms and using the first identity gives the exact Gauss-Seidel energy decrease identity:
Here . If , then , so . Otherwise . Thus unless the exact solution has already been reached.
A real symmetric matrix is positive-definite when for every nonzero real vector . The preceding matrix 2-norm bound gives
Thus is a symmetric positive-definite matrix, independently of the detailed positions of the nonzero entries of .
The claim is true, with
It is a symmetric positive-definite matrix: for every nonzero vector , the fact that is an invertible matrix gives . Since , every candidate satisfies
The generalized minimal residual method therefore minimizes precisely this weighted norm of the error over the linear span of . The same matrix works for every and does not depend on .
The least-squares normal equations are
The full column rank of gives for nonzero , so is a symmetric positive-definite matrix. Apply the Conjugate gradient method to this linear system. To verify that its solution is the desired one, let solve the displayed equations. Then , and for any the Pythagorean identity gives
Thus is the unique minimizer of the linear least-squares problem.
One can apply without forming the Gram matrix: compute . More explicitly, initialize , , ; until the linear-system residual vanishes, use the Conjugate gradient method recurrence
Each dense application of this way costs operations. The condition number satisfies , where ; this is the conditioning cost of the least-squares normal equations.
For any nonzero vector , orthonormality gives . Since is a symmetric positive-definite matrix,
The preceding part already gives symmetry, so is a symmetric positive-definite matrix. In fact the spectral theorem gives the useful bounds
which place its eigenvalues between the smallest and largest eigenvalues of .
Under the permitted singular value bounds, gives
For the symmetric positive-definite matrix in part (iii), its eigenvalues are the squared singular values of , so
Apply the supplied conjugate gradient convergence bound to . For and nonzero , the function increases with , giving
Thus the error in this weighted norm contracts at a guaranteed exponential factor of at most per iteration, up to the prefactor . Here . The Pythagorean identity in part (iii) also identifies with the excess squared linear least-squares problem objective, which consequently decreases by a bound proportional to . For the Euclidean norm, the same eigenvalue bounds give .
For relative accuracy in the -weighted norm, it is sufficient to take
Compute once in operations. Each iteration applies with two dense matrix multiplications and uses further arithmetic operations; when this costs . Hence the total cost is
Using finite termination of the conjugate gradient method in exact arithmetic refines this to . Explicitly constructing first would add setup work and is unnecessary. These accuracy estimates concern relative error; an absolute tolerance replaces by when . If , the initial guess already solves the problem.
As in part 2(b)(v), the Gaussian assumption alone does not make the printed singular value interval a certainty. For example, the event that every entry of has absolute value below a sufficiently small positive number has positive probability and forces , contradicting the asserted lower endpoint. The displayed rate is therefore conditional on the singular-value bounds authorized by the paper. The cost and convergence derivation are exact under that condition; an unconditional probabilistic statement would need an additional failure-probability estimate.
Let , and . Subtract the exact fixed-point equation to obtain . Hence convergence for every initial vector is equivalent to . If this holds, it holds after complexification; applying it to a complex eigenvector gives , so . Conversely, the complex Jordan normal form expresses each power as a finite sum of terms from its blocks. Every term tends to zero when all eigenvalues have modulus below one. Thus
The convergence criterion for a stationary iteration needs complex triangularization or Jordan normal form. The paper's assertion that every real matrix is similar to a real upper-triangular matrix is false when nonreal eigenvalues occur; complex triangularization supplies the intended argument. In the Gauss-Seidel method, with split into diagonal, strictly lower and strictly upper parts, .
For , eliminating the ghost values gives the symmetric pentadiagonal matrix
All other off-diagonal entries vanish. The first two equations are
and the last two are
For the matrix is , for it is , and for it is because both ghost contributions meet the same unknown. The diagonal entries are positive in every case, so the lower triangular matrix is invertible and the Gauss-Seidel iteration is well defined.
An eigenvalue of makes singular. Let and be the sums of absolute lower and upper entries in row . The row's diagonal-dominance margin is
Interior full rows have , , giving margin . Boundary rows have larger margins; for instance the first gives , and the second gives at least . Therefore would make a strictly diagonally dominant matrix, hence nonsingular, a contradiction.
At it is weakly diagonally dominant with strict boundary rows. Its nonzero nearest-neighbour entries make it an irreducibly diagonally dominant matrix. The nonsingularity theorem for that class again contradicts singularity. For the small matrices above all rows are already strict at this value. Hence
There is also a stronger conclusion. For ,
including the overlap. Since is positive definite, is a symmetric positive-definite matrix. The Gauss-Seidel convergence from diagonal dominance and positive definiteness theorem consequently gives the stronger bound .
By the spectral theorem a symmetric positive-definite matrix has , with orthogonal and . Define . It is symmetric positive-definite and . For uniqueness, any symmetric positive-definite square root commutes with , hence preserves each eigenspace of . On its -eigenspace, is symmetric positive-definite and all its eigenvalues have square , so all equal . Therefore , including repeated eigenspaces.
For , put
Then and , so ; also . Any other right polar decomposition has , so uniqueness of the positive root fixes and then . The left factor is consequently fixed too.
The principal stretches are the positive eigenvalues of , equivalently the singular values of . For a unit vector in an orthonormal eigenbasis of ,
Thus , attained precisely by the unit vectors in the eigenspace of belonging to . With a simple largest eigenvalue these are its two opposite unit eigenvectors; degeneracy allows every unit combination within that eigenspace.
For the simple shear,
A line with nonzero direction keeps its length exactly when
Hence , with arbitrary. Every segment in the cube parallel to one of these directions preserves length; there is no restriction on its starting point other than remaining in the cube.
The two in-plane stretches are , and the third is one. A maximizing direction for is , since the eigenvalue equation gives . Therefore as . At exactly zero shear all directions tie; the limit refers to the selected maximizing direction for positive shear. These are the length-preserving directions and principal directions of simple shear.
The radial gradient is symmetric positive definite. If it belongs to a well , write . Then , while positive symmetry makes itself the unique positive square root of an operator of . Hence . Likewise a symmetric positive-definite matrix in must be . Therefore
For each radius, the tangential stretch must belong to the finite set of eigenvalues of these matrices. The ratio is continuous on the connected radial interval, so it is one constant . Thus and differentiation gives as well. Hence
This proof uses finiteness and positive definiteness of the wells, not isotropy or the Baker-Ericksen inequalities. It also covers : the punctured three-dimensional ball remains connected, and no condition at the excluded center was used.
No, except when started at the exact solution. Merely failing the usual symmetric positive-definite matrix hypothesis would not by itself prove divergence. For this particular matrix one can prove that every defined nonzero-residual step increases the linear-system residual norm.
Write , put and . For , direct substitution into the stated iteration gives
For , both
are strictly positive; completing squares gives and . Hence and the residual norm strictly increases at every defined step. If before the residual vanishes, the algorithm is instead undefined. Neither behavior converges to residual zero. The matrix is invertible, so this also rules out convergence of the iterates to its unique solution.
For example, from the zero starting guess the first two step sizes are and , giving and . This demonstrates the failure without treating a sufficient convergence theorem as a necessary one. The general calculation is residual growth in an indefinite steepest-descent iteration.
Set . Because is an orthogonal matrix, and exactly when . The preceding diagonalization gives
Consequently , with equality only when . The matrix is a symmetric positive-definite matrix, not merely positive semidefinite. In the original coordinates the same identity is
which also makes positivity transparent.
For each row, a Gershgorin disc has centre and radius . Here and , so the Gershgorin circle theorem gives
Since is a real symmetric matrix, its eigenvalues are real. Intersecting the union of these Gershgorin discs with the real axis yields
This bound permits zero but does not assert a zero eigenvalue. The fixed-end Dirichlet boundary conditions exclude it: for any nonzero real vector , extend by and calculate
Indeed, equality would force every adjacent value to agree with the zero endpoint. Thus is a symmetric positive-definite matrix, is a negative-definite matrix, and the eigenvalues satisfy . The same argument works for any number of interior grid points, with prefactor in the sum. The fixed string has no zero-frequency rigid translation.
Preconditioned conjugate gradient method Created 2026-09-29 Updated 2026-10-03
A symmetric preconditioner transforms into
The aim is to make the transformed positive-definite matrix have clustered eigenvalues while keeping application of inexpensive.
Given a positive-definite matrix , the preconditioned proximal point map is
It is firmly nonexpansive in the weighted inner product whenever is monotone.
Preconditioned steepest descent Created 2026-10-18 Updated 2026-10-31
For fixed symmetric positive-definite matrices and , preconditioned steepest descent minimizes along the direction supplied by the auxiliary solve. Given , form the linear-system residual . If , stop: . Otherwise solve and use
This is exact line search for a positive-definite quadratic along . Indeed,
whose derivative vanishes at the displayed positive step size. Unlike the Preconditioned conjugate gradient method, it uses the fresh directly rather than combining it with a previous conjugate direction.
For diagonal scaling for a two-dimensional linear system, start at . Without matrix preconditioning, take : , , and
With the Jacobi preconditioner , , , and
The original linear-system residual becomes much smaller after this correction. Quantify progress in the same energy norm in both cases: and . Exact substitution gives
In this particular example the entire histories are and . To check that this is exact, the next step sizes are and , respectively, and their residual updates give and . Multiplying a linear-system residual by a nonzero scalar leaves the next step size unchanged; every pair of steps repeats the same directions at a smaller scale. The two first-step energy ratios then establish these formulas for all .
The curves come from exact rational updates of the specified linear system, converted to decimal values for plotting. The left panel counts iterations. The right panel declares one unit for applying and one unit for the auxiliary diagonal solve, charging one unit per unpreconditioned step and two per preconditioned step. It excludes setup and vector operations, so it compares a declared cost model rather than measured runtime. Scaling is advantageous even with that extra charge.
These curves compare steepest descent method iterations. On this two-dimensional linear system, both the conjugate gradient method and the Preconditioned conjugate gradient method terminate within two steps in exact arithmetic. The plot therefore establishes no CG iteration-count advantage for this example; the benefit of scaling for larger problems depends on their eigenvalues and auxiliary-solve costs.
The principal axes of an ellipse are the two perpendicular symmetry axes through its center of an ellipse. For a symmetric positive-definite matrix , its orthonormal eigenvectors give those directions and its positive eigenvalues give semiaxis lengths . This follows by orthogonal diagonalization of the defining quadratic form. In , the axes are already horizontal and vertical, with semiaxes and full lengths . Equal semiaxes give a circle, for which every perpendicular pair through the center can serve.
For a two-dimensional symmetric positive-definite matrix and , the region is a filled ellipse of area . By the spectral theorem for real symmetric matrices, an orthogonal change of coordinates gives positive eigenvalues and semiaxes and . Their product and the area of an ellipse prove the formula. Translating the center of an ellipse leaves the area unchanged.
For a symmetric positive-definite matrix and a nonzero vector , minimizing over , where , gives the displayed optimizer. Put . Expansion gives , a strictly convex quadratic function of . At its minimum,
Strict decrease is therefore equivalent to . This is minimization over a full line, so the optimizer can be negative. For an exact line search restricted to a nonnegative step size, the optimizer is instead .