Professional Documents
Culture Documents
1.0 solution
? ?
We minimize
Z x2 Z x2 q
2 2 2
J= ds = (dx) + (dy) + (dz) (1.1)
x1 x1
where dx, dy, and dz, are the differentials of the Cartesian coordinates x, y, and z respectively, and x 1 and x2 correspond
to two fixed positions in the Cartesian space. Since x = x(t), y = y(t), and z = z(t), we have
dx dy dz
dx = dt ≡ x0 dt dy = dt ≡ y 0 dt dz = dt ≡ z 0 dt. (1.2)
dt dt dt
So
Z t2 q Z t2 q
2 2 2
J= (x0 dt) + (y 0 dt) + (z 0 dt) = x0 2 + y 0 2 + z 0 2 dt, (1.3)
t1 t1
where t1 and t2 are the corresponding values of the variable t at positions x1 and x2 . We define the functional
q
f = x0 2 + y 0 2 + z 0 2 (1.4)
where we require that it satisfy the following Euler equations
∂f d ∂f ∂f d ∂f ∂f d ∂f
− =0 − =0 − = 0, (1.5)
∂x dt ∂x0 ∂y dt ∂y 0 ∂z dt ∂z 0
which will make J at least stationary, but we will guess that it’s a minimum. Doing this gives
! ! !
d x0 d y0 d z0
0− p =0 0− p =0 0− p = 0, (1.6)
dt x0 2 + y 0 2 + z 0 2 dt x0 2 + y 0 2 + z 0 2 dt x0 2 + y 0 2 + z 0 2
which gives
x0 y0 z0
p = C1 p = C2 p = C3 , (1.7)
x0 2 + y 0 2 + z 0 2 x0 2 + y 0 2 + z 0 2 x0 2 + y 0 2 + z 0 2
where C1 , C2 , and C3 , are constants of integration. We may rewrite equations 1.7 as
x0 y0 z0
q q q
= x0 2 + y 0 2 + z 0 2 = x0 2 + y 0 2 + z 0 2 = x0 2 + y 0 2 + z 0 2 . (1.8)
C1 C2 C3
So
x0 y0 z0 1 dx 1 dy 1 dz 1 1 1
= = ⇒ dt = dt = dt ⇒ dx = dy = dz, (1.9)
C1 C2 C3 C1 dt C2 dt C3 dt C1 C2 C3
which may be integrated to give
1 1 1 1 1 1
Z Z Z
dx = dy = dz ⇒ x + C4 = y + C5 = z + C6 , (1.10)
C1 C2 C3 C1 C2 C3
which is a general equation of a straight line, where the integration constants may be adjusted to fit the line to the end
points.
6 6
HW10: Calculus of Variations, Phys3355,Fall 2005, with solution 2
2 Stationary Integral
Find y(x) such that the following integral is stationary,
Z x2
√
q
J= x 1 + y 0 2 dx, (2.1)
x1
dy
where y 0 ≡ dx .
2.0 solution
? ?
The functional
√
q
f = x 1 + y02 (2.2)
c21 c1 dx
Z
02 02 c1
c21 c21
0
⇒ y x− = ⇒ y = ⇒ y = ±p ⇒ y=± (2.5)
x − c21
p
x− c21 x − c21
d x − c21
Z q
⇒ y = ±c1 p ⇒ y = ±2c1 x − c21 + c2 , (2.6)
x − c21
where c2 is another integration constant.
6 6
3.1 solution
? ?
The length of the line using cylindrical coordinates (r, φ, z) can be written as
Z q Z q
2 2 2 2 2
J= (dr) + (r dφ) + (dz) = (Rdφ) + (dz) (3.1)
HW10: Calculus of Variations, Phys3355,Fall 2005, with solution 3
where the integration limits are at two points on the cylinder, and we have imposed the equation of a cylinder r = R,
where R is the constant radius of the cylinder. Since we only have two variables, z and φ, we can choose that the z is the
dependent variable, and φ is the independent variable giving
s 2 Z p
dz
Z
J= (R dφ)2 + dφ = R2 + z 0 2 dφ, (3.2)
dφ
dz
where z 0 ≡ dφ . We make J stationary with Euler’s equation,
∂f d ∂f
− =0 (3.3)
∂z dφ ∂z 0
where
p
f= R2 + z 0 2 . (3.4)
This gives
!
d z0 z0
0− p =0 ⇒ p = c1 , (3.5)
dφ R2 + z 0 2 R2 + z 0 2
where c1 is a constant of integration. Solving for z we get
p 2
2
2 c1 R
z 0 = c1 R2 + z 0 2 ⇒ z 0 = c21 R2 + z 0 ⇒ z 0 1 − c21 = c21 R2
⇒ z0 = p
1 − c21
Z Z Z
0 c1 R c1 R c1 R
⇒ z dφ = p dφ ⇒ dz = p φ + c2 ⇒ z=p φ + c2 , (3.6)
1 − c21 1 − c21 1 − c21
which is an equation of a helix.
6 6
3.2 solution
? ?
The length of the line using cylindrical coordinates (r, φ, z) can be written as
Z q Z q
2 2 2 2 2
J= (dr) + (r dφ) + (dz) = (Rdφ) + (dz) (3.7)
where the integration limits are at two points on the cylinder, and we have imposed the equation of a cylinder r = R,
where R is the constant radius of the cylinder. Given that φ(t), and z(t) are dependent on an independent variable t we
have
s 2 2 Z q
dφ dz
Z
J= R dt + dt = R2 φ0 2 + z 0 2 dt, (3.8)
dt dt
dz dφ
where z 0 ≡ dt , and φ0 ≡ dt . We make J stationary (minimum) with the Euler equations,
∂f d ∂f ∂f d ∂f
− =0 − =0 (3.9)
∂z dt ∂z 0 ∂φ dt ∂φ0
HW10: Calculus of Variations, Phys3355,Fall 2005, with solution 4
where
q
f= R 2 φ0 2 + z 0 2 . (3.10)
This gives
!
d z0 z0 z0
q
0− p =0 ⇒ p = c1 ⇒ = R 2 φ0 2 + z 0 2 , (3.11)
dt R 2 φ0 2 + z 02 R 2 φ0 2 + z 02 c1
and
!
d R 2 φ0 R 2 φ0 R 2 φ0
q
0− p =0 ⇒ p = c2 ⇒ = R 2 φ0 2 + z 0 2 , (3.12)
dt R 2 φ0 2 + z 0 2 R 2 φ0 2 + z 0 2 c2
where c1 and c2 are constants of integration. Subtracting the last equation in 3.12 from the last equation in 3.11 gives
z0 R 2 φ0 1 0 1 2 0 1 1 2
Z Z
c1 2
− =0 ⇒ z dt = R φ dt ⇒ dz = R dφ ⇒ z= R φ + c3 , (3.13)
c1 c2 c1 c2 c1 c2 c2
6 6
3.3 solution
? ?
The length of the line using cylindrical coordinates (r, φ, z) can be written as
Z q
2 2 2
J= (dr) + (r dφ) + (dz) (3.14)
where the integration limits are at two points on the cylinder. Given that r(t), φ(t), and z(t) are dependent on an
independent variable t we have
s 2 2 2 Z q
dr dφ dz
Z
J= dt + r dt + dt = r0 2 + r2 φ0 2 + z 0 2 dt (3.15)
dt dt dt
dr dφ dz
where r0 ≡ dt , φ0 ≡ dt , and z 0 ≡ dt . We make J stationary (minimum) with the Euler equations,
∂f d ∂f ∂g ∂f d ∂f ∂g ∂f d ∂f ∂g
− + λ(t) =0 − + λ(t) =0 − + λ(t) =0 (3.16)
∂r dt ∂r0 ∂r ∂φ dt ∂φ0 ∂φ ∂z dt ∂z 0 ∂z
where λ(t) is the Lagrange undetermined multiplier,
q
f = r 0 2 + r 2 φ0 2 + z 0 2 , (3.17)
and we have the equation of constraint g(r) = r − R = 0, where R is the constant radius of the cylinder. The equation of
constraint g(r) makes solving for r(t) trivial, giving r(t) = R and r 0 = 0. The Euler equations for φ and z give
!
d R 2 φ0 R 2 φ0 R 2 φ0
q
0− p +0=0 ⇒ p = c1 ⇒ = R 2 φ0 2 + z 0 2 , (3.18)
dt R 2 φ0 2 + z 0 2 R 2 φ0 2 + z 0 2 c1
HW10: Calculus of Variations, Phys3355,Fall 2005, with solution 5
and
!
d z0 z0 z0
q
0− p +0=0 ⇒ p = c2 ⇒ = R 2 φ0 2 + z 0 2 , (3.19)
dt R 2 φ0 2 + z 02 R 2 φ0 2 + z 02 c2
where c1 and c2 are constants of integration. Subtracting the last equation in 3.18 from the last equation in 3.19 gives
z0 R 2 φ0 1 0 1 2 0 1 1 2
Z Z
c2 2
− =0 ⇒ z dt = R φ dt ⇒ dz = R dφ ⇒ z= R φ + c3 , (3.20)
c2 c1 c2 c1 c2 c1 c1
6 6
4.0 solution
? ?
We minimize
Z x2 Z x2 q Z x2 q
J= 2πyds = 2π y (dx)2 + (dy)2 = 2π y 1 + y 0 2 dx (4.1)
x1 x1 x1
dy
where y 0 ≡ dx . For J to be a minimum, J must be stationary. J will be stationary if
q
f ≡y 1 + y02 (4.2)
2 2
2 2 2 2
1 + y0 − yy 00 1 + y 0 − y 0 1 + y 0 + yy 0 y 00 = 0 (4.5)
2 4 2 2 4 2
⇒ 1 + 2y 0 + y 0 − yy 00 − yy 0 y 00 − y 0 − y 0 + yy 0 y 00 = 0 (4.6)
02 02
⇒ 1 + y − yy 00 = 0 ⇒ 1+y = yy 00 . (4.7)
0
Assuming that y can be expressed as a function of y we get,
dy 0 dy 0 dy dy 0 0
y 00 = = = y. (4.8)
dx dy dx dy
HW10: Calculus of Variations, Phys3355,Fall 2005, with solution 6
Therefore
0 0 0 Z d 1 + y02
dy 0 dy y dy dy 1 1
Z
2 2
1 + y0 = y y ⇒ = ⇒ = ⇒ ln y = ln 1 + y 0 + c1 , (4.9)
dy y 1 + y02 y 2 1+y 02 2
where C1 ≡ ec1 . So
q
2 2 2
y = C1 1 + y 0 2 ⇒ y 2 = C12 1 + y 0 ⇒ y 2 = C12 + C12 y 0 ⇒ y 2 − C12 = C12 y 0 (4.11)
y 0 dx
q
⇒ y 2 − C12 = C1 y 0 ⇒ dx = C1 p (4.12)
y 2 − C12
dy
Z Z
y x − C2
⇒ dx = C1 p ⇒ x = C1 cosh−1 + C2 ⇒ y(x) = cosh . (4.13)
y2 − C12 C1 C1
If we used the second form of Euler’s equation,
∂f d ∂f
− f − y0 0 = 0 (4.14)
∂x dx ∂y
which is the same as the first equation in 4.11. So the result will be the same and we see this way is a little quicker.
6 6
5.0 solution
? ?
Let ρ be the linear mass density of the cable. Letting gravity act in the minus y direction, the gravitational poten-
tial energy of the cable is
Z x2 Z x2 Z x2 q
J= (dm) gy = (ρ ds) gy = ρg y 1 + y 0 2 dx. (5.1)
x1 x1 x1
HW10: Calculus of Variations, Phys3355,Fall 2005, with solution 7
The constraint that the cable has a total length l can be written as
Z x2 Z x2 q
l= ds = 1 + y 0 2 dx. (5.2)
x1 x1
p p
We set f = y 1 + y 0 2 and g = 1 + y 0 2 so for J to be a minimum, it must be stationary, and so (from equation 6.78 in
Thorton and Marion)
∂f d ∂f ∂g d ∂g
− +λ − =0 (5.3)
∂y dx ∂y 0 ∂y dx ∂y 0
1 y 00
⇒ p − (y + λ) 32 = 0 (5.4)
1 + y02 1 + y02
3
2 2
Multiplying by 1 + y 0 gives
2 2 2 dy 0 0
⇒ 1 + y 0 − (y + λ) y 00 = 0 ⇒ 1 + y 0 = (y + λ) y 00 ⇒ 1 + y 0 = (y + λ) y
dy
Z d 1 + y02
dy y 0 dy 0 dy y 0 dy 0 d (y + λ) 1
Z Z Z
⇒ = ⇒ = ⇒ = . (5.5)
y+λ 1 + y02 y+λ 1 + y02 y+λ 2 1 + y02
We note that we just solved an equation like this from the previous problem in 4.9, but with y + λ → y, and so the
solution, from equation 4.13, is
x − C2 x − C2
y + λ = cosh ⇒ y(x) = −λ + cosh , (5.6)
C1 C1
6 6