Concise Articles, Tutorials & Primers on Science, Math & Technology

Articles by Subject Category

Enter your email address to subscribe to the StarkEffects NewsLetter.

Troy Stark's Science & Society Opinion Blog

Troy Stark's Linked In Profile -

Physics & Electro-Optics Consulting Services: Advance your business or product development with these Experienced, professional physicists, engineers & entrepreneurs.

Now you can put a face with the name. This is the guy that runs this website. All the errors are his fault.

Buy the books online and pay less than $10. Save Money and Shelf Space! For Amazon's Kindle, click here!


Welcome to the page on Snell's Law.

One of the very important characteristics of a transparent material is the effect it has on the direction of light that it transmits. A beam of light incident on the interface between two materials, if it is transmitted at all, will be refracted so that the new direction of travel makes some angle with original direction. This is described very succinctly by Snell's law. On this page we will show the vector form of Snell's Law which you may find very useful when writing a computer code for calculating the direction of transmitted light.

Snell's Law in Vector Form

Snell's law describes how to calculate the change of direction of a "light ray" transmitted across a material interface as a function of the geometry of ray and material interface and the characteristics of the material for the wavelength of light being transmitted. Since the incident ray, the refracted ray and the normal to the surface of the material interface where the ray is incident are all in the same plane, Snell's law is usually given in a scalar form and you are left to arrange the geometry yourself to fit the equation.

n1 · sin(θ1) = n2 · sin(θ2

Well, I wanted to see what Snell's law would look like if I had a given fixed coordinate system that I wanted to keep constant through my calculations, and had an incident ray direction given by a vector in that coordinate system along with a normal to the surface given in the same coordinate system. This vector form of Snell's law is very useful in some of my computer calculations for ray tracing.

Usual Form of Snell's Law

Snell's law is usually presented as:

where n1 and n2 are the indices of refraction of the first material (incident side) and the second material (refracted side) respectively, and the angles of incidence and refraction, θ1 and θ2 are measured between the incident light ray and the surface normal (the vector normal to the surface between the two materials) and the refracted ray and the surface normal on the other side (which is just the negative of the firts normal vector).

Derive a Vector Form for Snell's Law

The equation I've given here shows the unit vector in the direction of the refracted ray as the vector addition of a component along the surface in the plane of incidence and a component along the surface normal. I prefer to work with all of these vectors as unit vectors so, when I use them in a calculation I often use the (x,y,z) components of each vector in normalized fashion and often given in terms of the angles in declination and azimuth in a fixed coordinate system:

(sinψ cosφ, sinψ sinφ, cosψ)

where ψ is the angle measured from the z axis to the direction vector and φ is the measure of the angle between the positive x axis and the projection of the vector onto the xy plane of our coordinate system.

I've made use of two important results to write this equation. First is Snell's law in the usual form: . Second is the cross product: , Where is a vector perpendicular to both the ray, , and the surface normal, . By combining the identity: and the scalar form of Snell's law, we can look for the component of the refracted beam along the negative of the surface normal, , and add that to the component along the surface itself in the plane of incidence, , to finally arrive at:

An Example of Using the Vector Form

Let's try a simple example using this vector form:

And now a little less obvious example:

What is the index of refraction

Every material has a characteristic response to electromagnetic radiation. When that E/M radiation is in the optical frequencies, 1014 to 1015 Hz, then an important influence on that response is held by the strength of the bonds on the electrons in the material. Those electrons are set into motion and the resulting electromagneteic field radiated by those oscillating electrons added to the original incident field creates the light beam transmitted through the material. In linear materials that beam has the same frequency as the original beam, but a different wavelength. In transparent linear material the ratio of the wavelength for the same opitcal frequency in vacuum to the wavelength in the material is called the index of refraction: n=λvacuum/λ.

Often the index of refraction is referred to as the ratio of the speed of light to its reduced speed in the medium: n=c/vmedium. Or, we can write the index of refraction as a function of the material's relative electric permittivity, ε , and µ is its relative permeability.

Index of refraction depends on:

Several important factors may have an effect on the index of refraction of any given material:

  • Frequency of the incident light
  • Temperature
  • Direction of transmission with respect to the material
  • Polarization of the transmitted light
  • An applied static electric field
  • An applied static magnetic field
  • Pressure
  • Mechanical stress

See dispersion, birefringent materials, piezoelectric materials, and non-linear crystals for some of the more interesting dependencies.

Snell's Law and Fermat's Principle

Fermat's principle states that light travels along the path that takes the least time. If you consider the index of refraction as a measure of the speed of light in a material, then you can use Fermat's principle to derive exactly the same angular relationship between incident and refracted beams as Snell's law. The difference here is that instead of beginning with an incident beam in a particular direction, you begin with starting and ending points and derive the lines or rays that will take the least time to travel from the start to the finish point.

Snell's Law and Huygens' Theory

One way to obtain Snell's law is to use Huygens' theory. According to Huygens, each point on an advancing wavefront is a new source of a spherical wave. When you add up all the spherical waves you get the wavefront you are more familiar with. For example, in a plane wave, each point on the plane wavefront is a source and adding up the spherical waves from all of these sources give you a plane wave advanced to the next moment in time.

As the speed of the wave is decreased upon entering into a higher index material, you create a plane wave in a slightly different direction as the waves from points not yet in the material are traveling faster than the waves inside. Rays, in this view, are simply the normal vectors to this composite wavefront.

Who was Snell?

The Dutch astronomer and mathematician, Willebrord Snellius (158030 October 1626, Leiden) was born Willebrord Snel van Royen and in 1613, succeeded his father, Rudolph Snel van Royen (15461613) as professor of mathematics at the University of Leiden. In the west, Snell's name has been attached to the law of refraction of light for several centuries even though this law was discovered by Ibn Sahl in 984. The same law was also investigated by Ptolemy and Witelo, but their results were saved as tables since no one yet treated trigonometric relationships as functions.

Snellius (Snell to most of us English speakers) was born in Leiden, Netherlands 1580. In 1615 he put into practice a new method of finding the radius of the earth, by determining the distance of one point on its surface from the parallel of latitude of another, by means of triangulation. His work Eratosthenes Batavus ("The Dutch Eratosthenes"), published in 1617, describes the method. His published result was the distance of 117,449 yards between Alkmaar and Bergen op Zoom, two towns separated by one degree of meridian. That result, equivalent to 107.395km, is only 3.2% off from the correct 111km.

He rediscovered the law of refraction in 1621.

Comments, Suggestions, Criticisms and Complaints Welcome: Webmaster at StarkEffects
Related Info & Products

StarkEffects, Excited by Science!
© Copyright 2006  StarkEffects, All Rights Reserved
The SiteMap   Privacy Policy   Contact Us