Brachistochrone Problem

The brachistochrone problem asks for the shape of the curve down which a bead, starting from rest and accelerated by gravity, will slide (without friction) from one point to another in the least time.
Fermat's principle states that light takes the path that requires the shortest time. Therefore, there is an analogy between the path taken by a particle under gravity and the path taken by a light ray and the problem can be modeled by a set of media bounded by parallel planes, each with a different index of refraction (leading to a different speed of light). Consequently, the path taken by a light in these media where light propagates at variable speeds is the answer to the problem. Because of the conservation of mechanical energy, the speed of the particle in a medium is constant along a horizontal plane and proportional to the square root of the height difference between the instantaneous position and the initial position of the particle. Fermat's principle yields Snell's law, which states that the ratio between the cosine of the angle between a ray and the boundary plane of a medium to the speed of the ray is constant.
In this Demonstration, parallel planes passing through the vertices of a regular polygon bound the media. The inradius of the polygon is 1. When you roll the polygon with the second slider, a particular vertex of the polygon moves along a path and passes through the boundary planes at the marked points. When a light ray follows these points, Snell's law is satisfied. You can see this by selecting "show angles".
Call the angle between the ray and boundary plane after refraction . The angle between the normal to the ray and vertical direction is . The speed of light in a medium is proportional to the square root of the height difference between the midpoint of the path in this medium and the initial position of the particle. This difference is equal to and . This proves that is constant.
The first slider "sides" controls the number of sides of the polygon. As the number of sides goes to infinity, the path taken by light approaches the cycloid, which is the answer to the brachistochrone problem.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+