A ray of light hits a mirror, crosses into water, or passes through a lens, and you have to predict where it goes. Geometric optics gives you a small, reliable procedure for exactly that. Three rules cover almost every introductory problem:

θi=θr\theta_i = \theta_r n1sinθ1=n2sinθ2n_1 \sin \theta_1 = n_2 \sin \theta_2 1f=1do+1di\frac{1}{f} = \frac{1}{d_o} + \frac{1}{d_i}

The lens equation is the thin-lens model, so it works best when that approximation is reasonable and you use one consistent sign convention.

When To Use Each Rule

Before any algebra, decide which situation you are in. That single decision picks the rule for you.

  • If the light strikes a surface and stays in the same medium, you are doing reflection.
  • If the light crosses into a different medium, you are doing refraction.
  • If the light passes through a curved lens and you need where the image forms, you are doing image formation with the thin-lens equation.

Each rule has a condition attached, so identifying the case correctly is most of the work.

The Procedure, Step By Step

1. Draw the normal first

The normal is an imaginary line perpendicular to the surface. Measure every reflection and refraction angle from this line, never from the surface itself. Skipping this step is the single most common setup error.

2. Identify the effect

Use reflection when the ray stays in the same medium; a mirror is the standard example. Use refraction when the ray crosses into a different medium, such as air into water or glass.

3. Apply the matching rule

For reflection, the law is θi=θr\theta_i = \theta_r, with both angles measured from the normal. For refraction, Snell's law is n1sinθ1=n2sinθ2n_1 \sin \theta_1 = n_2 \sin \theta_2, where n1n_1 and n2n_2 are refractive indices. A larger refractive index means light travels more slowly in that material, so light entering a higher-index medium bends toward the normal, and light entering a lower-index medium bends away from it.

A useful check at the boundary: the frequency stays the same while the speed and wavelength can change. That is why color does not suddenly switch when light crosses a boundary. And if light goes from higher index to lower index at a large enough angle, refraction stops completely and total internal reflection occurs, the effect fiber optics relies on.

4. Use the lens equation carefully

For thin lenses under the usual introductory approximation, use 1f=1do+1di\frac{1}{f} = \frac{1}{d_o} + \frac{1}{d_i}, where ff is focal length, dod_o is object distance, and did_i is image distance. A converging lens brings parallel rays together; a diverging lens spreads them apart. Keep one sign convention throughout, because the signs decide whether the image is real, virtual, upright, or inverted.

Full Worked Example: Finding the Image Distance

Suppose a thin converging lens has focal length

f=10 cmf = 10\ \mathrm{cm}

and a real object is placed

do=30 cmd_o = 30\ \mathrm{cm}

from the lens. This is an image-formation case, so step 4 applies. Substitute into the thin-lens equation:

110=130+1di\frac{1}{10} = \frac{1}{30} + \frac{1}{d_i}

Solve for 1di\frac{1}{d_i}:

1di=110130=230=115\frac{1}{d_i} = \frac{1}{10} - \frac{1}{30} = \frac{2}{30} = \frac{1}{15}

So

di=15 cmd_i = 15\ \mathrm{cm}

With the common introductory sign convention, that positive image distance means a real image forms on the opposite side of the lens from the object. Since the image forms closer to the lens than the object, this case gives a reduced real image.

Where Students Get Stuck, And How To Check

Each step has a checkpoint you can use to catch your own errors before they propagate.

  • Measuring from the surface instead of the normal. If your reflection or refraction angle looks suspiciously large or small, re-read it from the normal.
  • Assuming light always bends toward the normal. It only bends toward the normal when entering a higher-index medium. Confirm which index is larger before deciding the direction.
  • Treating the thin-lens equation as universal. It is a model for thin lenses and paraxial rays. A correct number with the wrong sign convention still gives a wrong interpretation, so verify the convention before you label the image real or virtual.

If a result fails one of these checks, the fix is almost always to redo the step it belongs to, not to redo the whole problem.

Where This Procedure Shows Up

Optics appears anywhere people control light: mirrors and coatings, eyeglasses and contact lenses, cameras, microscopes, telescopes, medical imaging, and fiber optics. Even complicated instruments come back to the same three steps of reflection, refraction, and image formation.

Practice the Procedure

Rework the example with the object at 20 cm20\ \mathrm{cm}, or pick a different focal length, and run the four steps again. Each time, ask whether the image stays real, where it forms, and how its size changes. Walking the same procedure on fresh numbers is what makes it automatic, and GPAI Solver is a practical next step if you want guided cases.

Frequently Asked Questions

What changes when light enters a different material?
In a basic boundary problem, the frequency stays the same while the speed and wavelength can change. That change in speed is what leads to refraction.
Do lenses always make things look bigger?
No. The image size and orientation depend on the lens type and on where the object is placed relative to the focal length.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →