sophiecentaur said:
Did you look at the label of the horizontal axis?
They both start at zero, ...
The label of the axis is "Angle of Incidence." It means the angle that a ray of light, which is incident upon the spherical raindrop, makes with the surface normal there. What you describe is the range of values the dependent variable can have. I call the variable A, and it does go from from 0° (light that is centered on the drop) to 90° (light that would graze an edge).
The formula for these plots is D(A,N,r) = 180°*(N-1) + 2*A - (2N+2)*B(A,r).
r is the index of refraction
N is the number of internal reflections (N=-1 coincidentally describes light that reflects externally)
A is the angle of incidence of the original sunlight. (Lewin calls it "i")
B(A,r) = asin(sin(A)/r) is the refracted angle (Lewin calls is "r")
D(A,N,r) is the angle where a viewer who is looking toward the anti-solar point would see the reflected light.
Note that the reference to the observer's position is for convenience only. It is not a part of the actual process of rainbow formation. So your choice of using it is an arbitrary choice. It would be more general to leave the observer out, like
The Calculus of Rainbows does, but I try to use more familiar values. But what I was trying to explain was why the colors are in a specific order. This is not a function of the observer's position.
The rainbow forms because, for N>=1, these functions have an extremum at A=asin(sqrt(1-(r^2-1)/(N^2+2N))).
If N is odd, this extremum is a maximum; if N is even, it is a minimum. This because if N is odd, D(A,N,r) starts at an angle equivalent to 0°, and increases. If it is even, it starts at an angle equivalent to 180° and decreases.
Red light has a lower index of refraction than violet light, so its max/min deviation is always further from this starting point than violet's max/min deviation. And its band in the corresponding rainbow is always further from the starting point (so it is quite literally "on the outside") than violet's. Whether you observe red to be higher, or lower, depends on which quadrant the max/min ends up in and whether it is a maximum or minimum.
For example, if the index of refraction were around 1.13 instead of 1.33 (I may have said this backwards earlier), then both rainbows would be seen in the order ROYGBIV from "top" to "bottom." The primary would be seen around 80° from the anti-solar point, instead of 40°. The secondary would technically be 200° from the sun, instead of 130°, but you could call that 20° from the anti-solar point after changing the reference and adding one more quadrant change.
This is why you have to understand how the rainbow is a full circle that is centered on 180°*(N-1) in order to explain the order of the colors. Whether the light enters the "upper" or "lower" half of the drop is not directly relevant - it just happens to coincide with the results when r=1.33.