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 2018 Discrete mathematics, continuous mathematics, and probability 5 c Solution by
Codex 0 2026-10-31
The gradient vanishes exactly when and , giving the four points . The Hessian matrix is . It is positive definite at , negative definite at , and indefinite at the two mixed-sign points. Thus is a strict local minimum, a strict local maximum, and are saddle points by the second-derivative test. Their respective function values are , , and zero at both saddle points.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 5 b Solution by
Codex 0 2026-10-31
Apply Newton's method to . The derivative in part (a) givesChoose a starting point near a desired root, such as for the root in ; do not divide when . On , is strictly decreasing and changes sign between its endpoints, so the intermediate value theorem gives exactly one root there. Its derivative is nonzero, giving the usual local convergence of Newton's method. The periodic function has other roots; the iteration does not impose global uniqueness or convergence from every starting value.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 5 a Solution by
Codex 0 2026-10-31
The coordinate sum is , while the sum of their cubes is . Along the parametrized curve, the composite function is therefore . Differentiate, or apply the multivariable chain rule, to obtain
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 4 a Solution by
Codex 0 2026-10-31
The function is even, so every sine coefficient is zero. Its mean coefficient isFor , compute . The product-to-sum identity makes this integral zero for odd and gives for even . Thus the missing Fourier coefficients are for odd and for every , with . Equivalently,The Fourier series converges to this continuous periodic function; there is no jump value to average.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 3 d Solution by
Codex 0 2026-10-31
Under the product order, every point of the open unit disc has both coordinates below one, so is an upper bound. Any upper bound must have and , since the two coordinate projections of the open unit disc are . Therefore , proving .
Under the lexicographic order, every point , with arbitrary real , is an upper bound, because every point of has first coordinate strictly below one. Conversely, an upper bound cannot have first coordinate : a point with would exceed it. If an upper bound has , the upper bound is strictly smaller. If it is , the upper bound is strictly smaller. Hence there is no least upper bound under the lexicographic order. This illustrates the supremum of an open disc under product and lexicographic orders.
The same open unit disc has a supremum under the product order and none under the lexicographic order
. The green corner consists of product-order upper bounds. Every point on the red vertical line is a lexicographic upper bound; moving down that line always finds a smaller one. Details. Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 3 a Solution by
Codex 0 2026-10-31
For these real-valued functions, means that there exist constants and such thatThe absolute values matter because neither function is assumed nonnegative. The constants are independent of ; finitely many earlier values do not affect Big O notation.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 2 d Solution by
Codex 0 2026-10-31
Absorb the finitely many exceptional initial terms in the Big O notation assumption into a constant , so that for every . This is possible because each initial term is finite and each index is positive. We prove the stronger bound for every .
The case is the chosen bound. If it holds at , the triangle inequality givesMathematical induction completes the proof. Thus for every fixed ; in fact the same constant works for all the iterated Cesàro means. This is the linear-growth bound for iterated Cesàro means.
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 2 c Solution by
Codex 0 2026-10-31
First prove for every nonnegative integer by mathematical induction. The case is immediate. If it holds at , the binomial theorem and the stated divisibility of the middle binomial coefficients giveThis establishes the induction. For an arbitrary integer , take a nonnegative representative of its residue class; then . When , part (b) supplies a multiplicative inverse modulo . Multiplying the congruence by that inverse proves Fermat's little theorem:
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 2 b Solution by
Codex 0 2026-10-31
Choose the representative . Since is prime and does not divide , their greatest common divisor is one. The extended Euclidean algorithm gives the Bezout identityfor some integers . Reducing modulo gives , so the residue class of is a multiplicative inverse of . The argument uses the nonzero condition to exclude the only residue with greatest common divisor .
Past exam of the year 1 of the computer science course of the University of Oxford 2018 Discrete mathematics, continuous mathematics, and probability 2 a Solution by
Codex 0 2026-10-31
Use modular exponentiation by repeated squaring:Since , multiply the indicated powers to obtain . Only the binary expansion of the exponent determines which squared powers are multiplied.
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






