Termwise differentiation of the absolutely convergent matrix exponential series givesBecause and commute, also commutes with every power of and hence with . The product rule therefore givesDirect differentiation gives , and both initial values are . The uniqueness theorem for ordinary differential equations, applied to the finitely many matrix entries, implies . One can see uniqueness directly: the difference obeys and , soand the product is identically zero. At this yields
A sufficient condition is that is a connected space. Suppose, towards a contradiction, that is the same constant throughout . If , then , contradicting .
If , differentiate in and , and use the Cauchy-Riemann equations from part (a). They giveThe coefficient matrix for has determinant . Hence , so everywhere. A holomorphic function with zero complex derivative is locally constant: within a small disc, differentiate along a straight segment. Local constancy and connectedness imply constancy on , again a contradiction.
Consequently,This is the constant-modulus holomorphic function principle. The extra hypothesis matters: on two disjoint open discs, define on one and on the other. It is holomorphic and nonconstant, yet everywhere.
For the distinct complex embeddings of the number field, define the discriminant of elements of a number field byThe equality follows by multiplying the transpose of the embedding matrix by itself. Each field trace is rational: it is also the trace of the rational matrix of multiplication by on . Thus the determinant lies in . If the are algebraic integers, the products and their conjugates are algebraic integers, and so are their sums. A rational algebraic integer is an integer, hence all trace entries and their determinant are integers.
Write . The inclusion of the generated abelian groups makes an integer matrix. Its embedding matrix is the embedding matrix of the multiplied by . Taking squared determinants givesFor independent algebraic integers , choose an integral basis of . The same formula gives . If is nonzero and a square-free integer, the integer index must be one, proving that the form an integral basis.
Now put . Since has degree three, the monic polynomialis its minimal polynomial of an algebraic element. The field norm is the negative of its constant term:For the discriminant calculation, . In the basis , using , multiplication by this element has matrixThus the given derivative-norm formula gives . Since satisfies a monic polynomial with integer coefficients, are algebraic integers; the fact that a squarefree discriminant certifies an integral basis proves
For the basis , its discriminant isEquivalently it is the square of the determinant of the matrix of the embeddings applied to the basis vectors. It is nonzero because number fields are separable. An integral basis is a basis of the ring of integers as a free abelian group; in particular it is a rational basis of the field and expresses every algebraic integer uniquely with integer coefficients.
To prove existence, start with any rational basis and multiply each vector by a suitable nonzero integer to make it integral. This is possible by clearing coefficients in its monic rational minimal polynomial of an algebraic element and rescaling the variable. Let be the lattice spanned over by these integral vectors, and let be its discriminant. For any algebraic integer , each trace is an integer. The resulting linear system has integral coefficient matrix with determinant . Its adjugate matrix shows . ThusA subgroup of a finitely generated free abelian group is free and finitely generated. Here its rank is , since it contains and is contained in a rank- lattice. Its free generators are the required integral basis.
For squarefree , the quadratic integral basis isThe source allows squarefree nonzero integers, so the degenerate value gives and basis instead of a two-element basis.
In the biquadratic field define the three automorphisms by changing respectively the sign of , the sign of , and both signs. Their actions areHence the three sums are , and . If is integral, each sum is integral and lies in its displayed quadratic subfield. Their radicands are squarefree and respectively congruent to two, three and two modulo four. The quadratic basis formula therefore forces all their two coefficients to be integers, proving
Set . At step , let be the column below the diagonal. Choose a Householder reflection sending onto its first coordinate axis, and embed it asIf , use . Left multiplication annihilates entries in column . Right multiplication performs the matching operation on row , because the matrix remains symmetric. The first coordinates are fixed, so zeros already created in earlier columns and rows are preserved.
Here the orthogonality of each is used explicitly: , so each update is a similarity transformation and preserves eigenvalues. After steps,where is orthogonal and is a real symmetric tridiagonal matrix. This is Householder tridiagonalization.
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.
Past exam of the numerical analysis course of the University of Oxford 2014 1 d i Solution 2026-10-31
A QR factorization of a real matrix isThus is an orthogonal matrix and is an upper triangular matrix. It exists even if is singular; requiring positive diagonal entries of is a convenient uniqueness convention for nonsingular , rather than part of the general existence statement. Over the complex numbers, replace orthogonal by unitary and transpose by conjugate transpose.
The initial bottom-right entry is zero, so the chosen QR shift is . One valid QR factorization is , , using explicitly that . The update isIt repeats forever and never approaches a diagonal matrix. With the standard positive-diagonal convention for , this factorization is unique, so the Rayleigh-shift iteration is stationary and fails to diagonalize .
The failure is independent of harmless sign conventions. The columns of are already orthonormal, so another QR factorization can only replace by and by , where is diagonal with entries . Then still has zero diagonal and off-diagonal magnitudes one. Subsequent bottom-right shifts remain zero and the off-diagonal magnitude never decreases. The eigenvalues are , with equal absolute values, explaining the lack of separation in the unshifted QR algorithm.
Let the real QR shift be and put . A valid QR factorization, including the singular cases , isHere , and multiplying verifies . Using this orthogonality in the shifted update givesIt is diagonal exactly when . Therefore all real shifts giving the eigenvalues in one iteration areThe resulting diagonal is or , respectively. Both QR shifts are exact eigenvalues. Sign changes in the QR factorization conjugate by a diagonal sign matrix and do not alter its zero pattern. This is Exact-shift diagonalization of a two-state swap matrix.
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.
The first row has off-diagonal sum . Rows have sums less than , and the last row has sum , since . Every row except the second therefore has its Gershgorin disc strictly away from zero: its centre is at least one in the first row and at least three in the remaining rows.
For the second row, an exact sufficient condition is . Since the sum is strictly below , the coefficient-independent boundsguarantee that zero is outside every Gershgorin disc. Consequently zero is not an eigenvalue and is an invertible matrix. Equality at is allowed because the off-diagonal entry bounds are strict. These are sufficient strict diagonal dominance bounds; values of between them can also give invertible matrices.
Put . With , the row Gershgorin discs have centres and radiiApplying the theorem to the transpose gives column Gershgorin discs with radiiThe enlarged disc moves from the last centre to the first centre. All small discs in either family are mutually disjoint, because adjacent centres are one unit apart and their radii have sum strictly below one.
For the row family, the small disc at any is also disjoint from the enlarged disc at ifFor the column family, every small disc at is disjoint from the enlarged disc at by the same estimate, since . Thus the Gershgorin eigenvalue counting theorem certifies one simple eigenvalue near each of from rows, and near each of from columns. The certified small discs from the two families are themselves disjoint, so these are different eigenvalues.
The largest nonnegative certified by these uniform row-and-column separation bounds isMore generally the argument works for . The endpoint is included because all actual entry bounds, and hence all actual radius estimates above, are strict. For , : row discs isolate centres , and column discs isolate centres .
For n=8 and c=13/4 the row Gershgorin discs isolate the four lower centres; the enlarged disc is centred at 8
. Details. For , taking the adjacent entries sufficiently close to makes the enlarged row disc meet the small disc at , and the enlarged column disc meet the small disc at . Hence this particular uniform disc-separation certificate stops there. This is a Gershgorin guarantee, not a necessary spectral threshold: failure of disc separation does not prove repeated or nonreal eigenvalues for the actual matrix.
Finally, a real matrix has nonreal eigenvalues in complex conjugate pairs. Every certified small disc has a real centre and is invariant under conjugation. A nonreal eigenvalue in it would bring its distinct conjugate into the same disc, contradicting its count of exactly one. Therefore all the certified eigenvalues are real and simple. The two-family argument is Complementary row and column Gershgorin isolation.
Strict diagonal dominance givesThus every , and the diagonal matrix has inverse . The iteration matrix has entriesEach row Gershgorin disc for is centred at zero and has radiusTherefore every eigenvalue of satisfiesEquivalently, the induced matrix norm satisfies , bounding the spectral radius. This is the usual Jacobi convergence from strict diagonal dominance; the Jacobi error matrix is , with the same eigenvalue magnitudes.
A real square matrix is an orthogonal matrix when , equivalently its columns form an orthonormal basis. Here is the transpose and the identity matrix. For every vector ,Taking nonnegative square roots provesThus an orthogonal matrix preserves the Euclidean norm.
Past exam of the numerical analysis course of the University of Oxford 2015 3 d ii Solution 2026-10-31
Put and write its second column as . For , takewhere each angle is computed from the current second column, in the right-to-left application order. These Givens rotations eliminate its entries in rows by accumulating their Euclidean norm in row two.
Each rotation acts only on rows with indices at least two. The first column of is , whose entries in all those rows are zero. Mixing two zeros leaves them zero, and row one is untouched. Thus the first column is unchanged. The resulting matrix has the formThis verifies both required properties, including the case of zero second-column tail. When there are no rows to eliminate: take , the empty product. No sign change of is required in that case. Each Givens row-pair update preserves previously eliminated columns, which is the central invariant of QR decomposition by Givens rotations.
Gaussian elimination uses elementary row operations to remove entries below successive pivot elements, reducing a linear system to one with an upper triangular matrix. Back substitution then solves that system. It also computes a reusable matrix factorization, so additional right-hand sides can be handled by forward substitution and back substitution without repeating the elimination.
For elimination without row exchanges, let . At step , provided the pivot element is nonzero, form the elimination multipliersand perform , applying the same operation to the right-hand side. More explicitly the resulting entries satisfy for , .
Let , where are the standard basis vectors. ThenThe matrix is a unit lower triangular matrix storing the elimination multipliers, while is an upper triangular matrix:Solving becomes followed by . If a required pivot element vanishes, an unpermuted LU decomposition can fail even for an invertible matrix. Row exchanges, typically selected by partial pivoting, instead produce with a permutation matrix ; then solve , .
Since every , the diagonal matrix is invertible. SetThe division is by the diagonal entry of row . Thus is an upper triangular matrix with diagonal entries one and .
To use symmetry without assuming the conclusion, multiply by the matrix inverse of and its transpose:The matrix is symmetric because is a symmetric matrix. It is also an upper triangular matrix, since every factor on the right is an upper triangular matrix. A symmetric upper triangular matrix is diagonal. Its diagonal is exactly , because and have diagonal entries one. Hence , givingThis is the LDL decomposition.
Take the positive square roots of the diagonal entries:The matrix is a lower triangular matrix with positive diagonal, andThis is a Cholesky decomposition. For a nonzero vector , the vector is nonzero because is invertible. ThereforeHere is the Euclidean norm. Thus is a positive-definite matrix.
For a real square matrix, a QR factorization writes with an orthogonal matrix, , and an upper triangular matrix. If is invertible, so is , andCompute and use back substitution; no matrix inverse needs to be formed.
Apply the Gram-Schmidt process to the columns . The first column has Euclidean norm two, giving and . For the second column,For the third column,This residual already has Euclidean norm one. Set and . ThusThe columns of are orthonormal, and matrix multiplication verifies .
Using precisely this QR factorization, transform the right-hand side:Back substitution in givesTherefore
Past exam of the numerical analysis course of the University of Oxford 2021 1 c iii Solution 2026-10-25
Set . For column indices , the product has polynomial degree at most , so exactness of Gauss-Legendre quadrature and orthonormality giveThus is a square matrix with , and therefore is an orthogonal matrix: as well. It follows thatEquivalently, the rows of the generalized Vandermonde matrix are orthogonal andThe normalization matters: here , where is the conventional Legendre polynomial used above. Thus a formula containing only the nodes and the question's orthonormal polynomials isThis identity is the discrete orthogonality of Gaussian quadrature.
Past exam of the numerical analysis course of the University of Oxford 2021 2 b i Solution 2026-10-25
Retain the first terms in the singular value decomposition:The Eckart-Young-Mirsky theorem says that this truncated singular value decomposition is a best low-rank approximation in the spectral norm. The remaining singular values of the difference are , together with zeros, soFor the displayed matrix has matrix rank exactly , since every retained singular value is positive. For , the only matrix of matrix rank zero is the zero matrix, and the same formula gives error .

