Sub topic 2
The Law of Reflection
This chapter assumes that you know how to measure angles, use basic trigonometry, and describe speed as distance divided by time. You should also have a basic idea that light can be modeled as rays traveling in straight lines through a uniform material.
Rays and the surface normal
A light ray is a line showing the direction in which light energy travels. A ray is an idealized model. Real light behaves as a wave, but the ray model is useful when the wavelength is much smaller than the objects and openings involved.
When a ray reaches a surface, draw a normal at the point where it arrives. The normal is an imaginary line perpendicular to the surface. It is the reference line for measuring both the incoming and outgoing angles.
The angle of incidence, usually written as \(\thetai\), is the angle between the incoming ray and the normal. The angle of reflection, \(\thetar\), is the angle between the reflected ray and the normal.
Do not measure these angles from the surface itself. Measuring from the surface gives the complementary angle, which is \(90^\circ-\theta\).
The law of reflection
The law of reflection has two parts:
- The incoming ray, reflected ray, and surface normal all lie in the same plane.
- The angle of incidence equals the angle of reflection.
\[ \thetai=\thetar \]
For example, if a ray arrives at a mirror at \(35^\circ\) from the normal, it leaves at \(35^\circ\) from the normal on the other side of the normal. The ray changes direction, but it does not change its angle relative to the normal.
| Quantity | Meaning | Example |
|---|---|---|
| \(\theta_i\) | Angle between incoming ray and normal | \(35^\circ\) |
| \(\theta_r\) | Angle between reflected ray and normal | \(35^\circ\) |
| Surface angle | Angle between ray and surface | \(55^\circ\) |
A common error is to use the angle to the surface in the law of reflection. If the incoming ray makes \(20^\circ\) with the surface, then it makes \(70^\circ\) with the normal. The reflected ray also makes \(70^\circ\) with the normal, or \(20^\circ\) with the surface.
Finding a reflected direction with vectors
For calculations in two or three dimensions, vectors describe directions more reliably than measured angles. Let:
- \(\mathbf d\) be the incoming direction vector.
- \(\mathbf n\) be a unit normal vector, meaning its length is 1.
- \(\mathbf r\) be the reflected direction vector.
The vector reflection rule is
\[ \mathbf r=\mathbf d-2(\mathbf d\cdot\mathbf n)\mathbf n \]
Here, \(\mathbf d\cdot\mathbf n\) is the dot product, a number that measures how much of the incoming direction points along the normal.
The following program reflects a ray moving right and downward from a horizontal surface. The upward normal is \((0,1)\), so the vertical component changes sign.
def reflect(d, n):
"""Reflect direction vector d off a surface with unit normal n."""
dot = d[0] * n[0] + d[1] * n[1]
return (d[0] - 2 * dot * n[0],
d[1] - 2 * dot * n[1])
incoming = (1, -1)
normal = (0, 1)
print(reflect(incoming, normal))The output is (1, 1). The horizontal component stays the same, while the component pointing into the surface reverses.
The normal must be a unit vector for this formula to work as written. If the normal has another length, divide it by its length before using it.
Mirror-like and scattered reflection
A smooth surface produces specular reflection, which is mirror-like. Parallel incoming rays remain parallel after reflection. A polished metal surface and a calm water surface can behave this way.
A rough surface produces diffuse reflection. Each small part of the surface still obeys the law of reflection, but the surface normals point in many different directions. The reflected rays therefore spread out. Paper looks visible from many directions because it scatters light rather than sending one narrow reflected beam toward a single observer.
The law of reflection applies locally to both smooth and rough surfaces. Diffuse reflection does not mean that the law has failed.
Common errors
- Measuring an angle from the surface instead of from the normal.
- Treating the reflected angle as measured from the incoming ray.
- Forgetting that the incident ray and reflected ray are on opposite sides of the normal.
- Using a non-unit normal in the vector formula.
- Assuming a rough surface breaks the law of reflection rather than changing the distribution of surface normals.
Exercise
A ray strikes a flat mirror at an angle of 25° to the mirror surface. What is its angle of reflection measured from the normal, and what angle does the reflected ray make with the mirror surface?
Show answer
The angle to the normal is 90° − 25° = 65°. The reflected ray is also 65° from the normal and 25° from the mirror surface.