Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 3 12I iv Solution Created 2026-09-24 Updated 2026-09-25
Suppose first that is a regular language, accepted by a deterministic finite automaton . If two words reach the same state, then every continuation is accepted from both or rejected from both. Thus they are equivalent under , and the number of equivalence classes is at most the finite number of states of .
Conversely, suppose has finitely many classes. Define a deterministic automaton byandThe transition is well defined: if , then for every suffix ,so . Likewise, membership in is independent of the representative by taking the empty suffix in the definition of . Induction givesso the automaton accepts exactly . It has finitely many states, and therefore is regular. This proves the Myhill-Nerode theorem in the stated formulation. The assumption merely says that the initial state is not accepting.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 3 12I iii Solution Created 2026-09-24 Updated 2026-09-25
For , consider the ten prefixesIf , appendThenbecause , whereasIndeed, in a word ending in one , the prefix before the final positive run of 's must have length at most ten. Hence every pair is distinguished by some suffix. They occupy ten distinct Myhill-Nerode equivalence classes, so the minimal deterministic finite automaton for has at least ten states.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 3 12I ii Solution Created 2026-09-24 Updated 2026-10-03
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 3 12I i Solution Created 2026-09-24 Updated 2026-09-25
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 3 10D d Solution Created 2026-09-24 Updated 2026-10-03
The quantum Fourier transform measurement supplies a rational approximationwhere is the desired multiplicative order. HereIts reduced continued fraction convergent has denominator two, so continued-fraction recovery in quantum order finding proposes . Direct order verification from divisors confirms it:HenceAs a check, the classical final step of the Shor algorithm gives
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 3 10D c Solution Created 2026-09-24 Updated 2026-09-25
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 3 10D b Solution Created 2026-09-24 Updated 2026-09-25
The Fermat-Euler theorem givesso the multiplicative order exists. For every integer ,Thus the modular exponential is periodic with period . If were a smaller period, then would give , contradicting the minimality of . Hence is its least positive period.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 3 10D a Solution Created 2026-09-24 Updated 2026-09-25
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 6C b Solution Created 2026-09-24 Updated 2026-09-25
At a nontrivial equilibrium , the equation givesThe equation gives , and conservation of population then yieldsThese values are positive precisely in the epidemic regime .
Eliminate . The two-dimensional system isSet . The Jacobian matrix at the endemic equilibrium isso its eigenvalues satisfyTheir sum is and their product is , proving local asymptotic stability.
The discriminant isWriting , we have . As ,whereas as ,Hence sufficiently slow immunity loss gives a stable focus: approaches through damped oscillations, corresponding to successively smaller epidemic waves. Sufficiently rapid immunity loss gives a stable node: small disturbances are sums of two decaying real modes and show no forced oscillation. These conclusions and the equilibrium formulas are collected in the Endemic equilibrium of the SIR model with waning immunity.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 6C a Solution Created 2026-09-24 Updated 2026-10-03
This is the SIR model with waning immunity. The mass-action interaction term transfers people from the susceptible compartment to the infected compartment, transfers infectives to the recovered compartment, and returns recovered people to susceptibility as immunity wanes. Adding the equations givesso the total population is conserved.
When and infection is rare, andThus initially decays if . Equivalently, the basic reproduction number is , so the epidemic invasion threshold is not crossed and no epidemic occurs.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 4I b iv Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 4I b iii Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 4I b ii Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 4I b i Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 4I a Solution Created 2026-09-24 Updated 2026-09-25
A subset is a computably enumerable set if there is a program, equivalently a register machine, that halts on input exactly when . It need not halt when .
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 41C d Solution Created 2026-09-24 Updated 2026-09-25
Using Euler's formula,ThusOrdering the modes as , let . ThenConsequentlyThis matrix is triangular, so its eigenvalues are its diagonal entries:
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 41C c Solution Created 2026-09-24 Updated 2026-09-25
The matrix from part (a) is Hermitian positive definite, while the real diagonal matrix is Hermitian. The stated product theorem, or similarityshows that every eigenvalue of is real. Hence every eigenvalue of is real; this is the real spectrum of a positive-Hermitian times Hermitian product.
Moreover, is invertible and has rank , so for the matrix has nonzero real eigenvalues. If is one of them, the corresponding mode of the semidiscrete equation has eigenvalue . The explicit Euler method has amplification factorfor every . Therefore the explicit Euler discretization is unstable, as in explicit Euler instability on a nonzero imaginary eigenvalue.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 41C b Solution Created 2026-09-24 Updated 2026-09-25
Differentiating the truncated Fourier expansion givesThe th Fourier coefficient of the product is the discrete convolutionProjecting the advection equation onto modes therefore givesThusEquivalently, ifthenThis is the Fourier spectral method for variable-coefficient advection.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 41C a Solution Created 2026-09-24 Updated 2026-09-25
For the two-periodic Fourier series, orthogonality of the exponential basis gives the Fourier coefficientwhere any interval of length two could replace .
Let for . Since is real,so and is a Hermitian matrix. For any nonzero ,The trigonometric polynomial in the modulus cannot vanish identically unless every vanishes. Since , the integral is strictly positive. Hence is Hermitian positive definite, which is the positive Fourier-symbol Toeplitz matrix result.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 40C b ii Created 2026-09-24 Updated 2026-09-24
There are unlisted articles, also show them or only show them.