Modeling a Simple Roller Coaster

This Demonstration is an animation of a simple roller coaster. The coaster track is restricted to a vertical plane 100 meters long and 50 meters high. The car slides on the track without friction and is subject to gravity only.
Create a custom track by moving, creating, or deleting the locators in the upper plot or select one of the example tracks.
Keep the track inside the plot and the bounding box. The track will be capped and the animation is not correct outside this range.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


In the absence of friction, if represents the shape of the track, then the time for the car to move from horizontal positions to is: . In this Demonstration, this integration is approximated numerically with 100 subdivisions of the track and by using interpolation. This speeds up the calculation during the animation while sacrificing some accuracy.
Snapshot 1: the fastest ride possible along any track between the points and is the brachistochrone of duration or approximately 8 seconds
Snapshot 2: the time for the circular track ride is or 8.37 seconds
Snapshots 3–6: all other tracks have rides longer than 8 seconds
    • 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.

Related Curriculum Standards

US Common Core State Standards, Mathematics