LearnViz Physics

Home / Topics / Optics

Optics

Reflection, refraction, lenses, instruments, interference, diffraction and polarisation. 61 topics, from beginner to advanced. Open the interactive version with labs and quizzes

Optics is the study of light. This area covers the nature of light, rectilinear propagation, reflection from plane and spherical mirrors, refraction and total internal reflection, lenses and optical instruments, and wave phenomena such as interference, diffraction and polarisation. It shows how the ray model and the wave model each explain different observations.

How the topics connect

Optics covers how light reflects, refracts and interferes. Ray optics handles mirrors and lenses, which is enough for cameras, glasses and telescopes, while wave optics explains interference, diffraction and polarisation, the effects that show light is a wave.

Real-world uses

Eyeglasses and contact lenses

Understand how converging and diverging lenses correct long-sightedness and short-sightedness.

Cameras and microscopes

Relate focal length, object distance and magnification to how a camera forms an image or a microscope enlarges a specimen.

Optical fibres

Explain how total internal reflection keeps light trapped inside a fibre to carry internet and telephone signals over long distances.

Anti-reflection and sunglasses

Use thin-film interference and polarisation to reduce glare on lenses and water surfaces.

Vision and eyewear

Opticians design glasses and contact lenses using the lens equations and the eye's focusing to correct myopia and hypermetropia.

Communications and imaging

Optical fibres carry internet traffic by total internal reflection, and microscopes and telescopes depend on lenses and mirrors.

Beginner

Nature of light

Light behaves as both wave and particle.

Light behaves as a wave (interference, diffraction, polarisation) and as particles called photons (photoelectric effect). Which description to use depends on the situation. Light is electromagnetic radiation at 400–700 nm.

Worked example

Double-slit pattern vs. single photon detection.

Common mistake

Light is neither a pure wave nor a tiny ball.

Beginner

Rectilinear propagation

Light travels in straight lines in uniform media.

In a uniform medium light travels in straight lines, explaining shadows, eclipses and the pinhole camera. It breaks down when apertures are comparable to the wavelength.

Worked example

Sharp shadow of a tree at noon.

Common mistake

Diffraction shows the limit of this idea.

Beginner

Reflection of light

Angle of incidence equals angle of reflection.

Key relationθ_i = θ_r

The reflected ray lies in the plane of incidence and θᵢ = θᵣ, measured from the normal. Rough surfaces scatter light (diffuse reflection).

Worked example

A ray at 30° to the normal reflects at 30°.

Common mistake

Angles are measured from the normal, not the surface.

Beginner

Plane mirrors

Form virtual images as far behind as the object is in front.

A plane mirror gives a virtual, upright, same-size image as far behind the mirror as the object is in front, with left–right reversal. A person needs only a half-height mirror to see the whole body.

Worked example

Rotating a mirror by θ turns the reflected ray by 2θ.

Common mistake

The image can't be projected on a screen.

Beginner

Spherical mirrors

Concave and convex mirrors form real or virtual images.

Concave mirrors converge light and can form real images; convex mirrors diverge light and always give virtual, reduced, upright images (wide view in car mirrors).

Worked example

Makeup mirrors are concave.

Common mistake

Real images are inverted.

Intermediate

Mirror equation

Relates object, image and focal distances.

Key relation1/v + 1/u = 1/f

1/v + 1/u = 1/f (real-is-positive convention as written here). Magnification m = −v/u.

Worked example

Concave mirror f = 10 cm with the object 30 cm away: the image forms 15 cm in front of the mirror, real and inverted, m = −0.5.

Common mistake

Set sign convention before plugging in numbers.

Intermediate

Magnification of a mirror

Ratio of image to object height.

Key relationm = −v/u

m = h'/h = −v/u. |m| > 1 enlarged, negative means inverted.

Worked example

Object at 2f gives m = −1.

Common mistake

Real images are inverted, virtual are upright.

Intermediate

Focal length and radius

Focus is half the radius of curvature.

Key relationf = R/2

For a spherical mirror f = R/2 for paraxial rays. Large aperture rays focus elsewhere (spherical aberration); parabolic mirrors avoid this.

Worked example

R = 40 cm: f = 20 cm.

Common mistake

Sign: concave f is negative in Cartesian convention.

Beginner

Refraction of light

Bending of light at a boundary.

Key relationn₁ sinθ₁ = n₂ sinθ₂

At a boundary the speed changes and the ray bends toward the normal when entering a denser medium. The frequency stays constant; wavelength changes.

Worked example

A straw looks bent in water.

Common mistake

Bending happens because of the speed change.

Beginner

Refractive index

Ratio of light speed in vacuum to that in a medium.

Key relationn = c/v

n = c/v is greater than 1: air 1.0003, water 1.33, glass 1.5, diamond 2.42. A higher n means slower light and more bending.

Worked example

Light in glass travels at 2×10⁸ m/s.

Common mistake

n depends on wavelength.

Intermediate

Snell's law

Law of refraction.

Key relationrefraction

n₁ sinθ₁ = n₂ sinθ₂ relates the angles in two media, measured from the normal. It follows from Fermat's principle.

Worked example

Air to glass at 40°: θ₂ = 25.4°.

Common mistake

Check the angles in the correct order.

Intermediate

Apparent depth

Objects in water look shallower.

Key relationd' = d/n

An object under water seems shallower: apparent depth = real depth/n (viewed from above). A pool of depth 2 m appears 1.5 m deep.

Worked example

Spearfishers aim lower.

Common mistake

The formula holds for near-normal viewing.

Intermediate

Critical angle

Angle beyond which total internal reflection occurs.

Key relationsinθ_c = n₂/n₁

When light goes from a denser to a rarer medium, the refracted ray bends away; at the critical angle θ_c = sin⁻¹(n₂/n₁) it travels along the boundary. Beyond it there's total internal reflection.

Worked example

Glass to air: 41.8°; water to air: 48.8°.

Common mistake

Needs n₁ > n₂.

Intermediate

Total internal reflection

Complete reflection inside a denser medium.

Key relationrefraction

If the incidence angle exceeds θ_c, all light is reflected back with no loss. It makes diamonds sparkle and optical fibres work.

Worked example

Binoculars use prisms for TIR.

Common mistake

No energy is transmitted (apart from an evanescent field).

Intermediate

Applications of TIR

Optical fibres, prisms and diamonds.

Optical fibres, endoscopes, prism binoculars, reflectors on bicycles and cat's-eyes on roads, and the sparkle of cut diamonds.

Worked example

A fibre loses only ~4% per km.

Common mistake

Fibre cladding has a lower n than the core.

Intermediate

Prism and deviation

A prism bends light and disperses colours.

Key relationn = sin((A+δ)/2)/sin(A/2)

A prism deviates light twice and disperses colours. n = sin((A + δ_min)/2)/sin(A/2) at minimum deviation.

Worked example

A = 60°, δ_min = 37°: n = 1.5.

Common mistake

Violet bends the most.

Intermediate

Dispersion

Different colours have different refractive indices.

n varies with wavelength (higher for blue), so white light splits into colours when refracted. It causes rainbows and chromatic aberration.

Worked example

Red n_glass = 1.51, violet 1.53.

Common mistake

Different from diffraction.

Beginner

Rainbow formation

Refraction, reflection and dispersion in raindrops.

Sunlight is refracted into a raindrop, internally reflected once and refracted out, with deviation minimum at about 138°, so the bow appears at 42° from the antisolar point. Red on the outside.

Worked example

Secondary bow at 51° with reversed colours.

Common mistake

The observer sees different drops for each colour.

Intermediate

Scattering of light

Rayleigh scattering makes the sky blue.

Key relationI ∝ 1/λ⁴

Molecules scatter light with intensity ∝ 1/λ⁴ (Rayleigh): blue sky and red sunsets. Larger particles scatter all colours (white clouds).

Worked example

Blue scatters 5.5 times more than red.

Common mistake

Scattering is not the same as reflection.

Beginner

Mirage

Light bends in layers of air at different temperatures.

Hot air near the ground has lower n, so light bends upward gradually giving an inverted image of the sky that looks like water.

Worked example

Seen on hot roads.

Common mistake

It's refraction, not reflection from a surface.

Advanced

Refraction at a spherical surface

Relation between object and image distance.

Key relationn₂/v − n₁/u = (n₂−n₁)/R

For a single surface: n₂/v − n₁/u = (n₂ − n₁)/R. Basis for the lens maker's formula.

Worked example

n₁ = 1, n₂ = 1.5, R = 10 cm, u = −30: v = 45 cm.

Common mistake

Signs: R positive if the centre is on the outgoing side.

Intermediate

Thin lens

Converging and diverging lenses.

Converging (convex) lenses bring parallel rays to a focus; diverging (concave) lenses spread them. Their power is measured in dioptres.

Worked example

A magnifying glass is a convex lens.

Common mistake

Thick lenses need more care.

Intermediate

Lens formula

Thin lens equation.

Key relation1/v − 1/u = 1/f

1/v − 1/u = 1/f in the Cartesian convention (u negative for real objects). Magnification m = v/u.

Worked example

f = 10 cm, u = −30 cm: v = 15 cm, m = −0.5.

Common mistake

Keep the sign convention consistent.

Advanced

Lens maker's formula

Focal length from curvature and index.

Key relation1/f = (n−1)(1/R₁−1/R₂)

1/f = (n − 1)(1/R₁ − 1/R₂) gives focal length from refractive index and curvatures.

Worked example

Biconvex lens with R₁ = 20 cm, R₂ = −20 cm, n = 1.5: f = 20 cm.

Common mistake

Placed in a medium, replace n by n_lens/n_medium.

Intermediate

Power of a lens

Reciprocal of focal length in metres, in dioptres.

Key relationP = 1/f

P = 1/f with f in metres, in dioptres (D). Converging lenses have positive power.

Worked example

f = 25 cm: 4 D.

Common mistake

Glasses prescriptions use dioptres.

Intermediate

Combination of lenses

Powers add for thin lenses in contact.

Key relationP = P₁+P₂

Thin lenses in contact: P = P₁ + P₂. For separated lenses, the image from the first is the object for the second.

Worked example

+3 D and −1 D: +2 D.

Common mistake

Don't just add focal lengths.

Advanced

Lens aberrations

Spherical and chromatic aberrations.

Spherical aberration (edge rays focus differently) and chromatic aberration (colours focus at different points) blur images. Cured by combining lenses (achromatic doublets) or aspheric surfaces.

Worked example

Cheap lenses show colour fringes.

Common mistake

Mirrors don't suffer chromatic aberration.

Beginner

Human eye

Lens focuses light onto the retina.

Cornea and lens focus light onto the retina; the ciliary muscle changes the lens shape (accommodation). Near point is 25 cm and far point infinity for normal vision.

Worked example

Rods work in dim light and cones for colour.

Common mistake

The retinal image is inverted.

Intermediate

Defects of vision

Myopia and hypermetropia corrected by lenses.

Myopia (short-sightedness): image forms in front of the retina; corrected by a diverging lens. Hypermetropia: behind the retina; corrected by a converging lens. Presbyopia: with age.

Worked example

A myopic person with far point 2 m needs −0.5 D.

Common mistake

Astigmatism needs cylindrical lenses.

Intermediate

Simple microscope

Magnifying glass angular magnification.

Key relationM = 1 + D/f

A convex lens used as a magnifier with the object inside the focal length. Maximum angular magnification M = 1 + D/f, with D = 25 cm.

Worked example

f = 5 cm: M = 6.

Common mistake

Image is virtual.

Intermediate

Compound microscope

Two lenses give high magnification.

Objective forms a real magnified image that the eyepiece magnifies again: M ≈ (L/f_o)(D/f_e). Used up to ~1500×.

Worked example

f_o = 0.5 cm, f_e = 2.5 cm, L = 16 cm: M = 320.

Common mistake

Resolution limited by diffraction.

Intermediate

Astronomical telescope

Refractor with large objective.

Key relationM = f_o/f_e

Objective lens (large f) collects light; eyepiece magnifies. In normal adjustment M = f_o/f_e and the tube length is f_o + f_e.

Worked example

f_o = 100 cm, f_e = 2 cm: M = 50.

Common mistake

Image is inverted.

Intermediate

Reflecting telescope

Uses a concave mirror.

Uses a large concave mirror as objective, avoiding chromatic aberration and allowing very large apertures with a lightweight support. The Hubble and Webb use mirrors.

Worked example

Webb's mirror is 6.5 m across.

Common mistake

Needs a secondary mirror to bring the image out.

Intermediate

Camera and f-number

Aperture controls exposure and depth of field.

The f-number N = f/D controls how much light enters; each stop (f/2.8, 4, 5.6...) halves the light. Smaller aperture increases depth of field.

Worked example

f/2 lets in 4 times as much light as f/4.

Common mistake

Exposure is a trade-off with shutter time.

Intermediate

Wave theory of light

Huygens' principle explains reflection and refraction.

Huygens and Young treated light as waves; Maxwell showed they are electromagnetic. Wave theory explains interference, diffraction and polarisation.

Worked example

Fringe patterns in thin films.

Common mistake

Particle behaviour appears in photon detection.

Intermediate

Huygens' principle

Each point on a wavefront is a source of secondary wavelets.

Every point on a wavefront acts as a source of secondary spherical wavelets; the new wavefront is their envelope. It explains reflection, refraction and diffraction.

Worked example

Plane waves hitting a boundary and bending.

Common mistake

Ignores the backward wave (needs Kirchhoff).

Intermediate

Coherent sources

Constant phase difference needed for interference.

Sources with a constant phase difference produce stable interference patterns. Light from two ordinary bulbs isn't coherent, but two slits lit by the same source are.

Worked example

Lasers are highly coherent.

Common mistake

Same frequency is necessary but not sufficient.

Intermediate

Young's double slit

Bright and dark fringes from two slits.

Key relationβ = λD/d

Light from two narrow slits forms bright and dark fringes on a screen. Bright when path difference = nλ: d sinθ = nλ.

Worked example

d = 0.2 mm, D = 1.5 m, λ = 550 nm: β = 4.1 mm.

Common mistake

Small angles allow sinθ ≈ y/D.

Intermediate

Fringe width

Spacing between adjacent bright fringes.

Key relationβ = λD/d

β = λD/d: fringes are wider for longer wavelengths, larger screen distances and closer slits. In water β reduces by n.

Worked example

Red fringes are wider than blue.

Common mistake

Measure over several fringes to reduce error.

Advanced

Intensity in interference

Intensity distribution across the fringes.

Key relationI = 4I₀cos²(φ/2)

I = 4I₀cos²(φ/2) for two equal sources, varying between 0 and 4I₀. Average intensity is 2I₀, so energy is redistributed, not created.

Worked example

Bright fringes are 4 times the single-slit intensity.

Common mistake

Intensity ∝ amplitude squared.

Advanced

Thin film interference

Colours in soap bubbles and oil films.

Key relation2nt = mλ

Light reflected from the two surfaces of a film interferes; the condition depends on thickness and phase changes on reflection. Soap bubbles, oil slicks and anti-reflective coatings.

Worked example

A coating of thickness λ/4n on glass cancels reflection.

Common mistake

Count the π phase changes.

Advanced

Newton's rings

Circular fringes from a lens on a flat surface.

A convex lens on a flat plate produces concentric rings from an air-wedge interference; the radius of the nth dark ring is r_n = √(nλR). Used to test lens surfaces.

Worked example

R = 1 m, λ = 589 nm: r₁₀ = 2.4 mm.

Common mistake

Centre is dark due to the phase change.

Advanced

Michelson interferometer

Precise length measurements through interference.

A beam splitter sends light along two perpendicular arms; recombining shows fringes that shift by one for each λ/2 mirror move. Used to measure tiny lengths and in LIGO.

Worked example

Michelson–Morley experiment.

Common mistake

Needs stability to nanometres.

Intermediate

Single slit diffraction

Central maximum with decreasing side peaks.

Key relationa sinθ = mλ

Light through a slit of width a gives a central maximum with width 2λD/a and minima at a sinθ = mλ. A narrower slit gives a broader pattern.

Worked example

a = 0.1 mm, λ = 600 nm, D = 1 m: central width 12 mm.

Common mistake

Bright fringes outside the central are much dimmer.

Intermediate

Diffraction grating

Many slits give sharp spectra.

Key relationd sinθ = mλ

Many equally spaced slits give sharp maxima at d sinθ = mλ. More lines produce narrower and brighter peaks; used in spectrometers.

Worked example

600 lines/mm, λ = 500 nm: first order at 17.5°.

Common mistake

Different from the single slit pattern.

Advanced

Resolving power

Ability to distinguish nearby objects; Rayleigh criterion.

Key relationθ = 1.22λ/D

Rayleigh criterion: two point sources are just resolved when the first minimum of one coincides with the maximum of the other: θ = 1.22λ/D. Bigger apertures resolve more.

Worked example

Human eye (D = 3 mm): about 1 arc minute.

Common mistake

Diffraction limits all instruments.

Intermediate

Polarisation of light

Light with E field in a single plane.

Unpolarised light has random E orientations; a polariser transmits only one direction. Light can be polarised by absorption, reflection, scattering or birefringence.

Worked example

Polaroid sunglasses reduce glare.

Common mistake

Shows light is a transverse wave.

Intermediate

Malus's law

Intensity through an analyser.

Key relationI = I₀cos²θ

Intensity through an analyser is I = I₀cos²θ. Two crossed polarisers block all light, but a third at 45° between them lets a fraction through.

Worked example

Unpolarised light through one polariser halves; then cos²θ.

Common mistake

Initial halving occurs only for unpolarised input.

Advanced

Brewster's angle

Reflected light is fully polarised at this angle.

Key relationtanθ_B = n

At the incidence angle with tanθ_B = n₂/n₁ the reflected light is completely polarised (parallel to the surface). For glass n = 1.5 it is 56.3°.

Worked example

Reflected and refracted rays are perpendicular.

Common mistake

Used in lasers and glare filters.

Intermediate

Polarisers and LCDs

Liquid crystal displays use polarisers.

Liquid-crystal displays place a liquid crystal between crossed polarisers; voltage controls how much it rotates the polarisation, switching pixels on or off.

Worked example

Phone screens.

Common mistake

Polarised sunglasses can make LCD screens look dark at some angles.

Advanced

Birefringence

Different indices for different polarisations.

Some crystals (calcite, quartz) have different refractive indices for different polarisations, splitting a beam into ordinary and extraordinary rays. Used in wave plates.

Worked example

Double image through calcite.

Common mistake

Depends on the crystal axis.

Advanced

Optical activity

Some substances rotate the plane of polarisation.

Certain substances (sugar solutions, quartz) rotate the plane of polarisation. The rotation is proportional to path length and concentration, measured in polarimeters.

Worked example

Used in the sugar industry.

Common mistake

Different enantiomers rotate in opposite directions.

Advanced

Coherence and lasers

Stimulated emission produces coherent beams.

Lasers emit light that is nearly monochromatic, coherent and highly directional through stimulated emission in a resonant cavity.

Worked example

Laser pointers, surgery and barcode readers.

Common mistake

Not necessarily powerful.

Advanced

Holography

Records interference patterns to reproduce 3D images.

A hologram records both the amplitude and phase of light through interference with a reference beam; illuminating it reconstructs a 3D image.

Worked example

Security holograms on bank cards.

Common mistake

Needs coherent light for recording.

Advanced

Fermat's principle

Light takes the path of stationary travel time.

Light travels along the path of stationary (usually minimum) travel time between two points. Both reflection and refraction laws follow.

Worked example

A lifeguard problem: run along the beach and swim.

Common mistake

Stationary doesn't always mean minimum.

Advanced

Fresnel and Fraunhofer diffraction

Near-field and far-field diffraction regimes.

Fraunhofer (far-field) diffraction has parallel waves and simple patterns; Fresnel (near-field) has curved wavefronts. The Fresnel number a²/λL tells which applies.

Worked example

Single slit with a screen far away is Fraunhofer.

Common mistake

Poisson spot is a Fresnel effect.

Advanced

Fibre optics numerical aperture

Acceptance angle of a fibre.

Key relationNA = √(n₁²−n₂²)

NA = √(n₁² − n₂²) = sinθ_max for the acceptance cone. Light entering inside the cone is trapped by TIR.

Worked example

n₁ = 1.48, n₂ = 1.46: NA = 0.24, θ = 14°.

Common mistake

Larger NA collects more light but increases modal dispersion.

Beginner

Colour and the eye

Cones in the retina detect red, green, blue.

Three cone types (red, green, blue sensitive) give colour vision; all other colours are combinations of their responses. Colour blindness arises from missing or shifted cones.

Worked example

Yellow light stimulates red and green cones.

Common mistake

Colour is a perception, not a property of the light alone.

Beginner

Additive and subtractive colour mixing

Light adds to white; pigments subtract.

Mixing lights adds (red + green = yellow; all three = white). Mixing pigments subtracts (cyan + magenta + yellow gives dark) as each absorbs colours.

Worked example

Screens use RGB; printers use CMYK.

Common mistake

Different primaries for each.

Advanced

Photometry

Luminous intensity, flux and illuminance.

Measures light as perceived by the human eye: luminous flux (lumen), illuminance (lux = lm/m²) and luminous intensity (candela). Weighted by the eye's sensitivity (peak at 555 nm).

Worked example

A 800 lm bulb over 1 m² gives 800 lux.

Common mistake

Radiometry measures energy not perception.

Advanced

Geometrical vs wave optics

Ray optics is valid when objects are much larger than λ.

Ray optics is valid when objects and apertures are much larger than the wavelength. When sizes approach λ, diffraction and interference appear.

Worked example

Lens design uses rays; resolution limits use waves.

Common mistake

The two pictures are consistent in their domains.

Frequently asked questions

Why does a straw look bent in a glass of water?

Light changes speed and direction when it passes from water into air, a process called refraction. Your brain traces the light rays back in straight lines, so the submerged part appears displaced.

What is total internal reflection?

It happens when light travelling in a denser medium hits the boundary with a less dense medium at an angle greater than the critical angle. All the light is reflected back into the denser medium.

What is the difference between a real and a virtual image?

A real image is formed where light rays actually converge and can be projected onto a screen. A virtual image is where the rays appear to come from, and it cannot be projected.

Why does a lens make an image upside down?

Light from the top of the object crosses the axis after passing the lens, so the real image is inverted. Your eye still sees it correctly because your brain interprets the picture.

Why do rainbows form?

Raindrops refract, reflect and refract sunlight again, and each colour leaves at a slightly different angle, spreading the light into a spectrum.

Other areas

Measurement & Math Tools · Kinematics · Newton's Laws & Forces · Work, Energy & Power · Momentum & Collisions · Rotational Motion · Gravitation & Orbits · Oscillations & SHM · Waves & Sound · Fluids & Elasticity · Heat & Thermodynamics · Kinetic Theory & Statistical Physics · Electrostatics · Current Electricity & Circuits · Magnetism & Induction · AC Circuits & EM Waves · Quantum Mechanics · Atomic & Nuclear Physics · Relativity · Particle Physics & Cosmology