Here you have the ray diagrams used to find the image position for a converging lens. You can also illustrate the magnification of a lens and the difference between real and virtual images.
Ray diagrams are constructed by taking the path of two distinct rays from a single point on the object. By convention rays travel from left to right:
The geometric construction of an image of an object uses remarkable properties of certain rays:
Virtual images are produced when outgoing rays from a single point of the object diverge (never cross). The image can only be seen by looking in the optics and cannot be projected. This occurs when the object is less than the focal length of the lens from the lens (case of the magnifying glass).
Real images are produced when outgoing rays from a single point of the object come to a focus. This kind of image can be projected on a screen. This occurs when the object is further than focal length.
Click and drag the body horizontally.
Click and drag the head vertically.
Click and drag the focal point F'.