Conjugate gradient convergence bound Created 2026-10-25 Updated 2026-10-31
For a symmetric positive-definite matrix , the Conjugate gradient method minimizes the error in the induced weighted norm over its affine Krylov subspace. Writing the error as givesFor , choose the scaled Chebyshev polynomial . On the spectral interval its numerator has absolute value at most one. With , the denominator equals . This proves the displayed bound. If the two endpoints coincide, is a positive scalar multiple of the identity and one iteration solves the system exactly.
Generalized minimal residual method 2026-10-25
With zero initial guess, the generalized minimal residual method minimizes the Euclidean norm of the linear-system residual over each Krylov subspace. The Arnoldi decomposition reduces this to , followed by . Givens rotations solve the small problem in operations once the decomposition is available. For an invertible matrix , the same iterate minimizes the error in the weighted norm induced by , because .
For the singular-endpoint equation, take , , . The indicial equation is . The constant branch violates the zero endpoint value unless its coefficient vanishes; the nontrivial admissible branch therefore has . More precisely, an eigenfunction has and near zero.
Integrate the self-adjoint equation after multiplying by , initially on with :At zero the boundary expression is , the first integrand is , and the second is . Both integrals converge and the boundary term vanishes. Division by the positive weighted norm gives .
The change of coordinate , gives exactlyThus and . To prove a minimum over trial functions, rather than just identify the least eigenvalue, transform the quotient itself:The Dirichlet Poincaré inequality gives the last step, with equality precisely for a nonzero multiple of . The trial class is the nonzero finite-energy class with zero Sobolev traces; endpoint values alone without an integrability requirement do not define a finite quotient. This is the Power-coordinate reduction of a singular Sturm-Liouville quotient.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2002 Paper 1 9 b Solution Created 2026-10-18 Updated 2026-10-20
Assume the regular real Sturm-Liouville problem, with , ordered eigenvalues , and real orthonormal eigenfunctions in the weighted inner productThe Rayleigh quotient for an admissible trial function isThe second expression follows by integration by parts. It is the quantity used in the Rayleigh-Ritz method.
For , orthonormality eliminates every cross-term in the denominator:Applying to the eigenfunction expansion and using the same orthogonality in the numerator givesHence, whenever the trial function has finite energy,Put and . The exact error and its expansion areIn particular, under a common small scaling with fixed finite sums and ,The fourth-order remainder includes mixed products , not just individual fourth powers.
Error comparison and sign. Since , the relative weighted norm error of the supplied trial function isFor , the relative eigenvalue error is . Thus the Rayleigh quotient has a second-order error for a first-order error in the trial eigenfunction, provided the energy-weighted coefficient sum is controlled. Small weighted norm error alone does not control arbitrarily high-frequency contamination, because can grow without bound. If , an absolute error must replace the undefined relative one.
Finally every summand of is nonnegative. Thuswith strict inequality whenever some . This is the upper-bound property of the Rayleigh-Ritz variational principle for the lowest eigenvalue.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2007 Paper 1 7 ii Solution Created 2026-10-18 Updated 2026-10-20
Multiplying by and integrating with the zero endpoint values first gives for a nonzero real eigenfunction; hence . Using the printed change of variables , write . Then , so . The first endpoint gives , and the other gives . ThusThis is the logarithmic change of variable in a Sturm-Liouville problem. The measure gives squared weighted norm , so an orthonormal choice is .
Projecting the Sturm-Liouville eigenfunction expansion onto using the weighted inner product givesFor the partial sum , orthonormality therefore givesFor of finite weighted norm, the given completeness means that in that norm. The triangle inequality implies . Taking the limit of the finite identity proves Parseval's identity:This argument justifies the limiting step without assuming that a double infinite series can be integrated term by term. As usual, the expansion is understood for square-integrable functions with respect to the weighted measure; the boundary and smoothness assumptions of the regular Sturm-Liouville problem provide the usual stronger interpretations when needed.
Only two coefficients in the Sturm-Liouville eigenfunction expansion are nonzero: and . Since , the result of part (i) simplifies toUsing Parseval's identity, the prescribed weighted norm becomesThus , so or . Positivity selectsThe standing nonresonance assumption still applies: this answer requires that is not one of the unspecified higher eigenvalues. Their actual values are not supplied. If a higher eigenvalue were , the stated exclusion would fail and the data would not have an admissible under that exclusion.
For a nonzero admissible radial profile define the radial diffusion Rayleigh quotientMinimizing the numerator subject to introduces a multiplier . The Euler-Lagrange equation for isThe allowed variations vanish at , and the natural condition at the centre is zero radial flux. Thus the minimum, when attained, is the smallest decay eigenvalue . Equivalently, expansion in weighted-orthogonal eigenfunctions makes a weighted average of their decay eigenvalues. The Rayleigh-Ritz variational principle therefore givesAdmissible trial functions must obey the outer boundary condition, be nonzero and have finite weighted norm and energy; they need not solve the differential equation. If the diffusion operator has no lowest eigenfunction, the same variational argument bounds the infimum of its spectrum. Existence of a fundamental diffusion mode is an additional assumption for strongly vanishing diffusivity, not a consequence of the identity alone.
For the proposed trial profile, . Its weighted energy isThe squared weighted norm isBoth are finite for and , and . Therefore the Rayleigh-Ritz variational principle givesWhen a fundamental diffusion mode exists, its decay rate is the infimum and is bounded above by this expression.
The existence qualification matters for the full range of printed in the question. For , trial functions concentrated within radius have quotient proportional to , proving the loss of a spectral gap under strongly degenerate radial diffusion. The infimum is zero and is not attained, because zero energy together with forces the zero function. Thus there is no positive lowest-mode decay rate in that case. Even at , the mode equation is : its characteristic powers are , and for every nonzero solution is unbounded at the centre. Hence the asserted bounded fundamental mode cannot be assumed for all . The trial quotient remains valid, and the next part's case has the usual fundamental mode.
For , a constant solution and its normalization give . For , substitute : the equation gives , and the normalization gives . For , put . Comparing coefficients gives and ; then fixes . ThusThese are the first three Chebyshev polynomials. For their squared weighted norms, use , which converts into :More generally, makes their orthogonality the usual cosine orthogonality.
The coefficient formula from part (b) and the Leibniz rule yield Rodrigues' formula directly:The leading coefficient is , so . Substitute this differentiated expression into one factor in the squared weighted norm and apply integration by parts times:Every endpoint term contains a derivative of of order less than : it vanishes at zero, and its exponential decay beats every polynomial at infinity. This proves the normalization of the ordinary Laguerre polynomials for all , including without any integrations by parts.
Past exam of the numerical analysis course of the University of Oxford 2021 1 b i Solution 2026-10-25
Write for the vector space of polynomials of polynomial degree at most , and put . As the question calls the weighted integral an inner product, its finiteness is implicit; for example, a positive integrable weight suffices for all the continuous functions involved here.
For every , differentiating the squared weighted norm at its minimum gives the orthogonality equationsIn particular, the requested linear system isIts Gram matrix is a symmetric positive-definite matrix: for any nonzero vector ,Indeed a nonzero polynomial is nonzero on some open interval, and the weight is positive. Therefore is an invertible matrix, proving uniqueness. Conversely, if these equations hold, the Pythagorean theorem in an inner-product space gives, for every ,so the solution really is the unique best approximation.
Past exam of the numerical linear algebra course of the University of Oxford 2025 3 a iii Solution 2026-10-25
The claim is true, withIt is a symmetric positive-definite matrix: for every nonzero vector , the fact that is an invertible matrix gives . Since , every candidate satisfiesThe 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 .
Past exam of the numerical linear algebra course of the University of Oxford 2025 3 b iv Solution 2026-10-25
Under the permitted singular value bounds, givesFor the symmetric positive-definite matrix in part (iii), its eigenvalues are the squared singular values of , soApply the supplied conjugate gradient convergence bound to . For and nonzero , the function increases with , givingThus 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 takeCompute once in operations. Each iteration applies with two dense matrix multiplications and uses further arithmetic operations; when this costs . Hence the total cost isUsing 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.
Vector normalization Created 2026-10-14 Updated 2026-10-18
Vector normalization converts a nonzero vector in a normed vector space into a unit vector. Absolute homogeneity of a norm givesThe direction is unchanged by multiplying by a positive real scalar. For , and ; for a negative real scalar, . Thus and normalize to the same unit vector, while normalizes to its negative. This decomposition is useful for specifying a direction independently of a force, velocity or displacement magnitude.
In a complex normed vector space, a nonzero complex scalar instead gives . The remaining complex argument is not removed by normalization. For a pure quantum state, vectors differing only by this overall global phase represent the same physical state; vector normalization alone does not identify them.
The zero vector cannot be normalized this way. The construction also applies in a function space: an eigenfunction of a Sturm-Liouville problem can be scaled to unit weighted norm byThe positive weight specifies the weighted inner product. Multiplication by this nonzero constant preserves the eigenvalue equation and its homogeneous boundary conditions.