AP PHYSICS 2: ALGEBRA-BASED • GEOMETRIC OPTICS

Refraction

Understanding how light bends at boundaries between media and why this bending obeys precise mathematical laws.

Historical Context & Motivation

The bending of light as it passes from one transparent material into another is one of the oldest observed optical phenomena. Ancient civilizations noticed that objects partially submerged in water appeared displaced or distorted, yet a rigorous explanation eluded natural philosophers for centuries. The quest to quantify refraction — the change in direction of a wave as it crosses a boundary between two media with different optical properties — drove breakthroughs in both experimental measurement and mathematical reasoning that underpin modern optics, lens design, and fiber-optic communication.

~100 CE
Ptolemy's Measurements
Claudius Ptolemy systematically measured angles of incidence and refraction for light passing from air into water and glass, producing the first quantitative tables. His data were remarkably accurate, though he incorrectly assumed a simple proportional relationship between the angles themselves.
1621
Snell's Discovery
Willebrord Snell van Royen discovered the correct mathematical relationship: the ratio of the sines of the angles of incidence and refraction is constant for a given pair of media. This law was not published in his lifetime but became a foundational result in optics.
1637
Descartes' Publication
René Descartes independently derived and published the sine law in his Dioptrique, framing refraction within a broader mechanical philosophy. His work, though flawed in its physical model, disseminated the mathematical law across Europe.
1662
Fermat's Principle of Least Time
Pierre de Fermat showed that Snell's law follows naturally from the principle that light travels between two points along the path that minimizes travel time, elegantly connecting refraction to the speed of light in different media.
1850
Foucault Measures Light Speed in Water
Léon Foucault measured the speed of light in water and confirmed it was slower than in air, validating the wave-theory prediction embedded in Snell's law and Fermat's principle — decisively refuting Newton's particle model of refraction.

The central question that refraction addresses is deceptively simple: why does light change direction when it enters a new medium, and by how much? Answering this question requires connecting the macroscopic behavior of light rays to the microscopic fact that light travels at different speeds in different materials. This connection — encoded in the index of refraction — is the thread that ties together every topic in this lesson.

Core Principles & Definitions

Refraction rests on a small set of interconnected ideas. Before diving into the mathematics, it is essential to build precise definitions and physical intuition for each concept. The following foundational principles form the backbone of every refraction problem you will encounter on the AP Physics 2 exam.

1

Index of Refraction (n)

The index of refraction of a medium is defined as n = c/v, where c is the speed of light in a vacuum (3.00 × 10⁸ m/s) and v is the speed of light in the medium. A larger n means light travels more slowly in that material. Vacuum has n = 1; air ≈ 1.00; water ≈ 1.33; glass ≈ 1.50.
2

Snell's Law

When light crosses a boundary between two media, the relationship n₁ sin θ₁ = n₂ sin θ₂ governs the angles measured from the normal. This law is valid for all angles and all transparent media, and it is the single most important equation in geometric optics.
3

The Normal Line

All angles in refraction problems are measured from the normal — a line perpendicular to the interface at the point where the ray strikes the boundary. This convention ensures Snell's law holds for both flat and curved surfaces.
4

Total Internal Reflection

When light travels from a medium with a higher index to one with a lower index, there exists a critical angle θ_c beyond which no refracted ray exists and all light is reflected. This phenomenon is the operating principle behind fiber optics and prism retroreflectors.
5

Wavelength Dependence (Dispersion)

Because the index of refraction depends slightly on wavelength, different colors bend by different amounts. This wavelength dependence is called dispersion and explains how prisms separate white light into a spectrum and why rainbows form.
KEY TAKEAWAY
Think of a marching band crossing from pavement onto sand at an angle. The side of the line that reaches the sand first slows down while the other side is still on pavement at full speed. This speed mismatch causes the entire line to pivot — exactly the way a wavefront of light bends when one edge enters a slower medium before the other. The greater the speed change, the sharper the pivot, just as a larger difference in refractive indices produces a larger bending angle.

Visual Explanation — Refraction at an Interface

A light ray traveling from air (n₁ = 1.00) into glass (n₂ = 1.50). The incident ray (amber) strikes the interface and splits into a refracted ray (cyan) that bends toward the normal and a partially reflected ray (violet). The angles θ₁ and θ₂ are both measured from the dashed normal line, not from the interface itself.

The diagram above captures the essential geometry of refraction at a flat boundary. Notice three key features. First, all angles are measured from the normal — this is a universal convention in optics and one of the most common sources of error on the AP exam if forgotten. Second, when light enters a medium with a higher index of refraction (from air into glass, for instance), the refracted ray bends toward the normal, making θ₂ < θ₁. Conversely, light exiting into a less optically dense medium bends away from the normal. Third, at every refraction event a partial reflection also occurs; the reflected ray obeys the law of reflection (angle of incidence equals angle of reflection) independently of the refraction process.

Mathematical Framework

The mathematics of refraction centers on two relationships: the definition of the index of refraction and Snell's law. From these, the critical-angle condition and the wavelength shift inside a medium follow as direct consequences.

INDEX OF REFRACTION
n = c / v
n = index of refraction (dimensionless, always ≥ 1 for ordinary matter); c = speed of light in vacuum (3.00 × 10⁸ m/s); v = phase speed of light in the medium.
SNELL'S LAW
n₁ sin θ₁ = n₂ sin θ₂
n₁ and n₂ are the indices of the first and second media; θ₁ is the angle of incidence; θ₂ is the angle of refraction. Both angles are measured from the normal to the interface.
CRITICAL ANGLE
sin θ_c = n₂ / n₁ (valid only when n₁ > n₂)
θ_c is the critical angle in the denser medium. For angles of incidence greater than θ_c, total internal reflection occurs and no light is transmitted into the second medium.
WAVELENGTH IN A MEDIUM
λ_n = λ₀ / n
λ₀ is the wavelength in vacuum; λ_n is the wavelength inside a medium with index n. The frequency f remains unchanged when light enters a new medium; only the wavelength and speed change.

A common conceptual pitfall is to assume that refraction changes the frequency of light. It does not. The frequency is set by the source and is preserved across every boundary. What changes is the wavelength and the speed, both decreasing by the same factor n. This can be understood from the wave relation v = fλ: if v decreases by a factor of n and f is constant, then λ must also decrease by the same factor.

💡 Deriving Snell's Law from Fermat's Principle
Fermat's principle states that light follows the path of least time between two points. Because light travels faster in a medium with a smaller index, the time-minimizing path involves spending relatively more of the path in the faster medium. By applying calculus (setting dT/dx = 0 for the total transit time), one obtains n₁ sin θ₁ = n₂ sin θ₂ directly. While the calculus derivation is beyond AP Physics 2, understanding this origin gives physical meaning to the law: light bends because bending reduces travel time.

Total Internal Reflection & Critical Angle

When light travels from a medium with a higher index of refraction into one with a lower index — for example from water into air — the refracted ray bends away from the normal. As the angle of incidence increases, the refracted angle increases even faster, approaching 90°. The specific angle of incidence at which the refracted ray would lie exactly along the interface (θ₂ = 90°) is called the critical angle θ_c. For any angle of incidence exceeding θ_c, Snell's law yields sin θ₂ > 1, which has no real solution — physically, no refracted ray can exist and all incident energy is reflected. This phenomenon is total internal reflection (TIR).

Three cases for light traveling from water (n = 1.33) into air (n = 1.00). Case 1: θ₁ < θ_c — the ray refracts away from the normal. Case 2: θ₁ = θ_c ≈ 48.8° — the refracted ray skims along the interface (θ₂ = 90°). Case 3: θ₁ > θ_c — total internal reflection occurs; no light enters the air.
Critical angles for common material pairs
Interfacen₁ (denser)n₂ (less dense)Critical Angle θ_c
Water → Air1.331.0048.8°
Glass → Air1.501.0041.8°
Diamond → Air2.421.0024.4°
Glass → Water1.501.3362.5°

Diamond's extremely high index of refraction (n = 2.42) produces a very small critical angle of only 24.4°, meaning that light entering a diamond is easily trapped by total internal reflection at many internal facets. This is precisely why diamonds exhibit such brilliant sparkle — skilled gem cutting maximizes the number of TIR events before light eventually exits through the top of the stone.

Worked Example — Snell's Law and Critical Angle

A beam of monochromatic light traveling in water (n = 1.33) strikes a flat glass surface (n = 1.52) at an angle of incidence of 35.0°. Determine (a) the angle of refraction inside the glass and (b) the critical angle for light attempting to travel from the glass back into the water.

Snell's Law: Water → Glass
1
Step 1 — Identify Given Valuesn₁ = 1.33 (water), n₂ = 1.52 (glass), θ₁ = 35.0°. We seek θ₂, the angle of refraction in the glass.
2
Step 2 — Apply Snell's Lawn₁ sin θ₁ = n₂ sin θ₂ → sin θ₂ = (n₁ / n₂) sin θ₁ = (1.33 / 1.52) × sin 35.0°.
3
Step 3 — Evaluate Numericallysin 35.0° = 0.5736. Therefore sin θ₂ = (0.8750)(0.5736) = 0.5019.
4
Step 4 — Solve for θ₂θ₂ = sin⁻¹(0.5019).
θ₂ ≈ 30.1°
5
Step 5 — Reasonableness CheckLight is entering a denser medium (n₂ > n₁), so the refracted ray should bend toward the normal, meaning θ₂ < θ₁. Indeed, 30.1° < 35.0°. ✓
6
Step 6 — Critical Angle (Glass → Water)For total internal reflection at the glass–water interface, sin θ_c = n₂ / n₁ = 1.33 / 1.52 = 0.8750. Therefore θ_c = sin⁻¹(0.8750).
θ_c ≈ 61.0°
AP Exam Tip
Always verify the direction of bending as a sanity check. If light enters a medium with a higher n, the refracted angle must be smaller than the incident angle. If your calculation gives the opposite, you have likely swapped n₁ and n₂ or the angles.

Applications, Strengths & Limitations

Refraction is not merely a textbook phenomenon; it underpins a vast range of technologies and natural phenomena. However, the simplified ray-optics treatment presented here carries certain limitations, particularly when wave effects like diffraction become significant. The table below contrasts the strengths and limitations of the geometric-optics model of refraction.

Strengths and limitations of the geometric-optics treatment of refraction
AspectStrengthsLimitations
Lens & prism designSnell's law accurately predicts image formation in converging and diverging lenses, enabling design of cameras, eyeglasses, and microscopes.Chromatic aberration (dispersion) requires more complex multi-lens systems that the simple single-interface treatment does not address.
Fiber opticsTotal internal reflection is the core mechanism for light propagation in optical fibers, carrying internet data across continents.Signal attenuation, modal dispersion, and evanescent-wave leakage require wave-optics and materials-science models beyond ray tracing.
Natural phenomenaExplains mirages, the apparent bending of sticks in water, and the basic mechanism behind rainbows.Atmospheric refraction in continuous-gradient media requires integration over varying n(h), not a single-interface application.
Scale of applicabilityWorks extremely well when wavelength ≪ size of optical elements (typical for visible light with centimeter-scale lenses).Fails when structures approach the wavelength of light — diffraction gratings, thin films, and nano-optics require wave-optics treatment.
KEY TAKEAWAY
Snell's law is to optics what Ohm's law is to circuits: a powerful, broadly applicable relationship that breaks down only under specialized conditions (nonlinear media, very short wavelengths, or gradient-index media). For the AP Physics 2 exam, the ray-optics framework combined with Snell's law and the critical-angle condition is sufficient to handle every refraction problem you will encounter.

Connections to Wave Optics & Modern Physics

Refraction as treated in geometric optics is a limiting case of the broader wave-optics description. Understanding how these two frameworks relate provides crucial context for topics you may encounter in later physics courses or in the wave-optics portion of AP Physics 2 itself.

Geometric optics vs. wave optics and modern physics
FeatureGeometric Optics (This Lesson)Wave Optics / Modern Extensions
Light modelLight treated as rays that obey Snell's law at sharp boundaries.Light treated as electromagnetic waves governed by Maxwell's equations; Fresnel equations give exact reflection/transmission amplitudes.
Wavelength effectsDispersion noted but not deeply modeled; each wavelength simply has a different n.Dispersion curves n(λ) are derived from oscillator models of electron response in materials; anomalous dispersion near absorption resonances.
Thin filmsNot addressed; ray model cannot explain constructive/destructive interference in thin coatings.Thin-film interference uses superposition of reflected wavefronts from top and bottom surfaces.
Photon pictureNot used; refraction is described entirely classically.Quantum electrodynamics (QED) explains refraction as photon scattering by atomic electrons that re-radiate coherently, producing an effective slowing.

On the AP Physics 2 exam, you are expected to know that refraction arises from a change in wave speed at a boundary and that the wave model explains this via wavefront bending (Huygens' construction). The transition to thin-film interference and diffraction in later units builds directly on the refraction concepts established here — particularly the idea that wavelength changes inside a medium while frequency does not. Mastering refraction therefore creates a strong foundation for the wave-optics topics that follow.

Practice Problems

1
A monochromatic light ray passes from air (n = 1.00) into glass (n = 1.50). Which of the following quantities changes as the light enters the glass?
2
A light ray in air strikes a flat water surface (n = 1.33) at an angle of incidence of 50.0°. What is the angle of refraction in the water?
3
Light travels from glass (n = 1.50) into an unknown liquid. The angle of incidence in the glass is 40.0° and the angle of refraction in the liquid is 52.0°. What is the index of refraction of the liquid?
PROBLEM 4APPLIED
A student has a semicircular glass block, a laser pointer, a protractor, and a sheet of paper. Design an experiment to determine the index of refraction of the glass block and the critical angle for total internal reflection at the glass–air interface. (a) Describe the experimental procedure, including how the semicircular block should be oriented for each measurement. (2 pts) (b) Explain what data should be collected and how it should be analyzed to determine n. (2 pts) (c) Describe how the student can directly measure the critical angle using the same apparatus. (1 pt)
PROBLEM 5CRITICAL THINKING
A fiber-optic cable consists of a glass core (n₁ = 1.62) surrounded by a glass cladding (n₂ = 1.52). A light ray inside the core strikes the core–cladding boundary. (a) Calculate the critical angle for total internal reflection at the core–cladding interface. (1 pt) (b) What is the maximum angle (measured from the axis of the fiber) at which light can enter the fiber from air (n = 1.00) and still undergo total internal reflection at the core–cladding interface? This angle is called the acceptance angle. (2 pts) (c) Explain qualitatively what would happen to the acceptance angle if the cladding index were increased to 1.58 while the core index remained at 1.62. (1 pt)

Refraction — Key Concepts at a Glance

Refraction is the bending of light at the boundary between two media that arises because light travels at different speeds in different materials. The index of refraction n = c/v quantifies how much a medium slows light relative to vacuum. Snell's law (n₁ sin θ₁ = n₂ sin θ₂) relates the angles of incidence and refraction measured from the normal. When light enters a denser medium (higher n) it bends toward the normal; when it enters a less dense medium it bends away.

When light travels from a higher-n medium to a lower-n medium, there exists a critical angle θ_c = sin⁻¹(n₂/n₁) beyond which total internal reflection occurs. Frequency is conserved across boundaries, while wavelength and speed both change by the factor 1/n. These principles underpin lenses, prisms, fiber-optic communication, and dispersion — the wavelength dependence of n that splits white light into its component colors.

Varsity Tutors • AP Physics 2: Algebra-Based • Refraction