📘 CodingMarble Learn

Refraction: Snell's Law, Critical Angle and Total Internal Reflection

Refraction is the bending of light when it crosses from one medium into another, because its speed changes. The refractive index of a medium is n = c/v, where c = 3.00 × 10⁸ m/s. Snell's law links the angles, measured from the normal: n₁ sin θ₁ = n₂ sin θ₂. Going into a higher n the ray bends toward the normal; into a lower n it bends away. Frequency never changes at a boundary, so the wavelength shrinks: λ = λ₀/n. Going from high n to low n there is a critical angle, sin θc = n₂/n₁. Beyond it, total internal reflection happens, which is how optical fibres and diamonds work. Objects under water look shallower: apparent depth = real depth ÷ n (for near-normal viewing). Since n changes a little with colour, white light spreads into a spectrum (dispersion).

🎬 Step-by-step story

  1. A ray goes from air into glass. It bends toward the normal, the line at 90° to the surface.
  2. It bends because light is slower in glass: v = c/n. Same frequency, so the wavelength gets shorter.
  3. Snell's law: n₁ sin θ₁ = n₂ sin θ₂. Change the angle and the two sides stay equal.
  4. Now light goes from glass to air. Into a lower n, the ray bends away from the normal.
  5. Raise the angle past the critical angle. The refracted ray vanishes and all light reflects: total internal reflection.
  6. Free play: change the angle, the medium and the direction. Predict first, then check.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why do we measure angles from the normal?

Snell's law uses angles from the normal. At 0° (along the normal) there is no bending, which is easy to see in step 1.

If light slows down, does it lose energy?

No. It speeds up again when it leaves the glass. Its frequency, and so the energy of each photon, stays the same. The dots in step 2 just get closer.

Why sin and not the angle itself?

The bending comes from the ratio of speeds across the wavefront, which gives sines. Watch both sides stay equal as the angle changes in step 3.

How can I remember which way it bends?

Into higher n (slower): toward the normal. Into lower n (faster): away. Step 4 shows the away case.

Where does the light go during total internal reflection?

All of it reflects back into the denser medium. Nothing is lost, which is why fibres carry signals so far. See step 5.

Why is there no critical angle going from air into water?

Into a higher n, θ₂ is always smaller than θ₁, so it never reaches 90°. Flip the direction in free play to test.

Refractive index and the speed of light

Light travels at c = 3.00 × 10⁸ m/s in a vacuum. In any material it is slower. The refractive index tells how much slower:

n = c / v (no unit, always ≥ 1)

Air ≈ 1.00, water 1.33, glass about 1.5, diamond 2.42. A larger n is called optically denser.

What changes and what stays

The colour we see depends on frequency, so light does not change colour inside water.

Snell's law

Measure both angles from the normal (not from the surface).

n₁ sin θ₁ = n₂ sin θ₂

Some light is also reflected at every boundary (the faint orange ray in the 3D). The incident, refracted and reflected rays and the normal all lie in one plane.

Why it bends

A wavefront hitting the surface at an angle has one end enter the slow medium first. That end slows down while the other end is still fast, so the whole front turns.

Critical angle and total internal reflection

When light goes from a higher n to a lower n, θ₂ is bigger than θ₁. At one special angle, θ₂ reaches 90°. That angle is the critical angle:

sin θc = n₂ / n₁ (n₁ > n₂)

Glass to air: sin θc = 1/1.5, θc ≈ 41.8°. Water to air: θc ≈ 48.8°. Diamond to air: θc ≈ 24.4°.

If θ₁ > θc, Snell's law would need sin θ₂ > 1, which is impossible. No light leaves; it all reflects. This is total internal reflection (TIR).

Two conditions: (1) light goes from denser to rarer medium, (2) angle of incidence is greater than the critical angle.

Uses: optical fibres, endoscopes, prism binoculars, the sparkle of diamonds, road reflectors.

Apparent depth and dispersion

Apparent depth: looking straight down into water, an object at real depth d seems to be at d/n. A 2 m pool looks about 1.5 m deep.

Dispersion: n is slightly larger for violet than for red light, so violet bends more. A prism spreads white light into a spectrum, and raindrops make rainbows.

Try it: put a coin in an empty cup, move back until it just hides behind the rim, then slowly pour water in. The coin appears! Refraction bends its light over the rim to your eye.

Key formulas and definitions

Worked examples

1. Light travels at 2.25 × 10⁸ m/s in water. Find the refractive index of water.

n = c/v = 3.00 × 10⁸ ÷ 2.25 × 10⁸ = 1.33.

2. A ray enters glass (n = 1.5) from air at 30°. Find the angle of refraction.

1 × sin 30° = 1.5 sin θ₂ → sin θ₂ = 0.5 ÷ 1.5 = 0.333 → θ₂ ≈ 19.5°.

3. Red light of wavelength 650 nm enters water (n = 1.33). Find its wavelength and frequency in water.

λ = 650 ÷ 1.33 ≈ 489 nm. f = c/λ₀ = 3 × 10⁸ ÷ 650 × 10⁻⁹ ≈ 4.6 × 10¹⁴ Hz, the same as in air.

4. Find the critical angle for light going from glass (n = 1.5) into water (n = 1.33).

sin θc = 1.33 ÷ 1.5 = 0.887 → θc ≈ 62.5°.

5. A ray in water hits the water–air surface at 55°. Does it come out?

θc for water = sin⁻¹(1/1.33) ≈ 48.8°. Since 55° > 48.8°, it is totally internally reflected and does not come out.

6. A fish is 1.2 m below the surface. How deep does it look to someone directly above? (n = 1.33)

Apparent depth = 1.2 ÷ 1.33 ≈ 0.90 m. It looks about 30 cm closer.

Common mistakes

Practice quiz

1. When light enters glass from air, it:
2. Snell's law is:
3. The refractive index of a medium where light moves at 2 × 10⁸ m/s is:
4. Total internal reflection needs:
5. At a boundary, which does NOT change?

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is Snell's law in simple words?

The product n × sin(angle from the normal) stays the same on both sides of a boundary. It tells you how much the ray bends.

What is the critical angle?

The angle of incidence, going from dense to rare, for which the refracted ray grazes the surface (90°). sin θc = n₂/n₁.

Does refraction change the frequency of light?

No. Frequency is set by the source. Speed and wavelength change by the factor n.

Where this is taught

USA (Common Core, NGSS, AP)Grade 12Geometric Optics

Learn first

Learn next

Related lessons

All Physics lessons