Skip to main content
Physics LibreTexts

2.12: The Brachistochrone

  • Page ID
    29952
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Suppose you have two points, A and B, B is below A, but not directly below. You have some smooth, let’s say frictionless, wire, and a bead that slides on the wire. The problem is to curve the wire from A down to B in such a way that the bead makes the trip as quickly as possible.

    This optimal curve is called the “brachistochrone”, which is just the Greek for “shortest time”.

    But what, exactly, is this curve, that is, what is \(\begin{equation}
    y(x)
    \end{equation}\) in the obvious notation?

    This was the challenge problem posed by Johann Bernoulli to the mathematicians of Europe in a Journal run by Leibniz in June 1696. Isaac Newton was working fulltime running the Royal Mint, recoining England, and hanging counterfeiters. Nevertheless, ending a full day’s work at 4 pm, and finding the problem delivered to him, he solved it by 4am the next morning, and sent the solution anonymously to Bernoulli. Bernoulli remarked of the anonymous solution “I recognize the lion by his clawmark”.

    This was the beginning of the Calculus of Variations.

    Here’s how to solve the problem: we’ll take the starting point A to be the origin, and for convenience measure the y -axis positive downwards. This means the velocity at any point on the path is given by

    \begin{equation}
    \frac{1}{2} m v^{2}=m g y, \quad v=\sqrt{2 g y}
    \end{equation}

    So measuring length along the path as \(ds\) as usual, the time is given by

    \begin{equation}
    T=\int_{A}^{B} \frac{d s}{v}=\int_{A}^{B} \frac{d s}{\sqrt{2 g y}}=\int_{0}^{X} \frac{\sqrt{1+y^{\prime 2}} d x}{\sqrt{2 g y}}
    \end{equation}

    Notice that this has the same form as the catenary equation, the only difference being that \(y\) is replaced by \(\begin{equation}
    1 / \sqrt{2 g y}
    \end{equation}\) the integrand does not depend on \(x\), so we have the first integral:

    \begin{equation}
    y^{\prime} \frac{\partial f}{\partial y^{\prime}}-f=\text { constant }, \quad f=\sqrt{\frac{1+y^{\prime 2}}{2 g y}}
    \end{equation}

    That is,

    \begin{equation}
    \frac{y^{\prime 2}}{\sqrt{\left(1+y^{\prime 2}\right) 2 g y}}-\sqrt{\frac{1+y^{\prime 2}}{2 g y}}=-\frac{1}{\sqrt{\left(1+y^{\prime 2}\right) 2 g y}}=\text { constant }
    \end{equation}

    so

    \begin{equation}
    \left(\frac{d y}{d x}\right)^{2}+1=\frac{2 a}{y}
    \end{equation}

    \(2a\) being a constant of integration (the 2 proves convenient).

    Recalling that the curve starts at the origin A, it must begin by going vertically downward, since \(\begin{equation}
    y=0
    \end{equation}\). For small enough \(y\), we can approximate by ignoring the 1, so \(\begin{equation}
    \sqrt{2 a} d x \cong \sqrt{y} d y, \sqrt{2 a} x \cong 2 /{ }_{3} y^{3 / 2}
    \end{equation}\). The curve must however become horizontal if it gets as far down as \(\begin{equation}
    y=2 a
    \end{equation}\), and it cannot go below that level.

    Rearranging in order to integrate,

    \begin{equation}
    d x=\frac{d y}{\sqrt{\frac{2 a}{y}-1}}=\sqrt{\frac{y}{2 a-y}} d y
    \end{equation}

    This is not a very appealing integrand. It looks a little nicer on writing \(\begin{equation}
    y=a-a z
    \end{equation}\)

    \begin{equation}
    d x=-a \sqrt{\frac{1-z}{1+z}} d z
    \end{equation}

    Now what? We’d prefer for the expression inside the square root to be a perfect square, of course. You may remember from high school trig that \(\begin{equation}
    1+\cos \theta=2 \cos ^{2}(\theta / 2), \quad 1-\cos \theta=2 \sin ^{2}(\theta / 2)
    \end{equation}\). This gives immediately that

    \begin{equation}
    \frac{1-\cos \theta}{1+\cos \theta}=\tan ^{2} \frac{\theta}{2}
    \end{equation}

    so the substitution \(\begin{equation}
    z=\cos \theta
    \end{equation}\) is what we need.

    Then \(\begin{equation}
    d z=-\sin \theta d \theta=-2 \sin (\theta / 2) \cos (\theta / 2) d \theta
    \end{equation}\)

    \begin{equation}
    d x=-a \tan \frac{\theta}{2} d z=2 a \tan \frac{\theta}{2} \sin \frac{\theta}{2} \cos \frac{\theta}{2} d \theta=2 a \sin ^{2} \frac{\theta}{2} d \theta=a(1-\cos \theta) d \theta
    \end{equation}

    This integrates to give

    \begin{equation}
    \begin{array}{l}
    x=a(\theta-\sin \theta) \\
    y=a(1-\cos \theta)
    \end{array}
    \end{equation}

    where we’ve fixed the constant of integration so that the curve goes through the origin \(\begin{equation}
    (\text { at } \theta=0)
    \end{equation}\)

    To see what this curve looks like, first ignore the \(\theta\) terms in \(x\), leaving \(\begin{equation}
    x=-a \sin \theta, y=-a \cos \theta
    \end{equation}\). Evidently as \(\theta\) increases from zero, the point \(\begin{equation}
    (x, y)
    \end{equation}\) goes anticlockwise around a circle of radius \(a\) centered at \(\begin{equation}
    (0,-a)
    \end{equation}\) that is, touching the x -axis at the origin.

    Now adding the \(\theta\) back in, this circular motion move steadily to the right, in such a way that the initial direction of the path is vertically down. \(\begin{equation}
    \text { (For very small } \left.\theta, y \sim \theta^{2} \gg x \sim \theta^{3}\right)
    \end{equation}\)

    Visualizing the total motion as \(\theta\) steadily increases, the center moves from its original position at \(\begin{equation}
    (0,-a)
    \end{equation}\) to the right at a speed \(a\theta\). Meanwhile, the point is moving round the circle anticlockwise at this same speed. Putting together the center’s linear velocity with the corresponding angular velocity, we see the motion \(\begin{equation}
    (x(\theta), y(\theta))
    \end{equation}\) is the path of a point on the rim of a wheel rolling without sliding along a road (upside down in our case, of course). This is a cycloid.


    This page titled 2.12: The Brachistochrone is shared under a not declared license and was authored, remixed, and/or curated by Michael Fowler.

    • Was this article helpful?