Before you can read the parent derivation of Snell's law, every symbol it uses must first mean something you can see. This page builds each one from absolute zero, in the order they depend on each other.
The picture: two dots joined by a segment of length d; a little runner covers it in time t.
We need v because the whole "least time" story is about light being fast in some materials and slow in others. Different speeds are the reason it bends at all.
Why divide distance by speed? Because if you cover v metres each second, then to cover d metres you simply need d/v seconds.
t=vd
Look at the figure below. The dashed navy line is the shortest distance (a straight line from A to B). The solid magenta line is the least time path: it crosses the boundary farther along so light spends more length in the fast top material and less in the slow bottom material. The kink at the boundary is exactly what Snell's law will pin down.
Inside glass or water, light is slower than c. We measure "how much slower" with one number:
Because Snell's law compares two materials, we tag the index with a number to say which material we mean:
The picture below: a bar labelled c at the top (full speed), and a shorter bar v=c/n below it — the bigger the n, the shorter the bar. Water's bar is shorter than air's; glass's is shorter still.
Why the topic needs n (and both n1, n2): it lets us rewrite the awkward speed v as c/n, so the time in medium 1 becomes n1d1/c and in medium 2 becomes n2d2/c. See Refractive Index.
The derivation slices the trip into two straight legs and gives every measurement a name.
Look at the figure below to see all five at once: a and b are the vertical legs, x and w−x split the total width w, and each slanted magenta segment is an ℓ.
To measure angles we need a right triangle — a triangle with one square (90∘) corner.
Look at the figure below. Each leg of light forms exactly such a triangle: a vertical side (a or b), a horizontal side (x or w−x), and the slanted ray ℓ as the longest side.
The topic needs these names because the sine of an angle is built from them, and the whole derivation ends by reading these triangles.
The picture: the flagpole (normal) stands up; the ray leans away from it by angle θ. A ray hugging the pole has small θ; a ray nearly flat along the water has θ near 90∘.
The picture: the ray from A to the crossing point is the slanted hypotenuse of a right triangle with a vertical leg a (the height of A above the line) and a horizontal leg x (how far sideways). Its length is a2+x2=ℓ1.
Why the topic needs it: it writes each straight path length ℓ in terms of the one thing light gets to choose — the crossing point x.
Why this tool? Because "least time" means "bottom of the U", and the mathematical name for "the bottom, where the curve is flat" is the place where the derivative is zero. The derivative is the machine that finds that spot exactly, without guessing. This is the single calculus step the whole derivation rests on — and it acts on the total time T, not on a single leg.
Note the two arrows into T from both c and the optical path length: T=OPL/c, so the constant c is never dropped from the definition — only later, when both sides of dT/dx=0 share a 1/c that cancels.