Waves

Optics: Refraction, Lenses, and Diffraction

5th Year · 6th Year (Leaving Cert)

  • By the end of this lesson students will be able to define refractive index and apply Snell's Law to solve problems involving refraction.
  • By the end of this lesson students will be able to explain the phenomenon of total internal reflection, identify its conditions, and calculate the critical angle.
  • By the end of this lesson students will be able to apply the lens formula and appropriate sign conventions to determine image characteristics for converging and diverging lenses.
  • By the end of this lesson students will be able to describe the operation of a diffraction grating and use the grating formula to calculate wavelength or grating constant.
  • By the end of this lesson students will be able to solve quantitative problems involving refraction, total internal reflection, lenses, and diffraction gratings.

Key concepts

Refractive Index (n) and Snell's Law

The refractive index (n) of a medium is a measure of how much the speed of light is reduced when it enters that medium. It is defined as the ratio of the speed of light in a vacuum (c) to the speed of light in the medium (v), i.e., n = c/v. When light passes from one medium to another, it changes direction, a phenomenon called refraction. Snell's Law describes this change in direction: when light travels from air into a medium, the refractive index of the medium (n) is given by the ratio of the sine of the angle of incidence (i) to the sine of the angle of refraction (r). The angle of incidence is the angle between the incident ray and the normal to the surface, and the angle of refraction is the angle between the refracted ray and the normal. The general form of Snell's Law for light passing from medium 1 (refractive index n₁) to medium 2 (refractive index n₂) is n₁ sin θ₁ = n₂ sin θ₂.

n = sin i / sin r (for light entering a medium from air); n₁ sin θ₁ = n₂ sin θ₂
Total Internal Reflection (TIR)

Total internal reflection occurs when light travelling from a denser optical medium to a less dense optical medium strikes the boundary at an angle of incidence greater than the critical angle. For TIR to occur, two conditions must be met: 1. Light must be travelling from an optically denser medium to an optically less dense medium. 2. The angle of incidence (i) in the denser medium must be greater than the critical angle (C). The critical angle is the angle of incidence in the denser medium for which the angle of refraction in the less dense medium is 90°. It can be calculated using Snell's Law: sin C = 1/n, where n is the refractive index of the denser medium relative to the less dense medium (assuming the less dense medium is air or vacuum).

sin C = 1/n
Lenses: The Lens Formula

Lenses are optical devices that refract light to form images. Converging (convex) lenses bring parallel rays of light to a focus, while diverging (concave) lenses spread parallel rays of light outwards, appearing to originate from a virtual focus. The focal length (f) is the distance from the optical centre of the lens to its principal focus. The lens formula relates the object distance (u), image distance (v), and focal length (f) of a lens. It is crucial to use the correct sign conventions: - Object distance (u) is positive for real objects. - Image distance (v) is positive for real images (formed on the opposite side of the lens from the object) and negative for virtual images (formed on the same side as the object). - Focal length (f) is positive for converging lenses and negative for diverging lenses. - Magnification (M) = v/u = image height / object height. A positive M indicates an upright image, a negative M indicates an inverted image.

1/f = 1/u + 1/v
Diffraction Grating

A diffraction grating is an optical component with a periodic structure that diffracts light into several beams travelling in different directions. The directions of these beams depend on the spacing of the grating and the wavelength of the light. When monochromatic light passes through a diffraction grating, a pattern of bright lines (maxima) and dark lines (minima) is observed. The grating constant (d) is the distance between adjacent slits on the grating. The formula for the maxima produced by a diffraction grating relates the order of the maximum (n), the wavelength of light (λ), the grating constant (d), and the angle of diffraction (θ) from the central maximum.

nλ = d sin θ

Key facts to remember

  • 1Refractive index (n) is a dimensionless quantity, n = c/v, and n = sin i / sin r (from air).
  • 2Snell's Law: n₁ sin θ₁ = n₂ sin θ₂.
  • 3Total Internal Reflection (TIR) occurs when light travels from a denser to a less dense medium, and the angle of incidence exceeds the critical angle (C).
  • 4The critical angle is given by sin C = 1/n.
  • 5The lens formula is 1/f = 1/u + 1/v. Remember sign conventions for u, v, and f.
  • 6Converging lenses have positive focal lengths; diverging lenses have negative focal lengths.
  • 7The diffraction grating formula is nλ = d sin θ, where n is the order of the maximum, λ is wavelength, d is grating constant, and θ is the angle of diffraction.
  • 8The grating constant d is the reciprocal of the number of lines per unit length (e.g., if 500 lines/mm, d = 1/500 mm).

Worked examples

Example 1

A ray of light enters a block of glass from air at an angle of incidence of 40°. If the angle of refraction is 25°, calculate the refractive index of the glass. Also, calculate the critical angle for light travelling from this glass into air.

I1. Identify the given values: angle of incidence, i = 40°; angle of refraction, r = 25°.
II2. Apply Snell's Law (n = sin i / sin r) to find the refractive index of the glass.
III n = sin 40° / sin 25°
IV n = 0.6428 / 0.4226
V n = 1.521
VI3. To calculate the critical angle (C) for light travelling from glass to air, use the formula sin C = 1/n.
VII sin C = 1 / 1.521
VIII sin C = 0.6575
9 C = arcsin(0.6575)
10 C = 41.1°

Answer

The refractive index of the glass is 1.52, and the critical angle is 41.1°.

Remember that the refractive index has no units.

Example 2

An object is placed 20 cm in front of a converging lens with a focal length of 15 cm. Calculate the image distance and describe the nature of the image.

I1. Identify the given values and apply sign conventions: object distance, u = +20 cm (real object); focal length, f = +15 cm (converging lens).
II2. Use the lens formula: 1/f = 1/u + 1/v.
III 1/15 = 1/20 + 1/v
IV3. Rearrange the formula to solve for 1/v.
V 1/v = 1/15 - 1/20
VI 1/v = (4 - 3) / 60 (finding a common denominator)
VII 1/v = 1/60
VIII4. Calculate v.
9 v = +60 cm
105. Describe the nature of the image based on the sign and magnitude of v.
11 Since v is positive, the image is real. Since v > u, the image is magnified. Since it's a real image formed by a single converging lens, it will be inverted.

Answer

The image distance is +60 cm. The image is real, inverted, and magnified.

Always state the sign conventions you are using or assume the standard NCCA conventions.

Example 3

A diffraction grating has 500 lines per millimetre. When monochromatic light is shone normally on the grating, the first-order maximum is observed at an angle of 17.5°. Calculate the wavelength of the light.

I1. Identify the given values: order of maximum, n = 1; angle of diffraction, θ = 17.5°.
II2. Calculate the grating constant (d). The grating has 500 lines per millimetre, so the distance between lines is 1 mm / 500 lines.
III d = 1 mm / 500 = 0.002 mm
IV Convert d to metres: d = 0.002 × 10⁻³ m = 2 × 10⁻⁶ m.
V3. Apply the diffraction grating formula: nλ = d sin θ.
VI 1 × λ = (2 × 10⁻⁶ m) × sin 17.5°
VII λ = (2 × 10⁻⁶) × 0.3007
VIII λ = 6.014 × 10⁻⁷ m
94. Express the wavelength in nanometres (nm) if appropriate (1 nm = 10⁻⁹ m).
10 λ = 601.4 nm

Answer

The wavelength of the light is 6.01 × 10⁻⁷ m (or 601 nm).

Ensure the grating constant 'd' is in metres for calculations involving wavelength in metres.

Common mistakes

  • Incorrectly applying sign conventions for u, v, or f in the lens formula, especially for diverging lenses or virtual images.
  • Confusing the angles of incidence and refraction in Snell's Law or not measuring them relative to the normal.
  • Forgetting the two conditions necessary for total internal reflection to occur.
  • Using the number of lines per unit length directly as 'd' in the diffraction grating formula instead of calculating d as the distance between adjacent lines (1/N).
  • Not converting units (e.g., mm to m) when using the diffraction grating formula, leading to incorrect wavelength values.

Exam tips

  • Always draw a clear diagram for lens and refraction problems to visualise the rays and angles.
  • Clearly state all formulae used at the beginning of your solution.
  • Pay close attention to units and ensure consistency throughout your calculations (e.g., convert cm to m or vice versa if needed).
  • For lens problems, explicitly state the sign conventions you are using for u, v, and f to avoid errors and clarify your working.
  • When asked to describe an image, include its nature (real/virtual), orientation (upright/inverted), and relative size (magnified/diminished/same size).

Ready to practise?

Try a problem on this topic

Snap a photo or type a question — get step-by-step working instantly.