The diagram shows an object (a candle), the pinhole and the screen.

The candle has height*h*, and is a distance *d *from the pinhole.

The pinhole is a distance*D *from the screen.

The image is height*H* on the screen.

The red lines show the path of rays of light from the candle to the image.

You should notice that the image is upside down - can you see why?

As the length*D* is increased (keeping *d* constant) the height *H* should increase proportionately.

(Imagine what would happen to the rays of light if you moved the screen away from the pinhole.)

If you draw a graph of* **H* against *D* it should be a straight line.

The two red triangles made by the rays of light, the candle and the screen are*similar*.

One of the conditions for similarity is equal angles, which are marked in the same colour.

The two green angles are the same because they are enclosed within the same straight lines (*opposite angles*).

The two turquoise angles are the same because the lines marked*h* and *H* are parallel, and these two angles are therefore equal (*alternating angles*).

The two orange angles are equal for the same reason (*alternating angles*).

Because the two red triangles are similar, the sides and the heights of the triangles are in proportion, so:

The candle has height

The pinhole is a distance

The image is height

The red lines show the path of rays of light from the candle to the image.

You should notice that the image is upside down - can you see why?

As the length

(Imagine what would happen to the rays of light if you moved the screen away from the pinhole.)

If you draw a graph of

The two red triangles made by the rays of light, the candle and the screen are

One of the conditions for similarity is equal angles, which are marked in the same colour.

The two green angles are the same because they are enclosed within the same straight lines (

The two turquoise angles are the same because the lines marked

The two orange angles are equal for the same reason (

Because the two red triangles are similar, the sides and the heights of the triangles are in proportion, so:

$$ \frac{H}{h} = \frac{D}{d} $$

This can be rearranged to give:

$$ H = \frac{h}{d}D $$

Drawn as a graph, with