Jump to content

Hamilton's principle/Applications/The brachistochrone: Difference between revisions

From The Invariance Itself
Pipe internal links so cross-references read as titles, not paths
Remove phrase duplicated by the piped link
 
Line 39: Line 39:
\qquad\qquad\mathrm{(3)}</math>
\qquad\qquad\mathrm{(3)}</math>


<math>L</math> contains no explicit <math>x</math>. The Beltrami identity of
<math>L</math> contains no explicit <math>x</math>. [[Hamilton's principle/Mathematics/The Beltrami identity|The Beltrami identity]] therefore applies:
[[Hamilton's principle/Mathematics/The Beltrami identity|the Beltrami identity]] therefore applies:


:<math>L - y'\,\frac{\partial L}{\partial y'} = C_1
:<math>L - y'\,\frac{\partial L}{\partial y'} = C_1

Latest revision as of 05:15, 16 September 2026

The brachistochrone is the curve of fastest descent: given two points at different heights, find the wire along which a bead sliding without friction under gravity travels from one to the other in the least time. Johann Bernoulli posed it as a challenge in 1696, and the problem is conventionally taken as the birth of the calculus of variations.

The answer is a cycloid, and this page derives it.

Setting up the functional

The brachistochrone as a cycloid.

Place the start at the origin and let y increase downward, so gravity is in the direction of increasing y. The bead starts from rest. Energy conservation gives its speed after falling a height y:

12mv2=mg0y⟹v=2g0y(1)

The time to traverse an element of arc ds is ds/v, and ds=1+y'2dx, so the total time is

J[y]=∫0x11+y'22g0ydx(2)

Note the sign convention doing work here. Measuring y downward makes the integrand real and positive without an extra minus sign, and it is why the brachistochrone is conventionally drawn upside down.

Solving

The constant 2g0 does not affect the extremals, so take

L=1+y'2y(3)

L contains no explicit x. The Beltrami identity therefore applies:

L−y′∂L∂y′=C1(4)

Compute the derivative:

∂L∂y′=y′y1+y'2(5)

so the left side of (4) is

1+y'2y−y'2y1+y'2=(1+y'2)−y'2y1+y'2=1y1+y'2(6)

The same collapse as in the catenary on the Beltrami identity: the numerator simplifies to a constant. Setting (6) equal to C1 and squaring,

y(1+y'2)=k2,k2=1/C12(7)

Equation (7) is the brachistochrone equation. A second-order problem has become a first-order separable one in six lines.

Integrating

Solve (7) for the slope:

y′=k2−yy(8)

and separate:

dx=yk2−ydy(9)

The substitution that works is

y=k2sin2(θ2)=k22(1−cos⁡θ)(10)

chosen because it makes the radicand a perfect square: k2−y=k2cos2(θ/2). Then dy=k2sin⁡(θ/2)cos⁡(θ/2)dθ, and (9) becomes

dx=sin⁡(θ/2)cos⁡(θ/2)⋅k2sin⁡(θ2)cos⁡(θ2)dθ=k2sin2(θ2)dθ=k22(1−cos⁡θ)dθ(11)

which integrates immediately. Writing a=k2/2 and taking x=0 at θ=0,

x=a(θ−sin⁡θ),y=a(1−cos⁡θ)(12)

Equations (12) are the parametric equations of a cycloid — the curve traced by a point on the rim of a circle of radius a rolling along the underside of the horizontal axis.

Fixing the constants

a and the final parameter value θ1 are fixed by requiring the curve to pass through (x1,y1):

x1y1=θ1−sin⁡θ11−cos⁡θ1(13)

Equation (13) is transcendental in θ1 and is solved numerically; a then follows from either equation of (12). The right-hand side of (13) increases monotonically from 0 at θ1=0, so a solution exists and is unique for any endpoint below and to the right of the start.

The descent time

Substituting (12) into (2) gives a result worth having. With ds=a2(1−cos⁡θ)dθ and v=2g0a(1−cos⁡θ), the integrand reduces to the constant a/g0 and

t=ag0θ1(14)

The integrand being constant is the tautochrone property: the bead's angular parameter advances uniformly in time. Huygens had found in 1659 that the cycloid is the curve on which a bead reaches the bottom in a time independent of where it starts, and (14) is that result. The curve of fastest descent and the curve of equal-time descent are the same curve, discovered independently thirty-seven years apart.

Two features that surprise

The curve dips below the endpoint. When x1 is large relative to y1, the solution has θ1>π and the cycloid descends past y1 before rising to meet it. Going down first buys speed that more than repays the extra distance. No local reasoning gives this; it comes out of the integration.

The initial descent is vertical. As θ→0, (12) gives x∼aθ3/6 and y∼aθ2/2, so y′→∞. The bead drops straight down at the start, which is exactly what (1) demands: at y=0 the speed is zero, and the only way to keep the time integral finite is to leave that point as fast as possible.

Is it a minimum?

The derivation shows only that the cycloid is stationary. Applying the conditions of the sufficiency track:

Ly′y′=y−1/2(1+y'2)−3/2>0 for y>0, so the strengthened Legendre condition of the Legendre condition holds on the open interval. The cycloidal extremals through the origin do not refocus before θ=2π, so there is no conjugate point in range and the Jacobi condition of the Jacobi condition and conjugate points holds. The cycloid is therefore a weak local minimum, and with the excess function positive it is a strong one.

The endpoint y=0 is singular: L is not differentiable there and P→∞. The problem is an improper integral at that end, and a rigorous treatment excises a neighbourhood and takes a limit. This is noted rather than performed.

Provenance: the attributions to Johann Bernoulli 1696 and Huygens 1659 are editorial. No primary source for either has been verified for this volume; see Sources. Every equation on this page is derived here and none is transcribed from a source.

Next

the catenary works the constrained companion problem.

References