Skip to content
Tutorials Center
My learning

Topics

Lesson 27 of 38 ยท Refraction and Lenses

Thin Lenses and Ray Diagrams

Understand converging and diverging lenses, focal length and the principal axis, and draw ray diagrams that show real and virtual images in thin lenses.

Glasses, cameras, magnifying glasses, microscopes and your own eyes all use lenses. A lens is a piece of transparent material, usually glass or plastic, with curved surfaces that bend light by refraction. By choosing the shape, a designer controls where the light goes.

In this lesson you will meet the two basic types of lens, learn the vocabulary, and use three simple rays to draw images. The lens equation follows in the next lesson.

Converging and diverging lenses

A converging (convex) lens is thicker in the middle than at the edges. Parallel rays entering it bend towards each other and meet at a point, the principal focus F. A diverging (concave) lens is thinner in the middle. Parallel rays spread apart, as if they came from a focus on the entering side.

Why does the shape matter? Think of the lens as many tiny prisms. Rays hitting the outer part of a convex lens meet a surface tilted so that refraction bends them inward, while the central ray meets nearly parallel surfaces and goes almost straight.

Vocabulary:

  • Principal axis: the line through the centres of both surfaces.
  • Optical centre (O): the point at the middle of the lens; a ray through it passes almost undeviated.
  • Principal focus (F): for a converging lens, where parallel rays meet; there is one on each side.
  • Focal length (f): the distance from O to F.

A thin lens has two foci, one on each side, both at the same distance f from the lens.

A lens bends light at both surfaces. In a ray diagram we simplify by drawing a single bend at the central plane of the lens. This is a good approximation for thin lenses.

Three rays for a converging lens

To locate the image of an object point, draw two of these rays:

  1. A ray parallel to the axis is refracted through the far focus F.
  2. A ray through the optical centre carries on in a straight line.
  3. A ray through the near focus emerges parallel to the axis.

Where the refracted rays cross is the image point. If they only cross when traced backwards, the image is virtual.

flowchart LR
    A["Object"] --> B["Ray 1: parallel to axis<br/>then through far focus"]
    A --> C["Ray 2: through optical centre<br/>straight on"]
    A --> D["Ray 3: through near focus<br/>then parallel to axis"]
    B --> E["Rays cross: image"]
    C --> E
    D --> E

Any two of the three rays are enough to find an image point.

Images from a converging lens

Object position Image position Image nature Everyday use
Beyond 2F Between F and 2F Real, inverted, smaller Camera
At 2F At 2F Real, inverted, same size Photocopier at 1:1
Between F and 2F Beyond 2F Real, inverted, larger Projector
At F At infinity Rays emerge parallel Searchlight, collimator
Inside F Same side as object Virtual, upright, larger Magnifying glass

Compare this table with the one for a concave mirror. The pattern is nearly the same, but with a lens the real image forms on the opposite side from the object.

The diverging lens

For a diverging lens a real object always gives an image that is virtual, upright and smaller, on the same side as the object and between the object and the lens. Rule 1 changes slightly: a ray parallel to the axis bends away so that it appears to come from the near-side focus. Diverging lenses correct short sight and are used in door viewers (peepholes) together with another lens.

Power of a lens

The power of a lens measures how strongly it bends light:

P = 1 / f, with f in metres, and P in dioptres (D).

A converging lens has positive power and a diverging lens negative power. A lens with f = 0.50 m has P = +2.0 D; a lens with f = -0.25 m has P = -4.0 D. Two thin lenses placed in contact add their powers: P = Pโ‚ + Pโ‚‚.

Python Focal length and power converter

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Drawing a ray diagram with code

The program below draws the diagram for an object 30 cm from a converging lens of f = 10 cm, using two rays. We use the lens equation (next lesson) only to pick where the rays meet; you can verify with the picture that the crossing point is at v = 15 cm.

Python Ray diagram for a converging lens

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. A converging lens has f = 20 cm. What is its power?

    P = 1/f with f in metres: 1/0.20 = +5.0 D.
  2. 2. An object is inside the focal length of a converging lens. The image is:

    This is how a magnifying glass works: a virtual, upright, larger image on the same side as the object.
  3. 3. Which ray passes through a thin lens without being bent?

    At the centre the two surfaces are almost parallel, so the ray goes straight on.
  4. 4. What kind of image does a diverging lens form of a real object?

    A diverging lens always gives a virtual, upright, reduced image.

Summary

  • Converging (convex) lenses bring parallel rays together; diverging (concave) lenses spread them out.
  • Three rays: parallel then through F; through the optical centre; through F then parallel.
  • Image types for a converging lens depend on object position relative to F and 2F.
  • Power P = 1/f in dioptres; powers of lenses in contact add.

Next: The Lens Equation, the Eye and Optical Instruments