SimuVeda/ Physics

Physics · Simulator 011

Geometric Optics

Place an object in front of a thin lens. Drag it or use the sliders, change the focal length, and follow the three principal rays to find where the image forms, how big it is, and whether it is real or virtual.

Class 6–8Class 9–10Class 11–12Class 7 Science: light (images formed by lenses); Class 10 Science: Light – Reflection and Refraction; Class 12 Physics: Ray Optics

Experiments 0 of 0 Challenge not tried

How the model works

A thin lens obeys the lens equation (real-is-positive convention):

1/f = 1/d_o + 1/d_i, m = −d_i / d_o

  • f > 0 for a converging (convex) lens and f < 0 for a diverging (concave) lens.
  • d_i > 0 means a real image on the far side, which can be shown on a screen. d_i < 0 means a virtual image on the object's side.
  • m < 0 means the image is inverted.

Three principal rays locate the image: (1) parallel to the axis, then through the far focal point; (2) through the centre of the lens, undeviated; (3) through the near focal point, then parallel. Dashed lines are extensions back to a virtual image.

Paraxial thin-lens model: no thickness, no aberrations, rays close to the axis. Distances in centimetres.

Guided experiments

  1. Object at 2f. f = 10 cm, object at 20 cm. Prediction: a real, inverted image at 20 cm on the other side, the same size (m = −1).
  2. Magnifying glass. Move the object inside f, to 6 cm. Prediction: a virtual, upright, enlarged image (m = 2.5) on the same side as the object. The rays diverge, so their extensions meet.
  3. Diverging lens. f = −10 cm, object at 20 cm. Prediction: always virtual, upright and smaller. Here d_i = −6.67 cm and m = 0.33.

Challenge

A projector lens (f = 5 cm) must throw a sharp image onto a screen 3 m away. How far from the lens should the slide be, and how big is a 2 cm feature on the screen?

Reveal the explanation

1/d_o = 1/5 − 1/300, so d_o ≈ 5.085 cm, just outside f. Magnification m = −300/5.085 ≈ −59, so a 2 cm feature is about 1.18 m tall and inverted. That is why slides go into projectors upside down.

References

  • OpenStax, University Physics Volume 3, §2.4 “Thin Lenses”.

Related simulators

Worked example

Convex lens, f = 15 cm, object 4 cm tall at 25 cm. 1/di = 1/15 − 1/25 = 2/75, so di = 37.5 cm: a real image on the far side.

Magnification: m = −37.5 / 25 = −1.5, so the image is inverted and 6 cm tall.

Object moved inside f, to 10 cm: 1/di = 1/15 − 1/10 = −1/30, so di = −30 cm. The image is virtual, on the object's side, upright and 3 times larger (m = +3). This is a magnifying glass.

Concave lens, f = −10 cm, object at 25 cm: 1/di = −1/10 − 1/25 = −7/50, so di ≈ −7.1 cm and m ≈ +0.29: small, upright and virtual, as in a peephole.

Set focal length 15 cm and object distance 25 cm, then 10 cm.

Common questions

What is the lens formula?

1/f = 1/do + 1/di in the real-is-positive convention, with magnification m = −di/do. Some textbooks use the sign convention 1/v − 1/u = 1/f, which gives the same images.

When does a convex lens make a virtual image?

When the object is closer than the focal length. The rays leaving the lens spread apart, so they only seem to come from a point behind the object: an upright, magnified virtual image.

What is the difference between a real and a virtual image?

A real image is where light rays actually meet, so it can be caught on a screen. A virtual image is where rays only appear to come from, so you can see it but not project it.

Keyboard shortcuts

Space
Play or pause
S
Step
R
Reset
F
Full screen
?
Show this list