The Thin-Lens Equation: Object, Image, and Focal Length

This article explores the fundamental thin-lens equation in optical physics, explaining how it mathematically connects an object's distance from a lens, the resulting image's distance, and the lens's focal length. By reading below, you will learn the core formula, the definitions of its three primary variables, the critical sign conventions required for accurate calculations, and how these elements dynamically interact to form real and virtual images.

The Core Formula

In optical physics, a "thin lens" is an idealized lens whose thickness is negligible compared to its radii of curvature. This simplification allows physicists to ignore the optical effects of the lens's thickness and use a straightforward mathematical relationship known as the thin-lens equation, or the Gaussian lens formula.

The equation is expressed as:

1/f = 1/do + 1/di

This reciprocal relationship states that the inverse of the focal length is equal to the sum of the inverse of the object distance and the inverse of the image distance. Because the focal length of a rigid lens remains constant, any change in the object's position directly forces a predictable change in the image's position.

Defining the Three Variables

To use the equation, you must measure all distances from the optical center of the lens.

  • Focal Length (f): The distance from the center of the lens to its principal focal point. This is the point where parallel rays of light either converge (come together) or appear to diverge (spread apart) after passing through the lens. The focal length is a fixed property determined by the index of refraction of the lens material and the curvature of its surfaces.
  • Object Distance (do): The physical distance between the object being viewed and the optical center of the lens.
  • Image Distance (di): The distance from the optical center of the lens to the point where the light rays converge (or appear to converge) to form a focused image.

The Role of Sign Conventions

The thin-lens equation relies heavily on algebraic signs (positive and negative) to describe the physical nature and location of the light rays. Without applying the correct sign conventions, the equation will yield incorrect results.

For Focal Length (f):

  • Positive (+f): Indicates a converging (convex) lens, which bends light rays inward toward a single point.
  • Negative (-f): Indicates a diverging (concave) lens, which spreads light rays outward.

For Object Distance (do):

  • Positive (+do): The object is a "real object," meaning it is on the same side of the lens as the incoming light. This is the standard scenario for almost all single-lens systems.
  • Negative (-do): The object is "virtual," which only occurs in multi-lens systems where a first lens forms an image behind a second lens.

For Image Distance (di):

  • Positive (+di): The image is a "real image." It forms on the opposite side of the lens from the object, is inverted (upside down), and can be projected onto a physical screen.
  • Negative (-di): The image is a "virtual image." It forms on the same side of the lens as the object, is upright, and cannot be projected onto a screen. You must look through the lens to see it.

How the Variables Interact in Practice

Because f is constant for a specific lens, do and di are locked in an inverse relationship. Moving the object changes the behavior of the image in distinct ways depending on the lens type.

Scenarios for a Converging Lens (+f)

  1. Object at Infinity: When an object is extremely far away (like a star), do approaches infinity, making 1/do equal to zero. The equation simplifies to 1/f = 1/di, meaning di = f. The real image forms precisely at the focal point.
  2. Object Beyond the Focal Point (do > f): As the object moves closer to the lens, 1/do increases. To keep 1/f constant, 1/di must decrease, meaning di gets larger. Therefore, as a real object moves closer to the focal point, the real image moves further away from the lens on the opposite side.
  3. Object at the Focal Point (do = f): If the object is placed directly on the focal point, 1/f = 1/f + 1/di, which means 1/di = 0. The image distance approaches infinity. The exiting light rays are parallel and never intersect, meaning no image is formed.
  4. Object Inside the Focal Point (do < f): When the object is closer to the lens than the focal point, 1/do becomes larger than 1/f. For the equation to balance, 1/di must be negative. This results in a negative image distance (-di), creating a magnified, upright, virtual image on the same side of the lens as the object. This is how a standard magnifying glass works.

Scenario for a Diverging Lens (-f)

For a diverging lens, the focal length is always negative (-f). Rearranging the equation to solve for the image distance gives:

1/di = -1/f - 1/do

Since do is positive for a real object, the right side of the equation is always the sum of two negative numbers. Consequently, di is always negative, regardless of where you place the object. A single diverging lens can only produce virtual, upright, and reduced images located closer to the lens than the focal point.