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 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 6 b i Solution by
Codex 0 2026-10-31
A binary relation on a set is an equivalence relation when it is a reflexive relation, a symmetric relation, and a transitive relation. In first-order logic, these three requirements are
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 6 a v Solution by
Codex 0 2026-10-31
The “same age” binary relation is a Euclidean relation, with age understood as one consistently measured value at a fixed time. If has the same age as both and , the ages of and are equal. HenceThis is another instance of equality of the values of a function inducing an equivalence relation.
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 6 a iv Solution by
Codex 0 2026-10-31
Inequality on a domain containing at least two people is not a Euclidean relation. Choose distinct people and put , . Both premises hold, but the conclusion would be . ThusThe possibility matters: the defining universal quantifiers do not require distinct arguments. On a domain with at most one element the inequality binary relation is empty and the condition holds by vacuous truth.
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 6 a iii Solution by
Codex 0 2026-10-31
Equality of remainders after division by eight is a Euclidean relation. If , have the same remainder and , have the same remainder, then , have the same remainder. In the notation of modular arithmetic,Hence
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 6 a ii Solution by
Codex 0 2026-10-31
The divisibility binary relation on positive natural numbers is not a Euclidean relation. With , , , we have and but . Therefore
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 6 a i Solution by
Codex 0 2026-10-31
The binary relation on the natural numbers is not a Euclidean relation. Choose , , . Then and , but . Thus
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 5 b ii Solution by
Codex 0 2026-10-31
Let be the number of heads in the initial allocation tosses. Then has the binomial distribution with parameters and . Given , the winning probability is , including the already finished games . The law of total probability and linearity of expectation giveThus, for ,
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 5 b i Solution by
Codex 0 2026-10-31
Let be the event that wins, and the event that his first toss is a tail. For a nontrivial starting state , a first tail has probability and changes his holding to . By the chain rule for probabilities,Since , the definition of conditional probability givesIn particular, when , losing the first coin would end the game in defeat, so the conditional answer is zero. At conditioning on victory is undefined, while at the game has already ended and no first toss occurs.
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 5 a iii Solution by
Codex 0 2026-10-31
Let be the indicator random variable that coin shows a head. Each expectation is , so linearity of expectation gives the expected number of heads:For the game, write for the probability that eventually holds all coins when starting with . The states are absorbing, so and . Conditioning on the first toss and using the law of total probability givesThus : successive differences are constant, and . The boundary values give , , hence the gambler's ruin answer isFor completeness, the game terminates with probability one. From any nonabsorbing state, a run of consecutive heads would reach within the next tosses, and that run has probability . Conditional on survival, the same bound applies to the next block. Therefore the probability of surviving tosses is at most , which tends to zero.
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 5 a ii Solution by
Codex 0 2026-10-31
The partition theorem is the law of total probability. If form a finite or countable partition of a sample space into pairwise disjoint events with positive probabilities, then for any event ,Indeed, is the disjoint union of the events , so countable additivity gives the formula after applying the definition of conditional probability. Zero-probability members can be omitted.
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 5 a i Solution by
Codex 0 2026-10-31
For events with , the conditional probability isIt measures the probability of after restricting the sample space to and renormalizing. This quotient does not define conditional probability given an event of zero probability.
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 4 b ii Solution by
Codex 0 2026-10-31
A square matrix is an invertible matrix exactly when its determinant is nonzero. The preceding recurrence relation therefore gives
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 4 b i Solution by
Codex 0 2026-10-31
Let denote the given tridiagonal matrix and put , including for the empty determinant. The starting values areFor , apply the following elementary row operations in the indicated order, always using the updated rows:The first three rows now beginwith the fourth column omitted if . When , also use . The resulting block upper triangular matrix has a upper triangular matrix with diagonal entries all one in its top left corner, and in its bottom right corner. All elementary row operations preserved the determinant except the single row interchange. ThereforeApplying this recurrence relation to the three starting values proves by mathematical induction thatEquivalently, the sequence is periodic with period six, with values starting at . A compact closed form is .
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 4 a iii Solution by
Codex 0 2026-10-31
Conversely, suppose . Use Gaussian elimination to reduce to row echelon form . Each elementary row operation multiplies the determinant by a nonzero factor, so . If this square matrix had fewer than pivots, its row echelon form would have a zero row and hence zero determinant, a contradiction. Therefore it has a pivot in every row and column, and further elementary row operations reduce it to .
Each elementary row operation is multiplication on the left by an invertible matrix, its inverse being the reverse operation. Thus implies , a product of invertible matrices. Hence
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 4 a ii Solution by
Codex 0 2026-10-31
For a square matrix, the corresponding changes in its determinant areThese follow respectively from the alternating property, multilinearity in the rows, and the fact that a determinant with two equal rows vanishes.
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 4 a i Solution by
Codex 0 2026-10-31
The three elementary row operations are:
- interchange two distinct rows, ;
- multiply a row by a nonzero scalar, with ;
- add a scalar multiple of another row, with .
The nonzero requirement in the second operation ensures that each elementary row operation is reversible.
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 3 b ii Solution by
Codex 0 2026-10-31
Take the linear mapIts kernel of a linear map consists of all , and its image of a linear map is the same line:Their set intersection is nonzero and their sum is only one-dimensional. In particular, cannot be written as a sum of one vector from each of these vector subspaces. The nonzero set intersection also prevents an internal direct sum of vector spaces. ThusThe matrix is a nonzero nilpotent matrix; its failure of diagonalizability explains why the preceding result does not apply.
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 3 b i Solution by
Codex 0 2026-10-31
By diagonalizability, has an eigenbasis with . Arrange the basis so that and the remaining eigenvalues are nonzero. If there are no zero or no nonzero eigenvalues, the corresponding linear span below is simply the zero vector subspace.
For , the equation holds precisely when for every . ThusEvery output is in , and conversely for each . ThereforeThese two disjoint parts of a basis span and their linear spans intersect only at zero. This is exactly the direct sum of vector spaces assertion
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 3 a ii Solution by
Codex 0 2026-10-31
The rank-nullity theorem states that a linear map with finite-dimensional satisfiesChoose a basis of and use basis extension to obtain a basis of . We prove that is a basis of .
Every is a linear combination of the extended basis. Applying kills the terms, so is a linear combination of . This proves the linear span assertion. For linear independence, if , then belongs to the kernel of a linear map. Hence for some scalars . The linear independence of the extended basis forces every and to vanish. Consequently and , while , proving the theorem.
Past exam of the year 1 of the computer science course of the University of Oxford 2003 Calculus, probability, linear algebra, discrete mathematics, logic and proof, and models of computation 3 a i Solution by
Codex 0 2026-10-31
For a linear map , its image of a linear map and kernel of a linear map areTheir dimensions define the rank of a linear map and nullity:The image of a linear map measures which output vectors can occur, while the kernel of a linear map measures which input vectors are sent to zero.
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





