Solutions Tute 1
Solutions Tute 1
Solutions Tute 1
1. The Catenoid
Consider the integrand F (x, y, y 0 ) = y
p
1 + (y 0 )2 in Eq. (1.5) when y is a function of x.
(a) Determine the Lagrange equation.
(b) There is a first integral; write it down and rearrange to make y 0 the subject.
(c) Solve the first-order differential equation by separating variables and integrating.
1
2. Solution: Dido’s Problem
(a) Since F does not depend on s a first integral is
∂F −2y 0
y0 0
p
0
− F = y y p − y 1 − (y 0 )2 = C
∂y 2 1 − (y 0 )2
Rearranging gives p
y = −C 1 − (y 0 )2
and solving for y 0 gives the explicit 1st order ODE
p
C 2 − y2
y0 = ± .
C
(b) Separating variables gives Z Z
C dy
p = ± ds.
C 2 − y2
The integral on the left is an inverse trig function so that
y
C sin−1 ( ) = ±(s + D)
C
Thus
s+D
y = ±C sin
C
(c) The boundary conditions give
D
0 = ±C sin
C
and
L+D
0 = ±C sin .
C
All formal solutions are given by D/C = nπ and L/C + nπ = mπ so that C = L/(kπ)
and D = Ln/k for integers n, m, k. But note that D is merely shifting s, so we can choose
D = 0. The simplest solution is k = 1 so that C = Lπ . Choosing |k| > 1 we do not obtain
a positive y for all s ∈ [0, L]. Thus,
L sπ
y= sin
π L
(d) Now
dy sπ
= cos
ds L
Thus from 2
dx dy
+ ( )2 = 1
ds ds
we can determine that
dx sπ
= ± sin
ds L
Thus, by integrating
L sπ
x(s) = ∓
cos + C2
π L
The boundary conditions (and choosing x to be positive) lead to
L sπ L
x(s) = −
cos + .
π L π
There is no endpoint condition on x but instead the x-coordinate of the endpoint of the
optimal curve is determined by x(L) = 2L/π.
2
(e) This is a semicircle of radius Lπ with centre at ( Lπ , 0). The area of the city is L2 /(2π). Notice
that the first integral can now be retrospectively interpreted as the radius of the city. First
integrals often have interesting interpretations.
3. The Catenary
(a) Determine F (x, y, y 0 ) for the integrand in Eq. (1.12) when y is a function of x.
(b) Solve the corresponding Euler-Lagrange equations or the first integral if there is one.
(c) Apply the boundary conditions y = h at both x = −a and x = a to determine the constants
of integration.
3
4. Calculating ds in a different coordinate system
Cylindrical polar coordinates are defined by
x = ρ cos φ
y = ρ sin φ
z = z
x = r sin θ cos φ
y = r sin θ sin φ
z = r cos θ
(a) This is a simple application of the product rule dx = dρ cos φ − ρ sin φdφ.
(b) dy = dρ sin φ + ρ cos φdφ.
(c) Now
dx2 + dy 2 = (dρ cos φ − ρ sin φdφ)2 + (dρ sin φ + ρ cos φdφ)2
The cross terms cancel so
ds2 = (dr sin θ + r cos θdθ)2 + r2 sin2 θdφ2 + (dr cos θ − r sin θdθ)2
which simplifies to the desired result ds2 = dr2 + r2 dθ2 + r2 sin2 θdφ2 .
4
5. Geodesics on the Sphere
The equation of a sphere in spherical polar coordinates is particularly simple: it is r = a, where
a is a constant.
(a) Starting with ds in spherical polar coordinates, write down the simplified form of ds when
r = a is a constant.
(b) Use this expression for ds to write down an integral that represents the distance between
two points connected by a path that lies on the surface of a sphere. Write the integral in
the form where φ is a function of θ.
(c) Write down a first integral for this integrand.
(d) Show that
φ − φ0 = sin−1 [α cot θ]
satisfies the first integral, where φ0 and α are two independent constants.
(e) The equation of a plane through the origin is Ax + By + Cz = 0. Rewrite this equation in
spherical polar coordinates. Rearrange the equation to make it look like the solution above
and find α and φ0 in terms of A, B and C.
(f) Thus give a simple geometric description and method of finding geodesics on a sphere.
5
6. Geodesics in three dimensions
(a)
ds2 = dx2 + dy 2 + dz 2
(b) p
F (x, y, z, y 0 , z 0 ) = 1 + y 02 + z 02 .
y0
p = C1 .
1 + y 02 + z 02
z0
p = C2 .
1 + y 02 + z 02
y 02 z 02 p
p +p − 1 + y 02 + z 02 = C3
1 + y 02 + z 02 1 + y 02 + z 02
(a) Determine the integrand F (t, x, y, ẋ, ẏ) for Eq. (1.6) when both x and y are functions of
some parameter t.
(b) Write down all the first integrals. Are any surprising?
(c) Show that the parametric form of the cycloid given in the text solves these equations.
(d) Find a different pair of functions x(t) and y(t) that also solve the same equations.
(e) Why should this be regarded as the same solution?
6
7. Solution: The Brachistochrone in Parametric Form
(a) p
ẋ2 + ẏ 2
F (t, x, y, ẋ, ẏ) = √
h−y
(b) The integrand is independent of x so
∂F ẋ
=√ p =C
∂ ẋ h − y ẋ2 + ẏ 2
α2 − α2 cos(2t)
p =C
α sin(t) 2α4 − 2α4 cos(2t)
which simplifies to
1 − cos(2t)
p =C
α sin(t) 2 − 2 cos(2t)
or
1
√ =C
α 2
(d) You can let θ equal any function of t and the equations will still be satisfied. This is because
there are an equal number of dots in the top and bottom of the LHS of the first integral.
(e) The parametric form of a curve is not unique, but they all represent the same curve.