The principle of Fermat states the path followed by a light ray between two points is the one that takes the least amount of time. Fermat’s principle is equivalent to the statement that a ray follows the path with the shortest optical path length. This application is a great instructional tool, to help students confront their thinking and reasoning constraints in understanding above.