← All simulations

Lens Ray Diagram Simulation

Convex and concave lenses | Class 10 | Class 12 | JEE | NEET

Choose the object (or use your own photo):
Ray 1: parallel to axis Ray 2: through centre O Ray 3: through the focus F
Image formed

Tip: drag the object with your mouse or finger to move it along the axis. Drag the round purple handle on top of the object to change its height. Rays are drawn bending at the lens plane (the usual textbook way). Set the focal length to see how a thicker or thinner lens changes the image.

Image details

Sign convention (NCERT): the optical centre O is the origin. Distances measured in the direction of the incident light (to the right) are positive, and distances to the left are negative. The object is always on the left, so u is negative. A convex lens has positive f and a concave lens has negative f. Heights above the axis are positive.

Theory

Lens formula, magnification and power (thin lens):

1/v − 1/u = 1/f
Magnification m = h'/h = v/u
Image height h' = m × h
Power P = 1/f (f in metres) = 100/f (f in cm), unit: dioptre (D)

Focal length: a convex (converging) lens has a positive f. A concave (diverging) lens has a negative f, so its power is negative.

The three rays used in ray diagrams:

Real and virtual images: a real image forms where the refracted rays actually meet (on the right of the lens, v positive). A virtual image forms where the rays only appear to meet, on the same side as the object (v negative). The dotted lines show this.

Convex lens: image for each object position

Object positionImage positionNature and size
At infinityAt FReal, inverted, point-sized
Beyond 2FBetween F and 2FReal, inverted, diminished
At 2FAt 2FReal, inverted, same size
Between F and 2FBeyond 2FReal, inverted, magnified
At FAt infinityReal, inverted, highly magnified
Between F and OSame side as objectVirtual, erect, magnified (magnifying glass)

Concave lens: for every object position the image is virtual, erect and diminished, and it lies on the same side as the object, between O and F. Concave lenses are used in spectacles for short-sightedness (myopia).

Practice questions

Q1. An object is placed 30 cm from a convex lens of focal length 15 cm. Find the image position and nature.

f = +15 cm, u = −30 cm. 1/v = 1/f + 1/u = 1/15 − 1/30 = 1/30, so v = +30 cm.
m = v/u = −1. The image is real, inverted and the same size (object at 2F).

Q2. An object is 5 cm from a convex lens of focal length 10 cm. Find v and the magnification.

f = +10, u = −5. 1/v = 1/10 − 1/5 = −1/10, so v = −10 cm.
m = v/u = +2. The image is virtual, erect and twice as big.

Q3. A concave lens has f = −20 cm. An object is 30 cm from it. Find v and m.

1/v = −1/20 − 1/30 = −5/60, so v = −12 cm.
m = −12/−30 = +0.4. The image is virtual, erect and diminished.

Q4. A 4 cm tall object is 60 cm from a convex lens of focal length 20 cm. Find the position and height of the image.

f = +20, u = −60. 1/v = 1/20 − 1/60 = 1/30, so v = +30 cm.
m = 30/−60 = −0.5, so h' = −0.5 × 4 = −2 cm. The image is real, inverted and 2 cm tall.

Q5. Find the power of a convex lens of focal length 25 cm.

P = 100/f = 100/25 = +4 D.

Q6. Where should an object be placed in front of a convex lens of focal length 20 cm to get a real image of the same size?

The image is the same size when the object is at 2F, so place it 40 cm from the lens.

Tip: Set these values in the controls above and check your answers in the simulation.