Try it yourself · Class 12 Physics · Ray Optics

Lens and mirror formula: move the object and watch the image form

A lens or mirror forms an image where refracted or reflected rays meet, or appear to meet. The simulation draws the object, the three principal rays and the image for a convex lens, concave lens, concave mirror or convex mirror, using the new Cartesian sign convention.

Light travels left to right and distances are measured from the lens or mirror, so is negative. Lens: ; mirror: . Solid lines are the three principal rays; dashed lines are their backward extensions to a virtual image.

The simulation needs JavaScript; everything it shows is explained below.

What to change

  • Tabs: convex lens, concave lens, concave mirror or convex mirror; the sign of follows the choice.
  • Object distance : 5 to 60 cm in steps of 1 cm; the object is always on the left, so is negative.
  • Focal length : 5 to 30 cm in steps of 1 cm.

What to watch

  • Convex lens, = 30 cm, = 15 cm: = +30.0 cm and = -1.00; the image is real, inverted and the same size as the object.
  • Convex lens, = 10 cm, = 20 cm: = -20.0 cm and = 2.00; a virtual, erect, enlarged image on the object’s side, as in a magnifier.
  • Concave mirror, = 10 cm, = 15 cm: = +30.0 cm and = 3.00; a virtual, erect, enlarged image behind the mirror.
  • Convex mirror, = 30 cm, = 20 cm: = +12.0 cm and = 0.40; always virtual, erect and smaller.
  • Concave lens, = 25 cm, = 10 cm: = -7.1 cm and = 0.29; a diverging lens never gives a real image.

The formula

, and in cm, measured from the lens or mirror with light travelling in the +x direction. is positive for a convex lens and convex mirror, negative for a concave lens and concave mirror. A positive means an erect image, a negative an inverted one.

Try these questions

Work each one out with the simulation, tap to see the answer, then try the chapter quiz.

  1. CBSE

    A needle is placed away from a convex mirror of focal length . Give the location of the image and the magnification. Describe what happens as the needle is moved farther from the mirror.
    Show the answer
    Image behind the mirror, virtual and erect; magnification , so it is tall. As the needle moves away, the image moves towards the focus (never beyond it) and gets smaller.
  2. CBSE

    An object of size is placed in front of a concave lens of focal length . Describe the image produced by the lens. What happens if the object is moved further away from the lens?
    Show the answer
    Virtual, erect and diminished: from the lens on the object's side, tall. As the object recedes, the image moves towards the focus (never beyond it) and becomes smaller.
  3. CBSE 2020

    An object is kept 20 cm in front of a concave mirror of radius of curvature 60 cm. Find the nature and position of the image formed.
    Show the answer
    Image is virtual, erect and magnified (m = 3), formed 60 cm behind the mirror

More to try in Ray Optics

Every simulation in the Lab