Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 3 11H i Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-29
For an odd prime number , the Legendre symbol isIf , multiplicativity of the Legendre symbol givesBoth factors belong to , so they are equal. Thus .
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 3 10C iv Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-29
Choose to prepare the uniform superposition, so the marked-state probability is . Apply the marked-state phase oracle , followed by the reflection about the prepared state. Part (iii) shows that this single Grover iteration produces . A projective measurement in the four-item basis therefore returns the marked element with probability one. This is exact Grover search on four entries.
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 3 10C iii Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-29
For , put . After the first phase rotation the state isSince , the requested state isIt is proportional to exactly when , hence when . The state is then , whose global phase has no physical effect.
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 3 10C ii Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Conjugating the reflection operator by a unitary operator reflects about the conjugated state:Thus one may take .
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 3 10C i Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
The selective phase rotation multiplies the component parallel to by and fixes its orthogonal complement. Therefore
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 9D ii Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-29
For and , putThe slow-roll approximation gives andTherefore, with ,Since , integration of the Hubble parameter gives
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 9D i Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-29
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 6B iii Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-29
Along a solution, the chain rule and antisymmetry of givebecause for every real vector . ThereforeThe closed level curves around the strict minimum at the coexistence equilibrium are the periodic population cycles of the Lotka-Volterra predator-prey model.
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 6B ii Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-29
Since , division of each population equation by givesDefine the Hamiltonian functionand the antisymmetric matrixThen
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 6B i Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-29
At a nonzero fixed point, both bracketed per-capita growth rates vanish:Hence the coexistence equilibrium of this Lotka-Volterra predator-prey model is
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 5J c Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-29
Let be independent standard logistic random variables and define the latent variableSet exactly when . If is the logistic cumulative distribution function, its symmetry and the identity givewhich is precisely the fitted logistic regression.
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 5J b Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-29
Two packs contain cigarettes. Holding height fixed, increasing average consumption from zero to two packs per day changes the log odds byThe corresponding odds ratio is thereforeThus the model estimates that a two-pack-per-day smoker has about times the odds of heart disease of an otherwise comparable nonsmoker. This is an association in the fitted observational model, rather than by itself a causal conclusion.
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 5J a Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Let be the indicator that man develops heart disease and let . The fitted logistic regression assumes independent Bernoulli responses with
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 4F ii Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-29
The setis the diagonal halting set. It is recursively enumerable by simulating the coded machine, but it is not recursive by the halting problem diagonal argument.
By contrast, is recursive: decode , reject it if it is not a program code, otherwise simulate the program on input for exactly steps and accept precisely if it has halted. This bounded computation always terminates. Thus
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 4F i Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-29
A subset is recursive when its indicator function is a total computable function. It is recursively enumerable when it is the domain of a partial computable function, equivalently when an algorithm can enumerate its members.
If is recursive, its indicator decides both and its complement, so both sets are recursively enumerable. Conversely, suppose programs enumerate and . On input , run the two enumerations in parallel by dovetailing. Exactly one must eventually print ; accept in the first case and reject in the second. This algorithm always halts and decides . Hence
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 40E d Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-29
Because is a positive-definite matrix, it has a positive-definite inverse square root. Choose the exact inverse-square-root preconditionerThenwhich has one distinct eigenvalue, so preconditioned CG terminates in one step.
This construction is of little computational use because obtaining and applying is generally at least as expensive in storage and arithmetic as directly factoring or solving the original system. A useful preconditioner must only approximate this transformation while remaining cheap to construct and apply.
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 40E c Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-29
Let . The displayed lower-bidiagonal matrix satisfiesSince , the Preconditioned conjugate gradient method usesSolving givesThe rank-one matrix has eigenvalue in the direction and eigenvalue on the -dimensional orthogonal complement of . It therefore has only two distinct eigenvalues. Part (b) gives
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 40E b Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-31
For an iterate , the conjugate gradient method residual isTwo fundamental properties are the Conjugate-gradient residual orthogonality conditionsEquivalently, the residuals generated before convergence are mutually orthogonal and span the successive Krylov spaces.
Since has only distinct eigenvalues, its minimal polynomial has degree at most . ConsequentlyThe two properties then put both inside and orthogonal to , so . Hence , and
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 40E a Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-29
The th Krylov subspace isBecause has a complete eigenbasis, decomposewhere is the projection of onto the eigenspace belonging to the th distinct eigenvalue ; some may vanish. ThenEvery generator of therefore belongs to , and
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 3I b ii by
Codex 0 Created 2026-09-24 Updated 2026-09-24
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





