Past exam of the mathematical methods I course of the University of Oxford 2021 3 b Solution 2026-10-25
For the upper triangular matrix , direct matrix multiplication givesThe real diagonal entries are therefore . Their off-diagonal multiplier is , so . A required matrix isIt is the unique real upper triangular cube root. Allowing complex diagonal cube roots produces other complex matrices; uniqueness is asserted only over the real numbers.
Past exam of the mathematics course of the University of Cambridge 2008 ia Paper 1 6A Solution Created 2026-09-24 Updated 2026-10-14
For two upper triangular matrices and ,Indeed a potentially nonzero factor requires , while a potentially nonzero requires . These requirements cannot both hold when . Thus their matrix product is upper triangular.
Direct matrix multiplication for the given givesAdding yields , so . HenceEvery nonnegative matrix power is in : reduce powers of degree at least three using . More formally, repeated reduction shows that products of any two polynomials of degree at most two in again lie in this span. Since also lies in it, positive powers of prove the same assertion for all negative integers. This is an instance of the integer powers for an annihilating polynomial with roots one and minus one, because .
To find the required entries for every integer, use the block upper-triangular structure. The top-left entry of is for positive and negative powers. Its lower-right block isThe identity holds for all integers: multiplication adds the coefficients of , and proves the negative cases. ThereforeWrite and . Comparing those three entries givesSubtracting the first two equations finds ; the third then finds , and the first finds . The unique solution isFor clarity, substituting also gives the full matrix power
Past exam of the mathematics course of the University of Cambridge 2013 ia Paper 1 2A iv Solution Created 2026-09-24 Updated 2026-10-07
Each plane rotation satisfies . Hence is an orthogonal matrix and is an upper triangular matrix. Multiplication by gives the QR decompositionThe zero-pair cases already handled make this construction valid for every real matrix, including rank-deficient matrices. Orthogonality follows from the product identity, not from any invertibility assumption on .
Past exam of the mathematics course of the University of Cambridge 2013 ia Paper 1 8B b Solution Created 2026-09-24 Updated 2026-10-07
Let the repeated eigenvalue be , and choose an eigenvector . Complete it to a basis of . In this basis the matrix is an upper triangular matrix, with first column , say . Its characteristic polynomial is . By part (a)(ii), this must equal , so .
If , the matrix is already . If , rescale the first basis vector by and apply part (a)(iii); the upper-right entry becomes one. ThusThe second possibility is a size-two Jordan block. It has only one independent eigenvector, whereas has a two-dimensional eigenspace, so the two types cannot be related by matrix similarity. This repeated-eigenvalue classification in dimension two proves the required result without assuming the general Jordan normal form theorem.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 2 1 Solution Created 2026-10-03 Updated 2026-10-07
For a Lie algebra , write for the linear span of brackets with one argument in each indicated subspace. The three definitions areThese are respectively an Abelian Lie algebra, a solvable Lie algebra and a nilpotent Lie algebra. The second and third sequences are the derived series of a Lie algebra and the lower central series of a Lie algebra.
An Abelian Lie algebra has , and a nilpotent Lie algebra is a solvable Lie algebra: induction gives . Thus all the implications are generated byNone of the reverse implications holds. The Heisenberg Lie algebra with basis and , all other basic brackets zero, is nonabelian but has , . The two-dimensional affine Lie algebra of the line with has and , but for every . It is solvable and neither nilpotent nor abelian. These two examples answer all six ordered-pair comparisons.
The Lie theorem says that a finite-dimensional Lie algebra representation of a finite-dimensional solvable Lie algebra over an algebraically closed field of characteristic zero has a common eigenvector whenever its representation space is nonzero. Equivalently it admits an invariant complete flag, or simultaneous upper triangularization. Here the field may be taken to be ; these hypotheses are essential.
To prove the common-eigenvector assertion, induct on . The zero algebra is immediate. Since is nonzero and solvable, its derived algebra is proper. Choose a codimension-one Lie algebra ideal containing it, and write . The Lie algebra is solvable, so induction supplies and a linear functional with .
Consider the finite-dimensional cyclic subspace . Until the first linear dependence, these powers form a basis. The identityand show by induction, simultaneously for all , that is -invariant and that is upper triangular on it with every diagonal entry . It is also -invariant by construction. HenceThe trace of a commutator is zero, and characteristic zero gives .
The simultaneous eigenspace is nonzero and -invariant, sinceOver an algebraically closed field, has an eigenvector, which is therefore a common eigenvector for all of . This finishes induction. Apply the same assertion to the quotient representation by its invariant line, and then to successive quotients. A basis adapted to the resulting complete flag gives the stated simultaneous triangularization of a Lie algebra representation, completing the proof of the Lie theorem.
A nilpotent Lie algebra is a solvable Lie algebra, so the inclusion satisfies the Lie theorem and is upper triangular in a suitable basis, for finite-dimensional complex .
This is insufficient to prove the Engel theorem. Its matrix version starts with a Lie subalgebra of nilpotent endomorphisms and concludes that they are simultaneously strictly upper triangular; its abstract version concludes nilpotence from nilpotence of every Adjoint representation endomorphism. Merely upper triangular matrices can have nonzero diagonal entries: the one-dimensional algebra is an Abelian Lie algebra and a nilpotent Lie algebra, but acts by a nonnilpotent identity matrix. This is nilpotent Lie algebras need not act nilpotently. Moreover, in the abstract Engel theorem nilpotence of the algebra is a conclusion, so assuming it first to invoke the Lie theorem would be circular. Abstract nilpotence and nilpotence of each representing matrix are different conditions.
Past exam of the mathematics course of the University of Cambridge 2017 ia Paper 3 2E Solution Created 2026-09-24 Updated 2026-10-05
A subgroup of a group is a normal subgroup when for every , equivalently . The quotient group has the left cosets as elements, with , identity and inverse . Normality makes this multiplication independent of representatives.
The first isomorphism theorem for groups says that for a group homomorphism , its kernel of a group homomorphism is normal andThe image is taken with the induced group operation; surjectivity onto all of is not required.
For the given upper triangular matrices, take diagonal entries:The target is a direct product of groups, with multiplication of nonzero real numbers in each coordinate. Indeed the product of two such matrices has diagonal , proving the group homomorphism property. Any pair of nonzero diagonal entries is attained by a diagonal matrix, so is surjective. Its kernel of a group homomorphism consists precisely of the matrices with , namely . Hencewith coordinatewise multiplication, not addition on .
Past exam of the mathematics course of the University of Cambridge 2019 ib Paper 4 8C Solution Created 2026-09-24 Updated 2026-09-29
Gaussian elimination without row exchanges gives the LU decompositionBecause has unit diagonal and is upper triangular,
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.
Since , the QR factorization givesFirst compute by a matrix-vector product, costing scalar multiplications and additions for dense . Then solve the upper triangular matrix system by back substitution:Every denominator is nonzero because is invertible. The back substitution costs multiplications and subtractions together, plus divisions, for arithmetic operations. Including , the total is arithmetic operations under this scalar counting convention, hence , with denoting Big O notation. The already supplied QR factorization is reused; no matrix inverse needs to be computed.
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 linear algebra course of the University of Oxford 2025 3 a i Solution 2026-10-25
Write and . The Arnoldi decomposition and giveBecause has orthonormal columns, it preserves the Euclidean norm. The generalized minimal residual method therefore reduces to the small linear least-squares problemUse Givens rotations on the upper Hessenberg matrix to obtain a QR decompositionwhere is an orthogonal matrix and is an upper triangular matrix. Then solve by backward substitution in a triangular system and form . The resulting minimum linear-system residual has Euclidean norm .
The small problem has a unique answer: if , the Arnoldi decomposition gives . The invertible matrix implies , and the orthonormality of then gives . Thus has full column rank and is nonsingular.
The first pivot is two. Gaussian elimination without partial pivoting uses and , givingThe second pivot is one; gives the upper triangular matrixBoth pivots used for division are nonzero, so no row exchange is needed.
Apply part (b) to the first column of , using the identity if it is already the zero vector. This gives an orthogonal matrix for which has zeros below its first diagonal entry. At stage , apply a Householder transformation to rows of column , and extend it by the identity on the first coordinates. If that trailing column is zero, again use the identity. The transformation preserves zeros in earlier columns, since their trailing entries already vanish.
After at most stages,is an upper triangular matrix. Each is symmetric and orthogonal, so withwe have andNo invertibility assumption was used, so the Householder QR decomposition also exists for singular matrices.
Multiply by to get the equivalent triangular systemFor nonsingular , compute and use back substitution:Orthogonal transformations preserve the Euclidean norm, making this a numerically stable reduction. The factors can be applied as stored Householder transformations without explicitly forming .
Since is invertible, is singular exactly when is singular. For an upper triangular matrix,Thus a singular forces at least one zero diagonal entry in . In that case, ordinary division-based back substitution must be replaced by a consistency/rank analysis: the system may have no solution or infinitely many solutions, and a rank-revealing factorization can identify the free parameters.
A real square QR factorization is with and upper triangular. For an invertible matrix it can be made unique by requiring positive diagonal entries of .
If is orthogonal, then is orthogonal as well. An orthogonal upper triangular matrix is diagonal with entries : its first column has just its first entry, which must have modulus one, and orthogonality then zeros the rest of the first row; repeat inductively on the lower block. Thusand under the positive-diagonal convention , .
Apply part (b) to the first column of , using an orthogonal reflection to zero all entries below the first. Next apply a Householder reflection to the trailing subvector of the second column, embedded as so it leaves the first row and the zeros already created intact. Continue similarly through the columns. If a trailing column subvector is zero, skip that step.
The product of these embedded orthogonal matrices sends to an upper triangular matrix . Write that product as ; its transpose is also orthogonal. HenceThe argument uses no inverse of and therefore includes singular matrices.
Past exam of the random matrix theory course of the University of Oxford 2025 3 d Solution 2026-10-25
- Generate an -by- real matrix with independent entries having the standard normal distribution.
- Compute a QR decomposition with an orthogonal matrix and an upper triangular matrix.
- Put and return . Then with having strictly positive diagonal.
The matrix is invertible almost surely. Indeed, successively sampled Gaussian columns have probability zero of lying in the proper linear subspace spanned by the previous columns. Thus the diagonal signs used above exist with probability one. Equivalently, apply the Gram-Schmidt process to the columns, always dividing each residual by its positive Euclidean norm; this produces directly.
To prove uniformity, fix . Each column of has density proportional to , so orthogonal transformations preserve its probability distribution. Column independence therefore gives .
The QR decomposition with positive diagonal is unique: if , then is both an orthogonal matrix and an upper triangular matrix, hence diagonal with entries . Its diagonal entries are positive, so it is the identity. It follows that the orthogonal factor of is . ThereforeBy uniqueness of normalized Haar measure on the compact group , the returned matrix has exactly the required probability distribution. Reflection invariance gives each determinant sign probability , so the algorithm samples both components of the orthogonal group. The positive-diagonal correction is essential when a numerical QR decomposition chooses its own signs.
Let denote the given tridiagonal matrix and put , including for the empty determinant. The starting values areFor , apply the following elementary row operations in the indicated order, always using the updated rows:The first three rows now beginwith the fourth column omitted if . When , also use . The resulting block upper triangular matrix has a upper triangular matrix with diagonal entries all one in its top left corner, and in its bottom right corner. All elementary row operations preserved the determinant except the single row interchange. ThereforeApplying this recurrence relation to the three starting values proves by mathematical induction thatEquivalently, the sequence is periodic with period six, with values starting at . A compact closed form is .