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 2023 Discrete mathematics, probability and continuous mathematics 2 d i Solution by
Codex 0 2026-10-25
Suppose . Injectivity of gives , and injectivity of then gives . Thus the function composition is injective.
Past exam of the year 1 of the computer science course of the University of Oxford 2023 Discrete mathematics, probability and continuous mathematics 1 d iv Solution by
Codex 0 2026-10-25
Take the nonempty intersections of the length-three and length-four blocks. Within the first twelve nonnegative integers the common cut points are , givingThe complete partition of a set consists of these six blocks translated by for every . Indeed, adding increases the two floor quotients by and respectively, preserving equality of both quotients within each translated block. No adjacent displayed blocks can merge because at least one quotient changes at their boundary. This is the periodic common refinement of floor-quotient partitions, with period .
Past exam of the year 1 of the computer science course of the University of Oxford 2023 Discrete mathematics, probability and continuous mathematics 1 d iii Solution by
Codex 0 2026-10-25
The floor function is constant at on the four consecutive integers . Consequently the partition of a set is . Different blocks are disjoint and every nonnegative integer has exactly one quotient and remainder upon division by .
Past exam of the year 1 of the computer science course of the University of Oxford 2023 Discrete mathematics, probability and continuous mathematics 1 d ii Solution by
Codex 0 2026-10-25
For every , membership in the relevant equivalence class satisfiesEquality follows by axiom of extensionality. Thus .
Past exam of the year 1 of the computer science course of the University of Oxford 2023 Discrete mathematics, probability and continuous mathematics 1 d i Solution by
Codex 0 2026-10-25
For every , both and hold, so the intersection of equivalence relations is reflexive. If , symmetry of both component binary relations gives and , hence . Finally, if and , transitivity in each component gives and , hence . These are precisely the three conditions for an equivalence relation.
Past exam of the year 1 of the computer science course of the University of Oxford 2023 Discrete mathematics, probability and continuous mathematics 1 c ii Solution by
Codex 0 2026-10-25
Write each member as . Every member is strictly below , so is an upper bound. If , the Archimedean property supplies with ; then . Thus no smaller number is an upper bound, proving . Since , there is no greatest element. Equivalently, each member is followed by a larger member because .
Past exam of the year 1 of the computer science course of the University of Oxford 2023 Discrete mathematics, probability and continuous mathematics 1 b ii Solution by
Codex 0 2026-10-25
For the pointwise order on real polynomials, proves reflexivity. Two opposite inequalities imply for every real ; the polynomials are therefore equal, proving the antisymmetric relation axiom. Chaining the inequalities at every proves transitivity.
To disprove total order, take and . The inequality fails at , whereas fails at . The order is partial but non-total.
Past exam of the year 1 of the computer science course of the University of Oxford 2023 Discrete mathematics, probability and continuous mathematics 1 b i Solution by
Codex 0 2026-10-25
For the product order, reflexivity follows from in every coordinate. If and , the antisymmetric relation axiom for the usual real order gives for every , hence . If , transitivity in each coordinate gives , hence . Thus this is a partial order.
For , the vectors and are incomparable: each has a coordinate larger than the corresponding coordinate of the other. It is not a total order for . The dimension qualification matters: for this is the usual total order on , so the printed non-totality claim needs the implicit assumption .
Past exam of the year 1 of the computer science course of the University of Oxford 2023 Discrete mathematics, probability and continuous mathematics 1 a iii Solution by
Codex 0 2026-10-25
A total order is a partial order in which every pair is comparable: for every , at least one of and holds. Both hold exactly when .
Past exam of the year 1 of the computer science course of the University of Oxford 2023 Discrete mathematics, probability and continuous mathematics 1 a ii Solution by
Codex 0 2026-10-25
A partial order is a preorder satisfying the antisymmetric relation axiom. In addition to reflexivity and transitivity, it satisfies and only when .
Past exam of the year 1 of the computer science course of the University of Oxford 2023 Discrete mathematics, probability and continuous mathematics 1 a i Solution by
Codex 0 2026-10-25
Past exam of the year 1 of the computer science course of the University of Oxford 2023 Digital systems, linear algebra and introduction to formal proof 8 e Solution by
Codex 0 2026-10-25
Push the outer negation inward using De Morgan's laws and the duality of universal and existential quantifiers. Negating the outer universal quantifier first gives an existential . Negating its conjunction produces either or a witness for failure of the other conjunct. The implication fails precisely when holds but its consequent fails. Therefore a negation normal form isAll negations now apply directly to atomic formulas. In particular, the remains negative: failure of an implication requires its antecedent to be true.
Past exam of the year 1 of the computer science course of the University of Oxford 2023 Digital systems, linear algebra and introduction to formal proof 8 c Solution by
Codex 0 2026-10-25
Read the initial universal quantifiers as governing the conjunction of irreflexivity and transitivity. Explicitly, the intended first-order sentence assertsThus is an irreflexive relation, a transitive relation, and a serial relation.
Suppose a first-order model had a finite nonempty domain of cardinality . Choose . Seriality supplies successive elements with . By the pigeonhole principle, for some . Repeated transitivity along that part of the chain gives , contradicting irreflexivity. Hence there is no finite nonempty model. This is the infinite-model property of a serial strict partial order.
An infinite model exists: take domain and to mean . It is irreflexive and transitive, and witnesses seriality for every .
The quantifier-scope convention matters: giving each printed universal quantifier only the immediately following atomic scope would leave the transitivity implication with free variables and would not express the claimed theorem. The explicit parenthesisation above records the reading under which the source's requested assertion is valid.
Past exam of the year 1 of the computer science course of the University of Oxford 2023 Digital systems, linear algebra and introduction to formal proof 8 b Solution by
Codex 0 2026-10-25
The source's explicit parenthetical condition is domination: every unselected vertex has a neighbour in the selected set. Together with independence this defines an independent dominating set. A first-order sentence expressing that definition with size at most three isThe finite conjunctions and disjunctions abbreviate three explicitly fixed terms, so this is a first-order formula. Repeated witnesses allow one- or two-element choices; the first conjunction enforces independence only between distinct selected vertices. The last clause says that every vertex is selected or adjacent to a selected vertex. With the usual nonempty-domain convention, any such choice has size at least one, so repeated witnesses cover all possibilities of size at most three.
For the standard meaning of independent vertex cover, replace the domination clause byThis instead demands that every edge has a selected endpoint. These interpretations differ: in a triangle in a graph, any singleton is an independent dominating set, but no independent vertex cover exists. Giving both clauses avoids silently treating the source's two definitions as equivalent.
Past exam of the year 1 of the computer science course of the University of Oxford 2023 Digital systems, linear algebra and introduction to formal proof 8 a Solution by
Codex 0 2026-10-25
The nonempty simple graphs having an independent vertex cover of size at most two. The witnesses select the cover. The clause makes the selected vertices nonadjacent; the universal clause forbids every edge whose two endpoints both lie outside the selected set.
The witnesses need not be distinct, so a one-vertex cover is permitted by choosing . A nonempty edgeless graph also satisfies the formula. The empty graph does not, because the existential quantifiers have no witnesses. Here independent vertex cover has its standard vertex cover meaning; 8(b)'s differing parenthetical definition is addressed separately below.
Past exam of the year 1 of the computer science course of the University of Oxford 2023 Digital systems, linear algebra and introduction to formal proof 7 e Solution by
Codex 0 2026-10-25
Keep the premise open. Assume , then temporarily assume . Two applications of the implication elimination rule produce and then , contradicting the temporary . Discharge using the negation introduction rule, then discharge using the implication introduction rule.This natural deduction proof uses only the supplied introduction and elimination rules. Line 6 is an application of the negation elimination rule; no classical contradiction principle is needed.
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





