Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2024 Paper 2 7 b Solution Created 2026-10-18 Updated 2026-11-05
Put . Differentiating the spring length givesThe springs are unextended at equilibrium, so the quadratic potential energy contains only the squares of these first-order extensions:The linearized Euler-Lagrange equations are thereforeThe stiffness matrix is . Its eigenvector has zero eigenvalue, and every vector whose components sum to zero has eigenvalue . One convenient orthonormal set of normal modes isAny orthonormal basis of the sum-zero plane is equally valid for the two degenerate normal modes. The general small motion isThe linear drift in the zero mode describes a slow uniform rotation. These are angular frequencies; the ordinary frequencies of the two vibrational modes are .
Past exam of the numerical analysis course of the University of Oxford 2014 1 d iii Solution 2026-10-31
With , repeat the shifted QR algorithm:The QR shift is chosen from , for example its bottom-right entry or an eigenvalue of a trailing two-by-two block. Explicitly using the orthogonality of givesThus each update is a matrix similarity preserving eigenvalues. Accumulate if eigenvectors or the full reduction are wanted. Once a subdiagonal entry is negligible, block deflation in the QR algorithm separates the corresponding blocks and iteration continues on the active block.
Past exam of the numerical analysis course of the University of Oxford 2014 1 d ii Solution 2026-10-31
For an efficient QR algorithm, first reduce a general real matrix to upper Hessenberg matrix by orthogonal similarities. For a real symmetric matrix, use Householder tridiagonalization; the resulting symmetric tridiagonal matrix is the usual input in this setting. These structures are preserved by suitable QR algorithm implementations and greatly reduce the work per iteration.
The output is the eigenvalues, together with an orthogonal reduction when the factors are accumulated. In the symmetric case the target is a diagonal matrix, whose diagonal entries are the real eigenvalues; the accumulated orthogonal columns are eigenvectors. For a general real matrix, the target is the real form in a Schur decomposition: an upper block triangular matrix with diagonal blocks of size one or two. The two-by-two blocks represent complex conjugate eigenvalue pairs. An arbitrary unshifted iteration need not converge, so these describe the intended converged output, with appropriate shifts and block deflation in the QR algorithm.
The Gershgorin circle theorem states that every eigenvalue of belongs to at least one of the closed Gershgorin discsThe eigenvalue may be complex even though the matrix is real. To prove the theorem, choose a nonzero complex eigenvector with and an index at which is maximal. Then , and the th row givesThe triangle inequality yieldsThus , proving the assertion without any symmetry assumption.
We use the spectral theorem to construct a sufficiently accurate approximate eigenpair. Complete to an orthonormal eigenbasis of the symmetric matrix , with corresponding eigenvalues . Simplicity of means that every below is nonzero. PutThe orthogonal decomposition of shows that andWith and , direct expansion cancels every first-order term:Also . Thus its eigenpair residual has Euclidean norm in Big O notation.
For completeness, a real symmetric matrix always has an eigenvalue within of any real and nonzero . Indeed, writing in an orthonormal eigenbasis with eigenvalues givesApply this symmetric eigenvalue residual bound to . There is an eigenvalue such thatwhich provesThis establishes the first-order perturbation of a simple symmetric eigenvalue without presupposing differentiability of the perturbed eigenvector. If , the sum defining is empty and the displayed eigenvalue formula is exact.
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 four row Gershgorin discs have centres and radii , respectively. Their real-axis intersections areNone of the Gershgorin discs contains zero, so the Gershgorin circle theorem givesThe discs centred at and are each isolated. By Gershgorin eigenvalue counting, they contain exactly one eigenvalue apiece, and both eigenvalues are simple. Each must be real: the characteristic polynomial is real, so a nonreal root would bring a distinct conjugate root into the same disc. Denote these eigenvalues by and . The remaining two eigenvalues lie in the union of the negative-centred discs.
For the shift , the distances satisfyfor either of the other eigenvalues , since its real part is at most . Thus is uniquely closest to . Once is checked not to be an eigenvalue, the natural full target-disc interval enclosure and a conservative asymptotic direction factor areAs always, inverse iteration requires a nonzero initial target component. The following calculation verifies the shift and gives sharper information.
For the tridiagonal matrix, let be the determinant of the leading block of . Expansion along the last row givesIn particular, , and . Both shifted linear systems are nonsingular. Further exact evaluations areThe intermediate value theorem gives a real root in each of , , and . As has polynomial degree four, these are all its roots and each is simple. In particular, is a diagonalizable matrix, and . The closest competitor to at the shift is , so this refinement yieldsFor the shift , the original Gershgorin discs only give and ; those bounds do not decide which is closer. The refined interval enclosures do:for the negative eigenvalues. Therefore the answer for this particular matrix is yes:Both shifts select the same eigenvector line and alternate signs because . The factor bounds concern asymptotic directional convergence, rather than a universal error reduction from the first iterate for a nonsymmetric matrix. The wider interval remains a valid full-disc enclosure for both shifts; records the stronger information obtained from the characteristic polynomial.
Let . The underlying Richardson iteration gives . The polynomials form a basis for polynomials of degree at most . Thus writeDefine . Since the coefficients sum to one,The spectral theorem for real symmetric matrices supplies an orthonormal basis of eigenvectors. In that basis has diagonal entries , soThe algebraic recombination is valid in exact arithmetic even if the original unaccelerated iterates themselves fail to converge.
The logarithmic barrier isIts gradient is . Thus every nonzero stationary point satisfiesA fixed negative-eigenvalue branch exists for . The zero point is stationary for every as well, and it is not an eigenvector; at zero the displayed scalar need not be an eigenvalue of . Thus the claimed eigenvalue conclusion requires the nonzero-point qualification. This distinction is essential for the following Hessian analysis.
Write the constraint as and its multiplier as . The KKT conditions becomeIf is positive definite, is positive definite for every , so is the only critical point.
For indefinite , the origin remains a critical point, contrary to an unqualified reading of the question. Every nonzero critical point is an eigenvector with , so its eigenvalue is nonpositive. A negative-eigenvalue vector must lie on the unit sphere, with multiplier equal to the negative of that eigenvalue. A nonzero vector in may have any norm at most one and has multiplier zero. Positive-eigenvalue directions do not satisfy the multiplier sign condition. These first-order critical points include saddles; the global minimum selects a unit vector in the lowest-eigenvalue eigenspace.
The Krylov subspace is . If for a polynomial of degree at most , thenso and . Conversely, this residual identity impliesThus the converse holds whenever is invertible. More precisely, for fixed it holds for every such exactly when : the identity determines only up to an arbitrary nullspace vector. Without this qualification the singular-matrix converse is false, for example when , and .
Assume and exact arithmetic for the Lanczos algorithm. At step putprovided . The initial coefficient of is immaterial. Inductively suppose are orthonormal. Then by the choice of . For , symmetry and the preceding recurrence give , so . If , the recurrence gives , and therefore . Hence is perpendicular to every preceding basis vector. Its normalization supplies the next orthonormal vector.
Every new belongs to . The orthonormal vectors are independent, whereas that Krylov subspace has dimension at most ; they therefore form its basis. Continuing the recurrence one more step givesIn particular . If the next residual is zero, the last term is zero and the span is an invariant subspace; no undefined normalized vector is needed. If is an eigenvector, , so immediately. The algorithm terminates with the exact one-dimensional invariant subspace, rather than generating further vectors. If , the initial residual has already vanished and the normalization defining is unnecessary.
An eigenvalue of is a scalar for which has a nonzero eigenvector. Allowing initially , symmetry of the real matrix gives , so is real. Since ,This proves reality without presuming it when choosing the eigenvector. Once is real, the real or imaginary part of supplies a nonzero real eigenvector.
For a unit eigenvector of , . The matrix 2-norm bound from part (a) gives . Hence every eigenvalue lies inIn particular the condition number in the Euclidean operator norm satisfies .
With zero boundary values eliminated, the diagonal of is . The Jacobi method is thereforewhich averages the four neighboring components. The sine addition identity shows that the supplied product vectors are eigenvectors, withThe discrete sine vectors form a basis, so these are all eigenvalues. Their largest modulus isattained at the lowest and highest sine frequencies. Thus the asymptotic error reduction factor per iteration is . If the convergence rate is expressed logarithmically, as . A fixed error reduction therefore takes Jacobi sweeps. For the special grid , and one sweep solves its single interior equation.
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. ThusThe 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 matrixAll other off-diagonal entries vanish. The first two equations areand the last two areFor 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 isInterior 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. HenceThere 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 .
The five-point Laplacian on the square grid isIt adds the second-order central differences in the two coordinate directions and uses the given zero Dirichlet boundary conditions when a neighbouring node lies on the boundary.
The sine addition formula impliesApply this identity with in the direction and with in the direction. For , it givesHence the discrete eigenvalues areBoth sine factors vanish on their respective boundary sides. Also , since and lie strictly between zero and . Thus each array is a nonzero discrete eigenvector, rather than merely the zero solution of the homogeneous system. The separated structure is also described by the five-point Dirichlet Laplacian as a Kronecker sum.
The characteristic polynomial of the given Jones matrix isso a convenient choice of eigenvalue labels isDirect multiplication gives , and . They represent opposite circular polarizations. Since are real, is a Hermitian matrix and both eigenvalues are real, but they need not be positive. A negative eigenvalue adds a wave phase reversal to that mode. The labels are algebraic: is the larger numerical eigenvalue only when . If , the eigenvalue is degenerate and every nonzero Jones vector is an eigenvector; the circular pair remains a valid basis.
The normalized circular eigenvectors from part (a) define the orthogonal projection matricesThus the spectral decomposition of the Jones matrix isThis simply substitutes and and makes each eigenmode's wave amplitude transmission explicit.
There are errors in the original PDF at this point, not merely in the TeX transcription. The second exponential must denote the eigenvalue , not the propagation coefficient itself. More substantially, the printed prefactor is inconsistent with the stated exponential eigenvalues. It must be . The original's primed Jones-matrix label distinguishes the distributed component from the earlier static matrix; below write to avoid confusing that prime with a derivative.
Complex eigenvalues have no intrinsic largest/smallest ordering, so and are modal labels. Keep the circular eigenvectors fixed, put and , and use the spectral decomposition from part (c):Its diagonal entries are , and its upper off-diagonal entry is . ThereforeWhere , this can be factored asThe unfactored expression is valid even at zeros of the cosine-like factor when is imaginary. The printed expression is times this correct matrix; its eigenvalues are consequently rather than those specified. A second check is , whereas the printed version has determinant . Thus the requested printed identity cannot be proved except in the degenerate case ; the following parts use the consistent propagator.
For a complex matrix , Gershgorin's theorem puts every eigenvalue in the union of the row discs , where . To prove it, choose an eigenvector for an eigenvalue and an index maximizing . Its th equation givesDivision proves .
The usual counting refinement says that a connected component made of discs contains exactly eigenvalues, with algebraic multiplicity. For completeness, deform the matrix from its diagonal part to the original by multiplying all off-diagonal entries by . Its discs have radii and stay inside the original discs. Continuous variation of the roots of the characteristic polynomial keeps the number inside any contour separating one original component from the others constant. At , the diagonal entries give exactly roots there, proving the refinement.
For the application put . The matrix isIts three row discs have positive real centres and leftmost real coordinatesAll are strictly positive, so zero lies in none of the discs. It cannot be an eigenvalue. Thus is nonsingular for every real .
