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 2019 ii Paper 4 12H a Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Letand choose . Write for the positively oriented boundary of the square with . The Cauchy integral formula gives, for every ,Because and are compact and separated by a positive distance, Riemann sums for this contour integral converge uniformly in . Thus, for any , there are points and constants such that
It remains to approximate each resolvent by polynomials on . Let be the set of for which is polynomially uniformly approximable on . If , the geometric seriesshows that . Moreover, the resolvent propagation across a complementary component argument shows that is both open and closed relative to . The complement of a square is connected, and is nonempty, so .
In particular, every lies in . Approximate the finitely many resolvents accurately enough that their weighted sum differs by less than . Combining this with the Riemann-sum estimate produces a polynomial satisfyingThis proves the claimed elementary polynomial approximation on a square.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 4 11I d Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Pure periodicity means that reappears as the tail after one period. The continued-fraction tail formula therefore givesAfter cross-multiplication,
Now letBy part (c), the matrix for one reversed period isso its positive fixed point satisfiesPutting and multiplying by turns this equation into . The product of the two roots of is ; because , the other root is negative. Consequently is the positive fixed point selected by convergence of the reversed continued fraction. The reversed-period identity for a purely periodic continued fraction is therefore
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 4 11I c Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
The continued-fraction matrix for the original finite continued fraction isEach is a symmetric matrix, so reversing the order gives the transpose:Reading off the columns proves the reversal identity for a finite continued fraction:These are respectively the th and th convergents of the reversed continued fraction.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 4 11I b Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Let be the complete quotient after . Part (a) writes the irrational number asso lies between the adjacent continued fraction convergents and . Their separation isBecause all are positive integers, the recurrence implies . Hence this separation tends to zero, and the squeeze theorem gives
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 4 11I a Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Setand, for , defineWriting , these recurrences are equivalent to the continued-fraction matrix identityThe associated Möbius transformation sends a positive tail to the continued-fraction tail formula
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 4 10D b Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Choose a power of two withSince the multiplicative order is less than , this guarantees . Prepare two quantum registers in the stateand use quantum modular exponentiation to obtain
Measure the second register. The order as the exact period of modular exponentiation implies that, conditional on the measured value, the first register is a normalized truncated periodic cosetwhere is the largest integer for which .
Apply the quantum Fourier transform to the first register and measure it, obtaining . The supplied Fourier-transform theorem states that, with probability of order , is an integer nearest to for some coprime to . On that event,The supplied continued-fraction theorem, applied through continued-fraction recovery in quantum order finding, therefore recovers the reduced fraction from . Because and are coprime, its denominator is the exact order . The candidate is checked classically by verifying .
The quantum Fourier transform, quantum modular exponentiation, continued-fraction algorithm, and final modular check all take polynomial time in . Since , the successful event has probability of order , as required.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 4 10D a Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
The multiplicative order of modulo is the least positive integer such thatIt exists because and are coprime integers.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 8E b Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
The adiabatic invariance of the action applies when the frequency changes by only a small fraction during one oscillation and no separatrix is encountered. A convenient condition isThenConsequentlyIf is the displacement amplitude, , and henceThus a slowly stiffened spring raises the energy as while reducing the amplitude as .
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 8E a Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
LetAn orbit of energy is an ellipse in phase space, with intercepts and . Its enclosed area is , so the action variable isThe transformationis canonical and gives the action-angle variables. Substitution yields
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 7A b Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
One possible open contour begins at along a ray with , avoids the essential singularity at the origin, and ends at infinity along a ray with . For example, when is real, it may leave the origin along the positive real axis, bend through the upper half-plane, and approach the negative real axis as . At its initial end, ; at its final end, . More generally, the terminal ray may be chosen withso that is negative real. This contour satisfies the endpoint condition from part (a) and therefore produces a solution of the differential equation.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 7A a Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Differentiating under the contour integration sign givesSince , integration by parts turns this intoThe integral vanishes whenHence, up to an irrelevant multiplicative constant,The remaining endpoint condition isThus each open end of must lie where ; a closed contour also makes the boundary term vanish when the integrand is single-valued along it.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 5J c Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
For the canonical link function, . Differentiating the log-likelihood gives the score functionSincewhere is the variance function, a second differentiation givesThis Hessian does not depend on the observed , so taking its negative expectation changes nothing. Hence
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 5J b Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
For independent observations from an exponential dispersion family with common known dispersion parameter , the generalized linear model log-likelihood iswhere and the link function satisfies .
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 5J a Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Writing the log-likelihood as , the Fisher information matrix is the expected negative Hessian matrixUnder the usual regularity conditions it is equivalently the expected outer product of the score function.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 4H c Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Introduce nonterminals for the terminals and one for the pair :Because the original start symbol occurs on a right-hand side, take a fresh start symbol . After eliminating the unit production , one grammar in Chomsky normal form isThe original grammar generates exactlyThe displayed grammar generates the same set: adds an on the left, adds one pair on the right, and terminates the derivation with . Since the original grammar does not generate ,
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 4H b Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Use the CYK algorithm. For a nonempty input word , let be the set of nonterminals that derive the substring . InitializeFor increasing substring lengths, computeAccept exactly when the start symbol belongs to . The proof is a mathematical induction on substring length: a one-letter derivation uses a terminal production, while every longer parse tree has a root production whose two subtrees yield two adjacent nonempty substrings. The recurrence considers every possible split point and therefore finds exactly all possible roots. For a fixed grammar the algorithm uses time. Under the strict form in part (a), it rejects immediately.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 4H a Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
A context-free grammar is in Chomsky normal form when every production is of one of the formswhere are nonterminal symbols and is a terminal symbol. Under this strict convention there is no epsilon production, so such a grammar cannot generate the empty word. Conversion of an arbitrary grammar therefore givesIf , the two languages are equal. An alternative extended convention permits the exceptional start production ; under that convention conversion preserves the whole language.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 40C b Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Let be the symmetric Dirichlet second-difference matrix on the interior points. The method isThe orthogonal sine vectors diagonalize , with eigenvaluesBecause the two time-level matrices are real symmetric polynomials in the same symmetric matrix, they share this orthonormal eigenbasis. Whenever the left matrix is invertible, the amplification matrix is therefore normal, so its Euclidean operator norm is the largest modulus of its eigenvalues. The th amplification factor isFor the physical Courant number ,Hence exactly when . Requiring this uniformly for every mesh, whose values become dense in , givesEquivalently, and . Under these inequalities the denominator is nonzero for every : if this is immediate, while if then gives . Thus the necessary and sufficient mesh-uniform stability conditions areThis is the stability of a two-parameter implicit-explicit diffusion scheme. If consistency with the stated diffusion equation is also required, comparison of the leading Taylor terms gives , so and the stable consistent family has .
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 40C a Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Let be the sampled exact solution and let denote the update matrix of the Forward Euler diffusion scheme. For ,is a convex combination, with the homogeneous boundary values included. ThereforeThis is the parabolic discrete maximum principle and proves max-norm stability directly.
The Taylor theorem and the second-order central difference give the exact-grid residualfor a sufficiently smooth solution on a fixed interval . If , thenIteration for yieldsThus implies convergence when the initial grid values converge to the initial data.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 3G iii Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
If , complementing every received bit converts the channel into a binary symmetric channel with crossover probability . This deterministic and invertible output relabelling does not change the channel capacity. Since ,Thus the capacity rises again from zero as increases beyond , reaching one at , where every bit is flipped deterministically and can be recovered by complementation.
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





