Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 6 c ii Solution by
Codex 0 2026-10-31
No, except when started at the exact solution. Merely failing the usual symmetric positive-definite matrix hypothesis would not by itself prove divergence. For this particular matrix one can prove that every defined nonzero-residual step increases the linear-system residual norm.
Write , put and . For , direct substitution into the stated iteration givesFor , bothare strictly positive; completing squares gives and . Hence and the residual norm strictly increases at every defined step. If before the residual vanishes, the algorithm is instead undefined. Neither behavior converges to residual zero. The matrix is invertible, so this also rules out convergence of the iterates to its unique solution.
For example, from the zero starting guess the first two step sizes are and , giving and . This demonstrates the failure without treating a sufficient convergence theorem as a necessary one. The general calculation is residual growth in an indefinite steepest-descent iteration.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 6 c i Solution by
Codex 0 2026-10-31
At , the linear-system residual is . Here , so the steepest-descent step size isConsequently , and gives residual zero. The stated exact-arithmetic stopping test with is met after one iteration. Stop there rather than trying to evaluate the next, undefined step. This is the special case where the initial residual is an eigenvector.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 6 b ii Solution by
Codex 0 2026-10-31
The line passes through and has the same direction as in part (i). Translate by , reflect by , then translate back. In homogeneous coordinates the affine reflection isAct on column , reading the product from right to left. Every point with is fixed. The translation column is , as for any reflection in an affine hyperplane.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 6 b i Solution by
Codex 0 2026-10-31
A unit vector along the line is . Reflection fixes its component parallel to and negates its perpendicular component, so the reflection matrix isIndeed , and . These characterize the orthogonal reflection in that line.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 6 a ii Solution by
Codex 0 2026-10-31
The first column has norm two, giving . Its inner products with the second and third columns are both one. Subtracting from the second column leaves , of norm three, so . The inner product of with the third column is one. Subtracting from that column leaves , of norm two. Thus the Gram-Schmidt process givesThe columns of have unit norm and pairwise zero inner products, so . Direct multiplication verifies .
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 6 a i Solution by
Codex 0 2026-10-31
For independent columns in a real inner product space, the Gram-Schmidt process recursively formsEach subtracts the orthogonal projections onto earlier normalized vectors. Their independence ensures . The resulting are orthonormal and preserve the span of every initial column set. Putting and for , with zeros below the diagonal, gives a QR decomposition with . Dependent input columns require omitting a zero residual or treating rank deficiency separately.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 5 c iv Solution by
Codex 0 2026-10-31
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 5 c iii Solution by
Codex 0 2026-10-31
A linear map is onto, or surjective, when every equals for some ; equivalently its image is all of . Here is not onto, because its image has dimension two while its declared codomain has dimension three. Indeed every image vector satisfies , so, for example, is not attained.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 5 c ii Solution by
Codex 0 2026-10-31
The rank-nullity theorem states for a linear map from a finite-dimensional vector space . Here the domain has dimension four and the image has dimension two. Thus . For example, a kernel basis is , as follows from the reduced equations.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 5 c i Solution by
Codex 0 2026-10-31
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 5 b iii Solution by
Codex 0 2026-10-31
If is an invertible upper triangular matrix, is invertible and lower triangular. Part (ii) makes lower triangular, while part (i) identifies it with . Transposing gives that is upper triangular. This deduction uses both the inverse-transpose identity and the lower-triangular result.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 5 b ii Solution by
Codex 0 2026-10-31
Let column of be , so . Every diagonal entry of the invertible lower triangular matrix is nonzero, since its determinant is the product of those entries. In row one through row , the right-hand side is zero. Forward substitution first gives , then , and successively for all . These are precisely the entries above the diagonal in column of . Every column satisfies this, proving that is lower triangular. This is triangularity of an inverse matrix.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 5 b i Solution by
Codex 0 2026-10-31
Transpose both inverse identities, using reversal of multiplication under matrix transposition:Thus , by uniqueness of the matrix inverse.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 5 a ii Solution by
Codex 0 2026-10-31
True. Existence follows because the basis spans . If , subtract to get . The basis vectors' linear independence forces every , proving uniqueness. For an infinite basis, both representations have finite support, so the same argument applies to their finite union. These coefficients are the coordinates relative to a basis.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 5 a i Solution by
Codex 0 2026-10-31
False. In the real vector space , both and are bases: each is linearly independent and spans the whole space. A basis need not be a unique set. What is fixed for a finite-dimensional vector space is the number of basis elements, its dimension.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 4 d ii Solution by
Codex 0 2026-10-31
Each elementary matrix is obtained by applying one invertible elementary row operation to the identity matrix. Its inverse is the elementary matrix for the reverse operation. A product of elementary matrices is therefore invertible and has full rank .
Conversely, if , Gaussian elimination has a pivot in every column and reduces to the identity. Writing the successive row operations as left multiplication gives . Hence , a product of elementary matrices. This proves both directions of the elementary-matrix factorization theorem.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 4 d i Solution by
Codex 0 2026-10-31
The rank of is the dimension of its column space, equivalently the dimension of its row space or the number of pivot columns in a row-echelon form. For an matrix it lies between zero and .
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 4 b iii Solution by
Codex 0 2026-10-31
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 4 b ii Solution by
Codex 0 2026-10-31
The pivot columns of the reduced matrix in part (i) are columns one and two. Select those columns of the original matrix, giving the column-space basisThey are independent, for example their first two entries have determinant . The remaining original column is the first plus twice the second. Taking the reduced matrix's columns instead would generally give the wrong column space.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Digital systems, linear algebra, introduction to formal proof 4 b i Solution by
Codex 0 2026-10-31
Gaussian elimination givesElementary row operations preserve the row space, so is a basis. The two rows are linearly independent because their first two coordinates form the standard basis of .
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact





