Free~20 min · AP Physics 2

Bending Light

Explore refraction, reflection, and Snell's Law

Key equationn_1 \sin\theta_1 = n_2 \sin\theta_2

Light bends when it crosses a boundary between materials with different indices of refraction. Snell's Law quantifies this: n₁sinθ₁ = n₂sinθ₂. When light travels from a denser medium to a less dense medium at an angle greater than the critical angle, total internal reflection occurs — the basis for fiber optics. The speed of light in a medium is c/n.

ProPremium experiment

Unlock Bending Light

Plus 148+ other Pro labs covering AP Physics, Biology, Chemistry, Earth Science, and Math — with unlimited simulation time, advanced parameters, and detailed analytics.

Start 7-day free trial$4.99 / month · cancel anytime
No credit card for trial Cancel in one click Student discount available

What is Bending Light?

Refraction is what makes a straw look broken in a glass of water, what makes a swimming pool seem shallower than it really is, and what lets eyeglasses bring blurry text into focus. When light crosses from one transparent material into another — air into water, water into glass — its speed changes, and that speed change forces the wavefront to tilt at the boundary. Snell's Law captures the geometry exactly: n₁ sinθ₁ = n₂ sinθ₂, where n is the index of refraction and θ is measured from the normal. The simulation lets you fire a beam at any angle into materials with any pair of indices, watch the refracted ray bend toward or away from the normal, push the angle past the critical angle to trigger total internal reflection, and recover Snell's Law from raw measurements. Total internal reflection is what keeps light bouncing inside fiber optic cables.

Parameters explained

Index n₁ (top)
Index of refraction of the top medium where the incoming beam starts. Air is ≈1.00, water is 1.33, typical glass is 1.5, and diamond is 2.42. The index n equals c divided by the speed of light v inside that material — bigger n means slower light.
Index n₂ (bottom)
Index of refraction of the bottom medium the beam enters. Whether the ray bends toward or away from the normal depends on whether n₂ is bigger or smaller than n₁. Going from low n to high n bends the beam toward the normal; going from high n to low n bends it away.
Incident Angle(°)
Angle between the incoming ray and the normal line at the boundary, in degrees. At 0° the beam goes straight through with no bending. As you push toward 90° (grazing incidence) the refracted angle grows nonlinearly, and going from a denser to a less dense medium will eventually trigger total internal reflection at the critical angle.

Common misconceptions

  • MisconceptionLight bends because the boundary itself pushes or repels it, like a wall deflecting a ball.

    CorrectThere's no surface force kicking the ray sideways. Light's phase speed changes inside the denser medium because the electromagnetic wave interacts with bound charges in the material, and when one side of an obliquely incident wavefront enters first it slows before the rest, forcing the whole front to tilt. That tilt is what we see as bending — wave geometry, no shove from the boundary.

  • MisconceptionThe angle of refraction is always smaller than the angle of incidence.

    CorrectOnly when the beam goes from a less dense medium into a denser one (n₂ > n₁). Going the other way — glass into air, water into air — the refracted angle is bigger than the incident angle, and once it hits the critical angle the beam stops refracting altogether and totally reflects.

  • MisconceptionTotal internal reflection is just regular reflection that happens when the surface is shiny enough.

    CorrectTotal internal reflection is a wave-optics effect, not a coating effect. Above the critical angle Snell's Law has no transmitted-ray solution (sinθ₂ would exceed 1), so an ideal boundary reflects the energy back inside the denser medium while an evanescent field exists just beyond the surface. Real fibers still have small absorption and scattering losses, but the reflection can be efficient enough for signals to travel kilometers.

  • MisconceptionAll colors of light bend by the same amount when they refract.

    CorrectThe index of refraction depends slightly on wavelength (this is called dispersion), so red light bends a little less than blue light in the same glass. That tiny difference, accumulated through a prism, splits white light into a rainbow.

  • MisconceptionSnell's Law only works for one specific kind of light, like lasers.

    CorrectSnell's Law holds for any electromagnetic wave at a boundary between two transparent media — visible light, infrared, microwaves, even radio waves. The simulation uses a clean laser only because it is easy to draw a single ray.

How teachers use this lab

  1. Snell's Law derivation: have students collect (θ₁, θ₂) pairs at five different incident angles for a fixed n₁ and n₂, then plot sinθ₁ vs sinθ₂ and read the slope. The slope should equal n₂/n₁ within rounding.
  2. Critical angle prediction: ask students to compute the critical angle for water→air, glass→air, and diamond→air before running the sim. Then have them find each critical angle experimentally by sweeping the incident angle until the refracted ray vanishes.
  3. Mystery material lab: lock the simulation to one unknown index and let students measure refraction angles to identify whether the material is water, ice, glass, or diamond. Connects index of refraction to material identification.
  4. Real-world hook — fiber optics: after students discover total internal reflection, show a 30-second clip of a fiber optic cable and ask them to explain why light stays trapped inside even when the cable is bent. This anchors a quantitative result in a recognizable technology.
  5. Misconception probe — the broken straw: at the end of class, show a photo of a straw in water and ask students to draw the actual ray path. Many will say the light bends inside the straw; the correct picture has light bending at the water-air surface as it leaves.

Frequently asked questions

Why does light bend when it enters a different material?

Light slows down in denser materials because the electromagnetic field drives bound charges in the material, and that collective response lowers the wave's phase speed. When part of a wavefront enters the new material before the rest, that side slows first and the whole front pivots, which we see as bending. Snell's Law gives the exact geometry.

What is the critical angle and how do I calculate it?

The critical angle is the incident angle (going from a denser medium into a less dense one) above which all the light reflects back instead of refracting through. It is given by θ_c = arcsin(n₂/n₁). For glass (n=1.5) to air (n=1), θ_c ≈ 41.8°; for water (n=1.33) to air, θ_c ≈ 48.6°; for diamond (n=2.42) to air, θ_c ≈ 24.4°, which is why diamonds sparkle so aggressively.

Does refraction change the frequency or the wavelength of light?

Frequency stays the same — it is set by the source and cannot change at a passive boundary. Wavelength shrinks in the denser medium because λ = v/f and v drops. That's why color is set by frequency, not wavelength: a red laser stays red whether it is in air, water, or glass.

How is this related to AP Physics 2 standards GO-1.A through GO-1.C?

GO-1.A asks students to relate the index of refraction to the speed of light in a medium. GO-1.B requires applying Snell's Law to predict ray paths at boundaries. GO-1.C covers total internal reflection and the critical angle. The simulation gives a controllable lab where each of these can be measured directly and the predictions can be verified.

Why does a diamond sparkle more than a piece of glass?

Two reasons. First, diamond has a much higher index (2.42 vs ~1.5), so its critical angle is small (~24°) — light entering through a facet is very likely to hit the next facet above the critical angle and totally reflect, bouncing inside the stone before exiting. Second, diamond has strong dispersion, so the trapped light splits into colors before it escapes. Cut quality is engineered to maximize both effects.