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 Discrete mathematics, continuous mathematics, and probability 4 b ii Solution by
Codex 0 2026-10-31
The integrating factor is , so the differential equation becomes . Integration givesThe factor in the particular solution accounts for the forcing term being proportional to the homogeneous solution.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 4 b i Solution by
Codex 0 2026-10-31
For , substitute . Then , and cancellation reduces the differential equation to . Multiplication by the integrating factor gives . ThereforeDirect substitution gives and verifies the result. Dividing by is legitimate on the stated positive domain.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 3 c ii Solution by
Codex 0 2026-10-31
An element is a maximum of if and for every . Thus it is an upper bound that is itself a member. Every maximum is the least upper bound: any upper bound must lie above because . A supremum outside need not be a maximum.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 3 c i Solution by
Codex 0 2026-10-31
An element is a least upper bound of if it is an upper bound, meaning for every , and for every upper bound of . The candidate need not belong to . Because a partial order is an antisymmetric relation, two least upper bounds must be equal. A least upper bound is also called the supremum.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 3 b iv Solution by
Codex 0 2026-10-31
False. The sum of squares of the first n positive integers givesThis ratio is unbounded, so it cannot satisfy the constant bound required by Big O notation. In fact the sum has order , as its leading term also shows.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 3 b iii Solution by
Codex 0 2026-10-31
True. Every term has when . Adding these inequalities givesThe constants and suffice in the definition of Big O notation.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 3 b ii Solution by
Codex 0 2026-10-31
False. Set . The ratio of successive terms isConsequently for , which is unbounded. No constant can bound by that constant times for all sufficiently large . The factorial therefore fails the proposed Big O notation bound, without needing Stirling's formula.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 3 b 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 Discrete mathematics, continuous mathematics, and probability 1 c iii Solution by
Codex 0 2026-10-31
False. Use the same two equivalence relations as in part (ii). They are both symmetric relations. The composite contains , since and . It does not contain , as shown there. Hence composition of relations need not preserve symmetry of a relation, even when both factors are also reflexive and transitive.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 1 c ii Solution by
Codex 0 2026-10-31
False, even for two equivalence relations. On , let have equivalence classes and , and let have equivalence classes and . Both binary relations are transitive. For , we have , using the intermediate element , and , using the intermediate element . However, fails: the only -successor of is , and is false. Thus the composite fails transitivity. The order of composition here means first , then .
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 1 c i Solution by
Codex 0 2026-10-31
True. Fix . Reflexivity supplies and . In the definition of composition of relations, choose the intermediate element to be itself. Then . This holds for every , so the composite binary relation is reflexive.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 1 b iv Solution by
Codex 0 2026-10-31
False. With the sets , and , both set differences are empty but . Removing loses the distinction between their memberships inside .
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 1 b iii Solution by
Codex 0 2026-10-31
True. The two operations retain complementary membership information. For , equality of the intersections makes equivalent to . For , equality of the unions makes equivalent to . These cases exhaust every possible element. Set extensionality therefore gives . Equivalently, reconstruct either set fromSubstituting the two given equalities into this expression gives .
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 1 b i Solution by
Codex 0 2026-10-31
False. Take the sets , and . Both intersections with are empty, although . Intersecting with loses information about membership outside .
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 8 b iii Solution by
Codex 0 2026-10-31
The result of part (ii), with replaced by , first yields . To show every use of the derived rule explicitly, one can instead write:The classical step is double-negation elimination at line 6. Freshness at line 7 holds after discharging the temporary assumption.
1. ¬∃x ¬R(x) premise
2. ¬R(a) assumption [i], a fresh
3. ∃x ¬R(x) ∃I, 2
4. ⊥ ¬E, 1, 3
5. ¬¬R(a) ¬I, 2–4, discharging [i]
6. R(a) ¬¬E, 5
7. ∀y R(y) ∀I, 6 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 8 b ii Solution by
Codex 0 2026-10-31
Take a fresh arbitrary variable . Assuming would provide precisely the witness forbidden by the premise; discharge that assumption before universal introduction.At line 6, is free in no undischarged assumption: line 2 has already been discharged. The change of bound variable name is part of the universal-introduction instance.
1. ¬∃x R(x) premise
2. R(a) assumption [i], a fresh
3. ∃x R(x) ∃I, 2
4. ⊥ ¬E, 1, 3
5. ¬R(a) ¬I, 2–4, discharging [i]
6. ∀y ¬R(y) ∀I, 5 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 8 b i Solution by
Codex 0 2026-10-31
Use a fresh witness in the existential elimination subproof. The universal elimination step gives the opposite of its assumed negated property.The witness is absent from the premise and from the conclusion of the existential-elimination step, so its freshness condition is met.
1. ∀x R(x) premise
2. ∃y ¬R(y) assumption [i]
3. ¬R(a) fresh witness assumption [j]
4. R(a) ∀E, 1
5. ⊥ ¬E, 3, 4
6. ⊥ ∃E, 2, 3–5, discharging [j]
7. ¬∃y ¬R(y) ¬I, 2–6, discharging [i] 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 7 d ii Solution by
Codex 0 2026-10-31
Use the exclusive-or natural deduction rules defined in part (i). The only extra lemma needed is double-negation introduction, derived from the given rules by assuming under , obtaining contradiction, and discharging that assumption. The full proof incorporates that derivation:In the first case the second introduction rule is instantiated with right operand . In the second case the first introduction rule requires , which is exactly the derived line 10.
1. ¬P ⊕ Q premise
2. ¬P first ⊕E case assumption [i]
3. ¬Q first ⊕E case assumption [j]
4. P ⊕ ¬Q ⊕I₂, 2, 3
5. ¬¬P second ⊕E case assumption [k]
6. Q second ⊕E case assumption [l]
7. P ¬¬E, 5
8. ¬Q assumption [m]
9. ⊥ ¬E, 6, 8
10. ¬¬Q ¬I, 8–9, discharging [m]
11. P ⊕ ¬Q ⊕I₁, 7, 10
12. P ⊕ ¬Q ⊕E, 1, 2–4, 5–11,
discharging [i], [j], [k], [l] 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 7 d i Solution by
Codex 0 2026-10-31
Write the new exclusive or connective as . Give it the two introduction rulesand the elimination ruleIn elimination, discharge the two pairs of case assumptions; retain the assumptions needed for the major premise and the shared context . These are natural deduction rules for exactly one of , not merely at least one.
For a syntactic check, derive from by : in the first case introduce and then the left disjunct; in the second case introduce and then the right disjunct. Conversely, from that disjunction use disjunction elimination; conjunction elimination extracts in the first branch and in the second, so the respective introduction rule yields in both. This proves equivalence to the ordinary truth-functional specification and explains both the introduction and elimination rules.
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





