1) Early cultures explained rainbows through myths symbolizing both hope and fear. Today, rainbows can be explained using calculus and the properties of light. 2) Using Fermat's principle that light follows the fastest path, calculus can derive the law of reflection - the angle of incidence equals the angle of reflection. It can also derive Snell's law of refraction - the ratio of sines of the incidence and refraction angles is a constant. 3) For a rainbow to form, light enters a raindrop and is reflected or refracted. The angle of maximum rainbow deflection occurs when the derivative of the deflection angle equals 0, relating the incidence and refraction angles through