Qalam Paper
← All posts

Class 10 · Physics · 3D Simulation · How To

How to Use the Lens Lab Sim — Real, Virtual and Magnified Images

9 October 2026 · 7 min read · Qalam Paper

A convex lens can do three very different things. Put an object far away and the image is small and real. Move it closer and the image grows. Push it inside the focal length and the image turns virtual and upright — that is how a magnifying glass works. The Lens Lab lets you slide the object along the bench and watch all three cases happen, with the rays drawn and the numbers checked line by line.

What you'll learn: the three image zones and what decides each one, how the sign of the magnification tells the story, and the check line that catches a wrong answer.

Lens Image Lab simulation running on QalamPaper
Lens Image Lab simulation running on QalamPaper

The Lens Image Lab simulation running on QalamPaper.

What the sim is

The Lens Image Lab — 3D is an interactive 3D lab for Class 10 Physics, Chapter 14: Optics. A convex lens sits fixed on an optical bench and a red object arrow slides along it. You set the focal length, the object distance and the object height, and the sim draws the three principal rays and reports the image distance, the magnification, the image height and the image type — real and inverted, or virtual and upright. A graph plots image distance against object distance, and a Predict panel makes you commit to an image type before revealing the answer.

The physics is the thin-lens formula, real-is-positive: 1/f = 1/do + 1/di and m = −di/do, where f is the focal length, do is the object distance, di is the image distance and m is the magnification. The three rays are drawn from the geometry: the ray parallel to the axis passes through the far focal point, the ray through the centre of the lens goes straight on, and the ray through the near focal point leaves parallel. A virtual image is shown with purple dashed construction lines reaching back to it.

How to open it

Open qalampaper.com/learn/sim/lens-lab and sign in if asked. You can also reach it from Learn → Grade 10 → Physics → Optics. The sim is called Lens Image Lab — 3D on screen.

Step-by-step: find all three image types

  1. Start with the defaults. The sim opens with focal length f = 2 m, object distance do = 3 m and object height 1.2 m. With f = 2 m, twice the focal length (2F) is 4 m, so the object at 3 m sits between F and 2F. Read the readout: the image is real and inverted, and the magnification is −2×.
  2. Drag the red object. Grab the red object arrow and drag it along the bench, or use the Object distance do slider (1.2 to 8 m). The rays redraw as you move it and the readout updates live.
  3. Jump beyond 2F. Press the Beyond 2F button, which places the object at 2.75 × f. The image is still real and inverted, but now it is smaller than the object — this is the camera case, where a big scene is squeezed onto a small sensor.
  4. Come between F and 2F. Press Between F and 2F (1.5 × f). The image is real, inverted and bigger than the object — the projector case. Watch the image distance readout: it is now further from the lens than the object is.
  5. Go inside F. Press Inside F (0.75 × f). The rays leaving the lens now diverge, so no real image forms. The sim draws purple dashed lines back to a virtual image on the same side as the object — upright and magnified, exactly like a magnifying glass.
  6. Turn the rays on and off. The Show rays checkbox is on by default. Follow each colour: yellow runs parallel in and through the far F, green goes straight through the lens centre, blue passes through the near F and leaves parallel.
  7. Change the focal length. The Focal length f slider runs from 1 to 3 m, and the F and 2F markers move with it — the three zones are defined by f, not by fixed distances.
  8. Play the missions. Three levels, worth 9 stars, ask you to place the object beyond 2F, between F and 2F, and inside F. Predict the image type first — Real, inverted; Virtual, upright; or At infinity — lock it, then press Reveal result. A star is earned only when the prediction and the placement are both right.

Try this: press Inside F and look at the purple dashed lines. The image is on the same side as the object — now flip to Beyond 2F and watch where the image lands. Same lens, opposite sides: that flip is the whole topic.

What to observe — and the science behind it

The zones decide everything. Beyond 2F gives a real, inverted, smaller image. Between F and 2F gives a real, inverted, magnified image. Inside F gives a virtual, upright, magnified image. At exactly do = f the image forms at infinity — the rays leave parallel and never meet.

The sign of m tells the story. Magnification is m = −di/do, so a real image (positive di) always has a negative m — inverted — while a virtual image (negative di) has a positive m — upright.

Fun fact: the sign of the magnification tells you the whole story at a glance. Negative m means the image is inverted (real); positive m means it is upright (virtual) — no diagram needed.

The check line is your friend. Under the readout the sim writes out the verification: 1/f on one side, 1/do + 1/di on the other, printed to two decimal places. Use the same check in the exam: if the two sides do not agree, your di is wrong.

Try this: change the focal length slider from 2 m to 3 m and watch the F and 2F markers move. The three zones move with them — the zones are defined by f, not by fixed distances.

Worked example

Take the sim's defaults: f = 2 m, do = 3 m. Then 1/di = 1/f − 1/do = 1/2 − 1/3 = 1/6, so di = 6 m, and m = −di/do = −6/3 = −2×. The image is real, inverted and twice as tall as the object (2.4 m) — check it against the readout. Now move the object to do = 6 m, beyond 2F: 1/di = 1/2 − 1/6 = 1/3, so di = 3 m and m = −0.5× — real, inverted and half the size. That shrinking is what a camera does.

Exam tip

In a numerical, write do and di with their signs before you touch the formula, and remember that a virtual image has a negative di. The commonest error is forgetting that 2F is twice the focal length — with f = 2 m, 2F is 4 m, not 2 m. Sketch the three rays if you have time: the ray through the centre never bends, and it alone tells you whether the image is upright or inverted. Then test yourself on real papers with the Class 10 past papers.

Quick self-test

  1. f = 2 m, do = 3 m. What are di and m? di = 6 m, m = −2× — real, inverted, twice as tall.
  2. Move the object to do = 6 m (beyond 2F). What are di and m now? di = 3 m, m = −0.5× — real, inverted, half the size.
  3. What happens when the object sits exactly at do = f? The image forms at infinity — the rays leave the lens parallel and never meet.

Key takeaways

  • 1/f = 1/do + 1/di and m = −di/do, with the real-is-positive sign convention.
  • Beyond 2F: real, inverted, smaller. Between F and 2F: real, inverted, magnified. Inside F: virtual, upright, magnified.
  • At do = f the image forms at infinity; the rays leave the lens parallel.
  • A negative m means an inverted (real) image; a positive m means an upright (virtual) image.
  • The three rays — parallel through far F, straight through the centre, through near F then parallel — locate any image.

Try the Lens Image Lab sim — place the object beyond 2F, then inside F, and predict the image type before you reveal it.

Try QalamPaper free

Generate a board-pattern paper in minutes — 14-day free trial, up to 10 papers, no payment needed.

Sponsored

Sponsored link →

Opens in a new tab.

More posts

We use cookies (including Google cookies for ads and analytics) to improve your experience. See our Privacy Policy.