Paperia 2 2024
Paperia 2 2024
PAPER 2
Before you begin read these instructions carefully
The examination paper is divided into two sections. Each question in Section II
carries twice the number of marks of each question in Section I. Section II questions
also carry an alpha or beta quality mark and Section I questions carry a beta quality
mark.
Candidates may obtain credit from attempts on all four questions from Section I
and at most five questions from Section II. Of the Section II questions, no more
than three may be on the same course.
Write on one side of the paper only and begin each answer on a separate sheet.
Write legibly; otherwise you place yourself at a grave disadvantage.
STATIONERY REQUIREMENTS
Gold cover sheets
Green main cover sheet
Treasury tag
SECTION I
1A Differential Equations
(a) Find all solutions of the differential equation for y(x)
xyy ′′ − xy ′2 = yy ′ .
2A Differential Equations
A real-valued function f (x) is differentiable on some interval (−a, a). For any
x, y ∈ (−a, a) such that x + y ∈ (−a, a), the equality
f (x) + f (y)
f (x + y) =
1 − f (x)f (y)
holds.
(ii) By considering the definition of the derivative as a limit, or otherwise, show that
there exists a number C such that f ′ (x) = C(1 + f 2 (x)) everywhere on the interval
(−a, a).
(iii) Hence find the most general form of f (x). Also, find f (x) that satisfies f ′ (0) = 2.
3F Probability
(a) State Markov’s inequality. Prove that for any random variable X and any t > 0,
[You may use the fact that the moment generating function MX (t) of a Poisson random
t
variable X with mean λ is eλ(e −1) .]
4F Probability
Let (X1 , X2 ) have a bivariate normal distribution with E(Xi ) = µi , var(Xi ) = σi2
for i = 1, 2 and corr(X1 , X2 ) = ρ.
SECTION II
5A Differential Equations
Let φ1 (x) and φ2 (x) be non-trivial solutions of the equations
φ′′1 + q1 (x)φ1 = 0
and
φ′′2 + q2 (x)φ2 = 0,
where q1 (x) and q2 (x) are continuous functions such that q1 (x) ⩽ q2 (x) for all x.
or otherwise, show that if both φ1 (x) and φ2 (x) are strictly positive on (x1 , x2 ) then
q1 (x) ≡ q2 (x) on (x1 , x2 ).
(ii) Hence prove that between any two consecutive zeroes x1 and x2 of φ1 (x), there
exists at least one zero of φ2 (x), unless q1 (x) ≡ q2 (x) on (x1 , x2 ).
y ′′ + (2 + cos 3x)y = 0
6A Differential Equations
Define the generating function G(x) for a difference equation F (un , un−1 , . . . , u0 ) = 0
as
G(x) = u0 + u1 x + u2 x2 + · · · .
(a) Consider the difference equation un + un−1 − 6un−2 = n for n ⩾ 2. Find the
solution of this equation, given u0 = 0, u1 = 2.
Show that
x
(1 + x − 6x2 )G(x) = x +
(1 − x)2
and use this expression to find the power series expansion of G(x). Verify that this
expansion is consistent with the un determined directly above.
1
[Hint: it may be helpful to note that 1 + 2x + 3x2 + 4x3 + · · · = (1−x)2
.]
(b) Find the generating function G(x) for the difference equation
jnk
un − 2un−1 = , n ⩾ 1, u0 = 1,
2
where ⌊ n2 ⌋ is the greatest integer less than or equal to n
2. Hence solve this equation.
7A Differential Equations
Consider the following system of equations involving two functions, x(t) and y(t):
ẋ = y + kx(x2 + y 2 ),
ẏ = −x + ky(x2 + y 2 ),
where k is a constant.
(i) Show that there exists a function F (x(t), y(t)) (which you should state explicitly in
terms of x(t) and y(t)) such that
dF
= 2kF 2 .
dt
Solve this equation assuming that F = 1 at t = 0.
(ii) Find the equilibrium point of this system and show that the linearised system has
a centre at this point. Taking into account the nonlinear terms, deduce for which
values of k this equilibrium point is stable, and why. Do the trajectories rotate
clockwise or anticlockwise as t increases, and why?
(iii) By changing variables to polar coordinates, via x(t) = r(t) cos θ(t) and y(t) =
r(t) sin θ(t), find f (r) and g(θ) such that
ṙ = f (r),
θ̇ = g(θ).
Integrate these equations to find r(t) and θ(t) if r(0) = 1 and θ(0) = 0.
ẋ = y + x − 2x(x2 + y 2 ),
ẏ = −x + y − 2y(x2 + y 2 ).
8A Differential Equations
The dynamicspof a gas is described by a partial differential equation for the complex
function ψ(x, t) = ρ(x, t) exp[iS(x, t)] as
∂ψ ∂2ψ
−2i = + (1 − |ψ|2 )ψ. (∗)
∂t ∂x2
Let v(x, t) = ∂S/∂x.
(i) Determine the real-valued equations describing the gas dynamics in terms of ρ and
v as
∂ρ ∂A
= ,
∂t ∂x
∂v ∂B ∂C
= + ,
∂t ∂x ∂x
where you should specify the functions A that depends only on ρ and v, B that
depends only on ρ and its derivatives in x, and C that depends only on v.
p
(ii) Write down the ordinary differential equation for a(x) = ρ(x, t) in the case of a
stationary gas (S = constant). What is the constant solution a(x) = d > 0 of this
equation?
(iii) There are solutions of (∗) of the form ψ(x, t) = ψ0 (ξ) where ξ = x − U t with U a
constant satisfying 0 ⩽ U < √12 . Determine the ordinary differential equation that
√
ψ0 (ξ) satisfies if it is known that Im(ψ0 (ξ)) = 2U for all ξ and |ψ0 (ξ)| → d as
ξ → ±∞.
(iv) Plot |ψ0 (ξ)|2 for the solutions when U = 0 and when U = 1/2 as a function of ξ,
and discuss how these solutions evolve in time.
9F Probability
Let S1 , S2 , . . . be independent exponential random variables with means E(Si ) =
1/qi for i = 1, 2, . . .. Let T = min{S1 , S2 , . . . , Sn } and let K be the value of i for which
Si = T .
(ii) Find the distributions of the random variables K and T . Show that K and T are
independent.
[You may use the fact that the moment generating function MX (t) of an exponential
random variable X with mean 1/λ is λ/(λ − t) for t < λ.]
10F Probability
A fair n-sided die is rolled repeatedly so that each roll is independent. We say a
match occurs if the face i appears on the i-th roll.
(i) Find the probability pn that at least one match occurs in the first n rolls. What is
the value of limn→∞ pn ?
Now let Tn be the minimum number of rolls required until all the n faces have appeared
at least once.
[You may use the fact that the variance of a geometric random variable of parameter
p is (1 − p)/p2 .]
11F Probability
Let (Sn : n ⩾ 0) be a simple random walk on Z with S0 = 0 and P(Sn −Sn−1 = 1) = p
and P(Sn − Sn−1 = −1) = q = 1 − p for all n ⩾ 1.
(iii) Let T be the random number of steps taken by the random walk until it first hits
−a or b for some a, b ∈ N. Find E(T ).
(iv) Let Vn be the number of visits to the origin until time n, that is, Vn =
|{0 ⩽ i ⩽ n : Si = 0}|. Using Stirling’s formula or otherwise, prove that there exists
some c > 0 such that √
E(V2n ) ⩾ c n
for all n.
12F Probability
A graph on a set V is a set of some unordered pairs of (distinct) elements of V : we
call these the edges of the graph and the elements of V are called the vertices. The degree
of a vertex is the number of edges that contain it.
We form a random graph with n vertices v1 , v2 , . . . , vn by including the edge vi vj
with probability p for all i ̸= j independently.
We call a vertex isolated if its degree is 0. Let N be the number of isolated vertices.
(v) Find E(N 2 ). Now let p = c log n/n with c < 1. Show that P(N = 0) → 0 as n → ∞.
[You may want to use the inequalities e−x ⩾ 1−x for all x; and for any α > 1, e−αx ⩽ 1−x
for all x ⩾ 0 small enough (depending on α). You may use standard inequalities from
lectures if you state them clearly.]
END OF PAPER