US exams AP (Advanced Placement) AP Physics 2

Geometric Optics: Refraction, Lenses and Mirrors

Learn refraction, Snell's law, total internal reflection, and lens and mirror images for AP Physics 2, with worked examples and practice questions.

Reviewed by Independent AI model review on 2026-11-16

Watch the worked example

Thin Lens Equation: Finding a Real Image. Captions are available in the player.
Geometric Optics: Practice Problems Solved. Captions are available in the player.

Light travels in straight lines until it meets a surface or a different material. Geometric optics uses rays to predict how light reflects, bends and forms images in mirrors, lenses and fiber optic cables.

Key ideas

  • Law of reflection: the angle of incidence equals the angle of reflection, both measured from the normal (the line at right angles to the surface).
  • Light slows down in a material. The index of refraction n of a material compares the speed of light in a vacuum with its speed in the material.
  • Refraction is the bending of a ray at the boundary between two materials. Going into a material with a higher index, the ray bends toward the normal. Going into a lower index, it bends away from the normal. Snell's law gives the angle.
  • Total internal reflection happens when light in a higher-index material meets a lower-index material at an angle bigger than the critical angle. All the light reflects. It is how fiber optic cables work.
  • A converging (convex) lens brings parallel rays together at its focal point. A diverging (concave) lens spreads them out.
  • A real image is formed where rays actually meet. It can be shown on a screen, and for a single lens or mirror it is inverted. A virtual image is where rays only appear to come from. It cannot be shown on a screen, and for a single lens or mirror it is upright.
  • The thin lens equation links the object distance, the image distance and the focal length. The magnification gives the size and orientation of the image.
  • Mirrors use the same equations. A concave mirror acts like a converging lens, and a convex mirror like a diverging lens. Be careful: a concave mirror converges light, but a concave lens diverges it. The focal length of a spherical mirror is half its radius of curvature.
  • A plane mirror makes a virtual, upright image the same size as the object, as far behind the mirror as the object is in front.

Key equations

Quantity Equation
Index of refraction n = c ÷ v
Snell's law n₁ sin θ₁ = n₂ sin θ₂
Critical angle sin θc = n₂ ÷ n₁ (with n₁ > n₂)
Thin lens and mirror equation 1 ÷ sₒ + 1 ÷ sᵢ = 1 ÷ f
Magnification M = hᵢ ÷ hₒ = −sᵢ ÷ sₒ
Spherical mirror f = R ÷ 2

Here c = 3.00 × 10⁸ m/s, sₒ is the object distance, sᵢ the image distance, f the focal length and hₒ, hᵢ the object and image heights. Sign convention: f is positive for a converging lens or concave mirror and negative for a diverging lens or convex mirror. sₒ is positive for a real object. sᵢ is positive for a real image (on the side of the lens the light goes to, or in front of a mirror) and negative for a virtual image. A negative M (and a negative hᵢ) means the image is inverted. The AP exam provides an equation sheet. Check the current College Board sheet to see which of these relationships are listed.

Refraction

When light enters a material with a higher index, its speed and wavelength decrease but its frequency stays the same. The change of speed at an angle makes the ray bend, like a car whose wheel on one side hits sand before the other. Angles are always measured from the normal, not from the surface.

Refraction of light from air into glassA ray of light in air meets a glass surface at 40 degrees to the normal. Glass has a refractive index of 1.50, so the ray bends toward the normal and travels in the glass at 25 degrees to the normal.air, n = 1.00glass, n = 1.5040°25°normaln₁ sin θ₁ = n₂ sin θ₂sin θ₂ = sin 40° ÷ 1.50θ₂ = 25°
The ray bends toward the normal as it enters glass, because glass has a higher index than air.

Images from lenses

To find an image, trace any two of three rays from the top of the object: one parallel to the axis, which refracts through the far focal point; one through the center of the lens, which goes straight; and one through the near focal point, which refracts parallel to the axis. Where the rays meet is the top of the image. The equation gives the same answer without a drawing.

A converging lens forming a real imageAn object 30 centimeters from a converging lens of focal length 10 centimeters. Three rays from the top of the object, one parallel to the axis, one through the center of the lens and one through the near focal point, meet 15 centimeters beyond the lens. They form a real, inverted image half the size of the object.FFobjectimagesₒ = 30 cmsᵢ = 15 cm1 ÷ sᵢ = 1 ÷ 10 − 1 ÷ 30, so sᵢ = 15 cm: real, inverted, M = −0.50
The object is 30 cm from a lens with f = 10 cm, beyond 2f. The three rays meet 15 cm beyond the lens, forming a real, inverted, smaller image.
Object position (converging lens) Image
Beyond 2f Real, inverted, smaller
At 2f Real, inverted, the same size (sᵢ = 2f)
Between f and 2f Real, inverted, larger
At f No image (the rays emerge parallel)
Inside f Virtual, upright, larger

Worked example 1: Snell's law

A ray of light travels from air (n = 1.00) into glass (n = 1.50). It meets the surface at 40° to the normal. Find the angle of refraction.

n₁ sin θ₁ = n₂ sin θ₂, so sin θ₂ = (1.00 × sin 40°) ÷ 1.50 = 0.643 ÷ 1.50 = 0.428. θ₂ = 25°, which is smaller than 40°, so the ray bends toward the normal.

Worked example 2: speed of light in glass

Find the speed of light in glass of index 1.50.

v = c ÷ n = 3.00 × 10⁸ ÷ 1.50 = 2.00 × 10⁸ m/s.

Worked example 3: critical angle

Find the critical angle for light going from glass (n = 1.50) into air.

sin θc = n₂ ÷ n₁ = 1.00 ÷ 1.50 = 0.667, so θc = 42°.

At angles of incidence larger than 42°, light in the glass is totally internally reflected, with no light leaving.

A light pulse travelling along an optical fiberAn animation of a light pulse bouncing from side to side along the core of an optical fiber. It meets the boundary at about 65 degrees, which is more than the 61 degree critical angle for a core of index 1.60 and cladding of index 1.40, so it is totally internally reflected each time. The motion is switched off if your device is set to reduce motion.cladding n = 1.40core n = 1.60Animation: the pulse hits the boundary at about 65°, above the 61° critical angle,so every bounce is total internal reflection and no light leaks into the cladding.
Animation: a pulse of light in an optical fiber meets the boundary at about 65°, which is more than the 61° critical angle for these indices, so it is totally internally reflected every time and stays in the core.

Worked example 4: a real image

An object 4.0 cm tall is 30 cm from a converging lens of focal length 10 cm. Find the position, nature and height of the image.

1 ÷ sᵢ = 1 ÷ f − 1 ÷ sₒ = 1 ÷ 10 − 1 ÷ 30 = 3 ÷ 30 − 1 ÷ 30 = 2 ÷ 30, so sᵢ = 15 cm. sᵢ is positive, so the image is real, on the far side of the lens. M = −sᵢ ÷ sₒ = −15 ÷ 30 = −0.50. The negative sign means the image is inverted. hᵢ = M × hₒ = (−0.50)(4.0) = −2.0 cm, so the image is 2.0 cm tall and inverted.

Worked example 5: a virtual image

An object is 6.0 cm from the same converging lens (f = 10 cm). Find the image.

1 ÷ sᵢ = 1 ÷ 10 − 1 ÷ 6.0 = 3 ÷ 30 − 5 ÷ 30 = −2 ÷ 30, so sᵢ = −15 cm. The negative sign means the image is virtual, on the same side of the lens as the object. M = −sᵢ ÷ sₒ = −(−15) ÷ 6.0 = +2.5. The positive sign means it is upright and 2.5 times larger. This is a magnifying glass.

Worked example 6: a convex mirror

A convex mirror has a focal length of −15 cm. An object is 30 cm from it. Find the image.

1 ÷ sᵢ = 1 ÷ f − 1 ÷ sₒ = −1 ÷ 15 − 1 ÷ 30 = −2 ÷ 30 − 1 ÷ 30 = −3 ÷ 30, so sᵢ = −10 cm. The image is virtual, 10 cm behind the mirror. M = −(−10) ÷ 30 = +0.33. It is upright and one third the size. This is why car side mirrors show a wide view of smaller objects.

More worked problems

These three exam-style problems are worked out step by step in the video "Geometric Optics: Practice Problems Solved" at the top of this page. Each solution is written out below, after the three problems. Use c = 3.00 × 10⁸ m/s. You can try new problems in "Try it yourself" afterward.

Problem 1: an optical fiber. An optical fiber has a core of index 1.60 inside cladding of index 1.40. Find (a) the critical angle at the boundary between the core and the cladding, and (b) the speed of light in the core. Light traveling in the core meets the boundary at 70° to the normal in ray A and at 50° to the normal in ray B. Find (c) what happens to ray A, and (d) what happens to ray B, including the angle of any ray that enters the cladding.

Two rays meeting the core and cladding boundary of an optical fiberAn optical fiber with a core of index 1.60 inside cladding of index 1.40. Ray A meets the boundary at 70 degrees to the normal and reflects. Ray B meets it at 50 degrees to the normal and refracts into the cladding. The diagram is not to scale.cladding n = 1.40core n = 1.60ray A: meets the boundary at 70°cladding n = 1.40core n = 1.60ray B: meets the boundary at 50°Find the critical angle, the speed in the core, and what happens to each ray.The diagram is not to scale.
Problem 1: the light starts in the higher-index core, so total internal reflection is possible. The diagram is not to scale.

Problem 2: a concave mirror. A concave mirror has a radius of curvature of 40 cm. An object 5.0 cm tall stands 60 cm in front of it. Find (a) the focal length, (b) the position, nature and height of the image, and (c) the image if the object is moved to 12 cm from the mirror.

A concave mirror forming an imageAn object 5.0 centimeters tall, 60 centimeters in front of a concave mirror with a radius of curvature of 40 centimeters. Two rays from the top of the object are drawn: one parallel to the axis that reflects through the focal point, and one through the focal point that reflects parallel to the axis. They meet at the top of a smaller, inverted, real image. The diagram is not to scale.FCobjectimagesₒ = 60 cmA concave mirror with radius of curvature 40 cm and an object 5.0 cm tall. Not to scale.
Problem 2: the focal point is halfway between the mirror and its center of curvature C. The diagram is not to scale.

Problem 3: a projector. A slide 4.0 cm tall is placed in front of a converging lens. The lens forms a real image 1.2 m tall on a screen 3.0 m from the lens. Find (a) the magnification, (b) the distance from the slide to the lens, (c) the focal length of the lens, and say (d) how the slide must be placed so that the picture on the screen is upright.

A lens projecting a slide onto a screenA slide 4.0 centimeters tall is a short distance in front of a converging lens. A screen 3.0 meters from the lens shows a real, inverted image 1.2 meters tall. The diagram is not to scale.slide, 4.0 cmscreenimage, 1.2 m3.0 mA slide projector forms a large real image on a screen. Not to scale.
Problem 3: the real image is on the far side of the lens, so the image distance is positive. The diagram is not to scale.

Solutions to the worked problems

Problem 1.

(a) The light starts in the higher-index core: sin θc = n₂ ÷ n₁ = 1.40 ÷ 1.60 = 0.875, so θc = 61°.

(b) v = c ÷ n = 3.00 × 10⁸ ÷ 1.60 = 1.88 × 10⁸ m/s.

(c) Ray A meets the boundary at 70°, which is larger than 61°, so it is totally internally reflected. No light enters the cladding, and the ray stays in the core.

(d) Ray B meets the boundary at 50°, which is smaller than 61°, so most of it refracts into the cladding. Snell's law gives sin θ₂ = (1.60 × sin 50°) ÷ 1.40 = (1.60 × 0.766) ÷ 1.40 = 0.875, so θ₂ = 61° from the normal. It bends away from the normal, because the cladding has a lower index. A small part of the light is also reflected. This is why a fiber must not be bent too sharply: a ray that meets the boundary at less than the critical angle leaks out.

Problem 2.

(a) f = R ÷ 2 = 40 ÷ 2 = 20 cm, positive because the mirror is concave.

(b) 1 ÷ sᵢ = 1 ÷ f − 1 ÷ sₒ = 1 ÷ 20 − 1 ÷ 60 = 3 ÷ 60 − 1 ÷ 60 = 2 ÷ 60, so sᵢ = 30 cm in front of the mirror. It is positive, so the image is real. M = −sᵢ ÷ sₒ = −30 ÷ 60 = −0.50, so the image is inverted. hᵢ = (−0.50)(5.0) = −2.5 cm, so it is 2.5 cm tall.

(c) 1 ÷ sᵢ = 1 ÷ 20 − 1 ÷ 12 = 3 ÷ 60 − 5 ÷ 60 = −2 ÷ 60, so sᵢ = −30 cm. The negative sign means the image is virtual, 30 cm behind the mirror. M = −(−30) ÷ 12 = +2.5, so the image is upright and 2.5 times larger: hᵢ = (2.5)(5.0) = 12.5 cm. The object is inside the focal length (12 cm is less than 20 cm), so the mirror acts like a magnifying shaving mirror.

Problem 3.

(a) The real image is inverted, so hᵢ = −1.2 m = −120 cm and hₒ = 4.0 cm. M = hᵢ ÷ hₒ = −120 ÷ 4.0 = −30.

(b) The screen distance is sᵢ = 3.0 m = 300 cm, and M = −sᵢ ÷ sₒ, so sₒ = −sᵢ ÷ M = 300 ÷ 30 = 10 cm.

(c) 1 ÷ f = 1 ÷ sₒ + 1 ÷ sᵢ = 1 ÷ 10 + 1 ÷ 300 = 30 ÷ 300 + 1 ÷ 300 = 31 ÷ 300, so f = 300 ÷ 31 = 9.7 cm. The slide is just beyond the focal point, which is how a projector makes a large real image far away.

(d) The image is inverted, so the slide must be put in the projector upside down to get an upright picture on the screen.

Try it yourself

These problems are not worked out in the videos. Use c = 3.00 × 10⁸ m/s and the speed of light in air equal to c.

Problem A. A laser beam of wavelength 589 nm in air meets the flat surface of a pool of water (n = 1.33) at 35° to the normal. Find (a) the angle of refraction, (b) the wavelength of the light in the water, and (c) the frequency of the light in the water.

Problem B. An object 6.0 cm tall is 30 cm from a diverging lens of focal length −20 cm. Find (a) the image distance, (b) the magnification, and (c) the height of the image. Say whether it is real or virtual, and upright or inverted.

Problem C. A converging lens of focal length 12 cm is used as a magnifying glass to make a virtual, upright image that is 4.0 times as tall as a 2.0 cm object. Find (a) the object distance, (b) the image distance and (c) the height of the image.

Check your answers. A: (a) 25.5°; (b) 443 nm; (c) 5.09 × 10¹⁴ Hz, the same as in air. B: (a) −12 cm; (b) +0.40; (c) 2.4 cm, virtual and upright. C: (a) 9.0 cm; (b) −36 cm; (c) 8.0 cm.

Common mistakes

  • Measuring angles from the surface. In Snell's law and the law of reflection, angles are measured from the normal.
  • Inverting the equation wrongly. You calculate 1 ÷ sᵢ. Take the reciprocal at the end to get sᵢ.
  • Ignoring signs. A negative focal length means a diverging lens or convex mirror. A negative image distance means a virtual image.
  • Thinking all images are inverted. For a single lens or mirror, real images are inverted, but virtual images are upright.
  • Applying the critical angle going the wrong way. Total internal reflection needs the light to start in the higher-index material.

Quick summary

  • n = c ÷ v. Snell's law: n₁ sin θ₁ = n₂ sin θ₂, with angles from the normal. Light bends toward the normal in a higher index.
  • Total internal reflection needs n₁ > n₂ and an angle above sin θc = n₂ ÷ n₁.
  • 1 ÷ sₒ + 1 ÷ sᵢ = 1 ÷ f and M = −sᵢ ÷ sₒ. A positive sᵢ means real, and a negative M means inverted.
  • A converging lens gives a real image outside f and a virtual one inside f. A diverging lens or convex mirror always gives a virtual, upright, smaller image of a real object.

Practice questions

Choose an answer to see whether you are right and why.

1. A ray of light passes from air into glass. How does it bend at the surface?

2. The refractive index of a material is 2.0. What is the speed of light in it? Use c = 3.0 × 10⁸ m/s.

3. What is the critical angle for light going from water (n = 1.33) into air (n = 1.00)?

4. An object is 20 cm from a converging lens of focal length 10 cm. How far from the lens is the image?

5. A converging lens forms an upright, enlarged image of an object. Where is the object?

6. Which kind of image is always formed by a diverging lens of a real object?

Make your own study set

Upload your class notes, a PDF or a revision video and CampusBadge builds notes, flashcards and quizzes for you to practise with.

This lesson is a study guide, not the syllabus. Check what is examined in the official AP Physics 2 syllabus for your exam year.

All AP Physics 2 lessons

Upload Documents for Study Materials

We'll generate notes, flashcards and quizzes from your document.

Drop your document here

PDF, Word (.docx), or Text files

Processing your document...

Generating study materials

Process YouTube Video

Paste a link to a revision video.

How it works

We'll extract the transcript from the YouTube video and generate study notes, flashcards, and quizzes.

Processing YouTube video...

Extracting transcript and generating study materials

Add New Badge

Create a badge to mark an achievement.

Are you sure?