Mathematical Tripos Part IA Michaelmas Term 2022
Differential Equations Prof. Anthony Challinor
Examples Sheet 4
The starred question is intended as an extra: do it only if you have time.
1. Find two independent series solutions about x = 0 of
Copyright © 2022 University of Cambridge. Not to be quoted or reproduced without permission.
4xy ′′ + 2(1 − x)y ′ − y = 0 .
2. Find the two independent series solutions about x = 0 of
y ′′ − 2xy ′ + λy = 0
for a constant λ. Show that for λ = 2n, with n a positive integer, one of the solutions is a
polynomial of degree n. These are the Hermite polynomials relevant for the solution of
the simple harmonic oscillator in quantum mechanics.
3. What is the nature of the point x = 0 with respect to the differential equation
x2 y ′′ − xy ′ + (1 − γx)y = 0 ?
Find a series solution about x = 0 for γ 6= 0 and write down the form of a second,
independent solution. Find two independent solutions of the equation for γ = 0.
4. Bessel’s equation is
x2 y ′′ + xy ′ + (x2 − ν 2 )y = 0 .
For ν = 0, find a solution in the form of a power series about x = 0.
For ν = 1/2, find two independent
√ series solutions about x = 0. Perform also the change
of variables y(x) = z(x)/ x to simplify the equation, solve for z(x) and compare with
the series result.
5. Find the positions and nature of each of the stationary points of
f (x, y) = x3 + 3xy 2 − 3x ,
and draw a rough sketch of the contours of f .
1
6. Find the positions of each of the stationary points of
x−y
f (x, y) = sin sin y
2
in 0 < x < 2π, 0 < y < 2π. By using this information and identifying the zero contours of
f , sketch the contours of f and identify the nature of the stationary points.
7. For the function f (x, y, z) = x2 + y 2 + z 3 − 3z, find ∇f .
(i) What is the rate of change of f (x, y, z) in the outward normal direction for the
cylinder x2 + y 2 = 25 at the point (3, −4, 4)?
Copyright © 2022 University of Cambridge. Not to be quoted or reproduced without permission.
(ii) At which points does ∇f have no component in the z-direction?
(iii) Find and classify the stationary points of f .
(iv) Sketch the contours of f and add to the sketch a few arrows showing the directions
of ∇f .
8. Use matrix methods to solve
y ′ = y − 3z − 6ex , z ′ = y + 5z
for y(x) and z(x) subject to initial conditions y(0) = 1 and z(0) = 0.
9. Consider the linear system
ẋ(t) + Px(t) = z(t) ,
where x(t) and z(t) are 2D vectors, P is a real constant 2 × 2 matrix and z(t) is a given
input. Show that free motion (i.e., z(t) = 0) is purely oscillatory (i.e., no growth or
decay) if and only if Tr(P) = 0 and |P| > 0. [The trace of a square matrix is the sum of
its diagonal elements.]
Consider
ẋ + x − y = cos 2t , ẏ + 5x − y = cos 2t + 2a sin 2t
for various values of the real constant a. For what value(s) of a is there resonance?
[Hint: it might help to write the forcing terms in the form Re(Ae2it ).]
10. Show that the system
ẋ = ex+y − y ,
ẏ = −x + xy
has only one fixed (equilibrium) point. Find the linearized system about this point and
discuss its stability. Draw the phase portrait near the fixed point.
2
11. Use matrix methods to find the general solution of the equations
ẋ = 3x + 2y , ẏ = −5x − 3y . (†)
Sketch the phase-space trajectories in the vicinity of the origin.
∗Show that the set of equations ẋ = Ax, where x(t) is a column vector and A is an n × n
matrix with constant elements, has solutions of the form x = exp(At)x0 , where x0 is a
constant vector and
1 22 1 33
exp(At) ≡ I + At + A t + A t + ··· .
2! 3!
Copyright © 2022 University of Cambridge. Not to be quoted or reproduced without permission.
Use this method to solve equations (†).
Would you expect this method to work if the elements of A are not constant?
12. Carnivorous hunters of population h prey on vegetarians of population p. In the
absence of hunters the prey will increase in number until their population is limited by
the availability of food. In the absence of prey the hunters will eventually die out. The
equations governing the evolution of the populations are
h p
ṗ = p(1 − p) − ph , ḣ = −1 , (∗)
8 b
where b is a positive constant, and h(t) and p(t) are non-negative functions of time t. In
the two cases 0 < b < 1/2 and b > 1 determine the location and the stability properties of
the equilibrium points of (∗). In both of these cases sketch the typical solution
trajectories and briefly describe the ultimate fate of hunters and prey.
13. Consider the change of variables
x = e−s sin t , y = e−s cos t ,
such that u(x, y) = v(s, t).
(i) Use the chain rule to express ∂v/∂s and ∂v/∂t in terms of x, y, ∂u/∂x and ∂u/∂y.
(ii) Find, similarly, an expression for ∂ 2 v/∂t2 .
(iii) Hence transform the equation
∂ 2u ∂ 2u 2
2∂ u
y2 − 2xy + x =0
∂x2 ∂x∂y ∂y 2
into a partial differential equation for v(s, t).
3
14. Solve
∂y ∂y
−2 +y =0
∂t ∂x
2
for y(x, t) given y(x, 0) = ex . [Hint: consider paths in the x–t plane with x = x0 − 2t,
where the constants x0 label the paths.]
15. The function θ(x, t) obeys the diffusion equation
∂θ ∂ 2θ
= .
∂t ∂x2
Find, by substitution, solutions of the form
Copyright © 2022 University of Cambridge. Not to be quoted or reproduced without permission.
θ(x, t) = f (t) exp[−(x + a)2 /(4t + 4b)] ,
where a and b are arbitrary constants and the function f is to be determined.
Hence find a solution that satisfies the initial condition
θ(x, 0) = exp[−(x − 2)2 ] − exp[−(x + 2)2 ]
and sketch its behaviour for t ≥ 0.
16. Solve the partial differential equation
∂ 2u ∂ 2u ∂ 2u
+ 2 + =0 (∗)
∂x2 ∂x∂y ∂y 2
for u(x, y) by making a change of variables as follows. Define new variables
ξ = x−y, η = x,
and evaluate the partial derivatives of x and y with respect to ξ and η. Writing
v(ξ, η) = u(x, y), use these derivatives and the chain rule to show that
∂v ∂u ∂u
= + ,
∂η ∂x ∂y
and that the equation
∂ 2v
=0
∂η 2
is equivalent to (∗).
Deduce that the most general solution of (∗) is
u(x, y) = f (x − y) + xg(x − y) ,
where f and g are arbitrary functions.
Solve (∗) completely given that u(0, y) = 0 for all y, whilst u(x, 1) = x2 for all x.
Comments and corrections may be sent by email to a.d.challinor@ast.cam.ac.uk.