Sub topic 1
Light as rays
Prerequisites
This chapter assumes you can solve simple algebraic equations, use sine and angles in degrees, and accept that light travels in straight lines through a uniform medium. You should also know what a refractive index is, or be ready to read it as a ratio of light speed in vacuum to light speed in a material.
Light as rays
A ray is a straight line that shows the path light takes. Optics uses the ray model to predict where light goes when it meets a surface. The model works well when the lenses and mirrors are much larger than the wavelength of light, which covers most practical cases.
The law of reflection
When a ray hits a smooth surface, the angle of incidence equals the angle of reflection. Both angles are measured from the normal, the line perpendicular to the surface at the point of contact. The incident ray, the reflected ray, and the normal all lie in one plane.
Images in plane mirrors
A plane mirror is a flat reflecting surface. Rays from an object reflect off it and diverge as if they came from a point behind the mirror. The eye traces those rays backward and sees an image at that point.
The image sits as far behind the mirror as the object sits in front. It is the same size and upright, but left and right appear swapped.
Real and virtual images
A real image forms where rays actually converge. A screen placed there shows it. A virtual image forms where rays only appear to diverge from. It cannot be projected onto a screen. A plane mirror makes a virtual image, and a projector lens makes a real one.
Refraction and Snell's law
Refraction is the bending of light as it crosses from one medium into another. Snell's law states n1 sin(θ1) = n2 sin(θ2), where n is the refractive index and θ is the angle from the normal. Light bends toward the normal when it enters a denser medium.
import math
def refract(n1, n2, theta1_deg):
s = n1 * math.sin(math.radians(theta1_deg)) / n2
if abs(s) > 1:
return None # total internal reflection
return math.degrees(math.asin(s))
print(refract(1.0, 1.5, 30)) # about 19.47Exercise
A ray in air (n = 1.0) strikes water (n = 1.33) at 45 degrees from the normal. What is the refraction angle?
Show answer
sin(θ2) = 1.0 × sin(45°) / 1.33 ≈ 0.5316, so θ2 ≈ 32.1°. The ray bends toward the normal.