Codex Wiki OurBigBook logoOurBigBook.comSite Source code
past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2025/ib/paper-4.bigb
= Paper 4
{scope}

https://www.maths.cam.ac.uk/undergrad/pastpapers/files/2025/paperib_4_2025.pdf

= 1F
{parent=Paper 4}
{scope}
{title2=Linear Algebra}

= Solution
{parent=1f}

The dual space $V^*$ is the <vector space> of <linear maps> $V\to\mathbb F$. If $B=(v_1,\ldots,v_n)$, its dual family satisfies $v_i^*(v_j)=\delta_{ij}$. Every functional $f$ obeys
$$f=\sum_i f(v_i)v_i^*,$$
so the family spans; evaluation on each $v_j$ proves linear independence. Thus it is a <basis> without any prior dimension argument.

For $p=a+bt+ct^2$,
$$f_0(p)=a,\quad f_1(p)=a+b/2+c/3,\quad f_2(p)=a-b/2+c/3.$$
The <basis> dual to $(f_0,f_1,f_2)$ is
$$p_0=1-3t^2,\qquad p_1=t+\frac32t^2,\qquad p_2=-t+\frac32t^2,$$
as direct substitution gives $f_i(p_j)=\delta_{ij}$. Hence the three functionals form a <basis> of $P_2^*$.

Solved by gpt-5.6-sol high.

= 2G
{parent=Paper 4}
{scope}
{title2=Analysis and Topology}

= Solution
{parent=2g}

A contraction satisfies $d(Tx,Ty)\le qd(x,y)$ for some $0\le q<1$. Starting from $x_0$, define $x_{k+1}=Tx_k$. The geometric bound on successive distances makes $(x_k)$ Cauchy, so completeness gives a <limit> $x$. Continuity of $T$ gives $Tx=x$. If $Ty=y$, then $d(x,y)\le qd(x,y)$, hence $x=y$. This is the <contraction mapping theorem>.

If $T^n$ is a contraction, it has a unique fixed point $x$. Since $T^n(Tx)=T(T^nx)=Tx$, the point $Tx$ is also fixed by $T^n$, so uniqueness gives $Tx=x$. Every fixed point of $T$ is fixed by $T^n$, so it too must equal $x$. Thus $T$ has exactly one fixed point.

Solved by gpt-5.6-sol high.

= 3E
{parent=Paper 4}
{scope}
{title2=Complex Analysis}

= Solution
{parent=3e}

The local <maximum modulus principle> says that if $|f|$ has a local maximum at an interior point of a connected domain, then $f$ is constant. On a small circle about the maximum, the mean-value property and
$$|f(z_0)|\le\frac1{2\pi}\int|f(z_0+re^{it})|dt\le|f(z_0)|$$
force equality everywhere. Equality in the triangle inequality makes the boundary values identical; Cauchy's formula then makes $f$ constant locally, and the identity theorem makes it constant on the domain.

Write $f=u+iv$. The hypothesis gives $u-v\le0$. Therefore
$$|e^{(1+i)f(z)}|=e^{u-v}\le1,$$
with equality at zero. The local maximum <modulus> principle makes the exponential constant. <Differentiation> then gives $f'=0$, so $f$ is constant; since $f(0)=0$, it is identically zero.

Solved by gpt-5.6-sol high.

= 4C
{parent=Paper 4}
{scope}
{title2=Quantum Mechanics}

= Solution
{parent=4c}

Separation with Dirichlet walls gives
$$\Psi_{n_xn_yn_z}=\sin\frac{n_x\pi x}{a}\sin\frac{n_y\pi y}{b}\sin\frac{n_z\pi z}{c},$$
$$E_{n_xn_yn_z}=\frac{\hbar^2\pi^2}{2m}\left(\frac{n_x^2}{a^2}+\frac{n_y^2}{b^2}+\frac{n_z^2}{c^2}\right),\qquad n_x,n_y,n_z\ge1.$$
For $a<b<c$, the <ground state> $(1,1,1)$ has a <nondegenerate energy eigenvalue>[nondegenerate] energy. The cheapest <excited state>[excitation] changes the <quantum number> in the longest direction, so the <first excited state> $(1,1,2)$ also has a nondegenerate energy.

If $a<b=c$, the ground-state energy remains <nondegenerate energy eigenvalue>[nondegenerate], but $(1,2,1)$ and $(1,1,2)$ have equal first-excited energy, giving <state degeneracy>[degeneracy] two.

Solved by gpt-5.6-sol high.

= 5B
{parent=Paper 4}
{scope}
{title2=Electromagnetism}

= Solution
{parent=5b}

In vacuum, curl <Faraday's law> and use $\nabla\cdot E=0$ and the <Ampère-Maxwell equation> to obtain
$$\nabla^2E-\frac1{c^2}\partial_t^2E=0,\qquad c=(\mu_0\varepsilon_0)^{-1/2}.$$
The plane wave solves this when $\omega=c|k|$ and $k\cdot E_0=0$. <Faraday's law> gives
$$B=\operatorname{Re}\left(\frac{k\times E_0}{\omega}e^{i(k\cdot x-\omega t)}\right).$$

For the stated wave, propagation is along $+x$ and polarization is $(0,1,1)/\sqrt2$. Thus
$$B=\frac{E_0}{c}(0,-1,1)\frac{\cos(kx-\omega t)}{\sqrt2},$$
$$S=\frac{E_0^2}{\mu_0c}\cos^2(kx-\omega t)e_x,\qquad
\langle S\rangle=\frac{E_0^2}{2\mu_0c}e_x.$$
The <Poynting vector> is electromagnetic energy flux, and its average is the wave intensity.

Solved by gpt-5.6-sol high.

= 6A
{parent=Paper 4}
{scope}
{title2=Numerical Analysis}

= a
{parent=6a}
{scope}

= Solution
{parent=a}

Exactness for $1$ and $x$ gives
$$a_0+a_1=\frac12,\qquad a_0x_0+a_1x_1=\frac13.$$
Hence
$$a_0=\frac{x_1/2-1/3}{x_1-x_0},\qquad
a_1=\frac{1/3-x_0/2}{x_1-x_0}.$$

Solved by gpt-5.6-sol high.

= b
{parent=6a}
{scope}

= Solution
{parent=b}

A two-node Gaussian rule is exact through degree three, the maximal degree $2n-1$. Its nodes are the zeros of the monic quadratic orthogonal to $1,x$ for weight $x$ on $[0,1]$. Writing it as $p=x^2+ux+v$ gives
$$\int_0^1px\,dx=0,\qquad\int_0^1px^2\,dx=0,$$
so $u=-6/5$, $v=3/10$. Therefore
$$x_0=\frac35-\frac{\sqrt6}{10},\qquad
x_1=\frac35+\frac{\sqrt6}{10}.$$

Solved by gpt-5.6-sol high.

= 7H
{parent=Paper 4}
{scope}
{title2=Markov Chains}

= a
{parent=7h}
{scope}

= Solution
{parent=a}

The communicating classes are $\{1,3\}$ and $\{2,4\}$. The first is open because state 3 can enter 4 and cannot return; the second is closed.

Solved by gpt-5.6-sol high.

= b
{parent=7h}
{scope}

= Solution
{parent=b}

On the closed class, the transition <matrix> is
$$\begin{pmatrix}1/3&2/3\\1/4&3/4\end{pmatrix}.$$
Its <stationary distribution> is $(3/11,8/11)$. The class is irreducible and aperiodic because of its self-loops, while the other class is transient and enters it almost surely. Hence
$$\lim_{n\to\infty}P^n=
\begin{pmatrix}
0&3/11&0&8/11\\0&3/11&0&8/11\\0&3/11&0&8/11\\0&3/11&0&8/11
\end{pmatrix}.$$

Solved by gpt-5.6-sol high.

= 8F
{parent=Paper 4}
{scope}
{title2=Linear Algebra}

= Solution
{parent=8f}

The symmetric bilinear form associated with a real <quadratic form> $Q$ is obtained by <polarization identity>:
$$phi(u,v)=\frac12\bigl(Q(u+v)-Q(u)-Q(v)\bigr).$$
In coordinates $Q(x)=x^TAx$, replacing $A$ by its symmetric part does not change $Q$, and the formula gives $phi(u,v)=u^TAv$; this proves existence. A symmetric form is positive semidefinite when $phi(v,v)\geq0$ for every $v$, and positive definite when the inequality is strict for every $v\ne0$.

The diagonalization theorem for real quadratic forms says that some <basis> puts any symmetric form into
$$x_1^2+\cdots+x_p^2-y_1^2-\cdots-y_q^2,$$
with $r$ further zero coordinates. <Sylvester's law of inertia> says that $(p,q,r)$ is independent of the diagonalizing <basis>. To prove this, let $P$ be the span of the positive coordinate <vectors> and let $N\oplus Z$ be the span of the negative and zero <vectors>. If $P'$ is positive definite for another diagonalization and $\dim P'>p$, then
$$\dim P'+\dim(N\oplus Z)>(p+q+r),$$
so the two spaces intersect nontrivially. A <vector> in the intersection would have both positive and nonpositive square, a contradiction. Thus $p'\leq p$; symmetry gives $p=p'$. Applying the same argument to $-\phi$ gives $q=q'$, and then $r=r'$.

For the <nondegenerate bilinear form>[nondegenerate form] on $V$, write its <inertia of a bilinear form>[inertia] as $(p,q,0)$, so $p+q=2n$. The restriction vanishes identically on $E$: <polarization identity>[polarization] gives $phi(u,v)=0$ for $u,v\in E$. Projection of $E$ to the positive coordinate space is <injective function>[injective], since a <vector> with zero positive projection cannot be <isotropic vector>[isotropic] unless it is zero. Hence $k\leq p$; projection to the negative space likewise gives $k\leq q$. Therefore $k\leq\min(p,q)\leq n$.

The <matrix> of $l^2$ is $ll^T$. If $l\ne0$, it has rank one and inertia $(1,0,n-1)$, hence signature one; if $l=0$, its rank and signature are zero. The coefficientwise product $(l^2,s^2)$ has <matrix> $tt^T$, where $t_i=l_is_i$, so it has the same rank-one conclusion when $t\ne0$ and is zero otherwise.

Finally, diagonalization writes every positive semidefinite form as a sum of squares, say $f=\sum_a l_a^2$ and $g=\sum_b s_b^2$. Bilinearity of coefficientwise multiplication gives
$$ (f,g)=\sum_{a,b}(l_a^2,s_b^2),$$
a sum of positive semidefinite rank-at-most-one forms. Thus $(f,g)$ is positive semidefinite.

Solved by gpt-5.6-sol high.

= 9E
{parent=Paper 4}
{scope}
{title2=Groups, Rings and Modules}

= a
{parent=9e}
{scope}

= i
{parent=a}
{scope}

= Solution
{parent=i}

If $M$ is irreducible and $m\ne0$, the image $Rm$ is a nonzero submodule, hence $Rm=M$ and the map is onto. Conversely, if every nonzero $m$ is cyclic and $N\leq M$ is nonzero, choose $m\in N\setminus\{0\}$. Then $M=Rm\subseteq N$, so $N=M$ and $M$ is irreducible.

Solved by gpt-5.6-sol high.

= ii
{parent=a}
{scope}

= Solution
{parent=ii}

The annihilator $I=\operatorname{Ann}_R(M)$ is an <ideal>. For $r\notin I$, choose $m$ with $rm\ne0$. Irreducibility and part (i) give $s\in R$ such that $srm=m$. The element $(sr-1)$ therefore kills the generator $m$, and hence all of $M$; thus $sr-1\in I$. Every nonzero class in $R/I$ consequently has an inverse, so $R/I$ is a field.

Solved by gpt-5.6-sol high.

= b
{parent=9e}
{scope}

= i
{parent=b}
{scope}

= Solution
{parent=i}

Make $V$ a $k[x]$-module by $xv=\varphi(v)$. The structure theorem over the Euclidean domain $k[x]$ decomposes its torsion module as
$$V\cong\bigoplus_\alpha k[x]/(p_\alpha^{e_\alpha}),$$
where the $p_\alpha$ are monic irreducibles. Each summand is indecomposable: its submodules form a chain, so two nonzero submodules cannot form a direct sum. This is the desired decomposition into invariant indecomposable subspaces.

The <characteristic polynomial> is
$$\chi_\varphi(x)=\prod_\alpha p_\alpha(x)^{e_\alpha},$$
whereas the <minimal polynomial> is the least common multiple
$$m_\varphi(x)=\operatorname{lcm}_\alpha p_\alpha(x)^{e_\alpha}.$$

Solved by gpt-5.6-sol high.

= ii
{parent=b}
{scope}

= Solution
{parent=ii}

The prime <ideals> of $\mathbb R[x]$ are $(0)$ and the maximal <ideals> generated by the monic irreducibles
$$x-a\quad(a\in\mathbb R),\qquad (x-a)^2+b^2\quad(a\in\mathbb R, b>0).$$
For a nonzero prime $I=(p)$, use the residue classes of $1,x,\ldots,x^{N-1}$, where $N=n\deg p$. Multiplication by $x$ on $\mathbb R[x]/(p^n)$ is represented by the <companion matrix> of the monic <polynomial> $p^n$. In particular, for $p=x-a$ this may equivalently be written as one size-$n$ <Jordan block> with <eigenvalue> $a$. The <ideal> $(0)$ does not give a finite-dimensional quotient.

Solved by gpt-5.6-sol high.

= iii
{parent=b}
{scope}

= Solution
{parent=iii}

The upper-left block has characteristic and minimal <polynomial> $(x^2+1)^2$, while the lower-right block has characteristic and minimal <polynomial> $x^2+1$. Hence the corresponding module is
$$\mathbb R[x]/((x^2+1)^2)\oplus\mathbb R[x]/(x^2+1).$$
In the power <bases> from part (ii), an explicit normal form is
$$
\begin{pmatrix}
0&0&0&-1&0&0\\
1&0&0&0&0&0\\
0&1&0&-2&0&0\\
0&0&1&0&0&0\\
0&0&0&0&0&-1\\
0&0&0&0&1&0
\end{pmatrix},
$$
the direct sum of the companion <matrices> of $(x^2+1)^2$ and $x^2+1$.

Solved by gpt-5.6-sol high.

= 10G
{parent=Paper 4}
{scope}
{title2=Analysis and Topology}

= Solution
{parent=10g}

A map $f:\mathbb R^n\to\mathbb R^m$ is <differentiable> at $x$ if there is a <linear map> $L$ such that
$$f(x+h)=f(x)+Lh+o(\lVert h\rVert);$$
then $Df|_x=L$. The <inverse function theorem> says that if $f$ is continuously <differentiable> near $x$ and $Df|_x$ is invertible, then $f$ restricts to a $C^1$ diffeomorphism between neighborhoods of $x$ and $f(x)$.

Since $F(A)=A^TA$ is <polynomial>,
$$DF|_A(H)=H^TA+A^TH.$$
Thus $\ker DF|_I=T$, the space of skew-symmetric <matrices>.

Define
$$\Phi(A)=A^TA+A-A^T-I.$$
Then $D\Phi|_I(H)=2H$, so the inverse <function> theorem supplies open neighborhoods $I\in U$, $0\in V$ on which $\Phi:U\to V$ is a $C^1$ diffeomorphism. Its symmetric part is $A^TA-I$ and its skew part is $A-A^T$. Consequently
$$\Phi(A)\in T\iff A^TA=I,$$
and therefore $\Phi(U\cap\mathcal O)=V\cap T$.

For any $R\in\mathcal O$, left multiplication $A\mapsto R^TA$ is a homeomorphism preserving $\mathcal O$ and carrying $R$ to $I$. Transporting the preceding chart gives a neighborhood of $R$ in $\mathcal O$ homeomorphic to an open subset of $T$.

Solved by gpt-5.6-sol high.

= 11E
{parent=Paper 4}
{scope}
{title2=Geometry}

= a
{parent=11e}
{scope}

= Solution
{parent=a}

The disc model is
$$D=\{z:|z|<1\},\qquad g_D=\frac{4|dz|^2}{(1-|z|^2)^2},$$
and the upper half-plane model is
$$\mathfrak h=\{x+iy:y>0\},\qquad g_{\mathfrak h}=\frac{dx^2+dy^2}{y^2}.$$
The Cayley map
$$C(z)=i\frac{1+z}{1-z}$$
maps $D$ bijectively to $\mathfrak h$. Since $C'(z)=2i/(1-z)^2$ and $\operatorname{Im}C(z)=(1-|z|^2)/|1-z|^2$, direct substitution gives $C^*g_{\mathfrak h}=g_D$.

Representing $C$ by $K=\begin{pmatrix}i&i\\-1&1\end{pmatrix}$, the disc isometry corresponding to $g=\begin{pmatrix}a&b\\c&d\end{pmatrix}$ is represented, up to a nonzero <scalar>, by
$$K^{-1}gK=\frac12\begin{pmatrix}
a+d+i(b-c)&a-d-i(b+c)\\
a-d+i(b+c)&a+d-i(b-c)
\end{pmatrix}.$$

Solved by gpt-5.6-sol high.

= b
{parent=11e}
{scope}

= Solution
{parent=b}

A <hyperbolic triangle> is bounded by three hyperbolic geodesic segments or rays. Its vertices may lie in the hyperbolic plane; an <ideal vertex> is their endpoint on the boundary at infinity. Every <ideal> angle is zero. <Gauss-Bonnet theorem> with curvature $-1$ gives
$$\operatorname{area}(\Delta)=\pi-(\alpha+\beta+\gamma),$$
so an all-ideal triangle has area $\pi$.

For fixed admissible angles, hyperbolic trigonometry determines all three side lengths from the angles, for example
$$\cosh a=\frac{\cos\alpha+\cos\beta\cos\gamma}{\sin\beta\sin\gamma}.$$
Thus two such triangles are congruent. An orientation-preserving isometry can send one chosen vertex and oriented tangent to the corresponding data of the other, and the determined side lengths and angles then send the entire triangle to it. Since the orientation-preserving isometry <group> is $PSL_2(\mathbb R)$, represented by $SL_2(\mathbb R)$, the stated action is transitive.

Solved by gpt-5.6-sol high.

= 12A
{parent=Paper 4}
{scope}
{title2=Complex Methods}

= a
{parent=12a}
{scope}

= Solution
{parent=a}

The Heaviside factor restricts the <integral> to $t\geq\alpha$. With $u=t-\alpha$,
$$\mathcal L\{f(t-\alpha)H(t-\alpha)\}(s)
=\int_\alpha^\infty e^{-st}f(t-\alpha)dt
=e^{-\alpha s}\int_0^\infty e^{-su}f(u)du
=e^{-\alpha s}F(s).$$

Solved by gpt-5.6-sol high.

= b
{parent=12a}
{scope}

= Solution
{parent=b}

Split the transform into periods and translate each interval:
$$\mathcal L\{g\}(s)=\sum_{j=0}^\infty\int_{jT}^{(j+1)T}e^{-st}g(t)dt
=\sum_{j=0}^\infty e^{-sjT}\int_0^T e^{-su}g(u)du.$$
Summing the <geometric series> yields
$$\mathcal L\{g\}(s)=\frac{\mathcal L\{g_T\}(s)}{1-e^{-sT}}.$$

Solved by gpt-5.6-sol high.

= c
{parent=12a}
{scope}

= Solution
{parent=c}

For one period,
$$\int_0^{2\pi}e^{-st}h(t)dt=\int_0^\pi e^{-st}\sin t\,dt
=\frac{1+e^{-\pi s}}{s^2+1}.$$
Part (b), followed by cancellation of $1+e^{-\pi s}$, gives
$$\mathcal L\{h\}(s)=\frac{1}{(s^2+1)(1-e^{-\pi s})}.$$

Solved by gpt-5.6-sol high.

= 13C
{parent=Paper 4}
{scope}
{title2=Variational Principles}

= Solution
{parent=13c}

The Euler--Lagrange equation is
$$2ma^2(1-\cos\phi)\ddot\phi+ma^2\sin\phi\,\dot\phi^2-mga\sin\phi=0.$$
Putting $u=\cos(\phi/2)$ and simplifying gives
$$\ddot u+\omega^2u=0,\qquad \omega^2=\frac{g}{4a}.$$

Since $1-\cos\phi=2(1-u^2)$, $1+\cos\phi=2u^2$, and $\dot u^2=(1-u^2)\dot\phi^2/4$, the transformed functional is
$$\widehat S[u]=\int_0^T(8ma^2\dot u^2-2mga u^2)dt.$$
Its Euler--Lagrange equation is $\ddot u+(g/4a)u=0$, exactly the preceding equation.

For endpoint-vanishing $\eta$, the <second variation> is
$$\delta^2\widehat S(\eta)=16ma^2\int_0^T(\dot\eta^2-\omega^2\eta^2)dt.$$
Writing $\eta=\sum_{n\geq1}c_ne_n$ and using orthonormality gives
$$\delta^2\widehat S=16ma^2\sum_{n\geq1}\left[\left(\frac{n\pi}{T}\right)^2-\omega^2\right]c_n^2.$$
It is positive definite when $T<\pi/\omega$ and has a negative $e_1$ direction when $T>\pi/\omega$. Therefore
$$t_0=\frac\pi\omega=2\pi\sqrt{\frac ag}.$$

Solved by gpt-5.6-sol high.

= 14D
{parent=Paper 4}
{scope}
{title2=Methods}

= Solution
{parent=14d}

Spatial Fourier transformation gives
$$\widetilde u_{tt}+c^2k^2\widetilde u=0,\qquad
\widetilde u(k,0)=\sqrt\pi e^{-k^2/4},\qquad
\widetilde u_t(k,0)=0.$$
Hence
$$\widetilde u(k,t)=\sqrt\pi e^{-k^2/4}\cos(ckt).$$
Inverting and splitting the cosine into exponentials, or applying <D'Alembert formula>, yields
$$u(x,t)=\frac12\left(e^{-(x-ct)^2}+e^{-(x+ct)^2}\right).$$
Thus the initial Gaussian separates into two half-amplitude Gaussian pulses travelling without distortion at speeds $c$ and $-c$.

Solved by gpt-5.6-sol high.

= 15C
{parent=Paper 4}
{scope}
{title2=Quantum Mechanics}

= i
{parent=15c}
{scope}

= Solution
{parent=i}

Here $L_3=-i\hbar(x_1\partial_{x_2}-x_2\partial_{x_1})$. The radial factor and $x_3^n$ are annihilated by the angular <derivative>, while
$$L_3(x_1+ix_2)=\hbar(x_1+ix_2).$$
The product rule therefore gives
$$L_3\chi_{m,n}=m\hbar\chi_{m,n}.$$
Replacing $i$ by $-i$ gives <eigenvalue> $-m\hbar$ for $(x_1-ix_2)^mx_3^nf(r)$.

Solved by gpt-5.6-sol high.

= ii
{parent=15c}
{scope}

= Solution
{parent=ii}

Set $\xi_j=\sqrt{m\omega/\hbar}\,x_j$. Separation into three one-dimensional oscillators gives
$$\Psi_{n_1n_2n_3}=h_{n_1}(\xi_1)h_{n_2}(\xi_2)h_{n_3}(\xi_3)e^{-m\omega r^2/(2\hbar)},$$
$$E_N=\hbar\omega\left(N+\frac32\right),\qquad N=n_1+n_2+n_3.$$
The ground state is
$$E_0=\frac32\hbar\omega,\qquad \Psi_0=e^{-m\omega r^2/(2\hbar)}.$$
The number of triples of nonnegative integers summing to $N$ is
$$\binom{N+2}{2},$$
which is the degeneracy of $E_N$.

Finally,
$$\chi=(x_1+ix_2)^2e^{-m\omega r^2/(2\hbar)}$$
is a pure level-$N=2$ oscillator state: the constant terms in the two degree-two Hermite contributions cancel. Part (i) gives $L_3\chi=2\hbar\chi$, while $N=2$ gives $H\chi=(7/2)\hbar\omega\chi$.

Solved by gpt-5.6-sol high.

= 16D
{parent=Paper 4}
{scope}
{title2=Fluid Dynamics}

= Solution
{parent=16d}

In the fluid region $y>\eta(x)$, incompressibility and <potential flow> give
$$\nabla^2\phi=0,\qquad \nabla\phi\to0\quad(y\to\infty).$$
No penetration through the exact surface gives
$$(-\eta_x,1)\mathbin\cdot(U+\phi_x,\phi_y)=0,\qquad
\phi_y=(U+\phi_x)\eta_x\quad(y=\eta).$$

The condition $hk\ll1$ says the hill slope is small; $|\nabla\phi|\ll U$ says the disturbance <velocity> is small compared with the background wind. Dropping the product $\phi_x\eta_x$ and Taylor-shifting the boundary from $y=\eta$ to $y=0$ therefore gives
$$\phi_y(x,0)=U\eta_x=-Uhk\sin kx.$$
The decaying solution is
$$\phi=Uh e^{-ky}\sin kx.$$

Bernoulli's equation is
$$p+\rho gy+\frac12\rho|Ue_x+\nabla\phi|^2=\text{constant}.$$
To first order on the surface,
$$p=\text{constant}-\rho g\eta-\rho U\phi_x,\qquad
\phi_x(x,0)=Uhk\cos kx.$$
Thus
$$p_{\rm trough}-p_{\rm crest}=2\rho h(g+kU^2).$$
Equivalently, crest minus trough is the negative of this. For $kU^2/g\ll1$, hydrostatic elevation dominates; for $kU^2/g\gg1$, the Bernoulli <pressure> drop caused by faster crest flow dominates.

Solved by gpt-5.6-sol high.

= 17H
{parent=Paper 4}
{scope}
{title2=Statistics}

= a
{parent=17h}
{scope}

= Solution
{parent=a}

The unrestricted maximum-likelihood estimates are $(\bar X,\bar Y)$, while the null fixes both means at zero. Hence
$$-2\log\Lambda=m\bar X^2+n\bar Y^2.$$
Under the null this is $\chi^2_2$, so the size-$\alpha$ <generalized likelihood-ratio test> rejects exactly when
$$m\bar X^2+n\bar Y^2>F_2^{-1}(1-\alpha).$$

Solved by gpt-5.6-sol high.

= b
{parent=17h}
{scope}

= Solution
{parent=b}

Under the null the common-mean estimate is $(m\bar X+n\bar Y)/(m+n)$. Completing squares gives
$$-2\log\Lambda=\frac{mn}{m+n}(\bar X-\bar Y)^2=Z^2,$$
where
$$Z=\sqrt{\frac{mn}{m+n}}(\bar X-\bar Y)\sim N(0,1)$$
under the null. The test rejects when
$$|Z|>\Phi^{-1}(1-\alpha/2).$$

Solved by gpt-5.6-sol high.

= c
{parent=17h}
{scope}

= Solution
{parent=c}

Put $u=\sqrt m\bar X$ and $v=\sqrt n\bar Y$. Test (a) accepts inside the disc
$$u^2+v^2\leq q_2,\qquad q_2=F_2^{-1}(1-\alpha),$$
whereas $Z$ is the projection of $(u,v)$ onto the unit <vector>
$$\left(\sqrt{\frac n{m+n}},-\sqrt{\frac m{m+n}}\right).$$
If $q_1=[\Phi^{-1}(1-\alpha/2)]^2$, then $q_1$ is the corresponding $\chi^2_1$ quantile. Since a $\chi^2_2$ variable is stochastically larger than a $\chi^2_1$ variable, $q_2>q_1$. Choose a point on that unit-vector line with squared radius strictly between $q_1$ and $q_2$. A whole open neighborhood then makes (b) reject while (a) accepts. The joint normal density of $(\bar X,\bar Y)$ is strictly positive everywhere for every true $(\lambda,\mu)$, so this neighborhood always has positive probability.

Solved by gpt-5.6-sol high.

= 18H
{parent=Paper 4}
{scope}
{title2=Optimisation}

= a
{parent=18h}
{scope}

= Solution
{parent=a}

Introduce unrestricted row and column potentials $u_i,v_j$. The dual is
$$\text{maximize }\sum_i u_is_i+\sum_jv_jd_j
\quad\text{subject to }u_i+v_j\leq c_{ij}.$$
Primal and dual feasible solutions are optimal precisely when <complementary slackness> holds:
$$x_{ij}>0\implies u_i+v_j=c_{ij}.$$
Indeed, the primal--dual objective gap is $\sum_{ij}x_{ij}(c_{ij}-u_i-v_j)$, a sum of nonnegative terms.

Solved by gpt-5.6-sol high.

= b
{parent=18h}
{scope}

= Solution
{parent=b}

One of the $m+n$ balance equations is redundant, and the remaining $m+n-1$ have full rank. A nondegenerate <basic feasible solution> therefore has exactly $m+n-1$ positive variables. Equivalently, its positive cells form a spanning tree of the complete bipartite row--column graph.

Solved by gpt-5.6-sol high.

= c
{parent=18h}
{scope}

= Solution
{parent=c}

The northwest-corner rule constructs an initial basic feasible solution: fill the current cell with the smaller remaining supply and demand, delete the exhausted row or column, and continue.

For a current spanning-tree <basis>, solve $u_i+v_j=c_{ij}$ on its occupied cells, fixing one potential to zero. The <reduced cost> of an unoccupied cell is
$$\bar c_{ij}=c_{ij}-u_i-v_j.$$
If all reduced costs are nonnegative, part (a) proves optimality. Otherwise choose a cell with negative reduced cost. Adding its edge to the tree creates a unique even cycle. Mark its cells alternately $+$ and $-$, starting with $+$ at the entering cell, and set
$$\theta=\min\{x_{ij}: (i,j)\text{ is a }-\text{ cell}\}.$$
Add $\theta$ on the plus cells and subtract it on the minus cells. Row and column totals are unchanged, the entering cell becomes positive, and a minimizing minus cell leaves the <basis>. In the nondegenerate case the objective decreases strictly. There are finitely many <bases>, so no <basis> repeats and the algorithm terminates at a <basis> with no negative reduced cost, which is optimal.

Solved by gpt-5.6-sol high.

= d
{parent=18h}
{scope}

= Solution
{parent=d}

With integer supplies and demands, every northwest-corner allocation is integer. At each pivot, $\theta$ is the minimum of finitely many current allocations on the minus cells, so it remains integer; adding and subtracting it preserves integrality. The algorithm therefore reaches an integer-valued optimal solution.

Solved by gpt-5.6-sol high.