Apply the least-squares normal equations to the transformed matrix and vector:or equivalentlyHere . A unique minimizing vector exists when the weighted design matrix has full column rank; the equations themselves remain valid without that assumption.
Place observations in rows of the data matrix . Since the coordinate sample means are zero, the Gram matrix of its columns isThe sample covariance matrix is ; using divisor three instead changes eigenvalues by a common factor and leaves principal component loadings unchanged. For , the characteristic polynomial isFor the larger eigenvalue , the eigenvector equation gives , so . Normalize to unit Euclidean norm and choose . An orthogonal unit eigenvector for is . ThereforeThe sample variances of these principal components are and , respectively. Their principal component scores for observations areEither eigenvector may be multiplied by without changing its principal component direction or its variance. No coordinate standardization is applied here: that would instead be principal component analysis on a correlation matrix.
For centred data, classical multidimensional scaling from Euclidean distances constructs the observation Gram matrixwhere . By part (i), its nonzero eigenvalues agree with those of , the matrix used for principal component analysis before dividing by a covariance normalization.
If is the unit observation-space eigenvector, the corresponding classical multidimensional scaling coordinate column isThat is exactly the column of principal component scores. Consequently classical multidimensional scaling of Euclidean pairwise distances recovers the same reduced coordinates as principal component analysis, up to signs and arbitrary orthogonal transformations within equal-eigenvalue subspaces. Distances alone cannot fix translation or orientation. The equivalence presumes centred data and Euclidean distances; general dissimilarities need not yield a positive semidefinite Gram matrix or a corresponding data covariance matrix.
The premise contains a wording error: must be a nonzero eigenvalue, rather than a nonzero eigenvector. Let satisfyThen , since otherwise would force . Multiplying by givesThus , with eigenvector . Conversely, applying maps an eigenvector of with nonzero eigenvalue to one of .
These maps are inverses up to the factor on the corresponding eigenspaces, so the nonzero eigenvalues have equal multiplicities. Their zero eigenvalues need not have the same multiplicity because the two matrices can have different sizes. For a unit eigenvector and real , the normalized partner is , since .
A cyclic rotation moves the first character to the end without changing the cyclic order of the remaining characters. Starting with the specified terminator-first row and repeatedly rotating left gives the following matrix; its row order is only a construction order, not a sorting order:Under lexicographic order, compare characters from left to right, using . The sorted cyclic rotation matrix is thereforeThe Burrows-Wheeler transform is the last column, read downwards, so the transformed string is
To invert the Burrows-Wheeler transform, begin with six empty rows. At every iteration prepend the supplied last-column characters in their fixed row order, then sort the resulting rows in lexicographic order. After iterations the rows contain the length- prefixes of the sorted cyclic rotations. For example, the first two iterations giveEach iteration works because sorting the preceding character together with the already reconstructed prefix restores the ordering of the next-longer prefixes. Six iterations give the completed matrixThe original linear string is the unique row ending in the terminator, henceAs a check, the reconstructed matrix's final column is precisely the supplied Burrows-Wheeler transform.
Build an FM-index: store the Burrows-Wheeler transform, cumulative character counts , and a structure supporting fast rank queries for . Then each step of backward search uses two rank queries instead of rescanning the last column. A wavelet tree or suitably checkpointed counts can supply these queries while keeping memory manageable. The counting cost is proportional to query length times the rank query cost, rather than repeatedly scanning the whole genome.[ref]
Opportunistic Data Structures with Applications by Paolo Ferragina and others. §2, LF-mapping; §§3.1–3.2, counting and locating occurrences
To recover genomic positions, store a sampled suffix array and follow the last-to-first mapping to a sampled position, adding the number of steps taken. More samples trade storage for faster position recovery. Index character counts and sample positions, rather than storing the quadratic-size full cyclic rotation matrix.
Past exam of the mathematical methods I course of the University of Oxford 2014 resit 2 Solution 2026-10-25
Past exam of the mathematical methods I course of the University of Oxford 2014 resit 3 iii Solution 2026-10-25
Scaling the whole matrix scales all rows. The multilinearity of the determinant therefore givesThis includes for .
Past exam of the mathematical methods I course of the University of Oxford 2015 8 iv Solution 2026-10-25
For an integer , repeated multiplicativity of the determinant, with the inverse identity for negative powers, givesFor an arbitrary real , an invertible real matrix does not by itself define a unique real matrix power. For example, the scalar matrix has no real square root. If a matrix logarithm has been chosen with and is defined as , the matrix exponential determinant identity gives the precise formulaThis cannot always be replaced by an independently chosen scalar branch of . For instance, has the complex square root , whose determinant is , while the principal scalar square root of is . For a positive-definite symmetric matrix with its usual positive spectral power, all eigenvalues are positive and the familiar formula holds for every real .
Past exam of the mathematical methods I course of the University of Oxford 2016 5 Solution 2026-10-25
The equations are an eigenvalue problem for the matrixA nonzero solution requires . Expanding givesRow reduction gives the complete eigenspaces:For the solutions form the plane through the origin; for they form a line through the origin. Exclude the zero vector when requiring a nontrivial solution. The repeated eigenvalue has a two-dimensional eigenspace; there are three independent eigenvectors in total. This matrix is not symmetric, so its different eigenspaces need not be mutually orthogonal.
Past exam of the mathematical methods I course of the University of Oxford 2018 2 b Solution 2026-10-25
Choose the linear relationThen the displayed tensor contraction is , precisely the th vector component of by the vector triple product identity. The matrix need not be a symmetric matrix.
Past exam of the mathematical methods I course of the University of Oxford 2018 5 a Solution 2026-10-25
Write the matrix trace in Einstein summation convention:The entries are scalars, so their multiplication commutes, and the two summed indices may be relabelled. The argument works for square matrices of any finite size, and also for rectangular of compatible opposite shapes.
Past exam of the mathematical methods I course of the University of Oxford 2018 6 Solution 2026-10-25
The characteristic polynomial factors as . Thus in algebraic multiplicity. An orthonormal basis of corresponding eigenvectors isDirect multiplication verifies , , . Their mutual Hermitian inner products vanish and each has norm one, which proves linear independence. For the repeated eigenvalue, Gaussian elimination givesHence . The second equality follows from the rank-nullity theorem and agrees with the two-dimensional eigenspace. A repeated eigenvalue alone would not imply a two-dimensional eigenspace for an arbitrary matrix; here the Hermitian matrix is diagonalizable.
Past exam of the mathematical methods I course of the University of Oxford 2018 9 b Solution 2026-10-25
The linear system of differential equations has matrixThe columns of are eigenvectors of . The change of basis therefore gives , , with independent first-order linear differential equationsThe initial velocity gives , . Transforming back, , yields the real velocity vector componentsThese also cover . Complex coordinates have decoupled a real rotation without making the physical velocity complex.
Past exam of the mathematical methods I course of the University of Oxford 2019 11 a Solution 2026-10-25
For a finite matrix, the series defining the matrix exponential converges absolutely in any matrix norm, because . Thus the Hermitian adjoint may be taken term by term. Since ,Therefore the matrix exponential of a Hermitian matrix is Hermitian.
If is a diagonal matrix, then . Summing each entry separately givesFor the Hermitian matrix case each is real. The diagonal entry formula itself remains valid for complex diagonal entries.
Past exam of the mathematical methods I course of the University of Oxford 2019 11 b Solution 2026-10-25
The upper-triangular matrix has distinct eigenvalues , with respective eigenvectors and . ThusThe defining power series shows that the matrix exponential respects similarity. Applying solution to the diagonal factor givesAs a direct series check, for ; summing this entry divided by gives the same off-diagonal expression.
Past exam of the mathematical methods I course of the University of Oxford 2019 11 c i Solution 2026-10-25
If is an matrix, the product is defined in ordinary matrix multiplication only when . Hence the defining equation of an idempotent matrix already requires equal row and column counts:Equivalently, an idempotent linear map is an endomorphism, so the same vector space is both its domain and codomain.
Past exam of the mathematical methods I course of the University of Oxford 2019 11 d Solution 2026-10-25
Write . The two off-diagonal entries of giveor . If both vanish, is diagonal; if either is nonzero, the trace must be one. Thus the trace criterion for a two-by-two idempotent isFor the diagonal case, idempotence further forces . The stated alternative is only necessary: has trace one but its square is , so it is not idempotent. Among two-by-two matrices of trace one, the additional condition is sufficient by the Cayley-Hamilton theorem, which gives .
Past exam of the mathematical methods I course of the University of Oxford 2019 12 a Solution 2026-10-25
The linear system has the matrix formThe first equation gives . Substitute it into the second to obtain . Substitution into the third gives . ConsequentlyIt follows thatSubstitution verifies all three equations. Also , so this solution of a linear system is unique.