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 2019 Discrete mathematics, continuous mathematics, and probability resit 1 a iii Solution by
Codex 0 2026-10-25
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 1 a ii Solution by
Codex 0 2026-10-25
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 1 a i Solution by
Codex 0 2026-10-25
A function is injective if, for all , implies . Thus distinct elements of the domain of a function have distinct images.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Digital systems, linear algebra, introduction to formal proof 8 d ii Solution by
Codex 0 2026-10-25
Let abbreviate the universal premise, and put . The constants need not denote distinct elements. Use a fresh witness for the existential, then the justified three-case disjunction elimination from (i):
1 ∀x (x=c0 ∨ x=c1 ∨ x=c2) premise H
2 | ¬Q(c0) assume
3 | | ∃x Q(x) assume
4 | | | Q(u) fresh witness for 3
5 | | | u=c0 ∨ u=c1 ∨ u=c2 ∀-elim, 1
6 | | | | u=c0 first case
7 | | | | Q(c0) =-elim, 6 and 4
8 | | | | ⊥ ¬-elim, 7 and 2
9 | | | | K ⊥-elim, 8
10 | | | | u=c1 second case
11 | | | | Q(c1) =-elim, 10 and 4
12 | | | | K ∨-intro-L, 11
13 | | | | u=c2 third case
14 | | | | Q(c2) =-elim, 13 and 4
15 | | | | K ∨-intro-R, 14
16 | | | K 3-cases, 5, subproofs 6–9, 10–12, 13–15
17 | | K ∃-elim, 3, subproof 4–16
18 | (∃x Q(x)) → K →-intro, discharge 3–17
19 ¬Q(c0) → ((∃x Q(x)) → K) →-intro, discharge 2–18Equality elimination rule has exactly the forward orientation displayed in Figure 4: substitute the equal constant for in . At line 17 the fresh witness is absent from , and the remaining assumption. This proves the required sequent without assuming that the universe has exactly three distinct objects.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Digital systems, linear algebra, introduction to formal proof 8 d i Solution by
Codex 0 2026-10-25
Expand three cases as two applications of disjunction elimination rule. For the association , the first outer branch assumes and applies the given and subproofs to obtain . The other outer branch is the given subproof. In schematic natural deduction form:
1 (φ ∨ ψ) ∨ ρ given
2 | φ ∨ ψ first outer case
3 | | φ first inner case
4 | | κ given φ-subproof
5 | | ψ second inner case
6 | | κ given ψ-subproof
7 | κ ∨-elim, 2, cases 3–4 and 5–6
8 | ρ second outer case
9 | κ given ρ-subproof
10 κ ∨-elim, 1, cases 2–7 and 8–9All three case assumptions are discharged and common surrounding assumptions remain. If the original three-way logical disjunction is parsed as , use the subproof as the first outer branch and eliminate inside the second. Thus either binary association has the asserted three-case disjunction elimination, without presupposing an unproved associativity.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Digital systems, linear algebra, introduction to formal proof 7 c ii Solution by
Codex 0 2026-10-25
The logical implication associates to the right. Assume its two antecedents, then use nested applications of the disjunction elimination rule.
1 | P ∨ Q assume
2 | | P ∨ ¬Q assume
3 | | | P first case of 1
4 | | | P available from 3
5 | | | Q second case of 1
6 | | | | P first case of 2
7 | | | | P available from 6
8 | | | | ¬Q second case of 2
9 | | | | ⊥ ¬-elim, 5 and 8
10 | | | | P ⊥-elim, 9
11 | | | P ∨-elim, 2, cases 6–7 and 8–10
12 | | P ∨-elim, 1, cases 3–4 and 5–11
13 | (P ∨ ¬Q) → P →-intro, discharge 2–12
14 (P ∨ Q) → ((P ∨ ¬Q) → P) →-intro, discharge 1–13This proof uses logical falsity elimination rule, but does not need law of excluded middle or double-negation elimination.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Digital systems, linear algebra, introduction to formal proof 7 c i Solution by
Codex 0 2026-10-25
Retain the two given logical implications and temporarily assume their common starting proposition.
1 P → Q premise
2 Q → R premise
3 | P assume
4 | Q →-elim, 3 and 1
5 | R →-elim, 4 and 2
6 P → R →-intro, discharge 3–5Only the original premises remain undischarged, giving the required composition of logical implications.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Digital systems, linear algebra, introduction to formal proof 6 a v Solution by
Codex 0 2026-10-25
The iteration matrix has eigenvalues : expanding its characteristic polynomial down the first column leaves the triangular two-by-two block with diagonal entries . The distinct eigenvalues ensure diagonalizability. Thus its spectral radius is .
The previous bound gives , so the Gauss-Seidel iteration converges for every initial guess under the stated diagonalization. Its limit is the exact solution . Since , a fixed matrix also sends this transformed error to zero; its operator norm can account for any amplification in the original coordinates.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Digital systems, linear algebra, introduction to formal proof 6 a iv Solution by
Codex 0 2026-10-25
Write and let . The stated Euclidean norm givesTaking nonnegative square roots proves . At this is equality. This is a contraction bound in the transformed coordinates; an arbitrary nonorthogonal does not give the same unit-constant bound for the original error norm.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Digital systems, linear algebra, introduction to formal proof 6 a iii Solution by
Codex 0 2026-10-25
For the spectral error bound for a diagonalizable fixed-point iteration, the exact solution is a fixed point: . Subtracting it from the iteration gives the error recurrence , with . Multiplying by and using givesIterating proves , including because . This argument does not assume is orthogonal; it simply expresses the error in an eigenbasis.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Digital systems, linear algebra, introduction to formal proof 6 a ii Solution by
Codex 0 2026-10-25
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Digital systems, linear algebra, introduction to formal proof 6 a i Solution by
Codex 0 2026-10-25
Update the unknowns in row order, immediately using newly computed components. The component equations areThus and . Using only old values in all three row equations would instead describe the Jacobi method, not the Gauss-Seidel method.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Digital systems, linear algebra, introduction to formal proof 5 f ii Solution by
Codex 0 2026-10-25
The image of a linear map of is exactly the one-dimensional span of : its formula always returns a multiple of , and . Hence .
The rank-nullity theorem gives . Since by (e)(i), . This includes the case , where the complementary projector is zero.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Digital systems, linear algebra, introduction to formal proof 5 f i Solution by
Codex 0 2026-10-25
For a sum of mutually orthogonal projectors, orthonormality gives for and one for . Therefore equals zero for different indices and for equal indices. Expanding the finite sum yieldsThus every stated partial sum is a projector. Its image of a linear map is the span of the first orthonormal set of vectors; arbitrary sums of idempotent matrices would not have this conclusion.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Digital systems, linear algebra, introduction to formal proof 5 e ii Solution by
Codex 0 2026-10-25
Set . Since , the previous result applies to this projector and gives . Substituting proves . These are the kernel-image identities for complementary projectors.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Digital systems, linear algebra, introduction to formal proof 5 e i Solution by
Codex 0 2026-10-25
Conversely, if , then , which explicitly writes as an image of a linear map under . Hence . The two inclusions prove . No orthogonality assumption was used.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Digital systems, linear algebra, introduction to formal proof 4 c iii Solution by
Codex 0 2026-10-25
A triangular matrix has determinant equal to the product of its diagonal entries, so and . A permutation matrix exchanging two rows has determinant . Using multiplicativity of the determinant in yields . Hence .
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Digital systems, linear algebra, introduction to formal proof 4 c ii Solution by
Codex 0 2026-10-25
Apply the same permutation to the right-hand side and solve two triangular systems. Forward substitution in givesso . Back substitution in gives , , and . Therefore . Substitution in the original system returns , as required.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Digital systems, linear algebra, introduction to formal proof 4 c i Solution by
Codex 0 2026-10-25
Eliminate the first column using multipliers and . The two residual rows have second entries zero and four, so interchange their order for the next pivot. One resulting Pivoted LU decomposition isThe factors below the first pivot must follow the permuted row order, which is why contains before . Direct multiplication gives rows , and in both and . This checks the permutation convention rather than confusing with a different placement of .
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Digital systems, linear algebra, introduction to formal proof 4 b ii Solution by
Codex 0 2026-10-25
For the specified row and column, expand the two matrix products and reorder only finite sums:The middle equality uses scalar associativity and distributivity, and the interchange of two finite sums. Together with their equal dimensions, equality of every entry proves .
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





