Loading
The foundational equation that relates object distance, image distance, and focal length for thin lenses — enabling the design of everything from eyeglasses to telescopes.
Human fascination with lenses stretches back to antiquity. The oldest known lens, a polished piece of rock crystal found in the ruins of Nineveh, dates to roughly 750 BCE. Yet thousands of years would pass before anyone articulated a precise mathematical relationship linking an object's position, the image it produces, and the curvature of the lens itself. The lens formula emerged not as a single discovery but as the culmination of centuries of experimentation in optics — from the reading stones of medieval monks to the compound telescopes of the Enlightenment.
The lens formula answered a deceptively simple question: if I know where an object sits in front of a lens of known focal length, exactly where will the image appear? This single relationship became the cornerstone of optical instrument design and remains one of the most practically useful equations in all of physics.
Before writing any equation, we need a shared vocabulary. The lens formula applies to thin lenses — an idealization where the lens thickness is negligible compared to the object and image distances. Every thin lens has two key features: a principal axis (the straight line through the centres of curvature) and an optical centre (the point on the axis through which light passes undeviated).
The most powerful way to understand the lens formula is through ray diagrams. For any thin convex lens, we can trace three principal rays from the tip of the object arrow: one parallel to the axis (which refracts through the far focus), one through the optical centre (which passes straight through), and one through the near focus (which emerges parallel). The point where these rays converge is the tip of the image arrow. The diagram below illustrates this construction with the distances u, v, and f labelled.
In the diagram above the object is placed beyond the focal point of a convex (converging) lens. The three principal rays — parallel, central, and focal — meet on the far side to form a real, inverted, magnified image. If the object were placed between the lens and the focus, the rays would diverge after passing through the lens, and you would need to extend them backward to locate a virtual, upright image on the same side as the object.
The lens formula is a deceptively compact equation. Using the New Cartesian sign convention (origin at the optical centre, incident light travels in the +x direction), the thin-lens equation is written as follows.
This is often rearranged as 1/v = 1/f + 1/u or, equivalently, 1/f = 1/v − 1/u. Some textbooks write it as 1/f = 1/v + 1/u with the convention that u is entered as a negative number for a real object. Always verify which sign convention your course uses — the formula's structure is identical; only the signs of the input values change.
The linear magnification m tells you how large the image is relative to the object and whether it is upright or inverted. A magnification of −2 means the image is twice the object's height and inverted (real image from a convex lens). A magnification of +0.5 means the image is half the height and upright (virtual image).
The power of a lens, measured in dioptres (D), is the reciprocal of the focal length expressed in metres. Optometrists prescribe corrective lenses in dioptres — a prescription of +2.0 D indicates a convex lens with f = 0.5 m, while −1.5 D indicates a concave lens with f ≈ −0.67 m.
While the thin-lens formula relates u, v, and f, the lensmaker's equation connects the focal length to the physical properties of the lens itself — its refractive index and surface curvatures. Together, these two equations form the complete toolbox for basic lens analysis.
The character of the image — its position, size, orientation, and whether it is real or virtual — depends entirely on where the object is placed relative to the focal point. The table below catalogues every standard case for a convex lens.
| Object Position | Image Position | Nature | Size | Orientation |
|---|---|---|---|---|
| At infinity | At F' (focus) | Real | Highly diminished (point) | Inverted |
| Beyond 2F | Between F' and 2F' | Real | Diminished | Inverted |
| At 2F | At 2F' | Real | Same size | Inverted |
| Between F and 2F | Beyond 2F' | Real | Magnified | Inverted |
| At F | At infinity | Real | Highly magnified | Inverted |
| Between O and F | Same side as object | Virtual | Magnified | Upright |
For a concave (diverging) lens, the story is simpler: regardless of where the object is placed, the image is always virtual, upright, and diminished, located between the lens and the focus on the same side as the object.
An object 4.0 cm tall is placed 30 cm in front of a convex lens of focal length 20 cm. Find the position, nature, and height of the image.
u = −30 cm | f = +20 cm | h = 4.0 cm1/v − 1/(−30) = 1/20
1/v + 1/30 = 1/20
1/v = 1/20 − 1/30 = (3 − 2) / 60 = 1/60
v = +60 cmm = v / u = 60 / (−30) = −2
h' = m × h = (−2) × 4.0 = −8.0 cmThe thin-lens formula is remarkably powerful for first-order analysis, but it rests on several simplifying assumptions. Understanding where those assumptions break down is essential for anyone progressing beyond introductory optics.
| Strengths | Limitations |
|---|---|
| Simple, closed-form equation — quick calculations without computers | Assumes negligible lens thickness — breaks down for thick lenses |
| Works for both convex and concave lenses with correct sign convention | Valid only for paraxial rays (small angles near the axis) |
| Directly yields magnification and image nature | Does not account for spherical or chromatic aberration |
| Easily extends to multi-lens systems (using sequential application) | Assumes monochromatic light — real white light disperses differently through a lens |
| Foundation for understanding optical instruments (microscopes, telescopes, cameras) | Cannot predict diffraction effects at very small apertures |
The thin-lens formula is the entry point to a hierarchy of increasingly sophisticated optical models. As you advance in physics and engineering, you will encounter frameworks that relax the thin-lens assumptions one by one.
| Feature | Thin-Lens Formula | Advanced Models |
|---|---|---|
| Lens thickness | Neglected (thickness → 0) | Thick-lens equations introduce principal planes H, H' |
| Ray angles | Paraxial (sin θ ≈ θ) | Ray tracing / Seidel aberrations handle large angles |
| Multi-element systems | Sequential application of 1/v − 1/u = 1/f | Matrix optics (ABCD / ray-transfer matrices) for systematic treatment |
| Wave effects | Not considered | Fourier optics and diffraction theory model wave propagation |
| Chromatic effects | Monochromatic assumption | Dispersive lens design and Abbe number calculations |
In matrix optics, each optical element — a thin lens, a thick lens, a gap of free space, or a curved mirror — is represented by a 2×2 matrix. Propagating a ray through a system becomes a matter of multiplying matrices. The thin-lens matrix is simply:
This elegant algebraic structure reduces even the most complex multi-element systems to straightforward linear algebra, but at its core, it encodes the same physics as the humble 1/v − 1/u = 1/f you learned in Section 4. Mastering the thin-lens formula is not just a classroom exercise — it builds the intuition you will rely on throughout advanced optics.
The lens formula, 1/v − 1/u = 1/f, is the central equation of thin-lens optics. It connects three quantities — the object distance (u), the image distance (v), and the focal length (f) — in a single elegant relationship. Using the New Cartesian sign convention, the formula seamlessly handles both convex (converging, f > 0) and concave (diverging, f < 0) lenses. The magnification m = v/u reveals image size and orientation: positive m means upright, negative means inverted. This framework, developed through centuries of work from Ibn al-Haytham through Kepler and Gauss, underpins the design of eyeglasses, cameras, projectors, microscopes, and telescopes.
While the thin-lens model assumes negligible thickness, paraxial rays, and monochromatic light, it provides the essential physical intuition that carries forward into thick-lens theory, matrix optics, and Fourier optics. Master the sign convention, practise ray diagrams, and the lens formula will serve as a reliable compass through all of geometric optics.
Keep learning with more lessons from the same subject.