Choose the coordinate appearing in the speed law
Let \(y\) increase downwards from the release point, \(x\) increase along the horizontal and \(g\) be uniform. A small frictionless bead conserves mechanical energy, so its speed at depth \(y\) is \(\sqrt{2gy}\). For a track expressed as \(y(x)\) the time element is line element divided by speed. Hence
A straight line has distance \(\sqrt{X^2+Y^2}\) and component of acceleration \(gY/\sqrt{X^2+Y^2}\), giving \(T_{\mathrm{line}}=\sqrt{2(X^2+Y^2)/(gY)}\). The advantage of a steeper early path is to build speed at the part of the trajectory where the bead would otherwise remain slow. A path with a longer distance can take less time because distances at different depths cost different amounts of time.
Use a first integral to remove a differential equation
Write the integrand excluding its constant multiplier as \(F=\sqrt{1+y'^2}/\sqrt y\). Since it contains no explicit \(x\), the Euler–Lagrange equation implies \(F-y'F_{y'}=\) constant. Differentiating this expression with respect to \(x\) shows the cancellation explicitly:
the derivative of the second term removes \(F_{y'}y''\) and leaves \(y'(F_y-dF_{y'}/dx)=0\). Substituting the integrand gives \(y(1+y'^2)=2a\) for some positive length \(a\).
Set \(y=a(1-\cos u)\). On the descending part \(y'=\cot(u/2)\). Integrating \(dx=\tan(u/2)dy\) yields
The signed derivative continues through zero at \(u=\pi\) and produces an ascending segment for \(\pi<u<2\pi\). A track may pass below the final point, then climb towards it while spending speed acquired earlier.
Solve for the actual endpoint and clock reading
Divide the endpoint coordinates to eliminate \(a\). The angle \(u_f\) solves \((u_f-\sin u_f)/(1-\cos u_f)=X/Y\) on the first arch. The ratio starts at zero and increases without bound; bisection gives a robust root for positive finite \(X/Y\). Recover \(a=Y/(1-\cos u_f)\). Along the cycloid \(ds=2a\sin(u/2)du\), while \(v=2\sqrt{ga}\sin(u/2)\). Their ratio is finite even at the cusp where both vanish:
For \(Y=1\) m and \(X=\pi/2\) m, \(u_f=\pi\) and \(a=0.5\) m. The cycloid time is approximately 0.709 s and the straight track needs about 0.841 s. The endpoint is the bottom of this particular cycloid. Increasing the horizontal offset beyond \(\pi Y/2\) makes the first-arch solution turn upwards before it arrives.
Compare two feasible experiments
The graph plots downward depth against horizontal position. Vary endpoint distance and depth, then predict whether the fastest path has an ascending segment. Read the two calculated times. A physical rolling sphere differs from the sliding particle: rotational kinetic energy multiplies the time by a constant factor if the body rolls without slipping with fixed inertia ratio, whereas frictional loss can alter the optimum shape itself. A track with a prescribed minimum bend radius would also define a different variational problem.
Tutorial
Keep track shape geometrically similar and double every length. By which factor does the travel time change?
Work through the solution
The parameter angle is fixed by a length ratio and \(a\) doubles. The time grows by \(\sqrt2\). The straight track time obeys the same scaling. A measured different exponent would suggest another dimensional scale in the apparatus.
Why might a numerical quadrature applied directly in \(x\) at the first sample point report infinite time?
Work through the solution
The release speed vanishes and the track has a vertical tangent. The local time integral remains finite. The cycloid parametrisation cancels both vanishing factors analytically. Evaluating a singular endpoint as an ordinary sample in a trapezoidal rule is an integration error.
How can two paths be compared if a common release mechanism imparts a small initial speed \(v_0\)?
Work through the solution
Energy now gives
Recompute the time functional using that speed and the actual initial condition. Subtracting an arbitrary time offset from both runs cannot undo a depth-dependent modification of travel speed.
Revisit the origin of stationary action and essential boundary data in the moving-constraint chapter.