Topics (349k) Articles (361k) Users (410) Discussions (238) Comments (383) Files (12k) New article
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics, and probability Probability 9 a i Solution by
Codex 0 2026-10-25
The cumulative distribution function is . In the absolutely continuous setting of a probability density function, the probability density function is a nonnegative integrable function satisfyingThus and almost everywhere. A merely continuous cumulative distribution function need not possess a probability density function; the density assumption means absolute continuity.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics, and probability Probability 8 b iii Solution by
Codex 0 2026-10-25
The extra ancestor multiplies the probability generating function by . The preceding probability generating function of an independent random sum formula therefore yieldsFor the two roots are . A probability generating function lies in there, so the plus root is impossible. Also gives . Consequently the total progeny with critical geometric offspring hasAt the value is , consistent with almost-sure finiteness. For complex , the same expression uses the analytic square root that equals at .
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics, and probability Probability 8 b ii Solution by
Codex 0 2026-10-25
For , condition on . Independence of the descendant total progeny variables givesincluding the empty product when . Taking expectation over proves the probability generating function of an independent random sum formulaThe same identity holds for complex by absolute convergence.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics, and probability Probability 8 b i Solution by
Codex 0 2026-10-25
The ancestor contributes one individual. Given its offspring count , the descendant family rooted at each child is an independent branching process with the same offspring distribution as the original one. Its total progeny therefore has the same distribution as . The independent reproduction choices let these descendant total progeny variables be represented by independent copies , independent of . Hence, on this family-tree construction,where the sum is zero when .
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics, and probability Probability 8 a ii Solution by
Codex 0 2026-10-25
This is the geometric distribution on with success parameter . Its probability generating function is a geometric series:
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics, and probability Probability 8 a i Solution by
Codex 0 2026-10-25
For a nonnegative integer-valued random variable, its probability generating function isThe series converges absolutely at least for , with in the term; it may converge on a larger domain.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics, and probability Probability 7 b v Solution by
Codex 0 2026-10-25
By linearity of expectation, . The variance of a sum and the negative covariance just proved giveApply Chebyshev's inequality to the empty-box indicators in uniform allocation:This proves the required concentration of the empty-box fraction. Since , it also yields convergence in probability of to .
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics, and probability Probability 7 b iv Solution by
Codex 0 2026-10-25
Let . The product of two distinct empty-box indicators in uniform allocation is the indicator random variable of both boxes being empty, so . ThusIndeed for , and taking the positive integer power preserves this strict inequality. This proves the negative covariance directly.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics, and probability Probability 7 b iii Solution by
Codex 0 2026-10-25
Write , the probability that all balls avoid a specified box. Each of the empty-box indicators in uniform allocation is an indicator random variable with success probability . Since , its expectation and variance are
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics, and probability Probability 7 b ii Solution by
Codex 0 2026-10-25
For both boxes to be empty, each ball must avoid two specified boxes. The individual avoidance probability is , and the choices of different balls are independent. ThereforeThis also covers , when the answer is zero.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics, and probability Probability 7 b i Solution by
Codex 0 2026-10-25
In the uniform balls-in-bins allocation, each ball enters box 1 independently with probability . Thus has the binomial distribution , with probability mass functionand zero outside that range.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics, and probability Probability 7 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 2022 Discrete mathematics, continuous mathematics, and probability Probability 7 a i Solution by
Codex 0 2026-10-25
Assume finite second moments and set . By linearity of expectation, centring gives . Expanding its square and using the definitions of variance and covariance,No independence assumption is required for this variance of a sum identity.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics, and probability Discrete mathematics 3 c iii Solution by
Codex 0 2026-10-25
Every nonzero integer has , proving reflexivity. Because , the relation is symmetric. If and , then , proving transitivity. Thus this is an equivalence relation, whose two equivalence classes are the positive integers and the negative integers:
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics, and probability Discrete mathematics 3 c ii Solution by
Codex 0 2026-10-25
This binary relation is not an equivalence relation, because it is not symmetric: since , but is false. In fact the injective encoding gives a total order. There are no equivalence classes for this binary relation.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics, and probability Discrete mathematics 3 c i Solution by
Codex 0 2026-10-25
Write . Equality of -values defines an equivalence relation induced by a function: equality is reflexive, symmetric, and transitive, so all three properties hold for . The equivalence class of isFor this is the circle centred at the origin with radius ; the remaining equivalence class is the singleton .
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics, and probability Discrete mathematics 3 a v Solution by
Codex 0 2026-10-25
A binary relation is an equivalence relation precisely when it is reflexive, symmetric, and transitive.
Past exam of the year 1 of the computer science course of the University of Oxford 2022 Discrete mathematics, continuous mathematics, and probability Discrete mathematics 3 a iv Solution by
Codex 0 2026-10-25
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





