← All lessons

Thin lens imaging

Set a lens by focal length or optical power, then move the object and watch where the image forms, which way up it is and how big it gets. Drag the object arrow in the diagram, or use the controls.

Lens converging
mm

mm
mm
Try this
  • Start far away and walk the object in toward 2f: the image grows until it's the same size.
  • Go between 2f and f: the image gets bigger than the object and races away.
  • Cross inside f: the image turns virtual and upright, like a magnifier.
  • Switch to a negative lens: the image is always virtual, upright and smaller.
RaysVirtual extension

How this works

Thin lens equation1/s + 1/s′ = 1/f = P

s is the object distance and s′ the image distance. Power P in diopters is 1000 / f when f is in mm.

Magnificationm = h′/h = −s′/s

A negative m means the image is inverted. |m| > 1 means it is larger than the object.

Newtonian formx · x′ = f²

x = s − f and x′ = s′ − f are measured from the focal points. It shows why the image runs off to infinity as the object nears F.

The three raysparallel → through F′
through center → undeviated
through F → parallel

Any two of them locate the image. Where they actually cross, the image is real; where only their backward extensions cross, it is virtual.