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 5 a ii Solution by
Codex 0 2026-10-25
The extreme value theorem guarantees extrema on the closed interval. Compare its endpoints and the stationary points :ThusThe two-point answer in each case also follows from the even function symmetry.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 4 c ii Solution by
Codex 0 2026-10-25
On the panel , the maximum fourth derivative is at the left endpoint because it is decreasing. ThusThe geometric series and the sum of consecutive integers giveSubstitution provesFor , at least one panel's maximum is smaller than the global maximum , so this bound is strictly tighter than the global bound. For , the two bounds coincide.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 4 c i Solution by
Codex 0 2026-10-25
Take to be a positive even integer, as required by composite Simpson's rule. There are two-strip panels, each of width . Applying the supplied panel bound with the global fourth-derivative minimum and maximum , and summing, givesHere is the nonnegative absolute error. In this example Simpson's rule overestimates the integral, so . Each panel has that same sign because its fourth derivative is nonnegative; cancellation is not being assumed.[ref]
3.5 Quadrature, subsection (ii) Simpson’s Rule. §3.5(ii), equations 3.5.6–3.5.8: elementary and composite fourth-derivative remainders
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 3 d iii Solution by
Codex 0 2026-10-25
False. It suffices to find a subsequence along which the ratio is unbounded. Set . The last factors of are at least , while the first factors have product at least one. HenceThis contradicts the eventual uniform bound required by Big O notation. The proof is an elementary factorial comparison, independent of Stirling's approximation.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 3 d ii Solution by
Codex 0 2026-10-25
True. For every , , and raising both nonnegative sides to the th power givesThus the Big O notation condition holds with constant and threshold .
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 3 d i Solution by
Codex 0 2026-10-25
False. For , every factor from through is at least , soNo fixed multiple of eventually bounds the factorial, contradicting the definition of Big O notation. No use of Stirling's approximation is required.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 3 c ii Solution by
Codex 0 2026-10-25
The displayed relation is not a partial order on the printed . Since the empty set belongs to , vacuous truth makeshold for every finite , including nonempty . This violates the defining condition of an antisymmetric relation. It also violates transitivity: holds, but . Consequently the usual unique-maximum and unique-least upper bound terminology for a partially ordered set does not apply as claimed.
The available inputs still determine what happens if one applies the formulas in (b) literally to this relation:
| Family | Elements satisfying the maximum formula | Elements satisfying the least-upper-bound formula |
|---|---|---|
| None | ||
| and | and | |
| None | and |
For , no nonempty finite set can lie above all triples of arbitrarily large numbers, while does so vacuously. Thus is its sole literal upper bound, but is not a member of . For each of the two bounded families, the literal upper bounds are and all nonempty finite sets whose elements are at least . Among these, exactly and lie below every such upper bound. Both belong to , but neither belongs to its three-element subfamily.
For comparison, a natural correction is to retain the given rule for nonempty sets and declare to be a bottom element: no nonempty set is then below . Under this explicitly corrected partial order, has neither a maximum nor a least upper bound; has maximum and least upper bound ; and has no maximum but has least upper bound . A nonempty upper bound must have every element at least as large as every element of the bounded family. These corrected answers are conditional on the stated repair, not answers obtained by silently excluding the empty set from the source.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 3 c i Solution by
Codex 0 2026-10-25
Put , avoiding any dependence on whether the convention includes among the natural numbers. Under set inclusion, the results are
| Family | Maximum | Least upper bound in |
|---|---|---|
| None | None | |
| None |
The set union of all three-element subsets of is . An upper bound for under set inclusion would have to contain this entire infinite set, whereas members of are finite. Thus has no upper bound and hence no maximum or least upper bound.
For , every member is a subset of the finite set , and itself belongs to , making it both maximum and least upper bound. The union of the three-element subsets of is again , so is the least upper bound of . It is not a member of that family, and no three-element member contains all the others, so there is no maximum.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 3 a ii Solution by
Codex 0 2026-10-25
The initial values are and : one element cannot move, while two elements must be swapped.
For , fix one distinguished element, called , and choose its image , in ways. If form a two-cycle, deleting them leaves an arbitrary derangement on the other elements, giving choices.
Otherwise the permutation cycle containing has length at least three. Remove from that cycle, joining its predecessor directly to . No fixed point is created because the predecessor is not . This gives a derangement on elements. Conversely, any such derangement uniquely recovers the original one by inserting immediately before in its cycle. This case contributes choices for each .
The two cases are disjoint and exhaustive, so the derangement recurrence is
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 3 a i Solution by
Codex 0 2026-10-25
A derangement of a finite set is a permutation with no fixed point: for every . Thus every element is moved, although the permutation remains a bijection.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 2 d ii Solution by
Codex 0 2026-10-25
Induct on , with the claim quantified over every . At ,Suppose the identity holds for a fixed and every . For , the Fibonacci recurrence givesApplying the induction hypothesis with is legitimate. This proves throughout its domain, a case of the Fibonacci determinant identity.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 2 d i Solution by
Codex 0 2026-10-25
For , the difference is . Define . The Fibonacci recurrence givesThe inductive step therefore changes into . By mathematical induction, for all , the requested form of Cassini's identity.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 2 c ii Solution by
Codex 0 2026-10-25
Let , the golden ratio. Since , multiplication by gives . Adding this recurrence relation to the one for yieldsThus the extra exponential term changes the initial values, but not the linear recurrence relation.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 2 c i Solution by
Codex 0 2026-10-25
Adding the Fibonacci recurrence and the identical recurrence relation for the Lucas numbers givesLinearity preserves this linear recurrence relation; the initial values come from and .
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 2 b ii Solution by
Codex 0 2026-10-25
Use and for . Indeed,The initial value is , so the recurrence relation produces the specified factorial sequence.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 2 b i Solution by
Codex 0 2026-10-25
The Fibonacci recurrence, with the supplied initial values, is for , with . Two initial values are needed for this second-order linear recurrence relation.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 1 c iii Solution by
Codex 0 2026-10-25
It is surjective but not injective; there is no global inverse function. Noninjectivity follows fromFor surjectivity, restrict to , whereThis restriction is a continuous function, tends to as and to as . The intermediate value theorem therefore supplies a preimage for every real number. The additional branch destroys global injectivity but cannot destroy surjectivity.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 1 c ii Solution by
Codex 0 2026-10-25
It is neither injective nor surjective onto , so it has no inverse function on the stated domain and codomain. The distinct inputs and both lie in the domain and both give zero. All values lie in , so, for example, the real number has no preimage.
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Discrete mathematics, continuous mathematics, and probability 1 c i Solution by
Codex 0 2026-10-25
The function is injective and surjective, with inverse function . Equality forces . For any , the input also lies in and satisfies . Applying the function twice returns the original input.
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





