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 2022 Discrete mathematics, continuous mathematics and probability resit 2 c v Solution by
Codex 0 2026-10-25
False. On the unbounded subsequence of odd positive integers, . For any proposed constants , choose an odd . Then , contradicting the eventual upper bound required by Big O notation. The small ratio on even integers cannot compensate for this failure on infinitely many odd integers.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics and probability resit 2 c iv Solution by
Codex 0 2026-10-25
True for every fixed . Extract from inside the logarithm:Choose an integer . The nonnegative terms of the exponential series give for , whenceSince for , the displayed expression tends to zero and is therefore . The constant and cutoff may depend on the fixed ; no uniform assertion over unbounded is being made.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics and probability resit 2 c iii Solution by
Codex 0 2026-10-25
True. Rationalization gives, for ,This lies between zero and , so it is in Big O notation. In fact it converges to , rather than to zero. The rationalized form also avoids the catastrophic cancellation of subtracting two nearby large quantities.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics and probability resit 2 c ii Solution by
Codex 0 2026-10-25
False. Put for . For ,Thus . No fixed constant can bound eventually, so . This is an explicit comparison of exponential growth with polynomial growth.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics and probability resit 2 c i Solution by
Codex 0 2026-10-25
True. For every integer , and . ThereforeThe constants and satisfy the definition of Big O notation. Whether the chosen convention for natural numbers includes zero is immaterial to this eventual assertion.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Digital systems, linear algebra, introduction to formal proof 8 f ii Solution by
Codex 0 2026-10-25
The term is free for substitution for . The only free occurrence of the target is in the outside disjunct , beyond both quantifier scopes. The occurrences under are bound variables and are not replaced. Therefore no renaming is required, andThe new and in the last disjunct are free. First-order substitution replaces the original free occurrences once; it does not recursively substitute into the inserted term.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Digital systems, linear algebra, introduction to formal proof 8 f i Solution by
Codex 0 2026-10-25
The term is not free for substitution for . The occurrence of in is under , which would capture the inserted . The other occurrence, in the outside disjunct , has no enclosing quantifier. The inner does not bind the occurrence of in its antecedent, so it creates no additional capture at that substitution site.
Rename the bound to a fresh , then carry out capture-avoiding first-order substitution. The result isThe inserted in remains free because it lies outside the scope of . One may additionally rename that bound for readability, but it is not necessary for correctness.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Digital systems, linear algebra, introduction to formal proof 6 b ii Solution by
Codex 0 2026-10-25
Define by . It is well-defined by the definition of , andThus is a linear map. If , comparing first components gives , proving injectivity. Every element of has the form , proving surjectivity. Hence is a linear isomorphism, with inverse , and .
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Digital systems, linear algebra, introduction to formal proof 6 b i Solution by
Codex 0 2026-10-25
The intersection of vector subspaces contains zero, so . If and are scalars, thenbecause by the vector subspace conditions. These pairs belong to , since both and belong to the required factors. Thus is a vector subspace of .
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Digital systems, linear algebra, introduction to formal proof 5 d ii Solution by
Codex 0 2026-10-25
Evaluate the recurrence relation successively, retaining only the preceding two values. Each of the updates uses three multiplications and one subtraction. Hence arithmetic operations and auxiliary storage suffice, excluding the stored input. Naively branching into two recursive calls would repeat work; the sequential computation is essential. This is an arithmetic-operation bound, not a bit-complexity bound for arbitrarily large exact integers.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Digital systems, linear algebra, introduction to formal proof 5 d i Solution by
Codex 0 2026-10-25
Let be the determinant of the leading principal submatrix. Expansion along the last row gives an term and a term with negative cofactor sign. In the latter minor, the final column has only nonzero, and deleting that row and column leaves the leading principal submatrix. Thus the tridiagonal determinant recurrence isHere is the empty determinant convention, needed to include . The derivation uses cofactor expansion, so the recurrence relation remains valid when coefficients or intermediate determinants vanish; it never divides by a pivot element.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Digital systems, linear algebra, introduction to formal proof 5 b iii Solution by
Codex 0 2026-10-25
They are similar matrices, so their eigenvalues, with algebraic multiplicities, are identical. Explicitly,Moreover their eigenvectors correspond by . Since the transformed matrix is a real symmetric matrix, the spectral theorem for real symmetric matrices also shows that has real eigenvalues and is a diagonalizable matrix.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Digital systems, linear algebra, introduction to formal proof 5 b ii Solution by
Codex 0 2026-10-25
For the analogous positive off-diagonal entries in size , takeThe same entrywise computation gives and , with every other entry zero. Thus the result is a symmetric matrix with a tridiagonal pattern. Positivity of the diagonal entries is not needed for this positive diagonal symmetrization of a tridiagonal matrix; positivity of ensures the displayed positive, invertible . In particular, the assertion is not an arbitrary-real-coefficient symmetrization claim when the off-diagonal signs differ.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Digital systems, linear algebra, introduction to formal proof 5 b i Solution by
Codex 0 2026-10-25
For , the upper entry of in positions is , and the corresponding lower entry is . They are equal when . All coefficients used here are positive, so chooseDirect matrix multiplication gives the symmetric matrixIts pattern remains tridiagonal. This is positive diagonal symmetrization of a tridiagonal matrix.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Digital systems, linear algebra, introduction to formal proof resit 6 c ii Solution by
Codex 0 2026-10-25
Write with a diagonal matrix. Then , so each diagonal entry satisfies and therefore . Hence and . Conversely the zero matrix is diagonalizable and nilpotent. This proves the existing result that a diagonalizable nilpotent matrix is zero; nilpotence alone does not imply a zero matrix, because nonzero nilpotent Jordan blocks exist.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Digital systems, linear algebra, introduction to formal proof resit 6 c i Solution by
Codex 0 2026-10-25
If with , put . The matrix geometric series telescopes on both sides:Thus is nonsingular, andThis is a finite polynomial identity for a nilpotent matrix; no convergence argument or bound is required.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Digital systems, linear algebra, introduction to formal proof resit 6 b iv Solution by
Codex 0 2026-10-25
The all-ones matrix is diagonalizable for every . The vector together with the vectors from part (ii) is an eigenbasis. Independence follows because a multiple of has coordinate sum times that multiple, whereas every other basis vector has coordinate sum zero. In this basis the diagonal matrix is . At the one-vector basis suffices. Alternatively, the spectral theorem for real symmetric matrices applies. If dimension zero is allowed by the convention for , the empty matrix has no eigenvalues, an empty basis and a vacuous diagonalization.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Digital systems, linear algebra, introduction to formal proof resit 6 b iii Solution by
Codex 0 2026-10-25
The decomposition into and the zero-sum vector subspace gives characteristic polynomial . For , has algebraic multiplicity and geometric multiplicity one; zero has both multiplicities . At , only the eigenvalue 1 occurs, with both multiplicities one. Referring to a multiplicity zero for the absent root zero is merely a bookkeeping convention, not an assertion that it is an eigenvalue.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Digital systems, linear algebra, introduction to formal proof resit 6 b ii Solution by
Codex 0 2026-10-25
A basis of is . For ,The displayed vectors are linearly independent by their first coordinates, and every vector with zero coordinate sum has exactly that expansion. At this list is empty and the kernel is ; it is not an additional eigenspace associated with a present eigenvalue. This is the spectrum of an all-ones matrix.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Digital systems, linear algebra, introduction to formal proof resit 6 b i Solution by
Codex 0 2026-10-25
Assume . With , the all-ones matrix satisfies . Hence is an eigenvalue, and for the other eigenvalue is . At the matrix is , so 1 is its only eigenvalue; zero is not an eigenvalue with a nonzero eigenvector in that case.
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





