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 1 b ii Solution by
Codex 0 2026-10-25
A binary relation on is any subset of the Cartesian product . There are ordered pairs, and each can independently be included or omitted. Hence the number of binary relations is . This also gives one relation when , namely the empty set.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 1 b i Solution by
Codex 0 2026-10-25
The set difference is the empty set. Its power set contains exactly one element, the empty set itself. Therefore the cardinality is , not zero.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 9 b iii Solution by
Codex 0 2026-10-25
The disjoint decomposition into sets uses only events in . Finite additivity and nonnegativity giveThus already follows from the two stated requirements. Equality is attained, for example, by choosing , since then . More generally it holds whenever . Neither normalization nor countable additivity is needed for this particular inequality.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 9 b ii Solution by
Codex 0 2026-10-25
The missing axiom is normalization: . The zero set function satisfies both displayed requirements but is not a probability measure, showing why this condition is essential.
The incomplete axiom needs countable additivity: for every sequence of pairwise disjoint events ,The stated two-event version implies finite additivity, but does not supply this requirement for a countably infinite collection. Together with nonnegativity and normalization, this gives the usual probability measure axioms on the sigma-algebra .
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 9 b i Solution by
Codex 0 2026-10-25
is the sample space; its elements are elementary outcomes, also called sample points. An event is a measurable subset of , belonging to the sigma-algebra , rather than necessarily a single outcome.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 9 a v Solution by
Codex 0 2026-10-25
This is the ordinary factorial of , rather than a falling-factorial moment. Substituting the probability mass function of the Poisson distribution gives the nonnegative seriesThe geometric series converges exactly when . Therefore for . For , its terms fail to tend to zero and the expectation is infinite. This is the factorial of a Poisson random variable.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 9 a iv Solution by
Codex 0 2026-10-25
By the preceding convolution, has a Poisson distribution with parameter . Directly from its probability mass function, shifting the index in the absolutely convergent sums gives and . Since , . This is also the identity .
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 9 a iii Solution by
Codex 0 2026-10-25
Let be the two independent Poisson random variables. For , their discrete convolution iswhere the last equality is the binomial theorem. Thus .
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 9 a ii Solution by
Codex 0 2026-10-25
Subtract the first three values of the probability mass function of the Poisson distribution from one:
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 9 a i Solution by
Codex 0 2026-10-25
For a Poisson distribution with parameter , the probability mass function isand is zero at all other values. Its normalization follows from the exponential series .
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 8 c iii Solution by
Codex 0 2026-10-25
Let count the ringed birds among the two captures, and let be the event that the detector records at least one ring. The hypergeometric distribution gives the prior probabilitiesUnder the usual additional assumption of independent per-ring detection, with no false records, the likelihoods are , , and . Therefore . Applying Bayes' theorem yields . Storing only the last detected number means that a stored record does not identify how many rings were present. By label symmetry, the identity of that stored ring does not further alter this distribution.
The text specifies each ring's marginal detection probability, but does not explicitly specify independence of the detection errors. To keep this modelling qualification visible, let . The marginal detection rate only implies . Without the extra independence assumption, the full family of possible posterior distributions isIn particular . The displayed numerical answer corresponds to ; the general answer exposes exactly what the detector's marginal specification alone establishes.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 8 c 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 8 c i Solution by
Codex 0 2026-10-25
The two captures form a uniform ordered sample of distinct birds, that is, sampling without replacement. By exchangeability, each of the ten birds has the same chance of occupying the second position, so the probability is . Equivalently, conditioning on the first capture gives .
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 8 a iii Solution by
Codex 0 2026-10-25
The finite-partition form of the law of total expectation statesBecause the events form a partition of a sample space of the sample space, pointwise. Multiply by and use linearity of expectation to obtainAn event of zero probability contributes zero to the middle expression and is omitted from the final expression, so no undefined conditional expectation is multiplied by zero.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 8 a ii Solution by
Codex 0 2026-10-25
Using the indicator random variable, sum over the values of the discrete random variable :Dividing by the positive probability proves . On the product vanishes, so no additional contribution is omitted.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 8 a i Solution by
Codex 0 2026-10-25
For an integrable discrete random variable, the conditional expectation given an event of positive probability isThe sum ranges over the possible values of ; integrability ensures absolute convergence.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 7 b iii Solution by
Codex 0 2026-10-25
Set , so . Differentiate once and evaluate at , using , , :A second differentiation gives , henceThe derivatives of a probability generating function give and . Consequently . The earlier geometric tail bound from a uniform escape probability ensures the needed moments are finite.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 7 b ii Solution by
Codex 0 2026-10-25
Write . The initial possibilities are with probability , after which a fresh wait begins; with probability , after which a fresh wait begins; or with probability , which ends the experiment. Accounting for the flips already made in each case gives the probability generating function equationTherefore for . In particular, and there is no mass below two flips, as required.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 7 b i Solution by
Codex 0 2026-10-25
Let be the expected additional flips when there is no immediately preceding tail, and the expectation when the preceding flip is a tail. A one-step first-step analysis givesSolving gives and . To justify finiteness before manipulating these expectations, split the flips into independent two-flip blocks. Each block has probability of being ; hence . This geometric tail bound from a uniform escape probability makes the expectation finite. The state is essential because successive possible pairs overlap: the waiting time is not itself a geometric distribution with parameter .
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability resit 7 a iii Solution by
Codex 0 2026-10-25
Write for a positive integer moment index. The moment isThis improper integral converges exactly when , namely . For those indices,At the divergence is logarithmic; for it is a power divergence. Thus, in the source's moment notation, the positive integers allowed are exactly . If , no positive integer moment is finite.
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





