Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 3I b Solution Created 2026-09-24 Updated 2026-09-25
The Huffman coding merges may be chosen asResolving the tied weights so that the original symbol is merged only at the final step gives the codeIts lengths are and its expected length isThe Huffman coding theorem proves optimality, so an optimal coding with all but one word of the same length does exist. This is an instance of a nonunique optimal prefix code: a different resolution of the ties also gives the optimal profile .
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 3I a Solution Created 2026-09-24 Updated 2026-09-25
A binary code is a prefix code when no codeword is a proper prefix of another. If the source letters have probabilities and codeword lengths , the expected value of its codeword length isIt is an optimal prefix code when it minimizes among all binary prefix codes for that source.
Suppose but . Exchanging the codewords assigned to and leaves the set of words, and hence prefix-freeness, unchanged. The change in expected length iscontradicting optimality. Thuswhich is the probability monotonicity of optimal prefix-code lengths.
Represent the code by its binary prefix tree and choose a codeword of maximal length, where . Its sibling is . If that sibling were not a codeword, it could not have a codeword below it either, since such a word would be longer than . Replacing by would then preserve prefix-freeness and strictly reduce . This is impossible for an optimal code, so is also a maximal-length codeword. The pair differs only in its last digit, proving the deepest sibling property of an optimal prefix code.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 39C b iii Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 39C b ii Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 39C b i Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 39C a Solution Created 2026-09-24 Updated 2026-09-25
The steady incompressible Stokes flow equations areTaking the curl eliminates the pressure gradient and commutes with the Laplacian, so for the vorticity ,This is the vorticity part of Harmonic pressure and vorticity in Stokes flow.
For a two-dimensional incompressible flow, choose the stream function conventionThenApplying the harmonic-vorticity equation givesthe Biharmonic stream function for planar Stokes flow equation.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 38B c Solution Created 2026-09-24 Updated 2026-09-25
Because the condition is local and covariant, choose normal coordinates at the point and a Lorentz frame in which the timelike observer is . Rescaling a timelike vector by a positive factor does not affect the sign, so it suffices to use this unit vector. With signature ,The measured energy density is thereforeThe value of , its time derivative, and its spatial first derivatives can be varied independently at a point. Nonnegativity for all such data is therefore equivalent to nonnegativity of all three coefficients:Thus the most general constraints areThese conditions are also sufficient in every timelike frame, because any timelike vector can be brought to the chosen rest frame. This is the weak energy condition for a quadratic scalar stress-energy ansatz.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 38B b Solution Created 2026-09-24 Updated 2026-09-25
Write the Einstein field equations in dimensions asTaking the trace givesTherefore the Trace-reversed Einstein field equations in D dimensions are
For the values from part (a), let . ThenandSubstitution cancels the terms and yieldsFor the convention , the prefactor is . This is the Ricci curvature sourced by a Klein-Gordon scalar field.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 38B a Solution Created 2026-09-24 Updated 2026-09-25
PutUsing metric compatibility and the symmetric Hessian of a scalar field, the divergence of the proposed tensor isFor this to vanish for arbitrary solutions and local field data, the two coefficients must vanish. HenceThe resulting tensor is the Conserved Klein-Gordon scalar stress-energy ansatz.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 37A d Solution Created 2026-09-24 Updated 2026-09-25
The spatial part of the Lorentz force isPart (c), together with , givesWriting and expanding the momentum derivative,Substitution of gives the coordinate acceleration of a relativistic charged particle:
In the nonrelativistic limit , one has and the final term is smaller by order . Hencewhich is precisely Newton's second law with the ordinary Lorentz force.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 37A c Solution Created 2026-09-24 Updated 2026-09-25
The four-velocity and particle energy areWith the conventions for the given metric, . The temporal component of the covariant Lorentz force is thereforeSince , cancellation of gives the relativistic electromagnetic work-energy theoremThe absence of reflects that magnetic force is perpendicular to the velocity and does no work.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 37A b Solution Created 2026-09-24 Updated 2026-09-25
WriteSinceits derivatives areThe Euler-Lagrange equation therefore givesUsing the electromagnetic field tensorand dividing by givesRaising the first index yields the equivalent requested formThis is the Lorentz-force equation from the worldline action.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 37A a Solution Created 2026-09-24 Updated 2026-09-25
For a timelike worldline, . Its square root is a Lorentz scalar, andThus the first term is the Lorentz-invariant free-particle action . Written as a line element, it is also invariant under a change of the worldline parameter .
The interaction is the scalar line integralUnder an electromagnetic gauge transformationit changes only byThis endpoint term does not affect a fixed-endpoint variational problem. Hence both Lorentz invariance and gauge invariance select the displayed relativistic charged-particle action, with the expected free-particle and minimal-coupling terms.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 36A b iv Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 36A b iii Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 36A b ii Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 36A b i Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 36A a Solution Created 2026-09-24 Updated 2026-09-25
The microcanonical ensemble describes an isolated system at fixed energy , volume , and particle number , assigning equal weight to accessible states in a narrow energy shell.
The canonical ensemble describes a system that can exchange energy with a heat reservoir at fixed temperature , while and remain fixed. A microstate has probability
The grand canonical ensemble allows exchange of both energy and particles at fixed , , and chemical potential . Its state weights are
The choice is irrelevant for bulk thermodynamic observables in the thermodynamic limit when the system is additive, has sufficiently short-range interactions, and lies away from singular phase-coexistence regimes. Then relative energy and particle-number fluctuations vanish as the system size grows. These are the standard conditions for equivalence of statistical ensembles.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 35D b Solution Created 2026-09-24 Updated 2026-09-25
For a potential of period , define the Floquet matrix for a one-dimensional periodic potential byThe Schrodinger equation has no first-derivative term, so the Wronskian is constant and . Its multipliers are therefore reciprocal. They lie on the unit circle precisely whenThose energies form continuous allowed bands of bounded Bloch theorem solutions. Values with have a growing and a decaying multiplier and form forbidden gaps. The band edges have , as in Floquet discriminant and energy bands.
For the delta-comb Kronig-Penney model, start immediately to the right of one delta function. Free propagation to the next delta and the derivative jump there are represented byThusConsequently the Floquet discriminant of the delta-comb Kronig-Penney model isAll band edges are therefore determined byIn factorized form, the periodic edges obeywhile the antiperiodic edges obey
To express the same edges through the single-barrier scattering data, the One-dimensional transfer matrix from scattering amplitudes givesAt an edge put and . Thenso the scattering-amplitude equations for one-dimensional band edges areExplicitly,For the delta barrier, andwhich reproduces the four factorized edge equations above.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 35D a Solution Created 2026-09-24 Updated 2026-09-25
For a wave incident from the left, define the reflection and transmission amplitudes byReflection invariance gives the same amplitudes for incidence from the right. If the incoming amplitudes from the left and right are ordered first, and the outgoing amplitudes toward the left and right second, the One-dimensional S-matrix is
For , the wavefunction is continuous and its derivative has the jumpThe scattering ansatz givesWithwe obtain the scattering by a delta potential amplitudesThey satisfyThereforeso the scattering matrix is unitary.
There are unlisted articles, also show them or only show them.