Use the weighted inner productMultiply the equation for by , subtract the complex conjugate equation for times , and integrate. Since the eigenvalues are real,The boundary term vanishes as before. Thus eigenfunctions with distinct eigenvalues are orthogonal. The full disk inner product differs only by the angular factor .
Use the ordinary real inner product on the domain of functions obeying the two separated boundary conditions. Integration by parts gives the Lagrange identity for a Sturm-Liouville operatorAt , the two boundary-value vectors and satisfy the same homogeneous linear relation. If , both function values vanish; if , their derivatives are the same constant multiple of their values. Either way . The same argument applies at . HenceThis proves symmetry, and the regular separated Sturm-Liouville problem has the same adjoint domain, so is self-adjoint. To see the domain point, require the boundary form to vanish against every admissible : the independently variable endpoint data force an adjoint-domain function to obey those same endpoint relations.
As usual, each endpoint pair and must be nonzero, and the coefficients must have the regularity needed for these operations. An identically zero pair would impose no condition at that endpoint and would not give the claimed self-adjoint operator. The related operator is self-adjoint in the weighted inner product .
The adjoint operator , when it exists, is defined byfor all vectors in the relevant domains. This convention takes the inner product to be conjugate-linear in its first argument. Nondegeneracy makes the adjoint unique.
For the standard complex inner product , the equality becomes for every , soThus the matrix adjoint is the Hermitian conjugate, not merely the transpose unless the entries are real. In a basis with positive Hermitian Gram matrix , the same definition instead gives , making the dependence on the chosen inner product explicit.
Let be a Hermitian matrix and with . The scalar equals its own complex conjugate, becauseSince and the squared norm is positive, .
Now take and . The inner product satisfiesSubtracting gives . Thus distinct eigenvalues imply , proving orthogonality of the corresponding eigenvectors. Within a degenerate eigenspace, an orthonormal basis may be chosen, but arbitrary distinct vectors in that same eigenspace need not be orthogonal.
A complex square matrix is a unitary matrix if . Equivalently, it preserves the complex inner product and hence the norm. If with , thenDivision by the positive squared norm gives . Thus every eigenvalue lies on the unit circle.
Two integrations by parts give the boundary form of the Sturm-Liouville operator:The interior terms cancel because are real. Thus the required endpoint condition isFor a regular interval, a standard self-adjoint domain is specified by one real homogeneous Robin boundary condition at each endpoint:where neither pair of real constants is identically zero. At each end, these conditions force the two boundary data vectors of to be proportional, making the displayed form zero. Dirichlet boundary conditions and Neumann boundary conditions are the cases and . Coupled conditions also work, for example and , whose two endpoint contributions cancel. Self-adjointness uses the maximal common domain with these conditions, not an arbitrary smaller symmetric restriction.
The weighted inner product must be nondegenerate. The usual interpretation is almost everywhere, allowing isolated endpoint zeros as in part (b), with the operator defined on its appropriate weighted domain. Merely allowing a weight that is zero on an entire interval would not by itself define the stated operator or a positive-definite inner product on ordinary functions.
Project the initial condition onto the orthogonal spatial eigenfunctions. Their squared norms in the ordinary inner product areThe latter follows from the integrals of and being , with the sine-cosine cross term zero. ThereforeFor square-integrable data the expansion converges to the data in the L2 norm at ; for the decaying high modes are smoothed. Initial data with zero projection have no growing term.
Apply separation of variables with and temporal factor . The spatial eigenvalue equation isThe nontrivial solutions of these Dirichlet boundary conditions are sine eigenfunctions. Normalizing in the usual inner product on giveswith . The superposition principle and the Fourier sine series then giveThe constants are the initial-data coefficients . Here physical diffusion means .
For sufficiently smooth functions satisfying the same boundary conditions, integration by parts gives the boundary formThe stated endpoint relation annihilates this expression. This proves the required self-adjoint differential operator identity; for the usual regular Sturm-Liouville problem, separated real boundary conditions give a self-adjoint realization on its domain.
In this problem the transformed diffusive flux is . Thus the physical boundary conditions areequivalently when the endpoint values of are positive. In particular at the endpoints, which makes the boundary form vanish directly. The inner product used here is the ordinary integral; the weight enters the generalized eigenvalue problem, not this boundary-form calculation.
Multiplication by gives the Sturm-Liouville formso the weight is . Use the weighted inner product and the Sturm-Liouville operator . Integration by parts gives its boundary form:The upper endpoint term vanishes by the Dirichlet boundary conditions, and the lower one vanishes for the regular solutions. More precisely, the radial Dirichlet spectrum in three dimensions identifies under the unitary transformation with on with zero endpoint values; this specifies the self-adjoint realization at the singular endpoint as well as proving the formal identity.
For eigenfunctions with different eigenvalues, the same identity gives . Taking real eigenfunctions proves the required orthogonality of Sturm-Liouville eigenfunctions.
The norm induced by the specified inner product is the L2 normA polynomial is a best polynomial least-squares approximation whenMinimizing this norm is equivalent to minimizing its square, the integrated squared error. Continuity ensures that a function with zero squared norm is identically zero: a nonzero value would give a neighbourhood on which the square has a positive integral.
Projection onto the constant polynomials requires the residual to be orthogonal to . For the original inner product,For the weighted inner product the corresponding normal equation isHenceIt increases monotonically towards one. Although the weight vanishes at zero, it is positive elsewhere, and a nonzero continuous function is nonzero on an interval of positive weight. Thus the weighted expression really is an inner product and the constant minimizer is unique.
Past exam of the numerical analysis course of the University of Oxford 2015 3 d iii Solution 2026-10-31
The orthonormal columns satisfy and . By part (i), . A product of orthogonal matrices is an orthogonal matrix, since . ConsequentlyThe last expression is the first coordinate of the transformed second column. Thus the first row isThe one in the first entry uses the nonnegative retained-coordinate convention. A different consistent sign convention could give instead; the second entry must still be zero by preservation of the inner product.
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.
The power iteration starts from , normally scaled to unit Euclidean norm, and repeatsNormalization prevents the rapidly growing or decaying magnitudes of from obscuring its direction. The iteration requires .
Because is a diagonalizable matrix, choose an eigenbasis , with corresponding eigenvalues , and expand . First suppose the dominant eigenvalue is simple and . ThenForthe sum in parentheses after is in Big O notation. Consequently the power iteration direction error is : the iterates approach the line spanned by . For a real matrix, a uniquely dominant eigenvalue is real, since otherwise its complex conjugate would have the same modulus. If , approaches one unit eigenvector; if , successive alternate signs. In either case,This is the sign and phase in power iteration qualification. Also, the necessary assumption is a nonzero coefficient in the eigenbasis, rather than merely a nonzero ordinary inner product with : those tests can differ for a nonsymmetric matrix. If , the method cannot generate the missing component.
If the dominant value has a higher-dimensional eigenspace, the same argument replaces by the nonzero sum of all starting components in that eigenspace. The limiting direction is then that of this sum, which is still an eigenvector for . The usual algorithm assumes ; a strict dominance gap guarantees this whenever another eigenvalue is present.
An estimate retaining the sign of is the Rayleigh quotientContinuity of this quotient at a nonzero eigenvector proves the limit even when is a nonsymmetric matrix. Alternatively, for a coordinate whose limiting eigenvector component is nonzero. The scaling factor alone tends only to .
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 isIf 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 givesproving the triangle inequality; definiteness and absolute homogeneity are immediate. Thus is the energy norm.
Subtract the iteration from the exact equation to obtain . HenceUsing 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.
Let and , and define the scaled forward difference operator, backward difference operator and second-order central difference byThe two finite difference methods are the nonlinear systemswith the prescribed Dirichlet boundary conditions and . These equations determine the interior nodal values.
For clarity distinguish the interior and edge inner products and their norms:The bracketed norm includes the last edge . Let , so , and put for . Direct telescoping gives discrete summation by parts:Subtract the two nonlinear systems, multiply each equation by and sum. The resulting discrete energy identity isThe nonlinear summands are nonnegative by the factorization in (a). Using Young's inequality for products at every node givesThis also proves uniqueness of each discrete solution. Existence can be seen by minimizing, with the endpoints fixed, the strictly convex energy functionalIt is a coercive function of its finitely many interior values, so it attains a minimum. Its first derivatives are ; thus its minimizer solves the scheme. The same argument applies to .
For any in the polynomial trial space, and is in that same space. The assumed orthogonality therefore gives the Pythagorean identityThus is the best approximation; equality is possible only when because the inner product is positive-definite.
Write the linear polynomial as . Orthogonality of to and in the weighted inner product givesSolving yieldsThe weighted squared error is , providing an additional exact check. The weight's zero value at one endpoint does not destroy positive definiteness on continuous functions: a nonzero continuous function is nonzero on an interval of positive weight.
The form is symmetric and bilinear by the corresponding properties of finite real sums. Its squared norm is . Equality means vanishes at all distinct nodes. A nonzero polynomial of degree at most has at most roots, so equality forces . Thus this is an inner product on .
On it is only positive semidefinite: the nonzero node polynomial satisfies . Hence it is not an inner product on . The finite-evaluation inner product on polynomials works exactly when the evaluation map is injective on the chosen space.
Finally, if , positivity applied to and the choice giveRearranging proves Cauchy-Schwarz inequality in its required form:If both sides of the asserted inequality are zero. Equality holds exactly when are linearly dependent, since in the nonzero case the minimizing must have zero norm.
For any , write . The stated orthogonality makes the two summands perpendicular in the given inner product, because . The Pythagorean theorem for inner product spaces therefore givesEquality is attained at , and positive definiteness makes it unique. Thus is the orthogonal projection of onto the polynomial subspace.
For the weighted example set . Orthogonality against the basis givesOdd terms vanish on the symmetric interval, so and . ConsequentlyThe weight vanishes only at one point; its integral against is positive for every nonzero continuous , so it really does define an inner product. For an optional error check, the squared minimum error is .