iLabs

Forces / Optics lab

Ray optics

Optics lab

Drag the object or the focal point right on the diagram (or use the sliders), switch between mirrors and lenses, and watch the two-ray construction and the image update live.

Drag the orange object arrow to change object distance, or the small F marker on the axis to change focal length.

Reading the diagram

Two rays locate the image: one leaves the object tip parallel to the axis and refracts/reflects through the focal point; the other goes straight through the pole (mirror) or optical centre (lens) undeviated. Where they meet is the image tip — solid lines are real light paths, dashed lines are backward extensions used only to construct a virtual image (nothing physically travels along the dashed part).
Sign convention matches NCERT: distances are measured from the pole/optical centre, the object is always to the left. A concave mirror and a concave lens both have a negative focal length in this convention (even though one converges light and the other diverges it) — that asymmetry is a property of the convention, not a mistake.
Idealisations: thin-lens/thin-mirror, paraxial (small-angle) rays, and a fixed object height chosen for visibility — the vertical scale is exaggerated relative to the horizontal (distance) scale, which is accurate to the sliders. Same spirit as Circuit lab's ideal battery and Mechanics's no-air-resistance free fall.

Part of Forces — see Learn for the class 10 light and class 12 ray optics topics this maps to.

Test yourself

Pick Class 10 or Class 12 in the physics quiz to test yourself on mirrors, lenses and ray optics — 10 random questions, with an explanation for every answer.

Take the physics quiz →