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 2017 Discrete mathematics, continuous mathematics and probability 7 a iv Solution by
Codex 0 2026-10-31
By independence, for ,This is the geometric minimum law, givingThe support remains the positive integers; this parameter is a success probability, not a mean.
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 7 a iii Solution by
Codex 0 2026-10-31
The expected value is the derivative of the probability generating function at one. The expression from part (ii) givesIts finiteness also follows directly from the exponentially decaying geometric probabilities.
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 7 a ii Solution by
Codex 0 2026-10-31
Summing a geometric series gives the probability generating functionThe series converges absolutely for . Differentiating the rational expression yields
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 7 a i Solution by
Codex 0 2026-10-31
The variable has positive-integer support, so . Subtract consecutive values of the survival function:This is the positive-support convention for the geometric distribution.
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 6 c ii Solution by
Codex 0 2026-10-31
Define the one-step local truncation error as the defect obtained by inserting the exact solution into an update:For a smooth solution, Taylor's theorem and giveThus for the one-step defect convention. The leading derivative can also be written by the chain rule.
Some conventions instead call the truncation error. That normalized local truncation error is , so under the normalized convention. Both describe the same Euler one-step defect; neither should be confused with an unqualified global error claim.
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 6 c i Solution by
Codex 0 2026-10-31
The Forward Euler method uses the current slope:Here and the initial approximation normally equals the given initial value. Each step takes a tangent-line increment of width .
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 3 e ii Solution by
Codex 0 2026-10-31
No. On take . This is an antisymmetric relation because it contains no opposite pair of distinct elements. Its reflexive transitive closure contains every ordered pair: following the directed three-cycle reaches any vertex from any other. In particular it contains both and , violating antisymmetry.
This illustrates the reachability preorder: collapsing mutually reachable vertices into strongly connected components yields a partial order, but retaining all original vertices need not.
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 3 e i Solution by
Codex 0 2026-10-31
A preorder is reflexive and transitive: for every element, and imply . A partial order additionally requires antisymmetry: and imply . It need not compare every pair of distinct elements.
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 3 b ii Solution by
Codex 0 2026-10-31
Beyond the same common threshold, the triangle inequality givesThus . The absolute value matters because the difference need not itself be positive, even though the four original functions are.
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 3 b i Solution by
Codex 0 2026-10-31
Choose constants and a common threshold beyond which and . Positivity permits multiplication:The fixed constant proves by the definition of big O notation.
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 2 d ii Solution by
Codex 0 2026-10-31
There are unrestricted placements, since one colour has occupancy vectors. For any specified empty box, the two remaining boxes admit placements. For any specified pair of empty boxes, the one remaining box admits one placement. All three boxes cannot be empty.
The inclusion-exclusion principle therefore givesThe empty-box events are not disjoint events, so subtracting their counts without restoring their pairwise overlaps would be incorrect.
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 2 d i Solution by
Codex 0 2026-10-31
For one colour, the box occupancies form a weak composition of into nonnegative parts. For , stars and bars gives choices. The three colours' occupancies can be selected independently, so the number isBoxes are labelled, while equal-colour balls contribute only occupancy counts; no extra factorial for permuting such balls is appropriate.
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 2 a ii Solution by
Codex 0 2026-10-31
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 2 a i Solution by
Codex 0 2026-10-31
Use modular arithmetic modulo eight: , , and . The squared difference is consequently congruent to one, giving the remainder
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 1 c iii Solution by
Codex 0 2026-10-31
The singleton set has cardinality one, so its power set has cardinality two. Taking the Cartesian product with the singleton leaves that cardinality equal to two. The outer power set therefore has elements.
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 1 c ii Solution by
Codex 0 2026-10-31
A Cartesian product with the empty set is empty: there is no possible second coordinate. Thus the requested cardinality is , independently of the first factor's power set.
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 1 c i Solution by
Codex 0 2026-10-31
The outermost braces form a singleton set, regardless of how its one element is nested. Its cardinality is therefore . A set containing the empty set is different from the empty set itself.
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 1 b ii Solution by
Codex 0 2026-10-31
If , the definition of symmetric difference puts it in exactly one of . It is therefore in their set union and outside their set intersection, giving .
Conversely, an element of lies in at least one of the two sets but not both. It consequently belongs to or to , and hence to . Both set inclusions hold.
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Discrete mathematics, continuous mathematics and probability 1 b i Solution by
Codex 0 2026-10-31
For the first set inclusion, take . Then but . Since membership in is already known, failure to lie in that relative complement forces . Hence .
Conversely, if , then and its membership in excludes it from . Therefore . The two inclusions prove the stated equality with the set intersection.
Past exam of the year 1 of the computer science course of the University of Oxford 2017 Digital systems, linear algebra, introduction to formal proof 7 b ii Solution by
Codex 0 2026-10-31
Under the negation of the desired disjunction, derive both negated propositions and contradict the premise. The natural deduction derivation isThe proof uses disjunction introduction, conjunction introduction and the classical RAA rule; it does not silently replace the required derivation by a truth-table check.
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





