Lenses, Mirrors & Optical Instruments · Guide · glidepathscience.org
GuideLenses, Mirrors & Optical Instruments
Contents
This Guide explains the ideas and equations behind every Walkthrough step, Concept Challenge question and Predict round, in the order a textbook takes them. Part 1 prepares the Intro track and Part 2 the Advanced track; each takes about a quarter of an hour to read. Each section ends with a worked example that is not one of the sim’s own problems. One sign convention runs through all of it: real is positive.
Part 1 · The essentials
Math you’ll need: algebra with fractions and reciprocals, similar triangles, and signed numbers; no calculus.
An image is where the rays meet again
Every point of a lit candle sends light out in all directions. Most of it never reaches your eye, and the little that does arrives as a spray of rays spreading from that point. That is how you see the point at all: your eye’s lens collects the spray and brings it together again on your retina. A lens or a curved mirror can do the same job out in the room. It takes the spray from each point of an object and turns it back toward a single point. That point is the image of the object’s point, and the image of the whole object is the collection of all of them.
Two things follow from this simple picture, and both surprise students. First, the image is not at the focal point. The focal point is where light from a very distant object meets; light from a nearer object meets somewhere else, and the equations of this Guide tell you where. Second, the image does not belong to any particular rays. Every ray from a point that passes through the lens heads for the same image point, so the three “principal rays” of a textbook drawing are just three that are easy to draw. Cover half a lens and the image is all still there, made by the half that is left, only dimmer.
Sometimes the outgoing rays never meet at all: they spread apart after the lens or mirror. Traced backward, though, their lines meet at a point behind the mirror or on the object’s side of the lens, and your eye, which only sees where light seems to come from, sees the object there. That is a virtual image. It is as real to your eye as any other, but no screen can catch it, because no light actually gathers there.
Curved mirrors and the mirror equation
A concave mirror is a piece of the inside of a sphere of radius $R$, whose center is the center of curvature $C$. At every point of the mirror the radius to $C$ is the normal, and each ray reflects at an equal angle on the other side of it. Rays that arrive parallel to the axis near the axis all cross it at one point halfway to $C$, the focal point $F$. Its distance from the mirror is the focal length:
$f = R/2$
A convex mirror, curved the other way, spreads parallel light out as if it came from a focal point $R/2$ behind the mirror.
To find an image by drawing, follow three rays from the tip of the object. The first leaves parallel to the axis and reflects through $F$. The second passes through $F$ on its way in and reflects parallel to the axis. The third passes through $C$, meets the mirror along a radius, and reflects straight back on itself. Where the reflected rays cross is the image of the tip. Any two of them are enough; the third is a check.
The drawing becomes an equation by similar triangles. With $p$ the object’s distance from the mirror and $q$ the image’s,
$1/p + 1/q = 1/f$ $M = h′/h = −q/p$
where $h$ is the object’s height, $h′$ the image’s, and $M$ the lateral magnification. The equation works for every case only if the signs mean the same thing every time. In this sim, and in the textbooks that use these symbols, real is positive: $p > 0$ for a real object, on the side the light comes from; $q > 0$ for a real image, on the side the light goes to, which for a mirror is in front of it; $q < 0$ for a virtual image, behind the mirror; $f > 0$ for a concave mirror and $f < 0$ for a convex one; and $M < 0$ means the image is inverted. A negative answer is never an error. It is the equation telling you the image is virtual.
When the object stands inside $F$, the reflected rays spread apart, and $1/q = 1/f − 1/p$ comes out negative: the image is virtual, behind the mirror, upright and enlarged. That is a makeup mirror. A convex mirror always gives a virtual, upright, reduced image of a real object, which is why shops and cars use one for a wide view.
Refraction at one surface, and apparent depth
A single curved boundary between two transparent media also forms images, because Snell’s law bends rays more the farther from the axis they strike. Light goes from a medium of index $n_1$ into one of index $n_2$ through a surface of radius $R$. Near the axis, rays from an object at distance $p$ meet at $q$ given by
$n_1/p + n_2/q = (n_2 − n_1)/R$
with the same signs as before: $q > 0$ for a real image on the far side, where the light goes, and $q < 0$ for a virtual image on the object’s side. $R$ is positive when the center of curvature lies on the side the light goes to.
A flat surface has $R = ∞$, so the right side vanishes and $q = −(n_2/n_1)p$. The minus sign says the image is virtual, on the object’s side. This is apparent depth. Looking straight down into water ($n_1$ = 1.333) from air ($n_2$ = 1), the bottom seems to be at $p/1.333$, about three quarters of its real depth, and a fish looks higher than it is. Seen at a slant, the bottom looks shallower still, and the rays from one point no longer meet at one point.
Thin lenses
A thin lens is two refracting surfaces close together, and for images near the axis it obeys the same equation as a mirror,
$1/p + 1/q = 1/f$ $M = −q/p$
The only change is which side counts as real. The light goes through a lens, so a real image forms beyond it ($q > 0$), and a virtual one on the object’s side ($q < 0$). A converging lens, thicker in the middle, has $f > 0$; a diverging one, thinner in the middle, has $f < 0$.
The principal rays for a lens are: parallel to the axis, then through the far focal point $F′$; through the near focal point $F$, then parallel; and straight through the center, undeviated. For a diverging lens the first ray leaves as if it came from $F′$ on the object’s side, and the second is aimed at $F$ beyond the lens before it leaves parallel.
Follow an object in from far away toward a converging lens. Far away, its image sits just beyond $F′$, small and inverted. At $2F$ the image is at $2F′$, the same size. Between $2F$ and $F$ the image runs out and grows: this is a projector, with the slide just outside $F$ and the picture on a distant wall. As the object reaches $F$, the rays leave parallel and the image is at infinity. Inside $F$ the rays spread, and the image becomes virtual and upright on the object’s side: a magnifying glass.
Covering half the lens removes half the rays from each point of the object, not half the points: every part of the lens sends light from every object point to the same image point. The image stays whole and grows dimmer.
The eye and its glasses
Opticians measure a lens by its power, the reciprocal of its focal length in meters:
$P = 1/f$
in diopters (D, one per meter). Powers of thin lenses in contact add. The eye is a converging system that forms a real, inverted image on the retina. A simple model treats it as one lens 2.00 cm in front of the retina: for a distant object $P = 1/p + 1/q$ = 0 + 1/0.0200 m = 50.0 D, and for a page 25 cm away, 4.0 + 50.0 = 54.0 D. The eye supplies the extra 4 D by letting its lens bulge, which is called accommodation. A camera focuses differently: it moves its lens.
The nearest point an eye can focus is its near point, about 25 cm for a young adult; the farthest is its far point, at infinity for a normal eye. A nearsighted (myopic) eye is too strong for its length, so distant light focuses in front of the retina and its far point is close. It needs a diverging lens, of negative power, that makes distant objects’ light seem to come from the far point. A farsighted (hyperopic) eye is too weak, so its near point is far away, and it needs a converging lens that moves the image of a page out to the near point. With age the lens stiffens and accommodation fades (presbyopia), and reading glasses do the same job. In each case the lens forms a virtual image where the eye can see, so its $q$ is negative.
Instruments enlarge angles
How large something looks depends on the angle it fills at your eye, not on its size alone. A magnifier, a microscope and a telescope all do one thing: they make an object fill a larger angle. Their angular magnification $m$ compares the angle of the image with the angle of the object as you would see it without the instrument. (The lateral magnification $M$ of the earlier sections compares heights; $m$ compares angles.)
Without help you can hold an object no closer than your near point, 25 cm, and still see it sharp. A converging lens held at the eye lets you bring the object much closer. With the object at the lens’s focal point the image is at infinity and a relaxed eye sees it; with the object a little nearer, the image sits at the near point:
$m = 25\ \mathrm{cm}/f$ $m = 1 + 25\ \mathrm{cm}/f$
A compound microscope uses an objective of short focal length to make a real, enlarged image $L$ beyond its focal point (the tube length, often 160 mm), and an eyepiece to view that image as a magnifier. The objective’s lateral magnification multiplies the eyepiece’s angular one:
$m = −(L/f_{obj})(25\ \mathrm{cm}/f_{eye})$
A telescope works on objects so far away that their light arrives parallel. The objective forms a real image at its focal point; the eyepiece, placed so that this image is at its own focal point too, sends the light out parallel again at a larger angle:
$m = −f_{obj}/f_{eye}$
The minus signs say both instruments show an inverted view. The magnifications multiply, never add. A telescope enlarges the Moon and the planets, but a star stays a point however large $m$ is: the telescope only gathers more of its light.
Part 2 · Going further
Math you’ll need: algebra, 2 × 2 matrices and their products, and the cosine of an angle; no calculus.
One surface, and the lensmaker’s equation
The single-surface equation of Part 1, $n_1/p + n_2/q = (n_2 − n_1)/R$, is the paraxial limit of Snell’s law: rays near the axis meet where it says, and the exact trace confirms it to a part in a million for a ray 10 µm out. Its magnification carries the indices, because the image lies in a different medium from the object:
$M = −n_1q/(n_2p)$
A thin lens is two such surfaces. Imaging through the first, then using that image as the object of the second, and letting the thickness go to zero gives the lensmaker’s equation,
$1/f = (n_{lens}/n_{medium} − 1)(1/R_1 − 1/R_2)$
with each radius signed by the outgoing-side rule. A biconvex lens has $R_1 > 0$ and $R_2 < 0$. The medium matters as much as the glass: under water the ratio $n_{lens}/n_{medium}$ comes close to 1, and the lens grows several times weaker. That is also why your eye blurs under water. Most of its power comes from the air–cornea surface, which water nearly cancels; goggles put the air back.
Thick lenses, matrices and the two conventions
A real lens has thickness, and then distances can no longer be measured from “the lens”. Gaussian optics handles any system with two principal planes, $H$ and $H′$: object distances are measured from $H$, image distances from $H′$, and $1/p + 1/q = 1/f$ holds again, with $f$ the effective focal length (EFL). The back focal length (BFL) is measured from the last surface, the distance a technician can actually set. For a ball lens of index $n$ and diameter $D$, both principal planes sit at its center:
EFL $= nD/(4(n − 1))$ BFL = EFL − $D/2$
The tidy way to combine elements is with ray-transfer matrices. A ray is a column $(y, u)$, its height and slope. A gap of length $d$ is $\begin{pmatrix}1&d\\0&1\end{pmatrix}$ and a thin lens $\begin{pmatrix}1&0\\−1/f&1\end{pmatrix}$; the system’s matrix $\begin{pmatrix}A&B\\C&D\end{pmatrix}$ is the product, the last element on the left. Then
EFL $= −1/C$, BFL $= −A/C$
Matrices work in coordinates, measured along $+x$, the Cartesian convention of many upper-level texts, where a real object sits at $s = −p$ and the lens equation reads $1/s′ − 1/s = 1/f$. A real image beyond the last lens has the same positive number in both conventions; an object’s distance changes sign. The table in the Reference sets them side by side. Newton’s form of the lens equation measures from the focal points instead: $xx′ = f^2$.
Aberrations and the achromat
The equations of Part 1 are exact only near the axis. A spherical mirror sends a parallel ray at height $h$ across the axis at
crossing $= R − R/(2\cos θ)$ $\sin θ = h/R$
which falls short of $F = R/2$ by more the farther out the ray. The rays form a bright curved envelope, a caustic, rather than a point: spherical aberration. A paraboloid sends every parallel ray to its focus exactly, which is why telescope mirrors and headlamp reflectors are paraboloids, though off the axis it blurs (coma). A lens shows spherical aberration too, and how much depends on which way it faces: a plano-convex lens should turn its curved side toward the parallel light, so the two surfaces share the bending.
Glass also bends blue light more than red, so a lens has a shorter focal length for blue: chromatic aberration. Since $1/f ∝ n − 1$, the spread between the red ($C$, 656 nm) and blue ($F$, 486 nm) foci of a lens of focal length $f$ is about
$f_C − f_F ≈ f/V_d$ $V_d = (n_d − 1)/(n_F − n_C)$
where $V_d$, the Abbe number, is large for glasses that disperse little (crowns) and small for those that disperse a lot (flints). A mirror has no chromatic aberration at all. An achromatic doublet cements a positive crown lens to a negative flint one. Thin lenses in contact add their powers, $φ_1 + φ_2 = φ$, and the colors cancel when
$φ_1/V_1 + φ_2/V_2 = 0$
That joins two colors, usually $F$ and $C$; the rest still differ slightly, the secondary spectrum that apochromats reduce.
The reduced eye and the vertex distance
Part 1’s eye puts air where the eye’s jelly is. Emsley’s reduced eye is closer to the real thing: one refracting surface of power 60.0 D, with the eye behind it filled with a medium of index $n′$ = 4/3. Parallel light focuses where $n′/L′ = P$, so the eye’s length is
$L′ = n′/P$
22.2 mm. An eye a little too long focuses distant light in front of its retina: nearsightedness by length, the common kind. Its far point follows from the vergence its retina is conjugate to, $n′/L′ − P$, about −2.6 D for each extra millimeter in this model.
Glasses sit some 12 mm in front of the eye, contact lenses on it, and a lens must put its image at the eye’s far point from where it actually is. So a myope’s glasses must be stronger than their contacts, and a hyperope’s weaker:
$P_g = P_c/(1 + dP_c)$
with $d$ the vertex distance in meters. Above about ±4 D the difference matters, and prescriptions state the distance.
Pupils, f-numbers and depth of field
Every instrument has an aperture that limits the light it accepts, and the image of that aperture formed by the lenses after it is the exit pupil, where the eye belongs. For a telescope or binoculars the objective is the aperture; the eyepiece images it into a small disk behind itself, at the eye relief:
exit pupil $= D/|m|$ at $f_e(f_o + f_e)/f_o$
An exit pupil wider than your own pupil wastes light, so large binoculars pay off at dusk, when the pupil opens to about 7 mm.
A camera’s aperture is described by its f-number $N$, the focal length divided by the aperture’s diameter. A point not at the focused distance makes a small disk on the sensor, and if that disk is smaller than an agreed circle of confusion $c$ the point looks sharp. Focused at the hyperfocal distance
$H = f + f^2/(Nc)$
a lens renders everything from $H/2$ to infinity sharp. Stopping down (a larger $N$) shrinks $H$ and deepens the field, at the cost of light, which falls as $1/N^2$.
Modern microscopes are infinity-corrected: the objective sends each point’s light out parallel, and a tube lens forms the image, so
$|M| = f_{tube}/f_{obj}$
The parallel space between them leaves room for filters and prisms. However large the magnification, though, detail finer than about half a wavelength cannot be seen: diffraction, not geometry, sets that limit (Interference & Diffraction).
Reference
Common mistakes
Part 1
- Putting the image at the focal point. Only a very distant object images at $F$; use $1/q = 1/f − 1/p$.
- Using $R$ for a mirror’s focal length. $f = R/2$.
- Thinking only the three principal rays make the image, so covering part of the lens removes part of the picture. Every part of the lens makes the whole image.
- Treating a negative $q$ as an error, or giving a virtual image a positive distance. $q < 0$ means virtual.
- Mixing the conventions: typing a real object’s distance as negative, or a real image in front of a mirror as negative. Here real is positive.
- Giving a nearsighted eye a converging lens. A nearsighted eye is too strong; it needs a diverging one.
- Working diopters in centimeters. $P = 1/f$ with $f$ in meters.
- Adding magnifications. A microscope’s multiply: $m = M_{obj}m_{eye}$.
Part 2
- Taking a lens’s focal length to be the same in water. It depends on $n_{lens}/n_{medium}$.
- Measuring a thick lens’s focal length from its surface. The EFL is measured from $H′$; the BFL from the surface.
- Leaving the indices out of a surface’s magnification: $M = −n_1q/(n_2p)$.
The two sign conventions
Some books write $d_o$ and $d_i$ for $p$ and $q$. Upper-level optics often uses coordinates along the light instead (the Cartesian convention), as the matrices of Part 2 do. The same physics in both:
| Real is positive (this sim) | Cartesian (coordinates along $+x$) | |
|---|---|---|
| a real object, 30 cm before a lens | $p$ = +30 cm | $s$ = −30 cm |
| its real image, 15 cm beyond | $q$ = +15 cm | $s′$ = +15 cm |
| a virtual image, 10 cm before | $q$ = −10 cm | $s′$ = −10 cm |
| the lens equation | $1/p + 1/q = 1/f$ | $1/s′ − 1/s = 1/f$ |
| magnification | $M = −q/p$ | $M = s′/s$ |
| a mirror’s real image, 20 cm in front | $q$ = +20 cm | $s′$ = −20 cm (against $+x$) |
The equation sheet
| Part 1 | |
|---|---|
| a mirror | $f = R/2$ |
| mirrors and lenses | $1/p + 1/q = 1/f$ |
| magnification | $M = h′/h = −q/p$ |
| one surface | $n_1/p + n_2/q = (n_2 − n_1)/R$ |
| power | $P = 1/f$ |
| a magnifier | $m = 25\ \mathrm{cm}/f$; $m = 1 + 25\ \mathrm{cm}/f$ |
| a microscope | $m = −(L/f_{obj})(25\ \mathrm{cm}/f_{eye})$ |
| a telescope | $m = −f_{obj}/f_{eye}$ |
| Part 2 | |
|---|---|
| a surface’s magnification | $M = −n_1q/(n_2p)$ |
| lensmaker | $1/f = (n_{lens}/n_{medium} − 1)(1/R_1 − 1/R_2)$ |
| a ball lens | ball: EFL $= nD/(4(n − 1))$ |
| matrices | EFL $= −1/C$, BFL $= −A/C$ |
| a spherical mirror | crossing $= R − R/(2\cos θ)$ |
| color | $f_C − f_F ≈ f/V_d$ |
| the achromat | $φ_1/V_1 + φ_2/V_2 = 0$ |
| the reduced eye | $L′ = n′/P$ |
| vertex distance | $P_g = P_c/(1 + dP_c)$ |
| binoculars | exit pupil $= D/|m|$ at $f_e(f_o + f_e)/f_o$ |
| depth of field | $H = f + f^2/(Nc)$ |
| infinity-corrected | $|M| = f_{tube}/f_{obj}$ |
Symbols: $p$, $q$ object and image distances (real is positive); $h$, $h′$ their heights; $f$ a focal length, $R$ a radius, $C$ and $F$ the center of curvature and focal point; $M$ lateral and $m$ angular magnification; $n$ an index; $P$ a power in diopters; $L$ a microscope’s tube length; $V_d$ an Abbe number and $φ$ a power; $n′$ and $L′$ the reduced eye’s index and length; $P_c$, $P_g$ contact-lens and spectacle powers, $d$ the vertex distance; $D$ an aperture’s diameter, $N$ an f-number, $c$ the circle of confusion, $H$ the hyperfocal distance.
Sources and further reading
OpenStax, University Physics Volume 3, Chapter 2, Geometric Optics and Image Formation (openstax.org, CC BY-NC-SA 4.0), whose order of topics and sign convention the Intro track follows. E. Hecht, Optics, for matrices, thick lenses and aberrations; W. J. Smith, Modern Optical Engineering, for stops, pupils and the achromat; D. A. Atchison and G. Smith, Optics of the Human Eye, for model eyes. F. M. Goldberg and L. C. McDermott, Am. J. Phys. 55, 108 (1987), on how students think about real images. The Field Manual (H) describes the sim’s model and what it leaves out.
Lenses, Mirrors & Optical Instruments v1.2 · © 2026 Dr. David Meier · CC BY-NC-SA 4.0 · glidepathscience.org