Topics (383k) Articles (397k) 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 2016 Discrete mathematics, continuous mathematics and probability 8 c i Solution by
Codex 0 2026-10-31
Use the measurable partition for , omitting any null cells. For , the random variable is bounded, so the law of total expectation applies without moment assumptions. Conditional on , the sum contains exactly terms. Independence of from the whole sequence preserves their joint law under this conditioning; independence of the then givesFor the empty sum is zero and the empty product is one, in agreement with the formula. Therefore the probability generating function of an independent random sum is
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Discrete mathematics, continuous mathematics and probability 8 b ii Solution by
Codex 0 2026-10-31
Summing a geometric series gives the probability generating function of the zero-based geometric distribution:The series converges for , in particular on . At , , , and . The factorial moment identities give and . Thus
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Discrete mathematics, continuous mathematics and probability 8 b i Solution by
Codex 0 2026-10-31
For a nonnegative integer-valued random variable , its probability generating function isAt , use so . The series also converges absolutely for complex ; for near zero, its coefficients recover the probability mass function.
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Discrete mathematics, continuous mathematics and probability 8 a ii Solution by
Codex 0 2026-10-31
For an integrable random variable , the law of total expectation on the finite or countable measurable partition isHere for positive-probability cells; null cells contribute zero and need no conditional value. The series is absolutely convergent since its absolute terms sum to at most . For a nonnegative , the same identity is valid with possible value .
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Discrete mathematics, continuous mathematics and probability 8 a i Solution by
Codex 0 2026-10-31
A partition of a set is a collection of nonempty subsets such that for and . Thus every outcome lies in exactly one cell. For a probability-space partition the cells must also be measurable events. Nonempty cells may nevertheless have probability zero.
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Discrete mathematics, continuous mathematics and probability 7 c ii Solution by
Codex 0 2026-10-31
The weak law of large numbers gives in probability. If , the event implies , whose probability tends to zero. If , its complement implies , whose probability also tends to zero. ThusFor an explicit independent bound, Chebyshev's inequality bounds either unwanted probability by . The boundary is outside the two requested cases and is not decided by the weak law of large numbers alone.
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Discrete mathematics, continuous mathematics and probability 7 c i Solution by
Codex 0 2026-10-31
Summing the probability mass function of the binomial distribution up to the largest permitted integer givesThe floor is implicit in the original integer-indexed sum.
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Discrete mathematics, continuous mathematics and probability 7 a iii Solution by
Codex 0 2026-10-31
By linearity of expectation, . Part (ii) gives . Independent random variables have zero pairwise covariance, so the variance of their sum is the sum of their variances. Therefore
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Discrete mathematics, continuous mathematics and probability 7 a ii Solution by
Codex 0 2026-10-31
An indicator random variable equals with probability and with probability , so . Also pointwise, whence
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Discrete mathematics, continuous mathematics and probability 7 a i Solution by
Codex 0 2026-10-31
The are independent Bernoulli random variables with success parameter . Their sum has the binomial distribution , whose probability mass function isChoose the successful events in ways; independence gives the same product probability for each choice. At or , interpret the formula by its degenerate distribution or by continuity.
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Discrete mathematics, continuous mathematics and probability 6 d iii Solution by
Codex 0 2026-10-31
For , the standard explicit midpoint method isThe implicit midpoint rule instead uses . When the derivative depends only on , both give .
The endpoint-only request in (e) suggests another possible convention: averaging the endpoint slopes, . This is the trapezoidal rule, and generally differs from the implicit midpoint rule. A further use of “midpoint” is the two-step explicit midpoint linear multistep method, , which needs a second starting value. The printed question supplies no convention to distinguish these meanings; (e) spells out the resulting alternatives.
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Discrete mathematics, continuous mathematics and probability 6 d ii Solution by
Codex 0 2026-10-31
For , the Backward Euler method uses the slope at the end of the step:This generally requires solving an implicit equation for . For a derivative depending only on , it reduces to .
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Discrete mathematics, continuous mathematics and probability 6 d i Solution by
Codex 0 2026-10-31
Write the derivative equation as with initial approximation . The forward Euler method uses the slope at the start of the step:If the derivative is a known function of alone, this is .
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Discrete mathematics, continuous mathematics and probability 6 c ii Solution by
Codex 0 2026-10-31
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Discrete mathematics, continuous mathematics and probability 6 c i Solution by
Codex 0 2026-10-31
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Discrete mathematics, continuous mathematics and probability 6 b ii Solution by
Codex 0 2026-10-31
For the same uniform grid and even , the composite Simpson's rule integrates a quadratic interpolant over each successive pair of strips:The weights are , which explains the even number of strips.
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Discrete mathematics, continuous mathematics and probability 6 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 2016 Discrete mathematics, continuous mathematics and probability 5 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 2016 Discrete mathematics, continuous mathematics and probability 5 a i Solution by
Codex 0 2026-10-31
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Discrete mathematics, continuous mathematics and probability 3 f ii Solution by
Codex 0 2026-10-31
We prove the stronger explicit bound by mathematical induction. The case is equality. The binomial theorem gives , so . Consequently the induction hypothesis yieldsTherefore , with constant and threshold .
The second bound is asymptotically tighter. Using ,Thus its bounding function is negligible relative to the first in little o notation; this compares the bounds without needing Stirling's formula.
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





