Drag an optical object in front of converging/diverging thin lenses or concave/convex mirrors—watching three principal rays refract or reflect at the principal plane, form inverted real images or dashed virtual images, and obey 1/f = 1/d_o + 1/d_i.
Rays bend strictly at the central principal plane (thin-element limit). Placing d_o = f sets 1/d_i = 0 cleanly so exiting rays run parallel to form an image at infinity.
Every rotationally symmetric thin lens or spherical mirror can be solved graphically with principal rays hitting its central principal plane: a ray parallel to the axis bends toward (or away from) focus F, while a center ray passes essentially undeviated.
Under the standard real-is-positive sign convention, converged outgoing rays produce a real, inverted image on a physical screen (d_i > 0), whereas diverging rays extrapolated backward as dashed lines trace an upright virtual image (d_i < 0) visible inside a magnifying glass or convex mirror.
| Object Placement | Image Distance d_i | Real or Virtual? | Orientation & Size |
|---|---|---|---|
| Beyond 2F (d_o > 2f) | f < d_i < 2f | Real | Inverted, diminished (camera lens) |
| At 2F (d_o = 2f) | d_i = 2f | Real | Inverted, exact 1× size (M = −1) |
| Between F and 2F | d_i > 2f | Real | Inverted, magnified (projector) |
| At Focus (d_o = f) | d_i = ∞ | Collimated beam | Parallel outgoing rays (lighthouse) |
| Inside Focus (d_o < f) | d_i < 0 (same side) | Virtual | Upright, magnified (magnifying glass) |
A 38-second animation: thin lens equation 1/f = 1/do + 1/di, real vs virtual rays, and collimation at d_o = f.
Set Converging Lens with |f| = 2.0 m and d_o = 4.0 m: image lands at d_i = 4.00 m with M = −1.00×.
Set d_o = |f| = 2.2 m on a converging lens: HUD reports d_i = ∞ because refracted rays exit strictly parallel.
Select Magnifying Glass (d_o < F): dashed virtual rays converge behind the object to form an enlarged upright virtual image.
The full image still forms because every point on the object sends light through all halves of the lens; only image brightness drops by half.
No—for d_o > 0 and f < 0, 1/d_i = 1/f − 1/d_o is always negative, guaranteeing d_i < 0 (always virtual, upright, and smaller).